sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507
  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.9.1.
  118. // The code supports the following hooks:
  119. // dartPrint(message):
  120. // if this function is defined it is called instead of the Dart [print]
  121. // method.
  122. //
  123. // dartMainRunner(main, args):
  124. // if this function is defined, the Dart [main] method will not be invoked
  125. // directly. Instead, a closure that will invoke [main], and its arguments
  126. // [args] is passed to [dartMainRunner].
  127. //
  128. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  129. // if this function is defined, it will be called when a deferred library
  130. // is loaded. It should load and eval the javascript of `uri`, and call
  131. // successCallback. If it fails to do so, it should call errorCallback with
  132. // an error. The loadId argument is the deferred import that resulted in
  133. // this uri being loaded. The loadPriority argument is an arbitrary argument
  134. // string forwarded from the 'dart2js:load-priority' pragma option.
  135. // dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):
  136. // if this function is defined, it will be called when a deferred library
  137. // is loaded. It should load and eval the javascript of every URI in `uris`,
  138. // and call successCallback. If it fails to do so, it should call
  139. // errorCallback with an error. The loadId argument is the deferred import
  140. // that resulted in this uri being loaded. The loadPriority argument is an
  141. // arbitrary argument string forwarded from the 'dart2js:load-priority'
  142. // pragma option.
  143. //
  144. // dartCallInstrumentation(id, qualifiedName):
  145. // if this function is defined, it will be called at each entry of a
  146. // method or constructor. Used only when compiling programs with
  147. // --experiment-call-instrumentation.
  148. (function dartProgram() {
  149. function copyProperties(from, to) {
  150. var keys = Object.keys(from);
  151. for (var i = 0; i < keys.length; i++) {
  152. var key = keys[i];
  153. to[key] = from[key];
  154. }
  155. }
  156. function mixinPropertiesHard(from, to) {
  157. var keys = Object.keys(from);
  158. for (var i = 0; i < keys.length; i++) {
  159. var key = keys[i];
  160. if (!to.hasOwnProperty(key)) {
  161. to[key] = from[key];
  162. }
  163. }
  164. }
  165. function mixinPropertiesEasy(from, to) {
  166. Object.assign(to, from);
  167. }
  168. var supportsDirectProtoAccess = function() {
  169. var cls = function() {
  170. };
  171. cls.prototype = {p: {}};
  172. var object = new cls();
  173. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  174. return false;
  175. try {
  176. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  177. return true;
  178. if (typeof version == "function" && version.length == 0) {
  179. var v = version();
  180. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  181. return true;
  182. }
  183. } catch (_) {
  184. }
  185. return false;
  186. }();
  187. function inherit(cls, sup) {
  188. cls.prototype.constructor = cls;
  189. cls.prototype["$is" + cls.name] = cls;
  190. if (sup != null) {
  191. if (supportsDirectProtoAccess) {
  192. Object.setPrototypeOf(cls.prototype, sup.prototype);
  193. return;
  194. }
  195. var clsPrototype = Object.create(sup.prototype);
  196. copyProperties(cls.prototype, clsPrototype);
  197. cls.prototype = clsPrototype;
  198. }
  199. }
  200. function inheritMany(sup, classes) {
  201. for (var i = 0; i < classes.length; i++) {
  202. inherit(classes[i], sup);
  203. }
  204. }
  205. function mixinEasy(cls, mixin) {
  206. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  207. cls.prototype.constructor = cls;
  208. }
  209. function mixinHard(cls, mixin) {
  210. mixinPropertiesHard(mixin.prototype, cls.prototype);
  211. cls.prototype.constructor = cls;
  212. }
  213. function lazy(holder, name, getterName, initializer) {
  214. var uninitializedSentinel = holder;
  215. holder[name] = uninitializedSentinel;
  216. holder[getterName] = function() {
  217. if (holder[name] === uninitializedSentinel) {
  218. holder[name] = initializer();
  219. }
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. return holder[name];
  224. };
  225. }
  226. function lazyFinal(holder, name, getterName, initializer) {
  227. var uninitializedSentinel = holder;
  228. holder[name] = uninitializedSentinel;
  229. holder[getterName] = function() {
  230. if (holder[name] === uninitializedSentinel) {
  231. var value = initializer();
  232. if (holder[name] !== uninitializedSentinel) {
  233. A.throwLateFieldADI(name);
  234. }
  235. holder[name] = value;
  236. }
  237. var finalValue = holder[name];
  238. holder[getterName] = function() {
  239. return finalValue;
  240. };
  241. return finalValue;
  242. };
  243. }
  244. function makeConstList(list, rti) {
  245. if (rti != null)
  246. A._setArrayType(list, rti);
  247. list.$flags = 7;
  248. return list;
  249. }
  250. function convertToFastObject(properties) {
  251. function t() {
  252. }
  253. t.prototype = properties;
  254. new t();
  255. return properties;
  256. }
  257. function convertAllToFastObject(arrayOfObjects) {
  258. for (var i = 0; i < arrayOfObjects.length; ++i) {
  259. convertToFastObject(arrayOfObjects[i]);
  260. }
  261. }
  262. var functionCounter = 0;
  263. function instanceTearOffGetter(isIntercepted, parameters) {
  264. var cache = null;
  265. return isIntercepted ? function(receiver) {
  266. if (cache === null)
  267. cache = A.closureFromTearOff(parameters);
  268. return new cache(receiver, this);
  269. } : function() {
  270. if (cache === null)
  271. cache = A.closureFromTearOff(parameters);
  272. return new cache(this, null);
  273. };
  274. }
  275. function staticTearOffGetter(parameters) {
  276. var cache = null;
  277. return function() {
  278. if (cache === null)
  279. cache = A.closureFromTearOff(parameters).prototype;
  280. return cache;
  281. };
  282. }
  283. var typesOffset = 0;
  284. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  285. if (typeof funType == "number") {
  286. funType += typesOffset;
  287. }
  288. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  289. }
  290. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  291. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  292. var getterFunction = staticTearOffGetter(parameters);
  293. holder[getterName] = getterFunction;
  294. }
  295. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  296. isIntercepted = !!isIntercepted;
  297. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  298. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  299. prototype[getterName] = getterFunction;
  300. }
  301. function setOrUpdateInterceptorsByTag(newTags) {
  302. var tags = init.interceptorsByTag;
  303. if (!tags) {
  304. init.interceptorsByTag = newTags;
  305. return;
  306. }
  307. copyProperties(newTags, tags);
  308. }
  309. function setOrUpdateLeafTags(newTags) {
  310. var tags = init.leafTags;
  311. if (!tags) {
  312. init.leafTags = newTags;
  313. return;
  314. }
  315. copyProperties(newTags, tags);
  316. }
  317. function updateTypes(newTypes) {
  318. var types = init.types;
  319. var length = types.length;
  320. types.push.apply(types, newTypes);
  321. return length;
  322. }
  323. function updateHolder(holder, newHolder) {
  324. copyProperties(newHolder, holder);
  325. return holder;
  326. }
  327. var hunkHelpers = function() {
  328. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  329. return function(container, getterName, name, funType) {
  330. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  331. };
  332. },
  333. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  334. return function(container, getterName, name, funType) {
  335. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  336. };
  337. };
  338. 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};
  339. }();
  340. function initializeDeferredHunk(hunk) {
  341. typesOffset = init.types.length;
  342. hunk(hunkHelpers, init, holders, $);
  343. }
  344. var J = {
  345. makeDispatchRecord(interceptor, proto, extension, indexability) {
  346. return {i: interceptor, p: proto, e: extension, x: indexability};
  347. },
  348. getNativeInterceptor(object) {
  349. var proto, objectProto, $constructor, interceptor, t1,
  350. record = object[init.dispatchPropertyName];
  351. if (record == null)
  352. if ($.initNativeDispatchFlag == null) {
  353. A.initNativeDispatch();
  354. record = object[init.dispatchPropertyName];
  355. }
  356. if (record != null) {
  357. proto = record.p;
  358. if (false === proto)
  359. return record.i;
  360. if (true === proto)
  361. return object;
  362. objectProto = Object.getPrototypeOf(object);
  363. if (proto === objectProto)
  364. return record.i;
  365. if (record.e === objectProto)
  366. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  367. }
  368. $constructor = object.constructor;
  369. if ($constructor == null)
  370. interceptor = null;
  371. else {
  372. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  373. if (t1 == null)
  374. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  375. interceptor = $constructor[t1];
  376. }
  377. if (interceptor != null)
  378. return interceptor;
  379. interceptor = A.lookupAndCacheInterceptor(object);
  380. if (interceptor != null)
  381. return interceptor;
  382. if (typeof object == "function")
  383. return B.JavaScriptFunction_methods;
  384. proto = Object.getPrototypeOf(object);
  385. if (proto == null)
  386. return B.PlainJavaScriptObject_methods;
  387. if (proto === Object.prototype)
  388. return B.PlainJavaScriptObject_methods;
  389. if (typeof $constructor == "function") {
  390. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  391. if (t1 == null)
  392. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  393. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  394. return B.UnknownJavaScriptObject_methods;
  395. }
  396. return B.UnknownJavaScriptObject_methods;
  397. },
  398. JSArray_JSArray$fixed($length, $E) {
  399. if ($length < 0 || $length > 4294967295)
  400. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  401. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  402. },
  403. JSArray_JSArray$allocateFixed($length, $E) {
  404. if ($length > 4294967295)
  405. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  406. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  407. },
  408. JSArray_JSArray$growable($length, $E) {
  409. if ($length < 0)
  410. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  411. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  412. },
  413. JSArray_JSArray$allocateGrowable($length, $E) {
  414. if ($length < 0)
  415. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  416. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  417. },
  418. JSArray_JSArray$markFixed(allocation, $E) {
  419. var t1 = A._setArrayType(allocation, $E._eval$1("JSArray<0>"));
  420. t1.$flags = 1;
  421. return t1;
  422. },
  423. JSArray__compareAny(a, b) {
  424. return J.compareTo$1$ns(a, b);
  425. },
  426. JSString__isWhitespace(codeUnit) {
  427. if (codeUnit < 256)
  428. switch (codeUnit) {
  429. case 9:
  430. case 10:
  431. case 11:
  432. case 12:
  433. case 13:
  434. case 32:
  435. case 133:
  436. case 160:
  437. return true;
  438. default:
  439. return false;
  440. }
  441. switch (codeUnit) {
  442. case 5760:
  443. case 8192:
  444. case 8193:
  445. case 8194:
  446. case 8195:
  447. case 8196:
  448. case 8197:
  449. case 8198:
  450. case 8199:
  451. case 8200:
  452. case 8201:
  453. case 8202:
  454. case 8232:
  455. case 8233:
  456. case 8239:
  457. case 8287:
  458. case 12288:
  459. case 65279:
  460. return true;
  461. default:
  462. return false;
  463. }
  464. },
  465. JSString__skipLeadingWhitespace(string, index) {
  466. var t1, codeUnit;
  467. for (t1 = string.length; index < t1;) {
  468. codeUnit = string.charCodeAt(index);
  469. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  470. break;
  471. ++index;
  472. }
  473. return index;
  474. },
  475. JSString__skipTrailingWhitespace(string, index) {
  476. var index0, codeUnit;
  477. for (; index > 0; index = index0) {
  478. index0 = index - 1;
  479. codeUnit = string.charCodeAt(index0);
  480. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  481. break;
  482. }
  483. return index;
  484. },
  485. getInterceptor$(receiver) {
  486. if (typeof receiver == "number") {
  487. if (Math.floor(receiver) == receiver)
  488. return J.JSInt.prototype;
  489. return J.JSNumNotInt.prototype;
  490. }
  491. if (typeof receiver == "string")
  492. return J.JSString.prototype;
  493. if (receiver == null)
  494. return J.JSNull.prototype;
  495. if (typeof receiver == "boolean")
  496. return J.JSBool.prototype;
  497. if (Array.isArray(receiver))
  498. return J.JSArray.prototype;
  499. if (typeof receiver != "object") {
  500. if (typeof receiver == "function")
  501. return J.JavaScriptFunction.prototype;
  502. if (typeof receiver == "symbol")
  503. return J.JavaScriptSymbol.prototype;
  504. if (typeof receiver == "bigint")
  505. return J.JavaScriptBigInt.prototype;
  506. return receiver;
  507. }
  508. if (receiver instanceof A.Object)
  509. return receiver;
  510. return J.getNativeInterceptor(receiver);
  511. },
  512. getInterceptor$ansx(receiver) {
  513. if (typeof receiver == "number")
  514. return J.JSNumber.prototype;
  515. if (typeof receiver == "string")
  516. return J.JSString.prototype;
  517. if (receiver == null)
  518. return receiver;
  519. if (Array.isArray(receiver))
  520. return J.JSArray.prototype;
  521. if (typeof receiver != "object") {
  522. if (typeof receiver == "function")
  523. return J.JavaScriptFunction.prototype;
  524. if (typeof receiver == "symbol")
  525. return J.JavaScriptSymbol.prototype;
  526. if (typeof receiver == "bigint")
  527. return J.JavaScriptBigInt.prototype;
  528. return receiver;
  529. }
  530. if (receiver instanceof A.Object)
  531. return receiver;
  532. return J.getNativeInterceptor(receiver);
  533. },
  534. getInterceptor$asx(receiver) {
  535. if (typeof receiver == "string")
  536. return J.JSString.prototype;
  537. if (receiver == null)
  538. return receiver;
  539. if (Array.isArray(receiver))
  540. return J.JSArray.prototype;
  541. if (typeof receiver != "object") {
  542. if (typeof receiver == "function")
  543. return J.JavaScriptFunction.prototype;
  544. if (typeof receiver == "symbol")
  545. return J.JavaScriptSymbol.prototype;
  546. if (typeof receiver == "bigint")
  547. return J.JavaScriptBigInt.prototype;
  548. return receiver;
  549. }
  550. if (receiver instanceof A.Object)
  551. return receiver;
  552. return J.getNativeInterceptor(receiver);
  553. },
  554. getInterceptor$ax(receiver) {
  555. if (receiver == null)
  556. return receiver;
  557. if (Array.isArray(receiver))
  558. return J.JSArray.prototype;
  559. if (typeof receiver != "object") {
  560. if (typeof receiver == "function")
  561. return J.JavaScriptFunction.prototype;
  562. if (typeof receiver == "symbol")
  563. return J.JavaScriptSymbol.prototype;
  564. if (typeof receiver == "bigint")
  565. return J.JavaScriptBigInt.prototype;
  566. return receiver;
  567. }
  568. if (receiver instanceof A.Object)
  569. return receiver;
  570. return J.getNativeInterceptor(receiver);
  571. },
  572. getInterceptor$in(receiver) {
  573. if (typeof receiver == "number") {
  574. if (Math.floor(receiver) == receiver)
  575. return J.JSInt.prototype;
  576. return J.JSNumNotInt.prototype;
  577. }
  578. if (receiver == null)
  579. return receiver;
  580. if (!(receiver instanceof A.Object))
  581. return J.UnknownJavaScriptObject.prototype;
  582. return receiver;
  583. },
  584. getInterceptor$ns(receiver) {
  585. if (typeof receiver == "number")
  586. return J.JSNumber.prototype;
  587. if (typeof receiver == "string")
  588. return J.JSString.prototype;
  589. if (receiver == null)
  590. return receiver;
  591. if (!(receiver instanceof A.Object))
  592. return J.UnknownJavaScriptObject.prototype;
  593. return receiver;
  594. },
  595. getInterceptor$s(receiver) {
  596. if (typeof receiver == "string")
  597. return J.JSString.prototype;
  598. if (receiver == null)
  599. return receiver;
  600. if (!(receiver instanceof A.Object))
  601. return J.UnknownJavaScriptObject.prototype;
  602. return receiver;
  603. },
  604. getInterceptor$x(receiver) {
  605. if (receiver == null)
  606. return receiver;
  607. if (typeof receiver != "object") {
  608. if (typeof receiver == "function")
  609. return J.JavaScriptFunction.prototype;
  610. if (typeof receiver == "symbol")
  611. return J.JavaScriptSymbol.prototype;
  612. if (typeof receiver == "bigint")
  613. return J.JavaScriptBigInt.prototype;
  614. return receiver;
  615. }
  616. if (receiver instanceof A.Object)
  617. return receiver;
  618. return J.getNativeInterceptor(receiver);
  619. },
  620. getInterceptor$z(receiver) {
  621. if (receiver == null)
  622. return receiver;
  623. if (!(receiver instanceof A.Object))
  624. return J.UnknownJavaScriptObject.prototype;
  625. return receiver;
  626. },
  627. set$AsyncCompiler$x(receiver, value) {
  628. return J.getInterceptor$x(receiver).set$AsyncCompiler(receiver, value);
  629. },
  630. set$CalculationInterpolation$x(receiver, value) {
  631. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  632. },
  633. set$CalculationOperation$x(receiver, value) {
  634. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  635. },
  636. set$Compiler$x(receiver, value) {
  637. return J.getInterceptor$x(receiver).set$Compiler(receiver, value);
  638. },
  639. set$Exception$x(receiver, value) {
  640. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  641. },
  642. set$FALSE$x(receiver, value) {
  643. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  644. },
  645. set$Logger$x(receiver, value) {
  646. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  647. },
  648. set$NULL$x(receiver, value) {
  649. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  650. },
  651. set$NodePackageImporter$x(receiver, value) {
  652. return J.getInterceptor$x(receiver).set$NodePackageImporter(receiver, value);
  653. },
  654. set$SassArgumentList$x(receiver, value) {
  655. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  656. },
  657. set$SassBoolean$x(receiver, value) {
  658. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  659. },
  660. set$SassCalculation$x(receiver, value) {
  661. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  662. },
  663. set$SassColor$x(receiver, value) {
  664. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  665. },
  666. set$SassFunction$x(receiver, value) {
  667. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  668. },
  669. set$SassList$x(receiver, value) {
  670. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  671. },
  672. set$SassMap$x(receiver, value) {
  673. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  674. },
  675. set$SassMixin$x(receiver, value) {
  676. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  677. },
  678. set$SassNumber$x(receiver, value) {
  679. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  680. },
  681. set$SassString$x(receiver, value) {
  682. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  683. },
  684. set$TRUE$x(receiver, value) {
  685. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  686. },
  687. set$Value$x(receiver, value) {
  688. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  689. },
  690. set$Version$x(receiver, value) {
  691. return J.getInterceptor$x(receiver).set$Version(receiver, value);
  692. },
  693. set$cli_pkg_main_0_$x(receiver, value) {
  694. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  695. },
  696. set$compile$x(receiver, value) {
  697. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  698. },
  699. set$compileAsync$x(receiver, value) {
  700. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  701. },
  702. set$compileString$x(receiver, value) {
  703. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  704. },
  705. set$compileStringAsync$x(receiver, value) {
  706. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  707. },
  708. set$context$x(receiver, value) {
  709. return J.getInterceptor$x(receiver).set$context(receiver, value);
  710. },
  711. set$dartValue$x(receiver, value) {
  712. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  713. },
  714. set$deprecations$x(receiver, value) {
  715. return J.getInterceptor$x(receiver).set$deprecations(receiver, value);
  716. },
  717. set$exitCode$x(receiver, value) {
  718. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  719. },
  720. set$info$x(receiver, value) {
  721. return J.getInterceptor$x(receiver).set$info(receiver, value);
  722. },
  723. set$initAsyncCompiler$x(receiver, value) {
  724. return J.getInterceptor$x(receiver).set$initAsyncCompiler(receiver, value);
  725. },
  726. set$initCompiler$x(receiver, value) {
  727. return J.getInterceptor$x(receiver).set$initCompiler(receiver, value);
  728. },
  729. set$length$asx(receiver, value) {
  730. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  731. },
  732. set$loadParserExports_$x(receiver, value) {
  733. return J.getInterceptor$x(receiver).set$loadParserExports_(receiver, value);
  734. },
  735. set$render$x(receiver, value) {
  736. return J.getInterceptor$x(receiver).set$render(receiver, value);
  737. },
  738. set$renderSync$x(receiver, value) {
  739. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  740. },
  741. set$sassFalse$x(receiver, value) {
  742. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  743. },
  744. set$sassNull$x(receiver, value) {
  745. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  746. },
  747. set$sassTrue$x(receiver, value) {
  748. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  749. },
  750. set$types$x(receiver, value) {
  751. return J.getInterceptor$x(receiver).set$types(receiver, value);
  752. },
  753. get$$prototype$x(receiver) {
  754. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  755. },
  756. get$_dartException$x(receiver) {
  757. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  758. },
  759. get$alertAscii$x(receiver) {
  760. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  761. },
  762. get$alertColor$x(receiver) {
  763. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  764. },
  765. get$argv$x(receiver) {
  766. return J.getInterceptor$x(receiver).get$argv(receiver);
  767. },
  768. get$brackets$x(receiver) {
  769. return J.getInterceptor$x(receiver).get$brackets(receiver);
  770. },
  771. get$charset$x(receiver) {
  772. return J.getInterceptor$x(receiver).get$charset(receiver);
  773. },
  774. get$code$x(receiver) {
  775. return J.getInterceptor$x(receiver).get$code(receiver);
  776. },
  777. get$current$x(receiver) {
  778. return J.getInterceptor$x(receiver).get$current(receiver);
  779. },
  780. get$dartValue$x(receiver) {
  781. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  782. },
  783. get$debug$x(receiver) {
  784. return J.getInterceptor$x(receiver).get$debug(receiver);
  785. },
  786. get$denominatorUnits$x(receiver) {
  787. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  788. },
  789. get$env$x(receiver) {
  790. return J.getInterceptor$x(receiver).get$env(receiver);
  791. },
  792. get$exitCode$x(receiver) {
  793. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  794. },
  795. get$fatalDeprecations$x(receiver) {
  796. return J.getInterceptor$x(receiver).get$fatalDeprecations(receiver);
  797. },
  798. get$fiber$x(receiver) {
  799. return J.getInterceptor$x(receiver).get$fiber(receiver);
  800. },
  801. get$file$x(receiver) {
  802. return J.getInterceptor$x(receiver).get$file(receiver);
  803. },
  804. get$filename$x(receiver) {
  805. return J.getInterceptor$x(receiver).get$filename(receiver);
  806. },
  807. get$first$ax(receiver) {
  808. return J.getInterceptor$ax(receiver).get$first(receiver);
  809. },
  810. get$functions$x(receiver) {
  811. return J.getInterceptor$x(receiver).get$functions(receiver);
  812. },
  813. get$futureDeprecations$x(receiver) {
  814. return J.getInterceptor$x(receiver).get$futureDeprecations(receiver);
  815. },
  816. get$hashCode$(receiver) {
  817. return J.getInterceptor$(receiver).get$hashCode(receiver);
  818. },
  819. get$id$x(receiver) {
  820. return J.getInterceptor$x(receiver).get$id(receiver);
  821. },
  822. get$importer$x(receiver) {
  823. return J.getInterceptor$x(receiver).get$importer(receiver);
  824. },
  825. get$importers$x(receiver) {
  826. return J.getInterceptor$x(receiver).get$importers(receiver);
  827. },
  828. get$isEmpty$asx(receiver) {
  829. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  830. },
  831. get$isNotEmpty$asx(receiver) {
  832. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  833. },
  834. get$isTTY$x(receiver) {
  835. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  836. },
  837. get$iterator$ax(receiver) {
  838. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  839. },
  840. get$last$ax(receiver) {
  841. return J.getInterceptor$ax(receiver).get$last(receiver);
  842. },
  843. get$length$asx(receiver) {
  844. return J.getInterceptor$asx(receiver).get$length(receiver);
  845. },
  846. get$loadPaths$x(receiver) {
  847. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  848. },
  849. get$logger$x(receiver) {
  850. return J.getInterceptor$x(receiver).get$logger(receiver);
  851. },
  852. get$message$x(receiver) {
  853. return J.getInterceptor$x(receiver).get$message(receiver);
  854. },
  855. get$method$x(receiver) {
  856. return J.getInterceptor$x(receiver).get$method(receiver);
  857. },
  858. get$mtime$x(receiver) {
  859. return J.getInterceptor$x(receiver).get$mtime(receiver);
  860. },
  861. get$name$x(receiver) {
  862. return J.getInterceptor$x(receiver).get$name(receiver);
  863. },
  864. get$numeratorUnits$x(receiver) {
  865. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  866. },
  867. get$options$x(receiver) {
  868. return J.getInterceptor$x(receiver).get$options(receiver);
  869. },
  870. get$parent$z(receiver) {
  871. return J.getInterceptor$z(receiver).get$parent(receiver);
  872. },
  873. get$path$x(receiver) {
  874. return J.getInterceptor$x(receiver).get$path(receiver);
  875. },
  876. get$platform$x(receiver) {
  877. return J.getInterceptor$x(receiver).get$platform(receiver);
  878. },
  879. get$quietDeps$x(receiver) {
  880. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  881. },
  882. get$quotes$x(receiver) {
  883. return J.getInterceptor$x(receiver).get$quotes(receiver);
  884. },
  885. get$realpathSync$x(receiver) {
  886. return J.getInterceptor$x(receiver).get$realpathSync(receiver);
  887. },
  888. get$release$x(receiver) {
  889. return J.getInterceptor$x(receiver).get$release(receiver);
  890. },
  891. get$reversed$ax(receiver) {
  892. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  893. },
  894. get$runtimeType$(receiver) {
  895. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  896. },
  897. get$separator$x(receiver) {
  898. return J.getInterceptor$x(receiver).get$separator(receiver);
  899. },
  900. get$sign$in(receiver) {
  901. if (typeof receiver === "number")
  902. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  903. return J.getInterceptor$in(receiver).get$sign(receiver);
  904. },
  905. get$silenceDeprecations$x(receiver) {
  906. return J.getInterceptor$x(receiver).get$silenceDeprecations(receiver);
  907. },
  908. get$single$ax(receiver) {
  909. return J.getInterceptor$ax(receiver).get$single(receiver);
  910. },
  911. get$sourceMap$x(receiver) {
  912. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  913. },
  914. get$sourceMapIncludeSources$x(receiver) {
  915. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  916. },
  917. get$space$x(receiver) {
  918. return J.getInterceptor$x(receiver).get$space(receiver);
  919. },
  920. get$span$z(receiver) {
  921. return J.getInterceptor$z(receiver).get$span(receiver);
  922. },
  923. get$stderr$x(receiver) {
  924. return J.getInterceptor$x(receiver).get$stderr(receiver);
  925. },
  926. get$stdout$x(receiver) {
  927. return J.getInterceptor$x(receiver).get$stdout(receiver);
  928. },
  929. get$style$x(receiver) {
  930. return J.getInterceptor$x(receiver).get$style(receiver);
  931. },
  932. get$syntax$x(receiver) {
  933. return J.getInterceptor$x(receiver).get$syntax(receiver);
  934. },
  935. get$trace$z(receiver) {
  936. return J.getInterceptor$z(receiver).get$trace(receiver);
  937. },
  938. get$url$x(receiver) {
  939. return J.getInterceptor$x(receiver).get$url(receiver);
  940. },
  941. get$verbose$x(receiver) {
  942. return J.getInterceptor$x(receiver).get$verbose(receiver);
  943. },
  944. get$warn$x(receiver) {
  945. return J.getInterceptor$x(receiver).get$warn(receiver);
  946. },
  947. get$weight$x(receiver) {
  948. return J.getInterceptor$x(receiver).get$weight(receiver);
  949. },
  950. $add$ansx(receiver, a0) {
  951. if (typeof receiver == "number" && typeof a0 == "number")
  952. return receiver + a0;
  953. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  954. },
  955. $eq$(receiver, a0) {
  956. if (receiver == null)
  957. return a0 == null;
  958. if (typeof receiver != "object")
  959. return a0 != null && receiver === a0;
  960. return J.getInterceptor$(receiver).$eq(receiver, a0);
  961. },
  962. $index$asx(receiver, a0) {
  963. if (typeof a0 === "number")
  964. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  965. if (a0 >>> 0 === a0 && a0 < receiver.length)
  966. return receiver[a0];
  967. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  968. },
  969. $indexSet$ax(receiver, a0, a1) {
  970. if (typeof a0 === "number")
  971. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !(receiver.$flags & 2) && a0 >>> 0 === a0 && a0 < receiver.length)
  972. return receiver[a0] = a1;
  973. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  974. },
  975. $set$2$x(receiver, a0, a1) {
  976. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  977. },
  978. add$1$ax(receiver, a0) {
  979. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  980. },
  981. addAll$1$ax(receiver, a0) {
  982. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  983. },
  984. allMatches$1$s(receiver, a0) {
  985. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  986. },
  987. allMatches$2$s(receiver, a0, a1) {
  988. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  989. },
  990. any$1$ax(receiver, a0) {
  991. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  992. },
  993. apply$2$x(receiver, a0, a1) {
  994. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  995. },
  996. asImmutable$0$x(receiver) {
  997. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  998. },
  999. asMutable$0$x(receiver) {
  1000. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  1001. },
  1002. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  1003. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  1004. },
  1005. cast$1$0$ax(receiver, $T1) {
  1006. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  1007. },
  1008. close$0$x(receiver) {
  1009. return J.getInterceptor$x(receiver).close$0(receiver);
  1010. },
  1011. codeUnitAt$1$s(receiver, a0) {
  1012. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  1013. },
  1014. compareTo$1$ns(receiver, a0) {
  1015. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1016. },
  1017. contains$1$asx(receiver, a0) {
  1018. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1019. },
  1020. createInterface$1$x(receiver, a0) {
  1021. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1022. },
  1023. createRequire$1$x(receiver, a0) {
  1024. return J.getInterceptor$x(receiver).createRequire$1(receiver, a0);
  1025. },
  1026. elementAt$1$ax(receiver, a0) {
  1027. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1028. },
  1029. error$1$x(receiver, a0) {
  1030. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1031. },
  1032. every$1$ax(receiver, a0) {
  1033. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1034. },
  1035. existsSync$1$x(receiver, a0) {
  1036. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1037. },
  1038. expand$1$1$ax(receiver, a0, $T1) {
  1039. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1040. },
  1041. fillRange$3$ax(receiver, a0, a1, a2) {
  1042. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1043. },
  1044. fold$2$ax(receiver, a0, a1) {
  1045. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1046. },
  1047. forEach$1$ax(receiver, a0) {
  1048. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1049. },
  1050. getRange$2$ax(receiver, a0, a1) {
  1051. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1052. },
  1053. getTime$0$x(receiver) {
  1054. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1055. },
  1056. isDirectory$0$x(receiver) {
  1057. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1058. },
  1059. isFile$0$x(receiver) {
  1060. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1061. },
  1062. isSymbolicLink$0$x(receiver) {
  1063. return J.getInterceptor$x(receiver).isSymbolicLink$0(receiver);
  1064. },
  1065. join$1$ax(receiver, a0) {
  1066. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1067. },
  1068. log$1$x(receiver, a0) {
  1069. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1070. },
  1071. lstatSync$1$x(receiver, a0) {
  1072. return J.getInterceptor$x(receiver).lstatSync$1(receiver, a0);
  1073. },
  1074. map$1$1$ax(receiver, a0, $T1) {
  1075. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1076. },
  1077. matchAsPrefix$2$s(receiver, a0, a1) {
  1078. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1079. },
  1080. mkdirSync$1$x(receiver, a0) {
  1081. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1082. },
  1083. native$1$x(receiver, a0) {
  1084. return J.getInterceptor$x(receiver).native$1(receiver, a0);
  1085. },
  1086. noSuchMethod$1$(receiver, a0) {
  1087. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1088. },
  1089. on$2$x(receiver, a0, a1) {
  1090. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1091. },
  1092. parse$0$z(receiver) {
  1093. return J.getInterceptor$z(receiver).parse$0(receiver);
  1094. },
  1095. readFileSync$2$x(receiver, a0, a1) {
  1096. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1097. },
  1098. readdirSync$1$x(receiver, a0) {
  1099. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1100. },
  1101. removeRange$2$ax(receiver, a0, a1) {
  1102. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1103. },
  1104. replaceFirst$2$s(receiver, a0, a1) {
  1105. return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1);
  1106. },
  1107. resolve$1$x(receiver, a0) {
  1108. return J.getInterceptor$x(receiver).resolve$1(receiver, a0);
  1109. },
  1110. run$0$x(receiver) {
  1111. return J.getInterceptor$x(receiver).run$0(receiver);
  1112. },
  1113. run$1$x(receiver, a0) {
  1114. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1115. },
  1116. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1117. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1118. },
  1119. skip$1$ax(receiver, a0) {
  1120. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1121. },
  1122. sort$1$ax(receiver, a0) {
  1123. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1124. },
  1125. startsWith$1$s(receiver, a0) {
  1126. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1127. },
  1128. statSync$1$x(receiver, a0) {
  1129. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1130. },
  1131. sublist$1$ax(receiver, a0) {
  1132. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1133. },
  1134. substring$2$s(receiver, a0, a1) {
  1135. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1136. },
  1137. take$1$ax(receiver, a0) {
  1138. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1139. },
  1140. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1141. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1142. },
  1143. then$2$x(receiver, a0, a1) {
  1144. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1145. },
  1146. toArray$0$x(receiver) {
  1147. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1148. },
  1149. toList$0$ax(receiver) {
  1150. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1151. },
  1152. toString$0$(receiver) {
  1153. return J.getInterceptor$(receiver).toString$0(receiver);
  1154. },
  1155. toString$1$color$(receiver, a0) {
  1156. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1157. },
  1158. trim$0$s(receiver) {
  1159. return J.getInterceptor$s(receiver).trim$0(receiver);
  1160. },
  1161. unlinkSync$1$x(receiver, a0) {
  1162. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1163. },
  1164. visitAtRootRule$1$x(receiver, a0) {
  1165. return J.getInterceptor$x(receiver).visitAtRootRule$1(receiver, a0);
  1166. },
  1167. visitAtRule$1$x(receiver, a0) {
  1168. return J.getInterceptor$x(receiver).visitAtRule$1(receiver, a0);
  1169. },
  1170. visitBinaryOperationExpression$1$x(receiver, a0) {
  1171. return J.getInterceptor$x(receiver).visitBinaryOperationExpression$1(receiver, a0);
  1172. },
  1173. visitBooleanExpression$1$x(receiver, a0) {
  1174. return J.getInterceptor$x(receiver).visitBooleanExpression$1(receiver, a0);
  1175. },
  1176. visitColorExpression$1$x(receiver, a0) {
  1177. return J.getInterceptor$x(receiver).visitColorExpression$1(receiver, a0);
  1178. },
  1179. visitContentBlock$1$x(receiver, a0) {
  1180. return J.getInterceptor$x(receiver).visitContentBlock$1(receiver, a0);
  1181. },
  1182. visitContentRule$1$x(receiver, a0) {
  1183. return J.getInterceptor$x(receiver).visitContentRule$1(receiver, a0);
  1184. },
  1185. visitDebugRule$1$x(receiver, a0) {
  1186. return J.getInterceptor$x(receiver).visitDebugRule$1(receiver, a0);
  1187. },
  1188. visitDeclaration$1$x(receiver, a0) {
  1189. return J.getInterceptor$x(receiver).visitDeclaration$1(receiver, a0);
  1190. },
  1191. visitEachRule$1$x(receiver, a0) {
  1192. return J.getInterceptor$x(receiver).visitEachRule$1(receiver, a0);
  1193. },
  1194. visitErrorRule$1$x(receiver, a0) {
  1195. return J.getInterceptor$x(receiver).visitErrorRule$1(receiver, a0);
  1196. },
  1197. visitExtendRule$1$x(receiver, a0) {
  1198. return J.getInterceptor$x(receiver).visitExtendRule$1(receiver, a0);
  1199. },
  1200. visitForRule$1$x(receiver, a0) {
  1201. return J.getInterceptor$x(receiver).visitForRule$1(receiver, a0);
  1202. },
  1203. visitForwardRule$1$x(receiver, a0) {
  1204. return J.getInterceptor$x(receiver).visitForwardRule$1(receiver, a0);
  1205. },
  1206. visitFunctionExpression$1$x(receiver, a0) {
  1207. return J.getInterceptor$x(receiver).visitFunctionExpression$1(receiver, a0);
  1208. },
  1209. visitFunctionRule$1$x(receiver, a0) {
  1210. return J.getInterceptor$x(receiver).visitFunctionRule$1(receiver, a0);
  1211. },
  1212. visitIfExpression$1$x(receiver, a0) {
  1213. return J.getInterceptor$x(receiver).visitIfExpression$1(receiver, a0);
  1214. },
  1215. visitIfRule$1$x(receiver, a0) {
  1216. return J.getInterceptor$x(receiver).visitIfRule$1(receiver, a0);
  1217. },
  1218. visitImportRule$1$x(receiver, a0) {
  1219. return J.getInterceptor$x(receiver).visitImportRule$1(receiver, a0);
  1220. },
  1221. visitIncludeRule$1$x(receiver, a0) {
  1222. return J.getInterceptor$x(receiver).visitIncludeRule$1(receiver, a0);
  1223. },
  1224. visitInterpolatedFunctionExpression$1$x(receiver, a0) {
  1225. return J.getInterceptor$x(receiver).visitInterpolatedFunctionExpression$1(receiver, a0);
  1226. },
  1227. visitListExpression$1$x(receiver, a0) {
  1228. return J.getInterceptor$x(receiver).visitListExpression$1(receiver, a0);
  1229. },
  1230. visitLoudComment$1$x(receiver, a0) {
  1231. return J.getInterceptor$x(receiver).visitLoudComment$1(receiver, a0);
  1232. },
  1233. visitMapExpression$1$x(receiver, a0) {
  1234. return J.getInterceptor$x(receiver).visitMapExpression$1(receiver, a0);
  1235. },
  1236. visitMediaRule$1$x(receiver, a0) {
  1237. return J.getInterceptor$x(receiver).visitMediaRule$1(receiver, a0);
  1238. },
  1239. visitMixinRule$1$x(receiver, a0) {
  1240. return J.getInterceptor$x(receiver).visitMixinRule$1(receiver, a0);
  1241. },
  1242. visitNullExpression$1$x(receiver, a0) {
  1243. return J.getInterceptor$x(receiver).visitNullExpression$1(receiver, a0);
  1244. },
  1245. visitNumberExpression$1$x(receiver, a0) {
  1246. return J.getInterceptor$x(receiver).visitNumberExpression$1(receiver, a0);
  1247. },
  1248. visitParenthesizedExpression$1$x(receiver, a0) {
  1249. return J.getInterceptor$x(receiver).visitParenthesizedExpression$1(receiver, a0);
  1250. },
  1251. visitReturnRule$1$x(receiver, a0) {
  1252. return J.getInterceptor$x(receiver).visitReturnRule$1(receiver, a0);
  1253. },
  1254. visitSelectorExpression$1$x(receiver, a0) {
  1255. return J.getInterceptor$x(receiver).visitSelectorExpression$1(receiver, a0);
  1256. },
  1257. visitSilentComment$1$x(receiver, a0) {
  1258. return J.getInterceptor$x(receiver).visitSilentComment$1(receiver, a0);
  1259. },
  1260. visitStringExpression$1$x(receiver, a0) {
  1261. return J.getInterceptor$x(receiver).visitStringExpression$1(receiver, a0);
  1262. },
  1263. visitStyleRule$1$x(receiver, a0) {
  1264. return J.getInterceptor$x(receiver).visitStyleRule$1(receiver, a0);
  1265. },
  1266. visitStylesheet$1$x(receiver, a0) {
  1267. return J.getInterceptor$x(receiver).visitStylesheet$1(receiver, a0);
  1268. },
  1269. visitSupportsExpression$1$x(receiver, a0) {
  1270. return J.getInterceptor$x(receiver).visitSupportsExpression$1(receiver, a0);
  1271. },
  1272. visitSupportsRule$1$x(receiver, a0) {
  1273. return J.getInterceptor$x(receiver).visitSupportsRule$1(receiver, a0);
  1274. },
  1275. visitUnaryOperationExpression$1$x(receiver, a0) {
  1276. return J.getInterceptor$x(receiver).visitUnaryOperationExpression$1(receiver, a0);
  1277. },
  1278. visitUseRule$1$x(receiver, a0) {
  1279. return J.getInterceptor$x(receiver).visitUseRule$1(receiver, a0);
  1280. },
  1281. visitValueExpression$1$x(receiver, a0) {
  1282. return J.getInterceptor$x(receiver).visitValueExpression$1(receiver, a0);
  1283. },
  1284. visitVariableDeclaration$1$x(receiver, a0) {
  1285. return J.getInterceptor$x(receiver).visitVariableDeclaration$1(receiver, a0);
  1286. },
  1287. visitVariableExpression$1$x(receiver, a0) {
  1288. return J.getInterceptor$x(receiver).visitVariableExpression$1(receiver, a0);
  1289. },
  1290. visitWarnRule$1$x(receiver, a0) {
  1291. return J.getInterceptor$x(receiver).visitWarnRule$1(receiver, a0);
  1292. },
  1293. visitWhileRule$1$x(receiver, a0) {
  1294. return J.getInterceptor$x(receiver).visitWhileRule$1(receiver, a0);
  1295. },
  1296. watch$2$x(receiver, a0, a1) {
  1297. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1298. },
  1299. where$1$ax(receiver, a0) {
  1300. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1301. },
  1302. write$1$x(receiver, a0) {
  1303. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1304. },
  1305. writeFileSync$2$x(receiver, a0, a1) {
  1306. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1307. },
  1308. yield$0$x(receiver) {
  1309. return J.getInterceptor$x(receiver).yield$0(receiver);
  1310. },
  1311. Interceptor: function Interceptor() {
  1312. },
  1313. JSBool: function JSBool() {
  1314. },
  1315. JSNull: function JSNull() {
  1316. },
  1317. JavaScriptObject: function JavaScriptObject() {
  1318. },
  1319. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1320. },
  1321. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1322. },
  1323. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1324. },
  1325. JavaScriptFunction: function JavaScriptFunction() {
  1326. },
  1327. JavaScriptBigInt: function JavaScriptBigInt() {
  1328. },
  1329. JavaScriptSymbol: function JavaScriptSymbol() {
  1330. },
  1331. JSArray: function JSArray(t0) {
  1332. this.$ti = t0;
  1333. },
  1334. JSArraySafeToStringHook: function JSArraySafeToStringHook() {
  1335. },
  1336. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1337. this.$ti = t0;
  1338. },
  1339. ArrayIterator: function ArrayIterator(t0, t1, t2) {
  1340. var _ = this;
  1341. _._iterable = t0;
  1342. _._length = t1;
  1343. _._index = 0;
  1344. _._current = null;
  1345. _.$ti = t2;
  1346. },
  1347. JSNumber: function JSNumber() {
  1348. },
  1349. JSInt: function JSInt() {
  1350. },
  1351. JSNumNotInt: function JSNumNotInt() {
  1352. },
  1353. JSString: function JSString() {
  1354. }
  1355. },
  1356. A = {JS_CONST: function JS_CONST() {
  1357. },
  1358. CastIterable_CastIterable(source, $S, $T) {
  1359. if (type$.EfficientLengthIterable_dynamic._is(source))
  1360. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1361. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1362. },
  1363. LateError$fieldADI(fieldName) {
  1364. return new A.LateError("Field '" + fieldName + "' has been assigned during initialization.");
  1365. },
  1366. LateError$fieldNI(fieldName) {
  1367. return new A.LateError("Field '" + fieldName + "' has not been initialized.");
  1368. },
  1369. LateError$localNI(localName) {
  1370. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1371. },
  1372. LateError$fieldAI(fieldName) {
  1373. return new A.LateError("Field '" + fieldName + "' has already been initialized.");
  1374. },
  1375. hexDigitValue(char) {
  1376. var letter,
  1377. digit = char ^ 48;
  1378. if (digit <= 9)
  1379. return digit;
  1380. letter = char | 32;
  1381. if (97 <= letter && letter <= 102)
  1382. return letter - 87;
  1383. return -1;
  1384. },
  1385. SystemHash_combine(hash, value) {
  1386. hash = hash + value & 536870911;
  1387. hash = hash + ((hash & 524287) << 10) & 536870911;
  1388. return hash ^ hash >>> 6;
  1389. },
  1390. SystemHash_finish(hash) {
  1391. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1392. hash ^= hash >>> 11;
  1393. return hash + ((hash & 16383) << 15) & 536870911;
  1394. },
  1395. checkNotNullable(value, $name, $T) {
  1396. return value;
  1397. },
  1398. isToStringVisiting(object) {
  1399. var t1, i;
  1400. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1401. if (object === $.toStringVisiting[i])
  1402. return true;
  1403. return false;
  1404. },
  1405. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1406. A.RangeError_checkNotNegative(_start, "start");
  1407. if (_endOrLength != null) {
  1408. A.RangeError_checkNotNegative(_endOrLength, "end");
  1409. if (_start > _endOrLength)
  1410. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1411. }
  1412. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1413. },
  1414. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1415. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1416. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1417. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1418. },
  1419. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1420. var _s9_ = "takeCount";
  1421. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1422. A.RangeError_checkNotNegative(takeCount, _s9_);
  1423. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1424. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1425. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1426. },
  1427. SkipIterable_SkipIterable(iterable, count, $E) {
  1428. var _s5_ = "count";
  1429. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1430. A.ArgumentError_checkNotNull(count, _s5_);
  1431. A.RangeError_checkNotNegative(count, _s5_);
  1432. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1433. }
  1434. A.ArgumentError_checkNotNull(count, _s5_);
  1435. A.RangeError_checkNotNegative(count, _s5_);
  1436. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1437. },
  1438. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1439. if (type$.EfficientLengthIterable_dynamic._is(second))
  1440. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1441. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1442. },
  1443. IterableElementError_noElement() {
  1444. return new A.StateError("No element");
  1445. },
  1446. IterableElementError_tooMany() {
  1447. return new A.StateError("Too many elements");
  1448. },
  1449. IterableElementError_tooFew() {
  1450. return new A.StateError("Too few elements");
  1451. },
  1452. Sort__doSort(a, left, right, compare) {
  1453. if (right - left <= 32)
  1454. A.Sort__insertionSort(a, left, right, compare);
  1455. else
  1456. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1457. },
  1458. Sort__insertionSort(a, left, right, compare) {
  1459. var i, t1, el, j, j0;
  1460. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1461. el = t1.$index(a, i);
  1462. j = i;
  1463. while (true) {
  1464. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1465. break;
  1466. j0 = j - 1;
  1467. t1.$indexSet(a, j, t1.$index(a, j0));
  1468. j = j0;
  1469. }
  1470. t1.$indexSet(a, j, el);
  1471. }
  1472. },
  1473. Sort__dualPivotQuicksort(a, left, right, compare) {
  1474. var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0, t2,
  1475. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1476. index1 = left + sixth,
  1477. index5 = right - sixth,
  1478. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1479. index2 = index3 - sixth,
  1480. index4 = index3 + sixth,
  1481. t1 = J.getInterceptor$asx(a),
  1482. el1 = t1.$index(a, index1),
  1483. el2 = t1.$index(a, index2),
  1484. el3 = t1.$index(a, index3),
  1485. el4 = t1.$index(a, index4),
  1486. el5 = t1.$index(a, index5);
  1487. if (compare.call$2(el1, el2) > 0) {
  1488. t0 = el2;
  1489. el2 = el1;
  1490. el1 = t0;
  1491. }
  1492. if (compare.call$2(el4, el5) > 0) {
  1493. t0 = el5;
  1494. el5 = el4;
  1495. el4 = t0;
  1496. }
  1497. if (compare.call$2(el1, el3) > 0) {
  1498. t0 = el3;
  1499. el3 = el1;
  1500. el1 = t0;
  1501. }
  1502. if (compare.call$2(el2, el3) > 0) {
  1503. t0 = el3;
  1504. el3 = el2;
  1505. el2 = t0;
  1506. }
  1507. if (compare.call$2(el1, el4) > 0) {
  1508. t0 = el4;
  1509. el4 = el1;
  1510. el1 = t0;
  1511. }
  1512. if (compare.call$2(el3, el4) > 0) {
  1513. t0 = el4;
  1514. el4 = el3;
  1515. el3 = t0;
  1516. }
  1517. if (compare.call$2(el2, el5) > 0) {
  1518. t0 = el5;
  1519. el5 = el2;
  1520. el2 = t0;
  1521. }
  1522. if (compare.call$2(el2, el3) > 0) {
  1523. t0 = el3;
  1524. el3 = el2;
  1525. el2 = t0;
  1526. }
  1527. if (compare.call$2(el4, el5) > 0) {
  1528. t0 = el5;
  1529. el5 = el4;
  1530. el4 = t0;
  1531. }
  1532. t1.$indexSet(a, index1, el1);
  1533. t1.$indexSet(a, index3, el3);
  1534. t1.$indexSet(a, index5, el5);
  1535. t1.$indexSet(a, index2, t1.$index(a, left));
  1536. t1.$indexSet(a, index4, t1.$index(a, right));
  1537. less = left + 1;
  1538. great = right - 1;
  1539. pivots_are_equal = J.$eq$(compare.call$2(el2, el4), 0);
  1540. if (pivots_are_equal)
  1541. for (k = less; k <= great; ++k) {
  1542. ak = t1.$index(a, k);
  1543. comp = compare.call$2(ak, el2);
  1544. if (comp === 0)
  1545. continue;
  1546. if (comp < 0) {
  1547. if (k !== less) {
  1548. t1.$indexSet(a, k, t1.$index(a, less));
  1549. t1.$indexSet(a, less, ak);
  1550. }
  1551. ++less;
  1552. } else
  1553. for (; true;) {
  1554. comp = compare.call$2(t1.$index(a, great), el2);
  1555. if (comp > 0) {
  1556. --great;
  1557. continue;
  1558. } else {
  1559. great0 = great - 1;
  1560. if (comp < 0) {
  1561. t1.$indexSet(a, k, t1.$index(a, less));
  1562. less0 = less + 1;
  1563. t1.$indexSet(a, less, t1.$index(a, great));
  1564. t1.$indexSet(a, great, ak);
  1565. great = great0;
  1566. less = less0;
  1567. break;
  1568. } else {
  1569. t1.$indexSet(a, k, t1.$index(a, great));
  1570. t1.$indexSet(a, great, ak);
  1571. great = great0;
  1572. break;
  1573. }
  1574. }
  1575. }
  1576. }
  1577. else
  1578. for (k = less; k <= great; ++k) {
  1579. ak = t1.$index(a, k);
  1580. if (compare.call$2(ak, el2) < 0) {
  1581. if (k !== less) {
  1582. t1.$indexSet(a, k, t1.$index(a, less));
  1583. t1.$indexSet(a, less, ak);
  1584. }
  1585. ++less;
  1586. } else if (compare.call$2(ak, el4) > 0)
  1587. for (; true;)
  1588. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1589. --great;
  1590. if (great < k)
  1591. break;
  1592. continue;
  1593. } else {
  1594. great0 = great - 1;
  1595. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1596. t1.$indexSet(a, k, t1.$index(a, less));
  1597. less0 = less + 1;
  1598. t1.$indexSet(a, less, t1.$index(a, great));
  1599. t1.$indexSet(a, great, ak);
  1600. less = less0;
  1601. } else {
  1602. t1.$indexSet(a, k, t1.$index(a, great));
  1603. t1.$indexSet(a, great, ak);
  1604. }
  1605. great = great0;
  1606. break;
  1607. }
  1608. }
  1609. t2 = less - 1;
  1610. t1.$indexSet(a, left, t1.$index(a, t2));
  1611. t1.$indexSet(a, t2, el2);
  1612. t2 = great + 1;
  1613. t1.$indexSet(a, right, t1.$index(a, t2));
  1614. t1.$indexSet(a, t2, el4);
  1615. A.Sort__doSort(a, left, less - 2, compare);
  1616. A.Sort__doSort(a, great + 2, right, compare);
  1617. if (pivots_are_equal)
  1618. return;
  1619. if (less < index1 && great > index5) {
  1620. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1621. ++less;
  1622. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1623. --great;
  1624. for (k = less; k <= great; ++k) {
  1625. ak = t1.$index(a, k);
  1626. if (compare.call$2(ak, el2) === 0) {
  1627. if (k !== less) {
  1628. t1.$indexSet(a, k, t1.$index(a, less));
  1629. t1.$indexSet(a, less, ak);
  1630. }
  1631. ++less;
  1632. } else if (compare.call$2(ak, el4) === 0)
  1633. for (; true;)
  1634. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1635. --great;
  1636. if (great < k)
  1637. break;
  1638. continue;
  1639. } else {
  1640. great0 = great - 1;
  1641. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1642. t1.$indexSet(a, k, t1.$index(a, less));
  1643. less0 = less + 1;
  1644. t1.$indexSet(a, less, t1.$index(a, great));
  1645. t1.$indexSet(a, great, ak);
  1646. less = less0;
  1647. } else {
  1648. t1.$indexSet(a, k, t1.$index(a, great));
  1649. t1.$indexSet(a, great, ak);
  1650. }
  1651. great = great0;
  1652. break;
  1653. }
  1654. }
  1655. A.Sort__doSort(a, less, great, compare);
  1656. } else
  1657. A.Sort__doSort(a, less, great, compare);
  1658. },
  1659. _CastIterableBase: function _CastIterableBase() {
  1660. },
  1661. CastIterator: function CastIterator(t0, t1) {
  1662. this._source = t0;
  1663. this.$ti = t1;
  1664. },
  1665. CastIterable: function CastIterable(t0, t1) {
  1666. this._source = t0;
  1667. this.$ti = t1;
  1668. },
  1669. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1670. this._source = t0;
  1671. this.$ti = t1;
  1672. },
  1673. _CastListBase: function _CastListBase() {
  1674. },
  1675. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1676. this.$this = t0;
  1677. this.compare = t1;
  1678. },
  1679. CastList: function CastList(t0, t1) {
  1680. this._source = t0;
  1681. this.$ti = t1;
  1682. },
  1683. CastSet: function CastSet(t0, t1, t2) {
  1684. this._source = t0;
  1685. this._emptySet = t1;
  1686. this.$ti = t2;
  1687. },
  1688. CastMap: function CastMap(t0, t1) {
  1689. this._source = t0;
  1690. this.$ti = t1;
  1691. },
  1692. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1693. this.$this = t0;
  1694. this.f = t1;
  1695. },
  1696. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1697. this.$this = t0;
  1698. },
  1699. LateError: function LateError(t0) {
  1700. this._message = t0;
  1701. },
  1702. CodeUnits: function CodeUnits(t0) {
  1703. this._string = t0;
  1704. },
  1705. nullFuture_closure: function nullFuture_closure() {
  1706. },
  1707. SentinelValue: function SentinelValue() {
  1708. },
  1709. EfficientLengthIterable: function EfficientLengthIterable() {
  1710. },
  1711. ListIterable: function ListIterable() {
  1712. },
  1713. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1714. var _ = this;
  1715. _.__internal$_iterable = t0;
  1716. _._start = t1;
  1717. _._endOrLength = t2;
  1718. _.$ti = t3;
  1719. },
  1720. ListIterator: function ListIterator(t0, t1, t2) {
  1721. var _ = this;
  1722. _.__internal$_iterable = t0;
  1723. _.__internal$_length = t1;
  1724. _.__internal$_index = 0;
  1725. _.__internal$_current = null;
  1726. _.$ti = t2;
  1727. },
  1728. MappedIterable: function MappedIterable(t0, t1, t2) {
  1729. this.__internal$_iterable = t0;
  1730. this._f = t1;
  1731. this.$ti = t2;
  1732. },
  1733. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1734. this.__internal$_iterable = t0;
  1735. this._f = t1;
  1736. this.$ti = t2;
  1737. },
  1738. MappedIterator: function MappedIterator(t0, t1, t2) {
  1739. var _ = this;
  1740. _.__internal$_current = null;
  1741. _._iterator = t0;
  1742. _._f = t1;
  1743. _.$ti = t2;
  1744. },
  1745. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1746. this._source = t0;
  1747. this._f = t1;
  1748. this.$ti = t2;
  1749. },
  1750. WhereIterable: function WhereIterable(t0, t1, t2) {
  1751. this.__internal$_iterable = t0;
  1752. this._f = t1;
  1753. this.$ti = t2;
  1754. },
  1755. WhereIterator: function WhereIterator(t0, t1) {
  1756. this._iterator = t0;
  1757. this._f = t1;
  1758. },
  1759. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1760. this.__internal$_iterable = t0;
  1761. this._f = t1;
  1762. this.$ti = t2;
  1763. },
  1764. ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {
  1765. var _ = this;
  1766. _._iterator = t0;
  1767. _._f = t1;
  1768. _._currentExpansion = t2;
  1769. _.__internal$_current = null;
  1770. _.$ti = t3;
  1771. },
  1772. TakeIterable: function TakeIterable(t0, t1, t2) {
  1773. this.__internal$_iterable = t0;
  1774. this._takeCount = t1;
  1775. this.$ti = t2;
  1776. },
  1777. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1778. this.__internal$_iterable = t0;
  1779. this._takeCount = t1;
  1780. this.$ti = t2;
  1781. },
  1782. TakeIterator: function TakeIterator(t0, t1, t2) {
  1783. this._iterator = t0;
  1784. this._remaining = t1;
  1785. this.$ti = t2;
  1786. },
  1787. SkipIterable: function SkipIterable(t0, t1, t2) {
  1788. this.__internal$_iterable = t0;
  1789. this._skipCount = t1;
  1790. this.$ti = t2;
  1791. },
  1792. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1793. this.__internal$_iterable = t0;
  1794. this._skipCount = t1;
  1795. this.$ti = t2;
  1796. },
  1797. SkipIterator: function SkipIterator(t0, t1) {
  1798. this._iterator = t0;
  1799. this._skipCount = t1;
  1800. },
  1801. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1802. this.__internal$_iterable = t0;
  1803. this._f = t1;
  1804. this.$ti = t2;
  1805. },
  1806. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1807. this._iterator = t0;
  1808. this._f = t1;
  1809. this._hasSkipped = false;
  1810. },
  1811. EmptyIterable: function EmptyIterable(t0) {
  1812. this.$ti = t0;
  1813. },
  1814. EmptyIterator: function EmptyIterator() {
  1815. },
  1816. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1817. this.__internal$_first = t0;
  1818. this._second = t1;
  1819. this.$ti = t2;
  1820. },
  1821. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1822. this.__internal$_first = t0;
  1823. this._second = t1;
  1824. this.$ti = t2;
  1825. },
  1826. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1827. this._currentIterator = t0;
  1828. this._nextIterable = t1;
  1829. },
  1830. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1831. this._source = t0;
  1832. this.$ti = t1;
  1833. },
  1834. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1835. this._source = t0;
  1836. this.$ti = t1;
  1837. },
  1838. NonNullsIterable: function NonNullsIterable(t0, t1) {
  1839. this._source = t0;
  1840. this.$ti = t1;
  1841. },
  1842. NonNullsIterator: function NonNullsIterator(t0) {
  1843. this._source = t0;
  1844. this.__internal$_current = null;
  1845. },
  1846. FixedLengthListMixin: function FixedLengthListMixin() {
  1847. },
  1848. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1849. },
  1850. UnmodifiableListBase: function UnmodifiableListBase() {
  1851. },
  1852. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1853. this._source = t0;
  1854. this.$ti = t1;
  1855. },
  1856. Symbol: function Symbol(t0) {
  1857. this.__internal$_name = t0;
  1858. },
  1859. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1860. },
  1861. ConstantMap_ConstantMap$from(other, $K, $V) {
  1862. var allStrings, k, object, index, index0, map,
  1863. keys = A.List_List$from(other.get$keys(other), true, $K),
  1864. t1 = keys.length,
  1865. _i = 0;
  1866. while (true) {
  1867. if (!(_i < t1)) {
  1868. allStrings = true;
  1869. break;
  1870. }
  1871. k = keys[_i];
  1872. if (typeof k != "string" || "__proto__" === k) {
  1873. allStrings = false;
  1874. break;
  1875. }
  1876. ++_i;
  1877. }
  1878. if (allStrings) {
  1879. object = {};
  1880. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1881. k = keys[_i];
  1882. other.$index(0, k);
  1883. index0 = index + 1;
  1884. object[k] = index;
  1885. }
  1886. 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>"));
  1887. map.$keys = keys;
  1888. return map;
  1889. }
  1890. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1891. },
  1892. ConstantMap__throwUnmodifiable() {
  1893. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1894. },
  1895. ConstantSet__throwUnmodifiable() {
  1896. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1897. },
  1898. instantiate1(f, $T1) {
  1899. var t1 = new A.Instantiation1(f, $T1._eval$1("Instantiation1<0>"));
  1900. t1.Instantiation$1(f);
  1901. return t1;
  1902. },
  1903. unminifyOrTag(rawClassName) {
  1904. var preserved = init.mangledGlobalNames[rawClassName];
  1905. if (preserved != null)
  1906. return preserved;
  1907. return rawClassName;
  1908. },
  1909. isJsIndexable(object, record) {
  1910. var result;
  1911. if (record != null) {
  1912. result = record.x;
  1913. if (result != null)
  1914. return result;
  1915. }
  1916. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1917. },
  1918. S(value) {
  1919. var result;
  1920. if (typeof value == "string")
  1921. return value;
  1922. if (typeof value == "number") {
  1923. if (value !== 0)
  1924. return "" + value;
  1925. } else if (true === value)
  1926. return "true";
  1927. else if (false === value)
  1928. return "false";
  1929. else if (value == null)
  1930. return "null";
  1931. result = J.toString$0$(value);
  1932. return result;
  1933. },
  1934. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1935. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1936. },
  1937. Primitives_objectHashCode(object) {
  1938. var hash,
  1939. property = $.Primitives__identityHashCodeProperty;
  1940. if (property == null)
  1941. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1942. hash = object[property];
  1943. if (hash == null) {
  1944. hash = Math.random() * 0x3fffffff | 0;
  1945. object[property] = hash;
  1946. }
  1947. return hash;
  1948. },
  1949. Primitives_parseInt(source, radix) {
  1950. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1951. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1952. if (match == null)
  1953. return _null;
  1954. decimalMatch = match[3];
  1955. if (radix == null) {
  1956. if (decimalMatch != null)
  1957. return parseInt(source, 10);
  1958. if (match[2] != null)
  1959. return parseInt(source, 16);
  1960. return _null;
  1961. }
  1962. if (radix < 2 || radix > 36)
  1963. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1964. if (radix === 10 && decimalMatch != null)
  1965. return parseInt(source, 10);
  1966. if (radix < 10 || decimalMatch == null) {
  1967. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1968. digitsPart = match[1];
  1969. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1970. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1971. return _null;
  1972. }
  1973. return parseInt(source, radix);
  1974. },
  1975. Primitives_parseDouble(source) {
  1976. var result, trimmed;
  1977. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1978. return null;
  1979. result = parseFloat(source);
  1980. if (isNaN(result)) {
  1981. trimmed = B.JSString_methods.trim$0(source);
  1982. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  1983. return result;
  1984. return null;
  1985. }
  1986. return result;
  1987. },
  1988. Primitives_objectTypeName(object) {
  1989. var interceptor, dispatchName, $constructor, constructorName;
  1990. if (object instanceof A.Object)
  1991. return A._rtiToString(A.instanceType(object), null);
  1992. interceptor = J.getInterceptor$(object);
  1993. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  1994. dispatchName = B.C_JS_CONST(object);
  1995. if (dispatchName !== "Object" && dispatchName !== "")
  1996. return dispatchName;
  1997. $constructor = object.constructor;
  1998. if (typeof $constructor == "function") {
  1999. constructorName = $constructor.name;
  2000. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  2001. return constructorName;
  2002. }
  2003. }
  2004. return A._rtiToString(A.instanceType(object), null);
  2005. },
  2006. Primitives_safeToString(object) {
  2007. var hooks, i, hookResult;
  2008. if (object == null || typeof object == "number" || A._isBool(object))
  2009. return J.toString$0$(object);
  2010. if (typeof object == "string")
  2011. return JSON.stringify(object);
  2012. if (object instanceof A.Closure)
  2013. return object.toString$0(0);
  2014. if (object instanceof A._Record)
  2015. return object._toString$1(true);
  2016. hooks = $.$get$_safeToStringHooks();
  2017. for (i = 0; i < 1; ++i) {
  2018. hookResult = hooks[i].tryFormat$1(object);
  2019. if (hookResult != null)
  2020. return hookResult;
  2021. }
  2022. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  2023. },
  2024. Primitives_currentUri() {
  2025. if (!!self.location)
  2026. return self.location.href;
  2027. return null;
  2028. },
  2029. Primitives__fromCharCodeApply(array) {
  2030. var result, i, i0, chunkEnd,
  2031. end = array.length;
  2032. if (end <= 500)
  2033. return String.fromCharCode.apply(null, array);
  2034. for (result = "", i = 0; i < end; i = i0) {
  2035. i0 = i + 500;
  2036. chunkEnd = i0 < end ? i0 : end;
  2037. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  2038. }
  2039. return result;
  2040. },
  2041. Primitives_stringFromCodePoints(codePoints) {
  2042. var t1, _i, i,
  2043. a = A._setArrayType([], type$.JSArray_int);
  2044. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  2045. i = codePoints[_i];
  2046. if (!A._isInt(i))
  2047. throw A.wrapException(A.argumentErrorValue(i));
  2048. if (i <= 65535)
  2049. a.push(i);
  2050. else if (i <= 1114111) {
  2051. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  2052. a.push(56320 + (i & 1023));
  2053. } else
  2054. throw A.wrapException(A.argumentErrorValue(i));
  2055. }
  2056. return A.Primitives__fromCharCodeApply(a);
  2057. },
  2058. Primitives_stringFromCharCodes(charCodes) {
  2059. var t1, _i, i;
  2060. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  2061. i = charCodes[_i];
  2062. if (!A._isInt(i))
  2063. throw A.wrapException(A.argumentErrorValue(i));
  2064. if (i < 0)
  2065. throw A.wrapException(A.argumentErrorValue(i));
  2066. if (i > 65535)
  2067. return A.Primitives_stringFromCodePoints(charCodes);
  2068. }
  2069. return A.Primitives__fromCharCodeApply(charCodes);
  2070. },
  2071. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  2072. var i, result, i0, chunkEnd;
  2073. if (end <= 500 && start === 0 && end === charCodes.length)
  2074. return String.fromCharCode.apply(null, charCodes);
  2075. for (i = start, result = ""; i < end; i = i0) {
  2076. i0 = i + 500;
  2077. chunkEnd = i0 < end ? i0 : end;
  2078. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  2079. }
  2080. return result;
  2081. },
  2082. Primitives_stringFromCharCode(charCode) {
  2083. var bits;
  2084. if (0 <= charCode) {
  2085. if (charCode <= 65535)
  2086. return String.fromCharCode(charCode);
  2087. if (charCode <= 1114111) {
  2088. bits = charCode - 65536;
  2089. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  2090. }
  2091. }
  2092. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  2093. },
  2094. Primitives_lazyAsJsDate(receiver) {
  2095. if (receiver.date === void 0)
  2096. receiver.date = new Date(receiver._value);
  2097. return receiver.date;
  2098. },
  2099. Primitives_getYear(receiver) {
  2100. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  2101. return t1;
  2102. },
  2103. Primitives_getMonth(receiver) {
  2104. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  2105. return t1;
  2106. },
  2107. Primitives_getDay(receiver) {
  2108. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  2109. return t1;
  2110. },
  2111. Primitives_getHours(receiver) {
  2112. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  2113. return t1;
  2114. },
  2115. Primitives_getMinutes(receiver) {
  2116. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  2117. return t1;
  2118. },
  2119. Primitives_getSeconds(receiver) {
  2120. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  2121. return t1;
  2122. },
  2123. Primitives_getMilliseconds(receiver) {
  2124. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  2125. return t1;
  2126. },
  2127. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  2128. var $arguments, namedArgumentList, t1 = {};
  2129. t1.argumentCount = 0;
  2130. $arguments = [];
  2131. namedArgumentList = [];
  2132. t1.argumentCount = positionalArguments.length;
  2133. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  2134. t1.names = "";
  2135. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2136. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  2137. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  2138. },
  2139. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  2140. var t1, argumentCount, jsStub;
  2141. if (Array.isArray(positionalArguments))
  2142. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  2143. else
  2144. t1 = false;
  2145. if (t1) {
  2146. argumentCount = positionalArguments.length;
  2147. if (argumentCount === 0) {
  2148. if (!!$function.call$0)
  2149. return $function.call$0();
  2150. } else if (argumentCount === 1) {
  2151. if (!!$function.call$1)
  2152. return $function.call$1(positionalArguments[0]);
  2153. } else if (argumentCount === 2) {
  2154. if (!!$function.call$2)
  2155. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  2156. } else if (argumentCount === 3) {
  2157. if (!!$function.call$3)
  2158. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  2159. } else if (argumentCount === 4) {
  2160. if (!!$function.call$4)
  2161. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  2162. } else if (argumentCount === 5)
  2163. if (!!$function.call$5)
  2164. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  2165. jsStub = $function["call" + "$" + argumentCount];
  2166. if (jsStub != null)
  2167. return jsStub.apply($function, positionalArguments);
  2168. }
  2169. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2170. },
  2171. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2172. var $arguments, argumentCount, requiredParameterCount, defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2;
  2173. if (Array.isArray(positionalArguments))
  2174. $arguments = positionalArguments;
  2175. else
  2176. $arguments = A.List_List$_of(positionalArguments, type$.dynamic);
  2177. argumentCount = $arguments.length;
  2178. requiredParameterCount = $function.$requiredArgCount;
  2179. if (argumentCount < requiredParameterCount)
  2180. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2181. defaultValuesClosure = $function.$defaultValues;
  2182. t1 = defaultValuesClosure == null;
  2183. defaultValues = !t1 ? defaultValuesClosure() : null;
  2184. interceptor = J.getInterceptor$($function);
  2185. jsFunction = interceptor["call*"];
  2186. if (typeof jsFunction == "string")
  2187. jsFunction = interceptor[jsFunction];
  2188. if (t1) {
  2189. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2190. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2191. if (argumentCount === requiredParameterCount)
  2192. return jsFunction.apply($function, $arguments);
  2193. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2194. }
  2195. if (Array.isArray(defaultValues)) {
  2196. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2197. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2198. maxArguments = requiredParameterCount + defaultValues.length;
  2199. if (argumentCount > maxArguments)
  2200. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2201. if (argumentCount < maxArguments) {
  2202. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2203. if ($arguments === positionalArguments)
  2204. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2205. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2206. }
  2207. return jsFunction.apply($function, $arguments);
  2208. } else {
  2209. if (argumentCount > requiredParameterCount)
  2210. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2211. if ($arguments === positionalArguments)
  2212. $arguments = A.List_List$_of($arguments, type$.dynamic);
  2213. keys = Object.keys(defaultValues);
  2214. if (namedArguments == null)
  2215. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2216. defaultValue = defaultValues[keys[_i]];
  2217. if (B.C__Required === defaultValue)
  2218. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2219. B.JSArray_methods.add$1($arguments, defaultValue);
  2220. }
  2221. else {
  2222. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2223. t2 = keys[_i];
  2224. if (namedArguments.containsKey$1(t2)) {
  2225. ++used;
  2226. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2227. } else {
  2228. defaultValue = defaultValues[t2];
  2229. if (B.C__Required === defaultValue)
  2230. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2231. B.JSArray_methods.add$1($arguments, defaultValue);
  2232. }
  2233. }
  2234. if (used !== namedArguments.__js_helper$_length)
  2235. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2236. }
  2237. return jsFunction.apply($function, $arguments);
  2238. }
  2239. },
  2240. Primitives_extractStackTrace(error) {
  2241. var jsError = error.$thrownJsError;
  2242. if (jsError == null)
  2243. return null;
  2244. return A.getTraceFromException(jsError);
  2245. },
  2246. Primitives_trySetStackTrace(error, stackTrace) {
  2247. var jsError;
  2248. if (error.$thrownJsError == null) {
  2249. jsError = new Error();
  2250. A.initializeExceptionWrapper(error, jsError);
  2251. error.$thrownJsError = jsError;
  2252. jsError.stack = stackTrace.toString$0(0);
  2253. }
  2254. },
  2255. diagnoseIndexError(indexable, index) {
  2256. var $length, _s5_ = "index";
  2257. if (!A._isInt(index))
  2258. return new A.ArgumentError(true, index, _s5_, null);
  2259. $length = J.get$length$asx(indexable);
  2260. if (index < 0 || index >= $length)
  2261. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2262. return A.RangeError$value(index, _s5_, null);
  2263. },
  2264. diagnoseRangeError(start, end, $length) {
  2265. if (start < 0 || start > $length)
  2266. return A.RangeError$range(start, 0, $length, "start", null);
  2267. if (end != null)
  2268. if (end < start || end > $length)
  2269. return A.RangeError$range(end, start, $length, "end", null);
  2270. return new A.ArgumentError(true, end, "end", null);
  2271. },
  2272. argumentErrorValue(object) {
  2273. return new A.ArgumentError(true, object, null, null);
  2274. },
  2275. wrapException(ex) {
  2276. return A.initializeExceptionWrapper(ex, new Error());
  2277. },
  2278. initializeExceptionWrapper(ex, wrapper) {
  2279. var t1;
  2280. if (ex == null)
  2281. ex = new A.TypeError();
  2282. wrapper.dartException = ex;
  2283. t1 = A.toStringWrapper;
  2284. if ("defineProperty" in Object) {
  2285. Object.defineProperty(wrapper, "message", {get: t1});
  2286. wrapper.name = "";
  2287. } else
  2288. wrapper.toString = t1;
  2289. return wrapper;
  2290. },
  2291. toStringWrapper() {
  2292. return J.toString$0$(this.dartException);
  2293. },
  2294. throwExpression(ex, wrapper) {
  2295. throw A.initializeExceptionWrapper(ex, wrapper == null ? new Error() : wrapper);
  2296. },
  2297. throwUnsupportedOperation(o, operation, verb) {
  2298. var wrapper;
  2299. if (operation == null)
  2300. operation = 0;
  2301. if (verb == null)
  2302. verb = 0;
  2303. wrapper = Error();
  2304. A.throwExpression(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);
  2305. },
  2306. _diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {
  2307. var operation, table, tableLength, index, verb, object, flags, article, adjective;
  2308. if (typeof encodedOperation == "string")
  2309. operation = encodedOperation;
  2310. else {
  2311. table = "[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";");
  2312. tableLength = table.length;
  2313. index = encodedOperation;
  2314. if (index > tableLength) {
  2315. encodedVerb = index / tableLength | 0;
  2316. index %= tableLength;
  2317. }
  2318. operation = table[index];
  2319. }
  2320. verb = typeof encodedVerb == "string" ? encodedVerb : "modify;remove from;add to".split(";")[encodedVerb];
  2321. object = type$.List_dynamic._is(o) ? "list" : "ByteData";
  2322. flags = o.$flags | 0;
  2323. article = "a ";
  2324. if ((flags & 4) !== 0)
  2325. adjective = "constant ";
  2326. else if ((flags & 2) !== 0) {
  2327. adjective = "unmodifiable ";
  2328. article = "an ";
  2329. } else
  2330. adjective = (flags & 1) !== 0 ? "fixed-length " : "";
  2331. return new A.UnsupportedError("'" + operation + "': Cannot " + verb + " " + article + adjective + object);
  2332. },
  2333. throwConcurrentModificationError(collection) {
  2334. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2335. },
  2336. TypeErrorDecoder_extractPattern(message) {
  2337. var match, $arguments, argumentsExpr, expr, method, receiver;
  2338. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2339. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2340. if (match == null)
  2341. match = A._setArrayType([], type$.JSArray_String);
  2342. $arguments = match.indexOf("\\$arguments\\$");
  2343. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2344. expr = match.indexOf("\\$expr\\$");
  2345. method = match.indexOf("\\$method\\$");
  2346. receiver = match.indexOf("\\$receiver\\$");
  2347. 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);
  2348. },
  2349. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2350. return function($expr$) {
  2351. var $argumentsExpr$ = "$arguments$";
  2352. try {
  2353. $expr$.$method$($argumentsExpr$);
  2354. } catch (e) {
  2355. return e.message;
  2356. }
  2357. }(expression);
  2358. },
  2359. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2360. return function($expr$) {
  2361. try {
  2362. $expr$.$method$;
  2363. } catch (e) {
  2364. return e.message;
  2365. }
  2366. }(expression);
  2367. },
  2368. JsNoSuchMethodError$(_message, match) {
  2369. var t1 = match == null,
  2370. t2 = t1 ? null : match.method;
  2371. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2372. },
  2373. unwrapException(ex) {
  2374. if (ex == null)
  2375. return new A.NullThrownFromJavaScriptException(ex);
  2376. if (ex instanceof A.ExceptionAndStackTrace)
  2377. return A.saveStackTrace(ex, ex.dartException);
  2378. if (typeof ex !== "object")
  2379. return ex;
  2380. if ("dartException" in ex)
  2381. return A.saveStackTrace(ex, ex.dartException);
  2382. return A._unwrapNonDartException(ex);
  2383. },
  2384. saveStackTrace(ex, error) {
  2385. if (type$.Error._is(error))
  2386. if (error.$thrownJsError == null)
  2387. error.$thrownJsError = ex;
  2388. return error;
  2389. },
  2390. _unwrapNonDartException(ex) {
  2391. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2392. if (!("message" in ex))
  2393. return ex;
  2394. message = ex.message;
  2395. if ("number" in ex && typeof ex.number == "number") {
  2396. number = ex.number;
  2397. ieErrorCode = number & 65535;
  2398. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2399. switch (ieErrorCode) {
  2400. case 438:
  2401. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2402. case 445:
  2403. case 5007:
  2404. A.S(message);
  2405. return A.saveStackTrace(ex, new A.NullError());
  2406. }
  2407. }
  2408. if (ex instanceof TypeError) {
  2409. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2410. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2411. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2412. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2413. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2414. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2415. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2416. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2417. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2418. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2419. match = nsme.matchTypeError$1(message);
  2420. if (match != null)
  2421. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2422. else {
  2423. match = notClosure.matchTypeError$1(message);
  2424. if (match != null) {
  2425. match.method = "call";
  2426. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2427. } 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)
  2428. return A.saveStackTrace(ex, new A.NullError());
  2429. }
  2430. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2431. }
  2432. if (ex instanceof RangeError) {
  2433. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2434. return new A.StackOverflowError();
  2435. message = function(ex) {
  2436. try {
  2437. return String(ex);
  2438. } catch (e) {
  2439. }
  2440. return null;
  2441. }(ex);
  2442. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2443. }
  2444. if (typeof InternalError == "function" && ex instanceof InternalError)
  2445. if (typeof message == "string" && message === "too much recursion")
  2446. return new A.StackOverflowError();
  2447. return ex;
  2448. },
  2449. getTraceFromException(exception) {
  2450. var trace;
  2451. if (exception instanceof A.ExceptionAndStackTrace)
  2452. return exception.stackTrace;
  2453. if (exception == null)
  2454. return new A._StackTrace(exception);
  2455. trace = exception.$cachedTrace;
  2456. if (trace != null)
  2457. return trace;
  2458. trace = new A._StackTrace(exception);
  2459. if (typeof exception === "object")
  2460. exception.$cachedTrace = trace;
  2461. return trace;
  2462. },
  2463. objectHashCode(object) {
  2464. if (object == null)
  2465. return J.get$hashCode$(object);
  2466. if (typeof object == "object")
  2467. return A.Primitives_objectHashCode(object);
  2468. return J.get$hashCode$(object);
  2469. },
  2470. constantHashCode(key) {
  2471. if (typeof key == "number")
  2472. return B.JSNumber_methods.get$hashCode(key);
  2473. if (key instanceof A._Type)
  2474. return A.Primitives_objectHashCode(key);
  2475. if (key instanceof A._Record)
  2476. return key.get$hashCode(key);
  2477. if (key instanceof A.Symbol)
  2478. return key.get$hashCode(0);
  2479. return A.objectHashCode(key);
  2480. },
  2481. fillLiteralMap(keyValuePairs, result) {
  2482. var index, index0, index1,
  2483. $length = keyValuePairs.length;
  2484. for (index = 0; index < $length; index = index1) {
  2485. index0 = index + 1;
  2486. index1 = index0 + 1;
  2487. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2488. }
  2489. return result;
  2490. },
  2491. fillLiteralSet(values, result) {
  2492. var index,
  2493. $length = values.length;
  2494. for (index = 0; index < $length; ++index)
  2495. result.add$1(0, values[index]);
  2496. return result;
  2497. },
  2498. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2499. switch (numberOfArguments) {
  2500. case 0:
  2501. return closure.call$0();
  2502. case 1:
  2503. return closure.call$1(arg1);
  2504. case 2:
  2505. return closure.call$2(arg1, arg2);
  2506. case 3:
  2507. return closure.call$3(arg1, arg2, arg3);
  2508. case 4:
  2509. return closure.call$4(arg1, arg2, arg3, arg4);
  2510. }
  2511. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2512. },
  2513. convertDartClosureToJS(closure, arity) {
  2514. var $function;
  2515. if (closure == null)
  2516. return null;
  2517. $function = closure.$identity;
  2518. if (!!$function)
  2519. return $function;
  2520. $function = A.convertDartClosureToJSUncached(closure, arity);
  2521. closure.$identity = $function;
  2522. return $function;
  2523. },
  2524. convertDartClosureToJSUncached(closure, arity) {
  2525. var entry;
  2526. switch (arity) {
  2527. case 0:
  2528. entry = closure.call$0;
  2529. break;
  2530. case 1:
  2531. entry = closure.call$1;
  2532. break;
  2533. case 2:
  2534. entry = closure.call$2;
  2535. break;
  2536. case 3:
  2537. entry = closure.call$3;
  2538. break;
  2539. case 4:
  2540. entry = closure.call$4;
  2541. break;
  2542. default:
  2543. entry = null;
  2544. }
  2545. if (entry != null)
  2546. return entry.bind(closure);
  2547. return function(closure, arity, invoke) {
  2548. return function(a1, a2, a3, a4) {
  2549. return invoke(closure, arity, a1, a2, a3, a4);
  2550. };
  2551. }(closure, arity, A._invokeClosure);
  2552. },
  2553. Closure_fromTearOff(parameters) {
  2554. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2555. container = parameters.co,
  2556. isStatic = parameters.iS,
  2557. isIntercepted = parameters.iI,
  2558. needsDirectAccess = parameters.nDA,
  2559. applyTrampolineIndex = parameters.aI,
  2560. funsOrNames = parameters.fs,
  2561. callNames = parameters.cs,
  2562. $name = funsOrNames[0],
  2563. callName = callNames[0],
  2564. $function = container[$name],
  2565. t1 = parameters.fT;
  2566. t1.toString;
  2567. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2568. $prototype.$initialize = $prototype.constructor;
  2569. $constructor = isStatic ? function static_tear_off() {
  2570. this.$initialize();
  2571. } : function tear_off(a, b) {
  2572. this.$initialize(a, b);
  2573. };
  2574. $prototype.constructor = $constructor;
  2575. $constructor.prototype = $prototype;
  2576. $prototype.$_name = $name;
  2577. $prototype.$_target = $function;
  2578. t2 = !isStatic;
  2579. if (t2)
  2580. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2581. else {
  2582. $prototype.$static_name = $name;
  2583. trampoline = $function;
  2584. }
  2585. $prototype.$signature = A.Closure__computeSignatureFunction(t1, isStatic, isIntercepted);
  2586. $prototype[callName] = trampoline;
  2587. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2588. stub = funsOrNames[i];
  2589. if (typeof stub == "string") {
  2590. stub0 = container[stub];
  2591. stubName = stub;
  2592. stub = stub0;
  2593. } else
  2594. stubName = "";
  2595. stubCallName = callNames[i];
  2596. if (stubCallName != null) {
  2597. if (t2)
  2598. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2599. $prototype[stubCallName] = stub;
  2600. }
  2601. if (i === applyTrampolineIndex)
  2602. applyTrampoline = stub;
  2603. }
  2604. $prototype["call*"] = applyTrampoline;
  2605. $prototype.$requiredArgCount = parameters.rC;
  2606. $prototype.$defaultValues = parameters.dV;
  2607. return $constructor;
  2608. },
  2609. Closure__computeSignatureFunction(functionType, isStatic, isIntercepted) {
  2610. if (typeof functionType == "number")
  2611. return functionType;
  2612. if (typeof functionType == "string") {
  2613. if (isStatic)
  2614. throw A.wrapException("Cannot compute signature for static tearoff.");
  2615. return function(recipe, evalOnReceiver) {
  2616. return function() {
  2617. return evalOnReceiver(this, recipe);
  2618. };
  2619. }(functionType, A.BoundClosure_evalRecipe);
  2620. }
  2621. throw A.wrapException("Error in functionType of tearoff");
  2622. },
  2623. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2624. var getReceiver = A.BoundClosure_receiverOf;
  2625. switch (needsDirectAccess ? -1 : arity) {
  2626. case 0:
  2627. return function(entry, receiverOf) {
  2628. return function() {
  2629. return receiverOf(this)[entry]();
  2630. };
  2631. }(stubName, getReceiver);
  2632. case 1:
  2633. return function(entry, receiverOf) {
  2634. return function(a) {
  2635. return receiverOf(this)[entry](a);
  2636. };
  2637. }(stubName, getReceiver);
  2638. case 2:
  2639. return function(entry, receiverOf) {
  2640. return function(a, b) {
  2641. return receiverOf(this)[entry](a, b);
  2642. };
  2643. }(stubName, getReceiver);
  2644. case 3:
  2645. return function(entry, receiverOf) {
  2646. return function(a, b, c) {
  2647. return receiverOf(this)[entry](a, b, c);
  2648. };
  2649. }(stubName, getReceiver);
  2650. case 4:
  2651. return function(entry, receiverOf) {
  2652. return function(a, b, c, d) {
  2653. return receiverOf(this)[entry](a, b, c, d);
  2654. };
  2655. }(stubName, getReceiver);
  2656. case 5:
  2657. return function(entry, receiverOf) {
  2658. return function(a, b, c, d, e) {
  2659. return receiverOf(this)[entry](a, b, c, d, e);
  2660. };
  2661. }(stubName, getReceiver);
  2662. default:
  2663. return function(f, receiverOf) {
  2664. return function() {
  2665. return f.apply(receiverOf(this), arguments);
  2666. };
  2667. }($function, getReceiver);
  2668. }
  2669. },
  2670. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2671. if (isIntercepted)
  2672. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2673. return A.Closure_cspForwardCall($function.length, needsDirectAccess, stubName, $function);
  2674. },
  2675. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2676. var getReceiver = A.BoundClosure_receiverOf,
  2677. getInterceptor = A.BoundClosure_interceptorOf;
  2678. switch (needsDirectAccess ? -1 : arity) {
  2679. case 0:
  2680. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2681. case 1:
  2682. return function(entry, interceptorOf, receiverOf) {
  2683. return function() {
  2684. return interceptorOf(this)[entry](receiverOf(this));
  2685. };
  2686. }(stubName, getInterceptor, getReceiver);
  2687. case 2:
  2688. return function(entry, interceptorOf, receiverOf) {
  2689. return function(a) {
  2690. return interceptorOf(this)[entry](receiverOf(this), a);
  2691. };
  2692. }(stubName, getInterceptor, getReceiver);
  2693. case 3:
  2694. return function(entry, interceptorOf, receiverOf) {
  2695. return function(a, b) {
  2696. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2697. };
  2698. }(stubName, getInterceptor, getReceiver);
  2699. case 4:
  2700. return function(entry, interceptorOf, receiverOf) {
  2701. return function(a, b, c) {
  2702. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2703. };
  2704. }(stubName, getInterceptor, getReceiver);
  2705. case 5:
  2706. return function(entry, interceptorOf, receiverOf) {
  2707. return function(a, b, c, d) {
  2708. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2709. };
  2710. }(stubName, getInterceptor, getReceiver);
  2711. case 6:
  2712. return function(entry, interceptorOf, receiverOf) {
  2713. return function(a, b, c, d, e) {
  2714. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2715. };
  2716. }(stubName, getInterceptor, getReceiver);
  2717. default:
  2718. return function(f, interceptorOf, receiverOf) {
  2719. return function() {
  2720. var a = [receiverOf(this)];
  2721. Array.prototype.push.apply(a, arguments);
  2722. return f.apply(interceptorOf(this), a);
  2723. };
  2724. }($function, getInterceptor, getReceiver);
  2725. }
  2726. },
  2727. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2728. var arity, t1;
  2729. if ($.BoundClosure__interceptorFieldNameCache == null)
  2730. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2731. if ($.BoundClosure__receiverFieldNameCache == null)
  2732. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2733. arity = $function.length;
  2734. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2735. return t1;
  2736. },
  2737. closureFromTearOff(parameters) {
  2738. return A.Closure_fromTearOff(parameters);
  2739. },
  2740. BoundClosure_evalRecipe(closure, recipe) {
  2741. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2742. },
  2743. BoundClosure_receiverOf(closure) {
  2744. return closure._receiver;
  2745. },
  2746. BoundClosure_interceptorOf(closure) {
  2747. return closure._interceptor;
  2748. },
  2749. BoundClosure__computeFieldNamed(fieldName) {
  2750. var names, i, $name,
  2751. template = new A.BoundClosure("receiver", "interceptor"),
  2752. t1 = Object.getOwnPropertyNames(template);
  2753. t1.$flags = 1;
  2754. names = t1;
  2755. for (t1 = names.length, i = 0; i < t1; ++i) {
  2756. $name = names[i];
  2757. if (template[$name] === fieldName)
  2758. return $name;
  2759. }
  2760. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2761. },
  2762. getIsolateAffinityTag($name) {
  2763. return init.getIsolateTag($name);
  2764. },
  2765. defineProperty(obj, property, value) {
  2766. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2767. },
  2768. lookupAndCacheInterceptor(obj) {
  2769. var interceptor, interceptorClass, altTag, mark, t1,
  2770. tag = $.getTagFunction.call$1(obj),
  2771. record = $.dispatchRecordsForInstanceTags[tag];
  2772. if (record != null) {
  2773. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2774. return record.i;
  2775. }
  2776. interceptor = $.interceptorsForUncacheableTags[tag];
  2777. if (interceptor != null)
  2778. return interceptor;
  2779. interceptorClass = init.interceptorsByTag[tag];
  2780. if (interceptorClass == null) {
  2781. altTag = $.alternateTagFunction.call$2(obj, tag);
  2782. if (altTag != null) {
  2783. record = $.dispatchRecordsForInstanceTags[altTag];
  2784. if (record != null) {
  2785. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2786. return record.i;
  2787. }
  2788. interceptor = $.interceptorsForUncacheableTags[altTag];
  2789. if (interceptor != null)
  2790. return interceptor;
  2791. interceptorClass = init.interceptorsByTag[altTag];
  2792. tag = altTag;
  2793. }
  2794. }
  2795. if (interceptorClass == null)
  2796. return null;
  2797. interceptor = interceptorClass.prototype;
  2798. mark = tag[0];
  2799. if (mark === "!") {
  2800. record = A.makeLeafDispatchRecord(interceptor);
  2801. $.dispatchRecordsForInstanceTags[tag] = record;
  2802. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2803. return record.i;
  2804. }
  2805. if (mark === "~") {
  2806. $.interceptorsForUncacheableTags[tag] = interceptor;
  2807. return interceptor;
  2808. }
  2809. if (mark === "-") {
  2810. t1 = A.makeLeafDispatchRecord(interceptor);
  2811. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2812. return t1.i;
  2813. }
  2814. if (mark === "+")
  2815. return A.patchInteriorProto(obj, interceptor);
  2816. if (mark === "*")
  2817. throw A.wrapException(A.UnimplementedError$(tag));
  2818. if (init.leafTags[tag] === true) {
  2819. t1 = A.makeLeafDispatchRecord(interceptor);
  2820. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2821. return t1.i;
  2822. } else
  2823. return A.patchInteriorProto(obj, interceptor);
  2824. },
  2825. patchInteriorProto(obj, interceptor) {
  2826. var proto = Object.getPrototypeOf(obj);
  2827. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2828. return interceptor;
  2829. },
  2830. makeLeafDispatchRecord(interceptor) {
  2831. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2832. },
  2833. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2834. var interceptor = interceptorClass.prototype;
  2835. if (init.leafTags[tag] === true)
  2836. return A.makeLeafDispatchRecord(interceptor);
  2837. else
  2838. return J.makeDispatchRecord(interceptor, proto, null, null);
  2839. },
  2840. initNativeDispatch() {
  2841. if (true === $.initNativeDispatchFlag)
  2842. return;
  2843. $.initNativeDispatchFlag = true;
  2844. A.initNativeDispatchContinue();
  2845. },
  2846. initNativeDispatchContinue() {
  2847. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2848. $.dispatchRecordsForInstanceTags = Object.create(null);
  2849. $.interceptorsForUncacheableTags = Object.create(null);
  2850. A.initHooks();
  2851. map = init.interceptorsByTag;
  2852. tags = Object.getOwnPropertyNames(map);
  2853. if (typeof window != "undefined") {
  2854. window;
  2855. fun = function() {
  2856. };
  2857. for (i = 0; i < tags.length; ++i) {
  2858. tag = tags[i];
  2859. proto = $.prototypeForTagFunction.call$1(tag);
  2860. if (proto != null) {
  2861. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2862. if (record != null) {
  2863. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2864. fun.prototype = proto;
  2865. }
  2866. }
  2867. }
  2868. }
  2869. for (i = 0; i < tags.length; ++i) {
  2870. tag = tags[i];
  2871. if (/^[A-Za-z_]/.test(tag)) {
  2872. interceptorClass = map[tag];
  2873. map["!" + tag] = interceptorClass;
  2874. map["~" + tag] = interceptorClass;
  2875. map["-" + tag] = interceptorClass;
  2876. map["+" + tag] = interceptorClass;
  2877. map["*" + tag] = interceptorClass;
  2878. }
  2879. }
  2880. },
  2881. initHooks() {
  2882. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2883. hooks = B.C_JS_CONST0();
  2884. 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)))))));
  2885. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2886. transformers = dartNativeDispatchHooksTransformer;
  2887. if (typeof transformers == "function")
  2888. transformers = [transformers];
  2889. if (Array.isArray(transformers))
  2890. for (i = 0; i < transformers.length; ++i) {
  2891. transformer = transformers[i];
  2892. if (typeof transformer == "function")
  2893. hooks = transformer(hooks) || hooks;
  2894. }
  2895. }
  2896. getTag = hooks.getTag;
  2897. getUnknownTag = hooks.getUnknownTag;
  2898. prototypeForTag = hooks.prototypeForTag;
  2899. $.getTagFunction = new A.initHooks_closure(getTag);
  2900. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2901. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2902. },
  2903. applyHooksTransformer(transformer, hooks) {
  2904. return transformer(hooks) || hooks;
  2905. },
  2906. _RecordN__equalValues(a, b) {
  2907. var i;
  2908. for (i = 0; i < a.length; ++i)
  2909. if (!J.$eq$(a[i], b[i]))
  2910. return false;
  2911. return true;
  2912. },
  2913. createRecordTypePredicate(shape, fieldRtis) {
  2914. var $length = fieldRtis.length,
  2915. $function = init.rttc["" + $length + ";" + shape];
  2916. if ($function == null)
  2917. return null;
  2918. if ($length === 0)
  2919. return $function;
  2920. if ($length === $function.length)
  2921. return $function.apply(null, fieldRtis);
  2922. return $function(fieldRtis);
  2923. },
  2924. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, extraFlags) {
  2925. var m = multiLine ? "m" : "",
  2926. i = caseSensitive ? "" : "i",
  2927. u = unicode ? "u" : "",
  2928. s = dotAll ? "s" : "",
  2929. regexp = function(source, modifiers) {
  2930. try {
  2931. return new RegExp(source, modifiers);
  2932. } catch (e) {
  2933. return e;
  2934. }
  2935. }(source, m + i + u + s + extraFlags);
  2936. if (regexp instanceof RegExp)
  2937. return regexp;
  2938. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2939. },
  2940. stringContainsUnchecked(receiver, other, startIndex) {
  2941. var t1;
  2942. if (typeof other == "string")
  2943. return receiver.indexOf(other, startIndex) >= 0;
  2944. else if (other instanceof A.JSSyntaxRegExp) {
  2945. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2946. return other._nativeRegExp.test(t1);
  2947. } else
  2948. return !J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex)).get$isEmpty(0);
  2949. },
  2950. escapeReplacement(replacement) {
  2951. if (replacement.indexOf("$", 0) >= 0)
  2952. return replacement.replace(/\$/g, "$$$$");
  2953. return replacement;
  2954. },
  2955. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2956. var match = regexp._execGlobal$2(receiver, startIndex);
  2957. if (match == null)
  2958. return receiver;
  2959. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(0), replacement);
  2960. },
  2961. quoteStringForRegExp(string) {
  2962. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2963. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2964. return string;
  2965. },
  2966. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2967. var nativeRegexp;
  2968. if (typeof pattern == "string")
  2969. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2970. if (pattern instanceof A.JSSyntaxRegExp) {
  2971. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2972. nativeRegexp.lastIndex = 0;
  2973. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2974. }
  2975. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2976. },
  2977. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2978. var t1, startIndex, t2, match;
  2979. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2980. match = t1.get$current(t1);
  2981. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2982. startIndex = match.get$end(match);
  2983. }
  2984. t1 = t2 + receiver.substring(startIndex);
  2985. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2986. },
  2987. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2988. var $length, t1, i;
  2989. if (pattern === "") {
  2990. if (receiver === "")
  2991. return replacement;
  2992. $length = receiver.length;
  2993. for (t1 = replacement, i = 0; i < $length; ++i)
  2994. t1 = t1 + receiver[i] + replacement;
  2995. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2996. }
  2997. if (receiver.indexOf(pattern, 0) < 0)
  2998. return receiver;
  2999. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  3000. return receiver.split(pattern).join(replacement);
  3001. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  3002. },
  3003. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  3004. var index, t1, matches, match;
  3005. if (typeof pattern == "string") {
  3006. index = receiver.indexOf(pattern, startIndex);
  3007. if (index < 0)
  3008. return receiver;
  3009. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  3010. }
  3011. if (pattern instanceof A.JSSyntaxRegExp)
  3012. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  3013. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  3014. matches = t1.get$iterator(t1);
  3015. if (!matches.moveNext$0())
  3016. return receiver;
  3017. match = matches.get$current(matches);
  3018. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  3019. },
  3020. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  3021. return receiver.substring(0, start) + replacement + receiver.substring(end);
  3022. },
  3023. _Record_1: function _Record_1(t0) {
  3024. this._0 = t0;
  3025. },
  3026. _Record_2: function _Record_2(t0, t1) {
  3027. this._0 = t0;
  3028. this._1 = t1;
  3029. },
  3030. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  3031. this._0 = t0;
  3032. this._1 = t1;
  3033. },
  3034. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  3035. this._0 = t0;
  3036. this._1 = t1;
  3037. },
  3038. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  3039. this._0 = t0;
  3040. this._1 = t1;
  3041. },
  3042. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  3043. this._0 = t0;
  3044. this._1 = t1;
  3045. },
  3046. _Record_3: function _Record_3(t0, t1, t2) {
  3047. this._0 = t0;
  3048. this._1 = t1;
  3049. this._2 = t2;
  3050. },
  3051. _Record_3_deprecation_message_span: function _Record_3_deprecation_message_span(t0, t1, t2) {
  3052. this._0 = t0;
  3053. this._1 = t1;
  3054. this._2 = t2;
  3055. },
  3056. _Record_3_forImport: function _Record_3_forImport(t0, t1, t2) {
  3057. this._0 = t0;
  3058. this._1 = t1;
  3059. this._2 = t2;
  3060. },
  3061. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  3062. this._0 = t0;
  3063. this._1 = t1;
  3064. this._2 = t2;
  3065. },
  3066. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  3067. this._0 = t0;
  3068. this._1 = t1;
  3069. this._2 = t2;
  3070. },
  3071. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  3072. this._values = t0;
  3073. },
  3074. ConstantMapView: function ConstantMapView(t0, t1) {
  3075. this._map = t0;
  3076. this.$ti = t1;
  3077. },
  3078. ConstantMap: function ConstantMap() {
  3079. },
  3080. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  3081. this._jsIndex = t0;
  3082. this._values = t1;
  3083. this.$ti = t2;
  3084. },
  3085. _KeysOrValues: function _KeysOrValues(t0, t1) {
  3086. this._elements = t0;
  3087. this.$ti = t1;
  3088. },
  3089. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {
  3090. var _ = this;
  3091. _._elements = t0;
  3092. _.__js_helper$_length = t1;
  3093. _.__js_helper$_index = 0;
  3094. _.__js_helper$_current = null;
  3095. _.$ti = t2;
  3096. },
  3097. ConstantSet: function ConstantSet() {
  3098. },
  3099. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  3100. this._jsIndex = t0;
  3101. this.__js_helper$_length = t1;
  3102. this.$ti = t2;
  3103. },
  3104. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  3105. this._elements = t0;
  3106. this.$ti = t1;
  3107. },
  3108. Instantiation: function Instantiation() {
  3109. },
  3110. Instantiation1: function Instantiation1(t0, t1) {
  3111. this._genericClosure = t0;
  3112. this.$ti = t1;
  3113. },
  3114. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  3115. var _ = this;
  3116. _.__js_helper$_memberName = t0;
  3117. _.__js_helper$_kind = t1;
  3118. _._arguments = t2;
  3119. _._namedArgumentNames = t3;
  3120. _._typeArgumentCount = t4;
  3121. },
  3122. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  3123. this._box_0 = t0;
  3124. this.namedArgumentList = t1;
  3125. this.$arguments = t2;
  3126. },
  3127. SafeToStringHook: function SafeToStringHook() {
  3128. },
  3129. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  3130. var _ = this;
  3131. _._pattern = t0;
  3132. _._arguments = t1;
  3133. _._argumentsExpr = t2;
  3134. _._expr = t3;
  3135. _._method = t4;
  3136. _._receiver = t5;
  3137. },
  3138. NullError: function NullError() {
  3139. },
  3140. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  3141. this.__js_helper$_message = t0;
  3142. this._method = t1;
  3143. this._receiver = t2;
  3144. },
  3145. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  3146. this.__js_helper$_message = t0;
  3147. },
  3148. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  3149. this._irritant = t0;
  3150. },
  3151. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  3152. this.dartException = t0;
  3153. this.stackTrace = t1;
  3154. },
  3155. _StackTrace: function _StackTrace(t0) {
  3156. this._exception = t0;
  3157. this._trace = null;
  3158. },
  3159. Closure: function Closure() {
  3160. },
  3161. Closure0Args: function Closure0Args() {
  3162. },
  3163. Closure2Args: function Closure2Args() {
  3164. },
  3165. TearOffClosure: function TearOffClosure() {
  3166. },
  3167. StaticClosure: function StaticClosure() {
  3168. },
  3169. BoundClosure: function BoundClosure(t0, t1) {
  3170. this._receiver = t0;
  3171. this._interceptor = t1;
  3172. },
  3173. RuntimeError: function RuntimeError(t0) {
  3174. this.message = t0;
  3175. },
  3176. _Required: function _Required() {
  3177. },
  3178. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  3179. var _ = this;
  3180. _.__js_helper$_length = 0;
  3181. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3182. _._modifications = 0;
  3183. _.$ti = t0;
  3184. },
  3185. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  3186. this.$this = t0;
  3187. },
  3188. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  3189. var _ = this;
  3190. _.hashMapCellKey = t0;
  3191. _.hashMapCellValue = t1;
  3192. _._previous = _._next = null;
  3193. },
  3194. LinkedHashMapKeysIterable: function LinkedHashMapKeysIterable(t0, t1) {
  3195. this.__js_helper$_map = t0;
  3196. this.$ti = t1;
  3197. },
  3198. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2) {
  3199. var _ = this;
  3200. _.__js_helper$_map = t0;
  3201. _._modifications = t1;
  3202. _._cell = t2;
  3203. _.__js_helper$_current = null;
  3204. },
  3205. LinkedHashMapValuesIterable: function LinkedHashMapValuesIterable(t0, t1) {
  3206. this.__js_helper$_map = t0;
  3207. this.$ti = t1;
  3208. },
  3209. LinkedHashMapValueIterator: function LinkedHashMapValueIterator(t0, t1, t2) {
  3210. var _ = this;
  3211. _.__js_helper$_map = t0;
  3212. _._modifications = t1;
  3213. _._cell = t2;
  3214. _.__js_helper$_current = null;
  3215. },
  3216. LinkedHashMapEntriesIterable: function LinkedHashMapEntriesIterable(t0, t1) {
  3217. this.__js_helper$_map = t0;
  3218. this.$ti = t1;
  3219. },
  3220. LinkedHashMapEntryIterator: function LinkedHashMapEntryIterator(t0, t1, t2, t3) {
  3221. var _ = this;
  3222. _.__js_helper$_map = t0;
  3223. _._modifications = t1;
  3224. _._cell = t2;
  3225. _.__js_helper$_current = null;
  3226. _.$ti = t3;
  3227. },
  3228. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  3229. var _ = this;
  3230. _.__js_helper$_length = 0;
  3231. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3232. _._modifications = 0;
  3233. _.$ti = t0;
  3234. },
  3235. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3236. var _ = this;
  3237. _.__js_helper$_length = 0;
  3238. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3239. _._modifications = 0;
  3240. _.$ti = t0;
  3241. },
  3242. initHooks_closure: function initHooks_closure(t0) {
  3243. this.getTag = t0;
  3244. },
  3245. initHooks_closure0: function initHooks_closure0(t0) {
  3246. this.getUnknownTag = t0;
  3247. },
  3248. initHooks_closure1: function initHooks_closure1(t0) {
  3249. this.prototypeForTag = t0;
  3250. },
  3251. _Record: function _Record() {
  3252. },
  3253. _Record2: function _Record2() {
  3254. },
  3255. _Record1: function _Record1() {
  3256. },
  3257. _Record3: function _Record3() {
  3258. },
  3259. _RecordN: function _RecordN() {
  3260. },
  3261. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3262. var _ = this;
  3263. _.pattern = t0;
  3264. _._nativeRegExp = t1;
  3265. _._hasCapturesCache = _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3266. },
  3267. _MatchImplementation: function _MatchImplementation(t0) {
  3268. this._match = t0;
  3269. },
  3270. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3271. this._re = t0;
  3272. this.__js_helper$_string = t1;
  3273. this.__js_helper$_start = t2;
  3274. },
  3275. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3276. var _ = this;
  3277. _._regExp = t0;
  3278. _.__js_helper$_string = t1;
  3279. _._nextIndex = t2;
  3280. _.__js_helper$_current = null;
  3281. },
  3282. StringMatch: function StringMatch(t0, t1) {
  3283. this.start = t0;
  3284. this.pattern = t1;
  3285. },
  3286. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3287. this._input = t0;
  3288. this._pattern = t1;
  3289. this.__js_helper$_index = t2;
  3290. },
  3291. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3292. var _ = this;
  3293. _._input = t0;
  3294. _._pattern = t1;
  3295. _.__js_helper$_index = t2;
  3296. _.__js_helper$_current = null;
  3297. },
  3298. throwLateFieldADI(fieldName) {
  3299. throw A.initializeExceptionWrapper(A.LateError$fieldADI(fieldName), new Error());
  3300. },
  3301. throwUnnamedLateFieldNI() {
  3302. throw A.initializeExceptionWrapper(A.LateError$fieldNI(""), new Error());
  3303. },
  3304. throwUnnamedLateFieldAI() {
  3305. throw A.initializeExceptionWrapper(A.LateError$fieldAI(""), new Error());
  3306. },
  3307. throwUnnamedLateFieldADI() {
  3308. throw A.initializeExceptionWrapper(A.LateError$fieldADI(""), new Error());
  3309. },
  3310. _Cell$() {
  3311. var t1 = new A._Cell();
  3312. return t1.__late_helper$_value = t1;
  3313. },
  3314. _Cell: function _Cell() {
  3315. this.__late_helper$_value = null;
  3316. },
  3317. _ensureNativeList(list) {
  3318. return list;
  3319. },
  3320. NativeFloat64List_NativeFloat64List$fromList(elements) {
  3321. return new Float64Array(A._ensureNativeList(elements));
  3322. },
  3323. NativeInt8List__create1(arg) {
  3324. return new Int8Array(arg);
  3325. },
  3326. NativeUint8List_NativeUint8List($length) {
  3327. return new Uint8Array($length);
  3328. },
  3329. _checkValidIndex(index, list, $length) {
  3330. if (index >>> 0 !== index || index >= $length)
  3331. throw A.wrapException(A.diagnoseIndexError(list, index));
  3332. },
  3333. _checkValidRange(start, end, $length) {
  3334. var t1;
  3335. if (!(start >>> 0 !== start))
  3336. if (end == null)
  3337. t1 = start > $length;
  3338. else
  3339. t1 = end >>> 0 !== end || start > end || end > $length;
  3340. else
  3341. t1 = true;
  3342. if (t1)
  3343. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3344. if (end == null)
  3345. return $length;
  3346. return end;
  3347. },
  3348. NativeByteBuffer: function NativeByteBuffer() {
  3349. },
  3350. NativeTypedData: function NativeTypedData() {
  3351. },
  3352. NativeByteData: function NativeByteData() {
  3353. },
  3354. NativeTypedArray: function NativeTypedArray() {
  3355. },
  3356. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3357. },
  3358. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3359. },
  3360. NativeFloat32List: function NativeFloat32List() {
  3361. },
  3362. NativeFloat64List: function NativeFloat64List() {
  3363. },
  3364. NativeInt16List: function NativeInt16List() {
  3365. },
  3366. NativeInt32List: function NativeInt32List() {
  3367. },
  3368. NativeInt8List: function NativeInt8List() {
  3369. },
  3370. NativeUint16List: function NativeUint16List() {
  3371. },
  3372. NativeUint32List: function NativeUint32List() {
  3373. },
  3374. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3375. },
  3376. NativeUint8List: function NativeUint8List() {
  3377. },
  3378. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3379. },
  3380. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3381. },
  3382. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3383. },
  3384. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3385. },
  3386. Rti__getFutureFromFutureOr(universe, rti) {
  3387. var future = rti._precomputed1;
  3388. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3389. },
  3390. Rti__isUnionOfFunctionType(rti) {
  3391. var kind = rti._kind;
  3392. if (kind === 6 || kind === 7)
  3393. return A.Rti__isUnionOfFunctionType(rti._primary);
  3394. return kind === 11 || kind === 12;
  3395. },
  3396. Rti__getCanonicalRecipe(rti) {
  3397. return rti._canonicalRecipe;
  3398. },
  3399. pairwiseIsTest(fieldRtis, values) {
  3400. var i,
  3401. $length = values.length;
  3402. for (i = 0; i < $length; ++i)
  3403. if (!fieldRtis[i]._is(values[i]))
  3404. return false;
  3405. return true;
  3406. },
  3407. findType(recipe) {
  3408. return A._Universe_eval(init.typeUniverse, recipe, false);
  3409. },
  3410. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3411. var t1, cache, key, probe, rti;
  3412. if (genericFunctionRti == null)
  3413. return null;
  3414. t1 = instantiationRti._rest;
  3415. cache = genericFunctionRti._bindCache;
  3416. if (cache == null)
  3417. cache = genericFunctionRti._bindCache = new Map();
  3418. key = instantiationRti._canonicalRecipe;
  3419. probe = cache.get(key);
  3420. if (probe != null)
  3421. return probe;
  3422. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3423. cache.set(key, rti);
  3424. return rti;
  3425. },
  3426. _substitute(universe, rti, typeArguments, depth) {
  3427. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3428. kind = rti._kind;
  3429. switch (kind) {
  3430. case 5:
  3431. case 1:
  3432. case 2:
  3433. case 3:
  3434. case 4:
  3435. return rti;
  3436. case 6:
  3437. baseType = rti._primary;
  3438. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3439. if (substitutedBaseType === baseType)
  3440. return rti;
  3441. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3442. case 7:
  3443. baseType = rti._primary;
  3444. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3445. if (substitutedBaseType === baseType)
  3446. return rti;
  3447. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3448. case 8:
  3449. interfaceTypeArguments = rti._rest;
  3450. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3451. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3452. return rti;
  3453. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3454. case 9:
  3455. base = rti._primary;
  3456. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3457. $arguments = rti._rest;
  3458. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3459. if (substitutedBase === base && substitutedArguments === $arguments)
  3460. return rti;
  3461. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3462. case 10:
  3463. t1 = rti._primary;
  3464. fields = rti._rest;
  3465. substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);
  3466. if (substitutedFields === fields)
  3467. return rti;
  3468. return A._Universe__lookupRecordRti(universe, t1, substitutedFields);
  3469. case 11:
  3470. returnType = rti._primary;
  3471. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3472. functionParameters = rti._rest;
  3473. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3474. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3475. return rti;
  3476. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3477. case 12:
  3478. bounds = rti._rest;
  3479. depth += bounds.length;
  3480. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3481. base = rti._primary;
  3482. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3483. if (substitutedBounds === bounds && substitutedBase === base)
  3484. return rti;
  3485. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3486. case 13:
  3487. index = rti._primary;
  3488. if (index < depth)
  3489. return rti;
  3490. argument = typeArguments[index - depth];
  3491. if (argument == null)
  3492. return rti;
  3493. return argument;
  3494. default:
  3495. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3496. }
  3497. },
  3498. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3499. var changed, i, rti, substitutedRti,
  3500. $length = rtiArray.length,
  3501. result = A._Utils_newArrayOrEmpty($length);
  3502. for (changed = false, i = 0; i < $length; ++i) {
  3503. rti = rtiArray[i];
  3504. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3505. if (substitutedRti !== rti)
  3506. changed = true;
  3507. result[i] = substitutedRti;
  3508. }
  3509. return changed ? result : rtiArray;
  3510. },
  3511. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3512. var changed, i, t1, t2, rti, substitutedRti,
  3513. $length = namedArray.length,
  3514. result = A._Utils_newArrayOrEmpty($length);
  3515. for (changed = false, i = 0; i < $length; i += 3) {
  3516. t1 = namedArray[i];
  3517. t2 = namedArray[i + 1];
  3518. rti = namedArray[i + 2];
  3519. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3520. if (substitutedRti !== rti)
  3521. changed = true;
  3522. result.splice(i, 3, t1, t2, substitutedRti);
  3523. }
  3524. return changed ? result : namedArray;
  3525. },
  3526. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3527. var result,
  3528. requiredPositional = functionParameters._requiredPositional,
  3529. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3530. optionalPositional = functionParameters._optionalPositional,
  3531. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3532. named = functionParameters._named,
  3533. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3534. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3535. return functionParameters;
  3536. result = new A._FunctionParameters();
  3537. result._requiredPositional = substitutedRequiredPositional;
  3538. result._optionalPositional = substitutedOptionalPositional;
  3539. result._named = substitutedNamed;
  3540. return result;
  3541. },
  3542. _setArrayType(target, rti) {
  3543. target[init.arrayRti] = rti;
  3544. return target;
  3545. },
  3546. closureFunctionType(closure) {
  3547. var signature = closure.$signature;
  3548. if (signature != null) {
  3549. if (typeof signature == "number")
  3550. return A.getTypeFromTypesTable(signature);
  3551. return closure.$signature();
  3552. }
  3553. return null;
  3554. },
  3555. instanceOrFunctionType(object, testRti) {
  3556. var rti;
  3557. if (A.Rti__isUnionOfFunctionType(testRti))
  3558. if (object instanceof A.Closure) {
  3559. rti = A.closureFunctionType(object);
  3560. if (rti != null)
  3561. return rti;
  3562. }
  3563. return A.instanceType(object);
  3564. },
  3565. instanceType(object) {
  3566. if (object instanceof A.Object)
  3567. return A._instanceType(object);
  3568. if (Array.isArray(object))
  3569. return A._arrayInstanceType(object);
  3570. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3571. },
  3572. _arrayInstanceType(object) {
  3573. var rti = object[init.arrayRti],
  3574. defaultRti = type$.JSArray_dynamic;
  3575. if (rti == null)
  3576. return defaultRti;
  3577. if (rti.constructor !== defaultRti.constructor)
  3578. return defaultRti;
  3579. return rti;
  3580. },
  3581. _instanceType(object) {
  3582. var rti = object.$ti;
  3583. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3584. },
  3585. _instanceTypeFromConstructor(instance) {
  3586. var $constructor = instance.constructor,
  3587. probe = $constructor.$ccache;
  3588. if (probe != null)
  3589. return probe;
  3590. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3591. },
  3592. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3593. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3594. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3595. $constructor.$ccache = rti;
  3596. return rti;
  3597. },
  3598. getTypeFromTypesTable(index) {
  3599. var rti,
  3600. table = init.types,
  3601. type = table[index];
  3602. if (typeof type == "string") {
  3603. rti = A._Universe_eval(init.typeUniverse, type, false);
  3604. table[index] = rti;
  3605. return rti;
  3606. }
  3607. return type;
  3608. },
  3609. getRuntimeTypeOfDartObject(object) {
  3610. return A.createRuntimeType(A._instanceType(object));
  3611. },
  3612. getRuntimeTypeOfClosure(closure) {
  3613. var rti = A.closureFunctionType(closure);
  3614. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3615. },
  3616. _structuralTypeOf(object) {
  3617. var functionRti;
  3618. if (object instanceof A._Record)
  3619. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3620. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3621. if (functionRti != null)
  3622. return functionRti;
  3623. if (type$.TrustedGetRuntimeType._is(object))
  3624. return J.get$runtimeType$(object)._rti;
  3625. if (Array.isArray(object))
  3626. return A._arrayInstanceType(object);
  3627. return A.instanceType(object);
  3628. },
  3629. createRuntimeType(rti) {
  3630. var t1 = rti._cachedRuntimeType;
  3631. return t1 == null ? rti._cachedRuntimeType = new A._Type(rti) : t1;
  3632. },
  3633. evaluateRtiForRecord(recordRecipe, valuesList) {
  3634. var bindings, i,
  3635. values = valuesList,
  3636. $length = values.length;
  3637. if ($length === 0)
  3638. return type$.Record_0;
  3639. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3640. for (i = 1; i < $length; ++i)
  3641. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3642. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3643. },
  3644. typeLiteral(recipe) {
  3645. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3646. },
  3647. _installSpecializedIsTest(object) {
  3648. var testRti = this;
  3649. testRti._is = A._specializedIsTest(testRti);
  3650. return testRti._is(object);
  3651. },
  3652. _specializedIsTest(testRti) {
  3653. var kind, simpleIsFn, $name, predicate;
  3654. if (testRti === type$.Object)
  3655. return A._isObject;
  3656. if (A.isTopType(testRti))
  3657. return A._isTop;
  3658. kind = testRti._kind;
  3659. if (kind === 6)
  3660. return A._generalNullableIsTestImplementation;
  3661. if (kind === 1)
  3662. return A._isNever;
  3663. if (kind === 7)
  3664. return A._isFutureOr;
  3665. simpleIsFn = A._simpleSpecializedIsTest(testRti);
  3666. if (simpleIsFn != null)
  3667. return simpleIsFn;
  3668. if (kind === 8) {
  3669. $name = testRti._primary;
  3670. if (testRti._rest.every(A.isTopType)) {
  3671. testRti._specializedTestResource = "$is" + $name;
  3672. if ($name === "List")
  3673. return A._isListTestViaProperty;
  3674. if (testRti === type$.JSObject)
  3675. return A._isJSObject;
  3676. return A._isTestViaProperty;
  3677. }
  3678. } else if (kind === 10) {
  3679. predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);
  3680. return predicate == null ? A._isNever : predicate;
  3681. }
  3682. return A._generalIsTestImplementation;
  3683. },
  3684. _simpleSpecializedIsTest(testRti) {
  3685. if (testRti._kind === 8) {
  3686. if (testRti === type$.int)
  3687. return A._isInt;
  3688. if (testRti === type$.double || testRti === type$.num)
  3689. return A._isNum;
  3690. if (testRti === type$.String)
  3691. return A._isString;
  3692. if (testRti === type$.bool)
  3693. return A._isBool;
  3694. }
  3695. return null;
  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$.nullable_int)
  3707. asFn = A._asIntQ;
  3708. else if (testRti === type$.nullable_String)
  3709. asFn = A._asStringQ;
  3710. else if (testRti === type$.nullable_bool)
  3711. asFn = A._asBoolQ;
  3712. else if (testRti === type$.nullable_num)
  3713. asFn = A._asNumQ;
  3714. else if (testRti === type$.nullable_double)
  3715. asFn = A._asDoubleQ;
  3716. else if (testRti === type$.nullable_JSObject)
  3717. asFn = A._asJSObjectQ;
  3718. } else if (testRti === type$.int)
  3719. asFn = A._asInt;
  3720. else if (testRti === type$.String)
  3721. asFn = A._asString;
  3722. else if (testRti === type$.bool)
  3723. asFn = A._asBool;
  3724. else if (testRti === type$.num)
  3725. asFn = A._asNum;
  3726. else if (testRti === type$.double)
  3727. asFn = A._asDouble;
  3728. else if (testRti === type$.JSObject)
  3729. asFn = A._asJSObject;
  3730. testRti._as = asFn;
  3731. return testRti._as(object);
  3732. },
  3733. _generalIsTestImplementation(object) {
  3734. var testRti = this;
  3735. if (object == null)
  3736. return A.isNullable(testRti);
  3737. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3738. },
  3739. _generalNullableIsTestImplementation(object) {
  3740. if (object == null)
  3741. return true;
  3742. return this._primary._is(object);
  3743. },
  3744. _isTestViaProperty(object) {
  3745. var tag, testRti = this;
  3746. if (object == null)
  3747. return A.isNullable(testRti);
  3748. tag = testRti._specializedTestResource;
  3749. if (object instanceof A.Object)
  3750. return !!object[tag];
  3751. return !!J.getInterceptor$(object)[tag];
  3752. },
  3753. _isListTestViaProperty(object) {
  3754. var tag, testRti = this;
  3755. if (object == null)
  3756. return A.isNullable(testRti);
  3757. if (typeof object != "object")
  3758. return false;
  3759. if (Array.isArray(object))
  3760. return true;
  3761. tag = testRti._specializedTestResource;
  3762. if (object instanceof A.Object)
  3763. return !!object[tag];
  3764. return !!J.getInterceptor$(object)[tag];
  3765. },
  3766. _isJSObject(object) {
  3767. var t1 = this;
  3768. if (object == null)
  3769. return false;
  3770. if (typeof object == "object") {
  3771. if (object instanceof A.Object)
  3772. return !!object[t1._specializedTestResource];
  3773. return true;
  3774. }
  3775. if (typeof object == "function")
  3776. return true;
  3777. return false;
  3778. },
  3779. _isJSObjectStandalone(object) {
  3780. if (typeof object == "object") {
  3781. if (object instanceof A.Object)
  3782. return type$.JSObject._is(object);
  3783. return true;
  3784. }
  3785. if (typeof object == "function")
  3786. return true;
  3787. return false;
  3788. },
  3789. _generalAsCheckImplementation(object) {
  3790. var testRti = this;
  3791. if (object == null) {
  3792. if (A.isNullable(testRti))
  3793. return object;
  3794. } else if (testRti._is(object))
  3795. return object;
  3796. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3797. },
  3798. _generalNullableAsCheckImplementation(object) {
  3799. var testRti = this;
  3800. if (object == null || testRti._is(object))
  3801. return object;
  3802. throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());
  3803. },
  3804. _errorForAsCheck(object, testRti) {
  3805. return new A._TypeError("TypeError: " + A._Error_compose(object, A._rtiToString(testRti, null)));
  3806. },
  3807. _Error_compose(object, checkedTypeDescription) {
  3808. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3809. },
  3810. _TypeError__TypeError$forType(object, type) {
  3811. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3812. },
  3813. _isFutureOr(object) {
  3814. var testRti = this;
  3815. return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);
  3816. },
  3817. _isObject(object) {
  3818. return object != null;
  3819. },
  3820. _asObject(object) {
  3821. if (object != null)
  3822. return object;
  3823. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "Object"), new Error());
  3824. },
  3825. _isTop(object) {
  3826. return true;
  3827. },
  3828. _asTop(object) {
  3829. return object;
  3830. },
  3831. _isNever(object) {
  3832. return false;
  3833. },
  3834. _isBool(object) {
  3835. return true === object || false === object;
  3836. },
  3837. _asBool(object) {
  3838. if (true === object)
  3839. return true;
  3840. if (false === object)
  3841. return false;
  3842. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool"), new Error());
  3843. },
  3844. _asBoolQ(object) {
  3845. if (true === object)
  3846. return true;
  3847. if (false === object)
  3848. return false;
  3849. if (object == null)
  3850. return object;
  3851. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "bool?"), new Error());
  3852. },
  3853. _asDouble(object) {
  3854. if (typeof object == "number")
  3855. return object;
  3856. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double"), new Error());
  3857. },
  3858. _asDoubleQ(object) {
  3859. if (typeof object == "number")
  3860. return object;
  3861. if (object == null)
  3862. return object;
  3863. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "double?"), new Error());
  3864. },
  3865. _isInt(object) {
  3866. return typeof object == "number" && Math.floor(object) === object;
  3867. },
  3868. _asInt(object) {
  3869. if (typeof object == "number" && Math.floor(object) === object)
  3870. return object;
  3871. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int"), new Error());
  3872. },
  3873. _asIntQ(object) {
  3874. if (typeof object == "number" && Math.floor(object) === object)
  3875. return object;
  3876. if (object == null)
  3877. return object;
  3878. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "int?"), new Error());
  3879. },
  3880. _isNum(object) {
  3881. return typeof object == "number";
  3882. },
  3883. _asNum(object) {
  3884. if (typeof object == "number")
  3885. return object;
  3886. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num"), new Error());
  3887. },
  3888. _asNumQ(object) {
  3889. if (typeof object == "number")
  3890. return object;
  3891. if (object == null)
  3892. return object;
  3893. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "num?"), new Error());
  3894. },
  3895. _isString(object) {
  3896. return typeof object == "string";
  3897. },
  3898. _asString(object) {
  3899. if (typeof object == "string")
  3900. return object;
  3901. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String"), new Error());
  3902. },
  3903. _asStringQ(object) {
  3904. if (typeof object == "string")
  3905. return object;
  3906. if (object == null)
  3907. return object;
  3908. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "String?"), new Error());
  3909. },
  3910. _asJSObject(object) {
  3911. if (A._isJSObjectStandalone(object))
  3912. return object;
  3913. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject"), new Error());
  3914. },
  3915. _asJSObjectQ(object) {
  3916. if (object == null)
  3917. return object;
  3918. if (A._isJSObjectStandalone(object))
  3919. return object;
  3920. throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(object, "JSObject?"), new Error());
  3921. },
  3922. _rtiArrayToString(array, genericContext) {
  3923. var s, sep, i;
  3924. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3925. s += sep + A._rtiToString(array[i], genericContext);
  3926. return s;
  3927. },
  3928. _recordRtiToString(recordType, genericContext) {
  3929. var fieldCount, names, namesIndex, s, comma, i,
  3930. partialShape = recordType._primary,
  3931. fields = recordType._rest;
  3932. if ("" === partialShape)
  3933. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3934. fieldCount = fields.length;
  3935. names = partialShape.split(",");
  3936. namesIndex = names.length - fieldCount;
  3937. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3938. s += comma;
  3939. if (namesIndex === 0)
  3940. s += "{";
  3941. s += A._rtiToString(fields[i], genericContext);
  3942. if (namesIndex >= 0)
  3943. s += " " + names[namesIndex];
  3944. ++namesIndex;
  3945. }
  3946. return s + "})";
  3947. },
  3948. _functionRtiToString(functionType, genericContext, bounds) {
  3949. var boundsLength, offset, i, t1, typeParametersText, typeSep, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ", outerContextLength = null;
  3950. if (bounds != null) {
  3951. boundsLength = bounds.length;
  3952. if (genericContext == null)
  3953. genericContext = A._setArrayType([], type$.JSArray_String);
  3954. else
  3955. outerContextLength = genericContext.length;
  3956. offset = genericContext.length;
  3957. for (i = boundsLength; i > 0; --i)
  3958. genericContext.push("T" + (offset + i));
  3959. for (t1 = type$.nullable_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3960. typeParametersText = typeParametersText + typeSep + genericContext[genericContext.length - 1 - i];
  3961. boundRti = bounds[i];
  3962. kind = boundRti._kind;
  3963. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3964. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3965. }
  3966. typeParametersText += ">";
  3967. } else
  3968. typeParametersText = "";
  3969. t1 = functionType._primary;
  3970. parameters = functionType._rest;
  3971. requiredPositional = parameters._requiredPositional;
  3972. requiredPositionalLength = requiredPositional.length;
  3973. optionalPositional = parameters._optionalPositional;
  3974. optionalPositionalLength = optionalPositional.length;
  3975. named = parameters._named;
  3976. namedLength = named.length;
  3977. returnTypeText = A._rtiToString(t1, genericContext);
  3978. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3979. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3980. if (optionalPositionalLength > 0) {
  3981. argumentsText += sep + "[";
  3982. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3983. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3984. argumentsText += "]";
  3985. }
  3986. if (namedLength > 0) {
  3987. argumentsText += sep + "{";
  3988. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3989. argumentsText += sep;
  3990. if (named[i + 1])
  3991. argumentsText += "required ";
  3992. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3993. }
  3994. argumentsText += "}";
  3995. }
  3996. if (outerContextLength != null) {
  3997. genericContext.toString;
  3998. genericContext.length = outerContextLength;
  3999. }
  4000. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  4001. },
  4002. _rtiToString(rti, genericContext) {
  4003. var questionArgument, s, argumentKind, $name, $arguments, t1,
  4004. kind = rti._kind;
  4005. if (kind === 5)
  4006. return "erased";
  4007. if (kind === 2)
  4008. return "dynamic";
  4009. if (kind === 3)
  4010. return "void";
  4011. if (kind === 1)
  4012. return "Never";
  4013. if (kind === 4)
  4014. return "any";
  4015. if (kind === 6) {
  4016. questionArgument = rti._primary;
  4017. s = A._rtiToString(questionArgument, genericContext);
  4018. argumentKind = questionArgument._kind;
  4019. return (argumentKind === 11 || argumentKind === 12 ? "(" + s + ")" : s) + "?";
  4020. }
  4021. if (kind === 7)
  4022. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  4023. if (kind === 8) {
  4024. $name = A._unminifyOrTag(rti._primary);
  4025. $arguments = rti._rest;
  4026. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  4027. }
  4028. if (kind === 10)
  4029. return A._recordRtiToString(rti, genericContext);
  4030. if (kind === 11)
  4031. return A._functionRtiToString(rti, genericContext, null);
  4032. if (kind === 12)
  4033. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  4034. if (kind === 13) {
  4035. t1 = rti._primary;
  4036. return genericContext[genericContext.length - 1 - t1];
  4037. }
  4038. return "?";
  4039. },
  4040. _unminifyOrTag(rawClassName) {
  4041. var preserved = init.mangledGlobalNames[rawClassName];
  4042. if (preserved != null)
  4043. return preserved;
  4044. return rawClassName;
  4045. },
  4046. _Universe_findRule(universe, targetType) {
  4047. var rule = universe.tR[targetType];
  4048. for (; typeof rule == "string";)
  4049. rule = universe.tR[rule];
  4050. return rule;
  4051. },
  4052. _Universe_findErasedType(universe, cls) {
  4053. var $length, erased, $arguments, i, $interface,
  4054. metadata = universe.eT,
  4055. probe = metadata[cls];
  4056. if (probe == null)
  4057. return A._Universe_eval(universe, cls, false);
  4058. else if (typeof probe == "number") {
  4059. $length = probe;
  4060. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  4061. $arguments = A._Utils_newArrayOrEmpty($length);
  4062. for (i = 0; i < $length; ++i)
  4063. $arguments[i] = erased;
  4064. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  4065. metadata[cls] = $interface;
  4066. return $interface;
  4067. } else
  4068. return probe;
  4069. },
  4070. _Universe_addRules(universe, rules) {
  4071. return A._Utils_objectAssign(universe.tR, rules);
  4072. },
  4073. _Universe_addErasedTypes(universe, types) {
  4074. return A._Utils_objectAssign(universe.eT, types);
  4075. },
  4076. _Universe_eval(universe, recipe, normalize) {
  4077. var rti,
  4078. cache = universe.eC,
  4079. probe = cache.get(recipe);
  4080. if (probe != null)
  4081. return probe;
  4082. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));
  4083. cache.set(recipe, rti);
  4084. return rti;
  4085. },
  4086. _Universe_evalInEnvironment(universe, environment, recipe) {
  4087. var probe, rti,
  4088. cache = environment._evalCache;
  4089. if (cache == null)
  4090. cache = environment._evalCache = new Map();
  4091. probe = cache.get(recipe);
  4092. if (probe != null)
  4093. return probe;
  4094. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  4095. cache.set(recipe, rti);
  4096. return rti;
  4097. },
  4098. _Universe_bind(universe, environment, argumentsRti) {
  4099. var argumentsRecipe, probe, rti,
  4100. cache = environment._bindCache;
  4101. if (cache == null)
  4102. cache = environment._bindCache = new Map();
  4103. argumentsRecipe = argumentsRti._canonicalRecipe;
  4104. probe = cache.get(argumentsRecipe);
  4105. if (probe != null)
  4106. return probe;
  4107. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 9 ? argumentsRti._rest : [argumentsRti]);
  4108. cache.set(argumentsRecipe, rti);
  4109. return rti;
  4110. },
  4111. _Universe__installTypeTests(universe, rti) {
  4112. rti._as = A._installSpecializedAsCheck;
  4113. rti._is = A._installSpecializedIsTest;
  4114. return rti;
  4115. },
  4116. _Universe__lookupTerminalRti(universe, kind, key) {
  4117. var rti, t1,
  4118. probe = universe.eC.get(key);
  4119. if (probe != null)
  4120. return probe;
  4121. rti = new A.Rti(null, null);
  4122. rti._kind = kind;
  4123. rti._canonicalRecipe = key;
  4124. t1 = A._Universe__installTypeTests(universe, rti);
  4125. universe.eC.set(key, t1);
  4126. return t1;
  4127. },
  4128. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  4129. var t1,
  4130. key = baseType._canonicalRecipe + "?",
  4131. probe = universe.eC.get(key);
  4132. if (probe != null)
  4133. return probe;
  4134. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  4135. universe.eC.set(key, t1);
  4136. return t1;
  4137. },
  4138. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  4139. var baseKind, t1, rti;
  4140. if (normalize) {
  4141. baseKind = baseType._kind;
  4142. t1 = true;
  4143. if (!A.isTopType(baseType))
  4144. if (!(baseType === type$.Null || baseType === type$.JSNull))
  4145. if (baseKind !== 6)
  4146. t1 = baseKind === 7 && A.isNullable(baseType._primary);
  4147. if (t1)
  4148. return baseType;
  4149. else if (baseKind === 1)
  4150. return type$.Null;
  4151. }
  4152. rti = new A.Rti(null, null);
  4153. rti._kind = 6;
  4154. rti._primary = baseType;
  4155. rti._canonicalRecipe = key;
  4156. return A._Universe__installTypeTests(universe, rti);
  4157. },
  4158. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4159. var t1,
  4160. key = baseType._canonicalRecipe + "/",
  4161. probe = universe.eC.get(key);
  4162. if (probe != null)
  4163. return probe;
  4164. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4165. universe.eC.set(key, t1);
  4166. return t1;
  4167. },
  4168. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4169. var t1, rti;
  4170. if (normalize) {
  4171. t1 = baseType._kind;
  4172. if (A.isTopType(baseType) || baseType === type$.Object)
  4173. return baseType;
  4174. else if (t1 === 1)
  4175. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4176. else if (baseType === type$.Null || baseType === type$.JSNull)
  4177. return type$.nullable_Future_Null;
  4178. }
  4179. rti = new A.Rti(null, null);
  4180. rti._kind = 7;
  4181. rti._primary = baseType;
  4182. rti._canonicalRecipe = key;
  4183. return A._Universe__installTypeTests(universe, rti);
  4184. },
  4185. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4186. var rti, t1,
  4187. key = "" + index + "^",
  4188. probe = universe.eC.get(key);
  4189. if (probe != null)
  4190. return probe;
  4191. rti = new A.Rti(null, null);
  4192. rti._kind = 13;
  4193. rti._primary = index;
  4194. rti._canonicalRecipe = key;
  4195. t1 = A._Universe__installTypeTests(universe, rti);
  4196. universe.eC.set(key, t1);
  4197. return t1;
  4198. },
  4199. _Universe__canonicalRecipeJoin($arguments) {
  4200. var s, sep, i,
  4201. $length = $arguments.length;
  4202. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4203. s += sep + $arguments[i]._canonicalRecipe;
  4204. return s;
  4205. },
  4206. _Universe__canonicalRecipeJoinNamed($arguments) {
  4207. var s, sep, i, t1, nameSep,
  4208. $length = $arguments.length;
  4209. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4210. t1 = $arguments[i];
  4211. nameSep = $arguments[i + 1] ? "!" : ":";
  4212. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4213. }
  4214. return s;
  4215. },
  4216. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4217. var probe, rti, t1,
  4218. s = $name;
  4219. if ($arguments.length > 0)
  4220. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4221. probe = universe.eC.get(s);
  4222. if (probe != null)
  4223. return probe;
  4224. rti = new A.Rti(null, null);
  4225. rti._kind = 8;
  4226. rti._primary = $name;
  4227. rti._rest = $arguments;
  4228. if ($arguments.length > 0)
  4229. rti._precomputed1 = $arguments[0];
  4230. rti._canonicalRecipe = s;
  4231. t1 = A._Universe__installTypeTests(universe, rti);
  4232. universe.eC.set(s, t1);
  4233. return t1;
  4234. },
  4235. _Universe__lookupBindingRti(universe, base, $arguments) {
  4236. var newBase, newArguments, key, probe, rti, t1;
  4237. if (base._kind === 9) {
  4238. newBase = base._primary;
  4239. newArguments = base._rest.concat($arguments);
  4240. } else {
  4241. newArguments = $arguments;
  4242. newBase = base;
  4243. }
  4244. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4245. probe = universe.eC.get(key);
  4246. if (probe != null)
  4247. return probe;
  4248. rti = new A.Rti(null, null);
  4249. rti._kind = 9;
  4250. rti._primary = newBase;
  4251. rti._rest = newArguments;
  4252. rti._canonicalRecipe = key;
  4253. t1 = A._Universe__installTypeTests(universe, rti);
  4254. universe.eC.set(key, t1);
  4255. return t1;
  4256. },
  4257. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4258. var rti, t1,
  4259. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4260. probe = universe.eC.get(key);
  4261. if (probe != null)
  4262. return probe;
  4263. rti = new A.Rti(null, null);
  4264. rti._kind = 10;
  4265. rti._primary = partialShapeTag;
  4266. rti._rest = fields;
  4267. rti._canonicalRecipe = key;
  4268. t1 = A._Universe__installTypeTests(universe, rti);
  4269. universe.eC.set(key, t1);
  4270. return t1;
  4271. },
  4272. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4273. var sep, key, probe, rti, t1,
  4274. s = returnType._canonicalRecipe,
  4275. requiredPositional = parameters._requiredPositional,
  4276. requiredPositionalLength = requiredPositional.length,
  4277. optionalPositional = parameters._optionalPositional,
  4278. optionalPositionalLength = optionalPositional.length,
  4279. named = parameters._named,
  4280. namedLength = named.length,
  4281. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4282. if (optionalPositionalLength > 0) {
  4283. sep = requiredPositionalLength > 0 ? "," : "";
  4284. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4285. }
  4286. if (namedLength > 0) {
  4287. sep = requiredPositionalLength > 0 ? "," : "";
  4288. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4289. }
  4290. key = s + (recipe + ")");
  4291. probe = universe.eC.get(key);
  4292. if (probe != null)
  4293. return probe;
  4294. rti = new A.Rti(null, null);
  4295. rti._kind = 11;
  4296. rti._primary = returnType;
  4297. rti._rest = parameters;
  4298. rti._canonicalRecipe = key;
  4299. t1 = A._Universe__installTypeTests(universe, rti);
  4300. universe.eC.set(key, t1);
  4301. return t1;
  4302. },
  4303. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4304. var t1,
  4305. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4306. probe = universe.eC.get(key);
  4307. if (probe != null)
  4308. return probe;
  4309. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4310. universe.eC.set(key, t1);
  4311. return t1;
  4312. },
  4313. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4314. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4315. if (normalize) {
  4316. $length = bounds.length;
  4317. typeArguments = A._Utils_newArrayOrEmpty($length);
  4318. for (count = 0, i = 0; i < $length; ++i) {
  4319. bound = bounds[i];
  4320. if (bound._kind === 1) {
  4321. typeArguments[i] = bound;
  4322. ++count;
  4323. }
  4324. }
  4325. if (count > 0) {
  4326. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4327. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4328. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4329. }
  4330. }
  4331. rti = new A.Rti(null, null);
  4332. rti._kind = 12;
  4333. rti._primary = baseFunctionType;
  4334. rti._rest = bounds;
  4335. rti._canonicalRecipe = key;
  4336. return A._Universe__installTypeTests(universe, rti);
  4337. },
  4338. _Parser_create(universe, environment, recipe, normalize) {
  4339. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4340. },
  4341. _Parser_parse(parser) {
  4342. var t1, i, ch, u, array, end, item,
  4343. source = parser.r,
  4344. stack = parser.s;
  4345. for (t1 = source.length, i = 0; i < t1;) {
  4346. ch = source.charCodeAt(i);
  4347. if (ch >= 48 && ch <= 57)
  4348. i = A._Parser_handleDigit(i + 1, ch, source, stack);
  4349. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4350. i = A._Parser_handleIdentifier(parser, i, source, stack, false);
  4351. else if (ch === 46)
  4352. i = A._Parser_handleIdentifier(parser, i, source, stack, true);
  4353. else {
  4354. ++i;
  4355. switch (ch) {
  4356. case 44:
  4357. break;
  4358. case 58:
  4359. stack.push(false);
  4360. break;
  4361. case 33:
  4362. stack.push(true);
  4363. break;
  4364. case 59:
  4365. stack.push(A._Parser_toType(parser.u, parser.e, stack.pop()));
  4366. break;
  4367. case 94:
  4368. stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));
  4369. break;
  4370. case 35:
  4371. stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4372. break;
  4373. case 64:
  4374. stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4375. break;
  4376. case 126:
  4377. stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4378. break;
  4379. case 60:
  4380. stack.push(parser.p);
  4381. parser.p = stack.length;
  4382. break;
  4383. case 62:
  4384. A._Parser_handleTypeArguments(parser, stack);
  4385. break;
  4386. case 38:
  4387. A._Parser_handleExtendedOperations(parser, stack);
  4388. break;
  4389. case 63:
  4390. u = parser.u;
  4391. stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
  4392. break;
  4393. case 47:
  4394. u = parser.u;
  4395. stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
  4396. break;
  4397. case 40:
  4398. stack.push(-3);
  4399. stack.push(parser.p);
  4400. parser.p = stack.length;
  4401. break;
  4402. case 41:
  4403. A._Parser_handleArguments(parser, stack);
  4404. break;
  4405. case 91:
  4406. stack.push(parser.p);
  4407. parser.p = stack.length;
  4408. break;
  4409. case 93:
  4410. array = stack.splice(parser.p);
  4411. A._Parser_toTypes(parser.u, parser.e, array);
  4412. parser.p = stack.pop();
  4413. stack.push(array);
  4414. stack.push(-1);
  4415. break;
  4416. case 123:
  4417. stack.push(parser.p);
  4418. parser.p = stack.length;
  4419. break;
  4420. case 125:
  4421. array = stack.splice(parser.p);
  4422. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4423. parser.p = stack.pop();
  4424. stack.push(array);
  4425. stack.push(-2);
  4426. break;
  4427. case 43:
  4428. end = source.indexOf("(", i);
  4429. stack.push(source.substring(i, end));
  4430. stack.push(-4);
  4431. stack.push(parser.p);
  4432. parser.p = stack.length;
  4433. i = end + 1;
  4434. break;
  4435. default:
  4436. throw "Bad character " + ch;
  4437. }
  4438. }
  4439. }
  4440. item = stack.pop();
  4441. return A._Parser_toType(parser.u, parser.e, item);
  4442. },
  4443. _Parser_handleDigit(i, digit, source, stack) {
  4444. var t1, ch,
  4445. value = digit - 48;
  4446. for (t1 = source.length; i < t1; ++i) {
  4447. ch = source.charCodeAt(i);
  4448. if (!(ch >= 48 && ch <= 57))
  4449. break;
  4450. value = value * 10 + (ch - 48);
  4451. }
  4452. stack.push(value);
  4453. return i;
  4454. },
  4455. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4456. var t1, ch, t2, string, environment, recipe,
  4457. i = start + 1;
  4458. for (t1 = source.length; i < t1; ++i) {
  4459. ch = source.charCodeAt(i);
  4460. if (ch === 46) {
  4461. if (hasPeriod)
  4462. break;
  4463. hasPeriod = true;
  4464. } else {
  4465. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4466. t2 = ch >= 48 && ch <= 57;
  4467. else
  4468. t2 = true;
  4469. if (!t2)
  4470. break;
  4471. }
  4472. }
  4473. string = source.substring(start, i);
  4474. if (hasPeriod) {
  4475. t1 = parser.u;
  4476. environment = parser.e;
  4477. if (environment._kind === 9)
  4478. environment = environment._primary;
  4479. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4480. if (recipe == null)
  4481. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4482. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4483. } else
  4484. stack.push(string);
  4485. return i;
  4486. },
  4487. _Parser_handleTypeArguments(parser, stack) {
  4488. var base,
  4489. universe = parser.u,
  4490. $arguments = A._Parser_collectArray(parser, stack),
  4491. head = stack.pop();
  4492. if (typeof head == "string")
  4493. stack.push(A._Universe__lookupInterfaceRti(universe, head, $arguments));
  4494. else {
  4495. base = A._Parser_toType(universe, parser.e, head);
  4496. switch (base._kind) {
  4497. case 11:
  4498. stack.push(A._Universe__lookupGenericFunctionRti(universe, base, $arguments, parser.n));
  4499. break;
  4500. default:
  4501. stack.push(A._Universe__lookupBindingRti(universe, base, $arguments));
  4502. break;
  4503. }
  4504. }
  4505. },
  4506. _Parser_handleArguments(parser, stack) {
  4507. var requiredPositional, returnType, parameters,
  4508. universe = parser.u,
  4509. head = stack.pop(),
  4510. optionalPositional = null, named = null;
  4511. if (typeof head == "number")
  4512. switch (head) {
  4513. case -1:
  4514. optionalPositional = stack.pop();
  4515. break;
  4516. case -2:
  4517. named = stack.pop();
  4518. break;
  4519. default:
  4520. stack.push(head);
  4521. break;
  4522. }
  4523. else
  4524. stack.push(head);
  4525. requiredPositional = A._Parser_collectArray(parser, stack);
  4526. head = stack.pop();
  4527. switch (head) {
  4528. case -3:
  4529. head = stack.pop();
  4530. if (optionalPositional == null)
  4531. optionalPositional = universe.sEA;
  4532. if (named == null)
  4533. named = universe.sEA;
  4534. returnType = A._Parser_toType(universe, parser.e, head);
  4535. parameters = new A._FunctionParameters();
  4536. parameters._requiredPositional = requiredPositional;
  4537. parameters._optionalPositional = optionalPositional;
  4538. parameters._named = named;
  4539. stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters));
  4540. return;
  4541. case -4:
  4542. stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional));
  4543. return;
  4544. default:
  4545. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4546. }
  4547. },
  4548. _Parser_handleExtendedOperations(parser, stack) {
  4549. var $top = stack.pop();
  4550. if (0 === $top) {
  4551. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4552. return;
  4553. }
  4554. if (1 === $top) {
  4555. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4556. return;
  4557. }
  4558. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4559. },
  4560. _Parser_collectArray(parser, stack) {
  4561. var array = stack.splice(parser.p);
  4562. A._Parser_toTypes(parser.u, parser.e, array);
  4563. parser.p = stack.pop();
  4564. return array;
  4565. },
  4566. _Parser_toType(universe, environment, item) {
  4567. if (typeof item == "string")
  4568. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4569. else if (typeof item == "number") {
  4570. environment.toString;
  4571. return A._Parser_indexToType(universe, environment, item);
  4572. } else
  4573. return item;
  4574. },
  4575. _Parser_toTypes(universe, environment, items) {
  4576. var i,
  4577. $length = items.length;
  4578. for (i = 0; i < $length; ++i)
  4579. items[i] = A._Parser_toType(universe, environment, items[i]);
  4580. },
  4581. _Parser_toTypesNamed(universe, environment, items) {
  4582. var i,
  4583. $length = items.length;
  4584. for (i = 2; i < $length; i += 3)
  4585. items[i] = A._Parser_toType(universe, environment, items[i]);
  4586. },
  4587. _Parser_indexToType(universe, environment, index) {
  4588. var typeArguments, len,
  4589. kind = environment._kind;
  4590. if (kind === 9) {
  4591. if (index === 0)
  4592. return environment._primary;
  4593. typeArguments = environment._rest;
  4594. len = typeArguments.length;
  4595. if (index <= len)
  4596. return typeArguments[index - 1];
  4597. index -= len;
  4598. environment = environment._primary;
  4599. kind = environment._kind;
  4600. } else if (index === 0)
  4601. return environment;
  4602. if (kind !== 8)
  4603. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4604. typeArguments = environment._rest;
  4605. if (index <= typeArguments.length)
  4606. return typeArguments[index - 1];
  4607. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4608. },
  4609. isSubtype(universe, s, t) {
  4610. var result,
  4611. sCache = s._isSubtypeCache;
  4612. if (sCache == null)
  4613. sCache = s._isSubtypeCache = new Map();
  4614. result = sCache.get(t);
  4615. if (result == null) {
  4616. result = A._isSubtype(universe, s, null, t, null);
  4617. sCache.set(t, result);
  4618. }
  4619. return result;
  4620. },
  4621. _isSubtype(universe, s, sEnv, t, tEnv) {
  4622. var sKind, leftTypeVariable, tKind, t1, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4623. if (s === t)
  4624. return true;
  4625. if (A.isTopType(t))
  4626. return true;
  4627. sKind = s._kind;
  4628. if (sKind === 4)
  4629. return true;
  4630. if (A.isTopType(s))
  4631. return false;
  4632. if (s._kind === 1)
  4633. return true;
  4634. leftTypeVariable = sKind === 13;
  4635. if (leftTypeVariable)
  4636. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  4637. return true;
  4638. tKind = t._kind;
  4639. t1 = type$.Null;
  4640. if (s === t1 || s === type$.JSNull) {
  4641. if (tKind === 7)
  4642. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4643. return t === t1 || t === type$.JSNull || tKind === 6;
  4644. }
  4645. if (t === type$.Object) {
  4646. if (sKind === 7)
  4647. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4648. return sKind !== 6;
  4649. }
  4650. if (sKind === 7) {
  4651. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  4652. return false;
  4653. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  4654. }
  4655. if (sKind === 6)
  4656. return A._isSubtype(universe, t1, sEnv, t, tEnv) && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4657. if (tKind === 7) {
  4658. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  4659. return true;
  4660. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  4661. }
  4662. if (tKind === 6)
  4663. return A._isSubtype(universe, s, sEnv, t1, tEnv) || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4664. if (leftTypeVariable)
  4665. return false;
  4666. t1 = sKind !== 11;
  4667. if ((!t1 || sKind === 12) && t === type$.Function)
  4668. return true;
  4669. t2 = sKind === 10;
  4670. if (t2 && t === type$.Record)
  4671. return true;
  4672. if (tKind === 12) {
  4673. if (s === type$.JavaScriptFunction)
  4674. return true;
  4675. if (sKind !== 12)
  4676. return false;
  4677. sBounds = s._rest;
  4678. tBounds = t._rest;
  4679. sLength = sBounds.length;
  4680. if (sLength !== tBounds.length)
  4681. return false;
  4682. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4683. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4684. for (i = 0; i < sLength; ++i) {
  4685. sBound = sBounds[i];
  4686. tBound = tBounds[i];
  4687. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  4688. return false;
  4689. }
  4690. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  4691. }
  4692. if (tKind === 11) {
  4693. if (s === type$.JavaScriptFunction)
  4694. return true;
  4695. if (t1)
  4696. return false;
  4697. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  4698. }
  4699. if (sKind === 8) {
  4700. if (tKind !== 8)
  4701. return false;
  4702. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  4703. }
  4704. if (t2 && tKind === 10)
  4705. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  4706. return false;
  4707. },
  4708. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  4709. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4710. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  4711. return false;
  4712. sParameters = s._rest;
  4713. tParameters = t._rest;
  4714. sRequiredPositional = sParameters._requiredPositional;
  4715. tRequiredPositional = tParameters._requiredPositional;
  4716. sRequiredPositionalLength = sRequiredPositional.length;
  4717. tRequiredPositionalLength = tRequiredPositional.length;
  4718. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4719. return false;
  4720. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4721. sOptionalPositional = sParameters._optionalPositional;
  4722. tOptionalPositional = tParameters._optionalPositional;
  4723. sOptionalPositionalLength = sOptionalPositional.length;
  4724. tOptionalPositionalLength = tOptionalPositional.length;
  4725. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4726. return false;
  4727. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4728. t1 = sRequiredPositional[i];
  4729. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  4730. return false;
  4731. }
  4732. for (i = 0; i < requiredPositionalDelta; ++i) {
  4733. t1 = sOptionalPositional[i];
  4734. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  4735. return false;
  4736. }
  4737. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4738. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4739. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  4740. return false;
  4741. }
  4742. sNamed = sParameters._named;
  4743. tNamed = tParameters._named;
  4744. sNamedLength = sNamed.length;
  4745. tNamedLength = tNamed.length;
  4746. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4747. tName = tNamed[tIndex];
  4748. for (; true;) {
  4749. if (sIndex >= sNamedLength)
  4750. return false;
  4751. sName = sNamed[sIndex];
  4752. sIndex += 3;
  4753. if (tName < sName)
  4754. return false;
  4755. sIsRequired = sNamed[sIndex - 2];
  4756. if (sName < tName) {
  4757. if (sIsRequired)
  4758. return false;
  4759. continue;
  4760. }
  4761. t1 = tNamed[tIndex + 1];
  4762. if (sIsRequired && !t1)
  4763. return false;
  4764. t1 = sNamed[sIndex - 1];
  4765. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  4766. return false;
  4767. break;
  4768. }
  4769. }
  4770. for (; sIndex < sNamedLength;) {
  4771. if (sNamed[sIndex + 1])
  4772. return false;
  4773. sIndex += 3;
  4774. }
  4775. return true;
  4776. },
  4777. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  4778. var rule, recipes, $length, supertypeArgs, i,
  4779. sName = s._primary,
  4780. tName = t._primary;
  4781. for (; sName !== tName;) {
  4782. rule = universe.tR[sName];
  4783. if (rule == null)
  4784. return false;
  4785. if (typeof rule == "string") {
  4786. sName = rule;
  4787. continue;
  4788. }
  4789. recipes = rule[tName];
  4790. if (recipes == null)
  4791. return false;
  4792. $length = recipes.length;
  4793. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4794. for (i = 0; i < $length; ++i)
  4795. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4796. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  4797. }
  4798. return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv);
  4799. },
  4800. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  4801. var i,
  4802. $length = sArgs.length;
  4803. for (i = 0; i < $length; ++i)
  4804. if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv))
  4805. return false;
  4806. return true;
  4807. },
  4808. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  4809. var i,
  4810. sFields = s._rest,
  4811. tFields = t._rest,
  4812. sCount = sFields.length;
  4813. if (sCount !== tFields.length)
  4814. return false;
  4815. if (s._primary !== t._primary)
  4816. return false;
  4817. for (i = 0; i < sCount; ++i)
  4818. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  4819. return false;
  4820. return true;
  4821. },
  4822. isNullable(t) {
  4823. var kind = t._kind,
  4824. t1 = true;
  4825. if (!(t === type$.Null || t === type$.JSNull))
  4826. if (!A.isTopType(t))
  4827. if (kind !== 6)
  4828. t1 = kind === 7 && A.isNullable(t._primary);
  4829. return t1;
  4830. },
  4831. isTopType(t) {
  4832. var kind = t._kind;
  4833. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4834. },
  4835. _Utils_objectAssign(o, other) {
  4836. var i, key,
  4837. keys = Object.keys(other),
  4838. $length = keys.length;
  4839. for (i = 0; i < $length; ++i) {
  4840. key = keys[i];
  4841. o[key] = other[key];
  4842. }
  4843. },
  4844. _Utils_newArrayOrEmpty($length) {
  4845. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4846. },
  4847. Rti: function Rti(t0, t1) {
  4848. var _ = this;
  4849. _._as = t0;
  4850. _._is = t1;
  4851. _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;
  4852. _._kind = 0;
  4853. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4854. },
  4855. _FunctionParameters: function _FunctionParameters() {
  4856. this._named = this._optionalPositional = this._requiredPositional = null;
  4857. },
  4858. _Type: function _Type(t0) {
  4859. this._rti = t0;
  4860. },
  4861. _Error: function _Error() {
  4862. },
  4863. _TypeError: function _TypeError(t0) {
  4864. this.__rti$_message = t0;
  4865. },
  4866. _AsyncRun__initializeScheduleImmediate() {
  4867. var t1, div, span;
  4868. if (self.scheduleImmediate != null)
  4869. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4870. if (self.MutationObserver != null && self.document != null) {
  4871. t1 = {};
  4872. div = self.document.createElement("div");
  4873. span = self.document.createElement("span");
  4874. t1.storedCallback = null;
  4875. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4876. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4877. } else if (self.setImmediate != null)
  4878. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4879. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4880. },
  4881. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4882. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4883. },
  4884. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4885. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4886. },
  4887. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4888. A.Timer__createTimer(B.Duration_0, callback);
  4889. },
  4890. Timer__createTimer(duration, callback) {
  4891. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4892. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4893. },
  4894. _TimerImpl$(milliseconds, callback) {
  4895. var t1 = new A._TimerImpl(true);
  4896. t1._TimerImpl$2(milliseconds, callback);
  4897. return t1;
  4898. },
  4899. _TimerImpl$periodic(milliseconds, callback) {
  4900. var t1 = new A._TimerImpl(false);
  4901. t1._TimerImpl$periodic$2(milliseconds, callback);
  4902. return t1;
  4903. },
  4904. _makeAsyncAwaitCompleter($T) {
  4905. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4906. },
  4907. _asyncStartSync(bodyFunction, completer) {
  4908. bodyFunction.call$2(0, null);
  4909. completer.isSync = true;
  4910. return completer._future;
  4911. },
  4912. _asyncAwait(object, bodyFunction) {
  4913. A._awaitOnObject(object, bodyFunction);
  4914. },
  4915. _asyncReturn(object, completer) {
  4916. completer.complete$1(object);
  4917. },
  4918. _asyncRethrow(object, completer) {
  4919. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4920. },
  4921. _awaitOnObject(object, bodyFunction) {
  4922. var t1, future,
  4923. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4924. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4925. if (object instanceof A._Future)
  4926. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4927. else {
  4928. t1 = type$.dynamic;
  4929. if (object instanceof A._Future)
  4930. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4931. else {
  4932. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4933. future._state = 8;
  4934. future._resultOrListeners = object;
  4935. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4936. }
  4937. }
  4938. },
  4939. _wrapJsFunctionForAsync($function) {
  4940. var $protected = function(fn, ERROR) {
  4941. return function(errorCode, result) {
  4942. while (true) {
  4943. try {
  4944. fn(errorCode, result);
  4945. break;
  4946. } catch (error) {
  4947. result = error;
  4948. errorCode = ERROR;
  4949. }
  4950. }
  4951. };
  4952. }($function, 1);
  4953. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4954. },
  4955. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4956. return 0;
  4957. },
  4958. AsyncError_defaultStackTrace(error) {
  4959. var stackTrace;
  4960. if (type$.Error._is(error)) {
  4961. stackTrace = error.get$stackTrace();
  4962. if (stackTrace != null)
  4963. return stackTrace;
  4964. }
  4965. return B._StringStackTrace_OdL;
  4966. },
  4967. Future_Future$value(value, $T) {
  4968. var t1;
  4969. $T._as(value);
  4970. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4971. t1._asyncComplete$1(value);
  4972. return t1;
  4973. },
  4974. Future_wait(futures, eagerError, $T) {
  4975. var handleError, future, pos, e, s, t1, t2, exception, t3, t4, _box_0 = {}, cleanUp = null,
  4976. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  4977. _box_0.values = null;
  4978. _box_0.remaining = 0;
  4979. _box_0.stackTrace = _box_0.error = null;
  4980. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future);
  4981. try {
  4982. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  4983. future = t1.get$current(t1);
  4984. pos = _box_0.remaining;
  4985. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, $T, cleanUp, eagerError), handleError, t2);
  4986. ++_box_0.remaining;
  4987. }
  4988. t1 = _box_0.remaining;
  4989. if (t1 === 0) {
  4990. t1 = _future;
  4991. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  4992. return t1;
  4993. }
  4994. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  4995. } catch (exception) {
  4996. e = A.unwrapException(exception);
  4997. s = A.getTraceFromException(exception);
  4998. if (_box_0.remaining === 0 || eagerError) {
  4999. t1 = _future;
  5000. t2 = e;
  5001. t3 = s;
  5002. t4 = A._interceptError(t2, t3);
  5003. if (t4 == null)
  5004. t2 = new A.AsyncError(t2, t3 == null ? A.AsyncError_defaultStackTrace(t2) : t3);
  5005. else
  5006. t2 = t4;
  5007. t1._asyncCompleteErrorObject$1(t2);
  5008. return t1;
  5009. } else {
  5010. _box_0.error = e;
  5011. _box_0.stackTrace = s;
  5012. }
  5013. }
  5014. return _future;
  5015. },
  5016. _interceptError(error, stackTrace) {
  5017. var replacement, t1, t2,
  5018. zone = $.Zone__current;
  5019. if (zone === B.C__RootZone)
  5020. return null;
  5021. replacement = zone.errorCallback$2(error, stackTrace);
  5022. if (replacement == null)
  5023. return null;
  5024. t1 = replacement.error;
  5025. t2 = replacement.stackTrace;
  5026. if (type$.Error._is(t1))
  5027. A.Primitives_trySetStackTrace(t1, t2);
  5028. return replacement;
  5029. },
  5030. _interceptUserError(error, stackTrace) {
  5031. var replacement;
  5032. if ($.Zone__current !== B.C__RootZone) {
  5033. replacement = A._interceptError(error, stackTrace);
  5034. if (replacement != null)
  5035. return replacement;
  5036. }
  5037. if (stackTrace == null)
  5038. if (type$.Error._is(error)) {
  5039. stackTrace = error.get$stackTrace();
  5040. if (stackTrace == null) {
  5041. A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);
  5042. stackTrace = B._StringStackTrace_OdL;
  5043. }
  5044. } else
  5045. stackTrace = B._StringStackTrace_OdL;
  5046. else if (type$.Error._is(error))
  5047. A.Primitives_trySetStackTrace(error, stackTrace);
  5048. return new A.AsyncError(error, stackTrace);
  5049. },
  5050. _Future$zoneValue(value, _zone, $T) {
  5051. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  5052. t1._state = 8;
  5053. t1._resultOrListeners = value;
  5054. return t1;
  5055. },
  5056. _Future$value(value, $T) {
  5057. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  5058. t1._state = 8;
  5059. t1._resultOrListeners = value;
  5060. return t1;
  5061. },
  5062. _Future__chainCoreFuture(source, target, sync) {
  5063. var t2, ignoreError, listeners, _box_0 = {},
  5064. t1 = _box_0.source = source;
  5065. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  5066. t1 = t1._resultOrListeners;
  5067. _box_0.source = t1;
  5068. }
  5069. if (t1 === target) {
  5070. t2 = A.StackTrace_current();
  5071. target._asyncCompleteErrorObject$1(new A.AsyncError(new A.ArgumentError(true, t1, null, "Cannot complete a future with itself"), t2));
  5072. return;
  5073. }
  5074. ignoreError = target._state & 1;
  5075. t2 = t1._state = t2 | ignoreError;
  5076. if ((t2 & 24) === 0) {
  5077. listeners = target._resultOrListeners;
  5078. target._state = target._state & 1 | 4;
  5079. target._resultOrListeners = t1;
  5080. t1._prependListeners$1(listeners);
  5081. return;
  5082. }
  5083. if (!sync)
  5084. if (target._resultOrListeners == null)
  5085. t1 = (t2 & 16) === 0 || ignoreError !== 0;
  5086. else
  5087. t1 = false;
  5088. else
  5089. t1 = true;
  5090. if (t1) {
  5091. listeners = target._removeListeners$0();
  5092. target._cloneResult$1(_box_0.source);
  5093. A._Future__propagateToListeners(target, listeners);
  5094. return;
  5095. }
  5096. target._state ^= 2;
  5097. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(_box_0, target));
  5098. },
  5099. _Future__propagateToListeners(source, listeners) {
  5100. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5101. t1 = _box_1.source = source;
  5102. for (; true;) {
  5103. _box_0 = {};
  5104. t2 = t1._state;
  5105. t3 = (t2 & 16) === 0;
  5106. hasError = !t3;
  5107. if (listeners == null) {
  5108. if (hasError && (t2 & 1) === 0) {
  5109. t2 = t1._resultOrListeners;
  5110. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5111. }
  5112. return;
  5113. }
  5114. _box_0.listener = listeners;
  5115. nextListener = listeners._nextListener;
  5116. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5117. t1._nextListener = null;
  5118. A._Future__propagateToListeners(_box_1.source, t1);
  5119. _box_0.listener = nextListener;
  5120. nextListener0 = nextListener._nextListener;
  5121. }
  5122. t2 = _box_1.source;
  5123. sourceResult = t2._resultOrListeners;
  5124. _box_0.listenerHasError = hasError;
  5125. _box_0.listenerValueOrError = sourceResult;
  5126. if (t3) {
  5127. t4 = t1.state;
  5128. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5129. } else
  5130. t4 = true;
  5131. if (t4) {
  5132. zone = t1.result._zone;
  5133. if (hasError) {
  5134. t1 = t2._zone;
  5135. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5136. } else
  5137. t1 = false;
  5138. if (t1) {
  5139. t1 = _box_1.source;
  5140. t2 = t1._resultOrListeners;
  5141. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5142. return;
  5143. }
  5144. oldZone = $.Zone__current;
  5145. if (oldZone !== zone)
  5146. $.Zone__current = zone;
  5147. else
  5148. oldZone = null;
  5149. t1 = _box_0.listener.state;
  5150. if ((t1 & 15) === 8)
  5151. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5152. else if (t3) {
  5153. if ((t1 & 1) !== 0)
  5154. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5155. } else if ((t1 & 2) !== 0)
  5156. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5157. if (oldZone != null)
  5158. $.Zone__current = oldZone;
  5159. t1 = _box_0.listenerValueOrError;
  5160. if (t1 instanceof A._Future) {
  5161. t2 = _box_0.listener.$ti;
  5162. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5163. } else
  5164. t2 = false;
  5165. if (t2) {
  5166. result = _box_0.listener.result;
  5167. if ((t1._state & 24) !== 0) {
  5168. current = result._resultOrListeners;
  5169. result._resultOrListeners = null;
  5170. listeners = result._reverseListeners$1(current);
  5171. result._state = t1._state & 30 | result._state & 1;
  5172. result._resultOrListeners = t1._resultOrListeners;
  5173. _box_1.source = t1;
  5174. continue;
  5175. } else
  5176. A._Future__chainCoreFuture(t1, result, true);
  5177. return;
  5178. }
  5179. }
  5180. result = _box_0.listener.result;
  5181. current = result._resultOrListeners;
  5182. result._resultOrListeners = null;
  5183. listeners = result._reverseListeners$1(current);
  5184. t1 = _box_0.listenerHasError;
  5185. t2 = _box_0.listenerValueOrError;
  5186. if (!t1) {
  5187. result._state = 8;
  5188. result._resultOrListeners = t2;
  5189. } else {
  5190. result._state = result._state & 1 | 16;
  5191. result._resultOrListeners = t2;
  5192. }
  5193. _box_1.source = result;
  5194. t1 = result;
  5195. }
  5196. },
  5197. _registerErrorHandler(errorHandler, zone) {
  5198. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5199. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5200. if (type$.dynamic_Function_Object._is(errorHandler))
  5201. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5202. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5203. },
  5204. _microtaskLoop() {
  5205. var entry, next;
  5206. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5207. $._lastPriorityCallback = null;
  5208. next = entry.next;
  5209. $._nextCallback = next;
  5210. if (next == null)
  5211. $._lastCallback = null;
  5212. entry.callback.call$0();
  5213. }
  5214. },
  5215. _startMicrotaskLoop() {
  5216. $._isInCallbackLoop = true;
  5217. try {
  5218. A._microtaskLoop();
  5219. } finally {
  5220. $._lastPriorityCallback = null;
  5221. $._isInCallbackLoop = false;
  5222. if ($._nextCallback != null)
  5223. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5224. }
  5225. },
  5226. _scheduleAsyncCallback(callback) {
  5227. var newEntry = new A._AsyncCallbackEntry(callback),
  5228. lastCallback = $._lastCallback;
  5229. if (lastCallback == null) {
  5230. $._nextCallback = $._lastCallback = newEntry;
  5231. if (!$._isInCallbackLoop)
  5232. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5233. } else
  5234. $._lastCallback = lastCallback.next = newEntry;
  5235. },
  5236. _schedulePriorityAsyncCallback(callback) {
  5237. var entry, lastPriorityCallback, next,
  5238. t1 = $._nextCallback;
  5239. if (t1 == null) {
  5240. A._scheduleAsyncCallback(callback);
  5241. $._lastPriorityCallback = $._lastCallback;
  5242. return;
  5243. }
  5244. entry = new A._AsyncCallbackEntry(callback);
  5245. lastPriorityCallback = $._lastPriorityCallback;
  5246. if (lastPriorityCallback == null) {
  5247. entry.next = t1;
  5248. $._nextCallback = $._lastPriorityCallback = entry;
  5249. } else {
  5250. next = lastPriorityCallback.next;
  5251. entry.next = next;
  5252. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5253. if (next == null)
  5254. $._lastCallback = entry;
  5255. }
  5256. },
  5257. scheduleMicrotask(callback) {
  5258. var t1, _null = null,
  5259. currentZone = $.Zone__current;
  5260. if (B.C__RootZone === currentZone) {
  5261. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5262. return;
  5263. }
  5264. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5265. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5266. else
  5267. t1 = false;
  5268. if (t1) {
  5269. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5270. return;
  5271. }
  5272. t1 = $.Zone__current;
  5273. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5274. },
  5275. Stream_Stream$fromFuture(future, $T) {
  5276. var _null = null,
  5277. t1 = $T._eval$1("_SyncStreamController<0>"),
  5278. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5279. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5280. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5281. },
  5282. StreamIterator_StreamIterator(stream) {
  5283. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5284. },
  5285. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5286. 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>"));
  5287. },
  5288. _runGuarded(notificationHandler) {
  5289. var e, s, exception;
  5290. if (notificationHandler == null)
  5291. return;
  5292. try {
  5293. notificationHandler.call$0();
  5294. } catch (exception) {
  5295. e = A.unwrapException(exception);
  5296. s = A.getTraceFromException(exception);
  5297. $.Zone__current.handleUncaughtError$2(e, s);
  5298. }
  5299. },
  5300. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5301. var t1 = $.Zone__current,
  5302. t2 = cancelOnError ? 1 : 0,
  5303. t3 = onError != null ? 32 : 0,
  5304. t4 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5305. t5 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5306. t6 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5307. return new A._ControllerSubscription(_controller, t4, t5, t1.registerCallback$1$1(t6, type$.void), t1, t2 | t3, $T._eval$1("_ControllerSubscription<0>"));
  5308. },
  5309. _AddStreamState_makeErrorHandler(controller) {
  5310. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5311. },
  5312. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5313. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5314. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5315. },
  5316. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5317. if (handleError == null)
  5318. handleError = A.async___nullErrorHandler$closure();
  5319. if (type$.void_Function_Object_StackTrace._is(handleError))
  5320. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5321. if (type$.void_Function_Object._is(handleError))
  5322. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5323. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5324. },
  5325. _nullDataHandler(value) {
  5326. },
  5327. _nullErrorHandler(error, stackTrace) {
  5328. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5329. },
  5330. _nullDoneHandler() {
  5331. },
  5332. Timer_Timer(duration, callback) {
  5333. var t1 = $.Zone__current;
  5334. if (t1 === B.C__RootZone)
  5335. return t1.createTimer$2(duration, callback);
  5336. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5337. },
  5338. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5339. A._rootHandleError(error, stackTrace);
  5340. },
  5341. _rootHandleError(error, stackTrace) {
  5342. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5343. },
  5344. _rootRun($self, $parent, zone, f) {
  5345. var old,
  5346. t1 = $.Zone__current;
  5347. if (t1 === zone)
  5348. return f.call$0();
  5349. $.Zone__current = zone;
  5350. old = t1;
  5351. try {
  5352. t1 = f.call$0();
  5353. return t1;
  5354. } finally {
  5355. $.Zone__current = old;
  5356. }
  5357. },
  5358. _rootRunUnary($self, $parent, zone, f, arg) {
  5359. var old,
  5360. t1 = $.Zone__current;
  5361. if (t1 === zone)
  5362. return f.call$1(arg);
  5363. $.Zone__current = zone;
  5364. old = t1;
  5365. try {
  5366. t1 = f.call$1(arg);
  5367. return t1;
  5368. } finally {
  5369. $.Zone__current = old;
  5370. }
  5371. },
  5372. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5373. var old,
  5374. t1 = $.Zone__current;
  5375. if (t1 === zone)
  5376. return f.call$2(arg1, arg2);
  5377. $.Zone__current = zone;
  5378. old = t1;
  5379. try {
  5380. t1 = f.call$2(arg1, arg2);
  5381. return t1;
  5382. } finally {
  5383. $.Zone__current = old;
  5384. }
  5385. },
  5386. _rootRegisterCallback($self, $parent, zone, f) {
  5387. return f;
  5388. },
  5389. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5390. return f;
  5391. },
  5392. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5393. return f;
  5394. },
  5395. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5396. return null;
  5397. },
  5398. _rootScheduleMicrotask($self, $parent, zone, f) {
  5399. var t1, t2;
  5400. if (B.C__RootZone !== zone) {
  5401. t1 = B.C__RootZone.get$errorZone();
  5402. t2 = zone.get$errorZone();
  5403. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5404. }
  5405. A._scheduleAsyncCallback(f);
  5406. },
  5407. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5408. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5409. },
  5410. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5411. var milliseconds;
  5412. if (B.C__RootZone !== zone)
  5413. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5414. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5415. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5416. },
  5417. _rootPrint($self, $parent, zone, line) {
  5418. A.printString(line);
  5419. },
  5420. _printToZone(line) {
  5421. $.Zone__current.print$1(line);
  5422. },
  5423. _rootFork($self, $parent, zone, specification, zoneValues) {
  5424. var valueMap, t1, handleUncaughtError;
  5425. $.printToZone = A.async___printToZone$closure();
  5426. if (specification == null)
  5427. specification = B._ZoneSpecification_Ipa;
  5428. if (zoneValues == null)
  5429. valueMap = zone.get$_async$_map();
  5430. else {
  5431. t1 = type$.nullable_Object;
  5432. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5433. }
  5434. 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);
  5435. handleUncaughtError = specification.handleUncaughtError;
  5436. if (handleUncaughtError != null)
  5437. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5438. return t1;
  5439. },
  5440. runZoned(body, zoneValues, $R) {
  5441. return A._runZoned(body, zoneValues, null, $R);
  5442. },
  5443. _runZoned(body, zoneValues, specification, $R) {
  5444. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5445. },
  5446. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5447. this._box_0 = t0;
  5448. },
  5449. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5450. this._box_0 = t0;
  5451. this.div = t1;
  5452. this.span = t2;
  5453. },
  5454. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5455. this.callback = t0;
  5456. },
  5457. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5458. this.callback = t0;
  5459. },
  5460. _TimerImpl: function _TimerImpl(t0) {
  5461. this._once = t0;
  5462. this._handle = null;
  5463. this._tick = 0;
  5464. },
  5465. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5466. this.$this = t0;
  5467. this.callback = t1;
  5468. },
  5469. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5470. var _ = this;
  5471. _.$this = t0;
  5472. _.milliseconds = t1;
  5473. _.start = t2;
  5474. _.callback = t3;
  5475. },
  5476. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5477. this._future = t0;
  5478. this.isSync = false;
  5479. this.$ti = t1;
  5480. },
  5481. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5482. this.bodyFunction = t0;
  5483. },
  5484. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5485. this.bodyFunction = t0;
  5486. },
  5487. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5488. this.$protected = t0;
  5489. },
  5490. _SyncStarIterator: function _SyncStarIterator(t0) {
  5491. var _ = this;
  5492. _._body = t0;
  5493. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5494. },
  5495. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5496. this._outerHelper = t0;
  5497. this.$ti = t1;
  5498. },
  5499. AsyncError: function AsyncError(t0, t1) {
  5500. this.error = t0;
  5501. this.stackTrace = t1;
  5502. },
  5503. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3) {
  5504. var _ = this;
  5505. _._box_0 = t0;
  5506. _.cleanUp = t1;
  5507. _.eagerError = t2;
  5508. _._future = t3;
  5509. },
  5510. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5) {
  5511. var _ = this;
  5512. _._box_0 = t0;
  5513. _.pos = t1;
  5514. _._future = t2;
  5515. _.T = t3;
  5516. _.cleanUp = t4;
  5517. _.eagerError = t5;
  5518. },
  5519. _Completer: function _Completer() {
  5520. },
  5521. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5522. this.future = t0;
  5523. this.$ti = t1;
  5524. },
  5525. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5526. this.future = t0;
  5527. this.$ti = t1;
  5528. },
  5529. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5530. var _ = this;
  5531. _._nextListener = null;
  5532. _.result = t0;
  5533. _.state = t1;
  5534. _.callback = t2;
  5535. _.errorCallback = t3;
  5536. _.$ti = t4;
  5537. },
  5538. _Future: function _Future(t0, t1) {
  5539. var _ = this;
  5540. _._state = 0;
  5541. _._zone = t0;
  5542. _._resultOrListeners = null;
  5543. _.$ti = t1;
  5544. },
  5545. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5546. this.$this = t0;
  5547. this.listener = t1;
  5548. },
  5549. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5550. this._box_0 = t0;
  5551. this.$this = t1;
  5552. },
  5553. _Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {
  5554. this._box_0 = t0;
  5555. this.target = t1;
  5556. },
  5557. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5558. this.$this = t0;
  5559. this.value = t1;
  5560. },
  5561. _Future__asyncCompleteErrorObject_closure: function _Future__asyncCompleteErrorObject_closure(t0, t1) {
  5562. this.$this = t0;
  5563. this.error = t1;
  5564. },
  5565. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5566. this._box_0 = t0;
  5567. this._box_1 = t1;
  5568. this.hasError = t2;
  5569. },
  5570. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {
  5571. this.joinedResult = t0;
  5572. this.originalSource = t1;
  5573. },
  5574. _Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {
  5575. this.joinedResult = t0;
  5576. },
  5577. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5578. this._box_0 = t0;
  5579. this.sourceResult = t1;
  5580. },
  5581. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5582. this._box_1 = t0;
  5583. this._box_0 = t1;
  5584. },
  5585. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5586. this.callback = t0;
  5587. this.next = null;
  5588. },
  5589. Stream: function Stream() {
  5590. },
  5591. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5592. this.controller = t0;
  5593. this.T = t1;
  5594. },
  5595. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5596. this.controller = t0;
  5597. },
  5598. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5599. this._box_0 = t0;
  5600. this.$this = t1;
  5601. },
  5602. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5603. this._box_0 = t0;
  5604. this.future = t1;
  5605. },
  5606. _StreamController: function _StreamController() {
  5607. },
  5608. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5609. this.$this = t0;
  5610. },
  5611. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5612. this.$this = t0;
  5613. },
  5614. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5615. },
  5616. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5617. },
  5618. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5619. var _ = this;
  5620. _._varData = null;
  5621. _._state = 0;
  5622. _._doneFuture = null;
  5623. _.onListen = t0;
  5624. _.onPause = t1;
  5625. _.onResume = t2;
  5626. _.onCancel = t3;
  5627. _.$ti = t4;
  5628. },
  5629. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5630. var _ = this;
  5631. _._varData = null;
  5632. _._state = 0;
  5633. _._doneFuture = null;
  5634. _.onListen = t0;
  5635. _.onPause = t1;
  5636. _.onResume = t2;
  5637. _.onCancel = t3;
  5638. _.$ti = t4;
  5639. },
  5640. _ControllerStream: function _ControllerStream(t0, t1) {
  5641. this._controller = t0;
  5642. this.$ti = t1;
  5643. },
  5644. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5645. var _ = this;
  5646. _._controller = t0;
  5647. _._onData = t1;
  5648. _._onError = t2;
  5649. _._onDone = t3;
  5650. _._zone = t4;
  5651. _._state = t5;
  5652. _._pending = _._cancelFuture = null;
  5653. _.$ti = t6;
  5654. },
  5655. _AddStreamState: function _AddStreamState() {
  5656. },
  5657. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5658. this.controller = t0;
  5659. },
  5660. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5661. this.$this = t0;
  5662. },
  5663. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5664. this._varData = t0;
  5665. this.addStreamFuture = t1;
  5666. this.addSubscription = t2;
  5667. },
  5668. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5669. },
  5670. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5671. this.$this = t0;
  5672. this.error = t1;
  5673. this.stackTrace = t2;
  5674. },
  5675. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5676. this.$this = t0;
  5677. },
  5678. _StreamImpl: function _StreamImpl() {
  5679. },
  5680. _DelayedEvent: function _DelayedEvent() {
  5681. },
  5682. _DelayedData: function _DelayedData(t0) {
  5683. this.value = t0;
  5684. this.next = null;
  5685. },
  5686. _DelayedError: function _DelayedError(t0, t1) {
  5687. this.error = t0;
  5688. this.stackTrace = t1;
  5689. this.next = null;
  5690. },
  5691. _DelayedDone: function _DelayedDone() {
  5692. },
  5693. _PendingEvents: function _PendingEvents() {
  5694. this._state = 0;
  5695. this.lastPendingEvent = this.firstPendingEvent = null;
  5696. },
  5697. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5698. this.$this = t0;
  5699. this.dispatch = t1;
  5700. },
  5701. _StreamIterator: function _StreamIterator(t0) {
  5702. this._subscription = null;
  5703. this._stateData = t0;
  5704. this._async$_hasValue = false;
  5705. },
  5706. _ForwardingStream: function _ForwardingStream() {
  5707. },
  5708. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5709. var _ = this;
  5710. _._stream = t0;
  5711. _._subscription = null;
  5712. _._onData = t1;
  5713. _._onError = t2;
  5714. _._onDone = t3;
  5715. _._zone = t4;
  5716. _._state = t5;
  5717. _._pending = _._cancelFuture = null;
  5718. _.$ti = t6;
  5719. },
  5720. _MapStream: function _MapStream(t0, t1, t2) {
  5721. this._transform = t0;
  5722. this._async$_source = t1;
  5723. this.$ti = t2;
  5724. },
  5725. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5726. this.zone = t0;
  5727. this.$function = t1;
  5728. },
  5729. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5730. var _ = this;
  5731. _.handleUncaughtError = t0;
  5732. _.run = t1;
  5733. _.runUnary = t2;
  5734. _.runBinary = t3;
  5735. _.registerCallback = t4;
  5736. _.registerUnaryCallback = t5;
  5737. _.registerBinaryCallback = t6;
  5738. _.errorCallback = t7;
  5739. _.scheduleMicrotask = t8;
  5740. _.createTimer = t9;
  5741. _.createPeriodicTimer = t10;
  5742. _.print = t11;
  5743. _.fork = t12;
  5744. },
  5745. _ZoneDelegate: function _ZoneDelegate(t0) {
  5746. this._delegationTarget = t0;
  5747. },
  5748. _Zone: function _Zone() {
  5749. },
  5750. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5751. var _ = this;
  5752. _._run = t0;
  5753. _._runUnary = t1;
  5754. _._runBinary = t2;
  5755. _._registerCallback = t3;
  5756. _._registerUnaryCallback = t4;
  5757. _._registerBinaryCallback = t5;
  5758. _._errorCallback = t6;
  5759. _._scheduleMicrotask = t7;
  5760. _._createTimer = t8;
  5761. _._createPeriodicTimer = t9;
  5762. _._print = t10;
  5763. _._fork = t11;
  5764. _._handleUncaughtError = t12;
  5765. _._delegateCache = null;
  5766. _.parent = t13;
  5767. _._async$_map = t14;
  5768. },
  5769. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5770. this.$this = t0;
  5771. this.registered = t1;
  5772. this.R = t2;
  5773. },
  5774. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5775. var _ = this;
  5776. _.$this = t0;
  5777. _.registered = t1;
  5778. _.T = t2;
  5779. _.R = t3;
  5780. },
  5781. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5782. this.$this = t0;
  5783. this.registered = t1;
  5784. },
  5785. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5786. this.error = t0;
  5787. this.stackTrace = t1;
  5788. },
  5789. _RootZone: function _RootZone() {
  5790. },
  5791. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5792. this.$this = t0;
  5793. this.f = t1;
  5794. this.R = t2;
  5795. },
  5796. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5797. var _ = this;
  5798. _.$this = t0;
  5799. _.f = t1;
  5800. _.T = t2;
  5801. _.R = t3;
  5802. },
  5803. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5804. this.$this = t0;
  5805. this.f = t1;
  5806. },
  5807. HashMap_HashMap($K, $V) {
  5808. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5809. },
  5810. _HashMap__getTableEntry(table, key) {
  5811. var entry = table[key];
  5812. return entry === table ? null : entry;
  5813. },
  5814. _HashMap__setTableEntry(table, key, value) {
  5815. if (value == null)
  5816. table[key] = table;
  5817. else
  5818. table[key] = value;
  5819. },
  5820. _HashMap__newHashTable() {
  5821. var table = Object.create(null);
  5822. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5823. delete table["<non-identifier-key>"];
  5824. return table;
  5825. },
  5826. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5827. if (isValidKey == null)
  5828. if (hashCode == null) {
  5829. if (equals == null)
  5830. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5831. hashCode = A.collection___defaultHashCode$closure();
  5832. } else {
  5833. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5834. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5835. if (equals == null)
  5836. equals = A.collection___defaultEquals$closure();
  5837. }
  5838. else {
  5839. if (hashCode == null)
  5840. hashCode = A.collection___defaultHashCode$closure();
  5841. if (equals == null)
  5842. equals = A.collection___defaultEquals$closure();
  5843. }
  5844. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5845. },
  5846. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5847. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5848. },
  5849. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5850. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5851. },
  5852. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5853. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5854. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5855. },
  5856. LinkedHashSet_LinkedHashSet($E) {
  5857. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5858. },
  5859. LinkedHashSet_LinkedHashSet$_empty($E) {
  5860. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5861. },
  5862. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5863. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5864. },
  5865. _LinkedHashSet__newHashTable() {
  5866. var table = Object.create(null);
  5867. table["<non-identifier-key>"] = table;
  5868. delete table["<non-identifier-key>"];
  5869. return table;
  5870. },
  5871. _LinkedHashSetIterator$(_set, _modifications, $E) {
  5872. var t1 = new A._LinkedHashSetIterator(_set, _modifications, $E._eval$1("_LinkedHashSetIterator<0>"));
  5873. t1._collection$_cell = _set._collection$_first;
  5874. return t1;
  5875. },
  5876. UnmodifiableListView$(source, $E) {
  5877. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5878. },
  5879. _defaultEquals(a, b) {
  5880. return J.$eq$(a, b);
  5881. },
  5882. _defaultHashCode(a) {
  5883. return J.get$hashCode$(a);
  5884. },
  5885. HashMap_HashMap$from(other, $K, $V) {
  5886. var result = A.HashMap_HashMap($K, $V);
  5887. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5888. return result;
  5889. },
  5890. IterableExtensions_get_firstOrNull(_this) {
  5891. var t2,
  5892. t1 = A._arrayInstanceType(_this),
  5893. iterator = new J.ArrayIterator(_this, _this.length, t1._eval$1("ArrayIterator<1>"));
  5894. if (iterator.moveNext$0()) {
  5895. t2 = iterator._current;
  5896. return t2 == null ? t1._precomputed1._as(t2) : t2;
  5897. }
  5898. return null;
  5899. },
  5900. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5901. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5902. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5903. return result;
  5904. },
  5905. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5906. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5907. t1.addAll$1(0, other);
  5908. return t1;
  5909. },
  5910. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5911. var t1, _i,
  5912. result = A.LinkedHashSet_LinkedHashSet($E);
  5913. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5914. result.add$1(0, $E._as(elements[_i]));
  5915. return result;
  5916. },
  5917. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5918. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5919. t1.addAll$1(0, elements);
  5920. return t1;
  5921. },
  5922. ListBase__compareAny(a, b) {
  5923. var t1 = type$.Comparable_dynamic;
  5924. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5925. },
  5926. MapBase_mapToString(m) {
  5927. var result, t1;
  5928. if (A.isToStringVisiting(m))
  5929. return "{...}";
  5930. result = new A.StringBuffer("");
  5931. try {
  5932. t1 = {};
  5933. $.toStringVisiting.push(m);
  5934. result._contents += "{";
  5935. t1.first = true;
  5936. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5937. result._contents += "}";
  5938. } finally {
  5939. $.toStringVisiting.pop();
  5940. }
  5941. t1 = result._contents;
  5942. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5943. },
  5944. MapBase__fillMapWithIterables(map, keys, values) {
  5945. var keyIterator = keys.get$iterator(keys),
  5946. valueIterator = values.get$iterator(values),
  5947. hasNextKey = keyIterator.moveNext$0(),
  5948. hasNextValue = valueIterator.moveNext$0();
  5949. while (true) {
  5950. if (!(hasNextKey && hasNextValue))
  5951. break;
  5952. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5953. hasNextKey = keyIterator.moveNext$0();
  5954. hasNextValue = valueIterator.moveNext$0();
  5955. }
  5956. if (hasNextKey || hasNextValue)
  5957. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5958. },
  5959. ListQueue$($E) {
  5960. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5961. },
  5962. ListQueue__calculateCapacity(initialCapacity) {
  5963. return 8;
  5964. },
  5965. ListQueue__nextPowerOf2(number) {
  5966. var nextNumber;
  5967. number = (number << 1 >>> 0) - 1;
  5968. for (; true; number = nextNumber) {
  5969. nextNumber = (number & number - 1) >>> 0;
  5970. if (nextNumber === 0)
  5971. return number;
  5972. }
  5973. },
  5974. _ListQueueIterator$(queue, $E) {
  5975. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, $E._eval$1("_ListQueueIterator<0>"));
  5976. },
  5977. _UnmodifiableSetMixin__throwUnmodifiable() {
  5978. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  5979. },
  5980. _HashMap: function _HashMap(t0) {
  5981. var _ = this;
  5982. _._collection$_length = 0;
  5983. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5984. _.$ti = t0;
  5985. },
  5986. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  5987. this.$this = t0;
  5988. },
  5989. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  5990. this.$this = t0;
  5991. },
  5992. _IdentityHashMap: function _IdentityHashMap(t0) {
  5993. var _ = this;
  5994. _._collection$_length = 0;
  5995. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5996. _.$ti = t0;
  5997. },
  5998. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  5999. this._map = t0;
  6000. this.$ti = t1;
  6001. },
  6002. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {
  6003. var _ = this;
  6004. _._map = t0;
  6005. _._collection$_keys = t1;
  6006. _._offset = 0;
  6007. _._collection$_current = null;
  6008. _.$ti = t2;
  6009. },
  6010. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  6011. var _ = this;
  6012. _._equals = t0;
  6013. _._hashCode = t1;
  6014. _._validKey = t2;
  6015. _.__js_helper$_length = 0;
  6016. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  6017. _._modifications = 0;
  6018. _.$ti = t3;
  6019. },
  6020. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  6021. this.K = t0;
  6022. },
  6023. _LinkedHashSet: function _LinkedHashSet(t0) {
  6024. var _ = this;
  6025. _._collection$_length = 0;
  6026. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6027. _._collection$_modifications = 0;
  6028. _.$ti = t0;
  6029. },
  6030. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  6031. var _ = this;
  6032. _._collection$_length = 0;
  6033. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  6034. _._collection$_modifications = 0;
  6035. _.$ti = t0;
  6036. },
  6037. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  6038. this._element = t0;
  6039. this._collection$_previous = this._collection$_next = null;
  6040. },
  6041. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1, t2) {
  6042. var _ = this;
  6043. _._set = t0;
  6044. _._collection$_modifications = t1;
  6045. _._collection$_current = _._collection$_cell = null;
  6046. _.$ti = t2;
  6047. },
  6048. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  6049. this._collection$_source = t0;
  6050. this.$ti = t1;
  6051. },
  6052. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  6053. this.result = t0;
  6054. this.K = t1;
  6055. this.V = t2;
  6056. },
  6057. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  6058. this.result = t0;
  6059. this.K = t1;
  6060. this.V = t2;
  6061. },
  6062. ListBase: function ListBase() {
  6063. },
  6064. MapBase: function MapBase() {
  6065. },
  6066. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  6067. this.$this = t0;
  6068. },
  6069. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  6070. this.$this = t0;
  6071. },
  6072. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  6073. this._box_0 = t0;
  6074. this.result = t1;
  6075. },
  6076. UnmodifiableMapBase: function UnmodifiableMapBase() {
  6077. },
  6078. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  6079. this._map = t0;
  6080. this.$ti = t1;
  6081. },
  6082. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1, t2) {
  6083. var _ = this;
  6084. _._collection$_keys = t0;
  6085. _._map = t1;
  6086. _._collection$_current = null;
  6087. _.$ti = t2;
  6088. },
  6089. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  6090. },
  6091. MapView: function MapView() {
  6092. },
  6093. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  6094. this._map = t0;
  6095. this.$ti = t1;
  6096. },
  6097. ListQueue: function ListQueue(t0, t1) {
  6098. var _ = this;
  6099. _._table = t0;
  6100. _._modificationCount = _._tail = _._head = 0;
  6101. _.$ti = t1;
  6102. },
  6103. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {
  6104. var _ = this;
  6105. _._queue = t0;
  6106. _._collection$_end = t1;
  6107. _._modificationCount = t2;
  6108. _._collection$_position = t3;
  6109. _._collection$_current = null;
  6110. _.$ti = t4;
  6111. },
  6112. SetBase: function SetBase() {
  6113. },
  6114. _SetBase: function _SetBase() {
  6115. },
  6116. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6117. },
  6118. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6119. this._collection$_source = t0;
  6120. this.$ti = t1;
  6121. },
  6122. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6123. },
  6124. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6125. },
  6126. _parseJson(source, reviver) {
  6127. var e, exception, t1, parsed = null;
  6128. try {
  6129. parsed = JSON.parse(source);
  6130. } catch (exception) {
  6131. e = A.unwrapException(exception);
  6132. t1 = A.FormatException$(String(e), null, null);
  6133. throw A.wrapException(t1);
  6134. }
  6135. t1 = A._convertJsonToDartLazy(parsed);
  6136. return t1;
  6137. },
  6138. _convertJsonToDartLazy(object) {
  6139. var i;
  6140. if (object == null)
  6141. return null;
  6142. if (typeof object != "object")
  6143. return object;
  6144. if (!Array.isArray(object))
  6145. return new A._JsonMap(object, Object.create(null));
  6146. for (i = 0; i < object.length; ++i)
  6147. object[i] = A._convertJsonToDartLazy(object[i]);
  6148. return object;
  6149. },
  6150. _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {
  6151. var bytes, t1, i, b,
  6152. $length = end - start;
  6153. if ($length <= 4096)
  6154. bytes = $.$get$_Utf8Decoder__reusableBuffer();
  6155. else
  6156. bytes = new Uint8Array($length);
  6157. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6158. b = t1.$index(codeUnits, start + i);
  6159. if ((b & 255) !== b)
  6160. b = 255;
  6161. bytes[i] = b;
  6162. }
  6163. return bytes;
  6164. },
  6165. _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6166. var decoder = allowMalformed ? $.$get$_Utf8Decoder__decoderNonfatal() : $.$get$_Utf8Decoder__decoder();
  6167. if (decoder == null)
  6168. return null;
  6169. if (0 === start && end === codeUnits.length)
  6170. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6171. return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));
  6172. },
  6173. _Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6174. var t1, exception;
  6175. try {
  6176. t1 = decoder.decode(codeUnits);
  6177. return t1;
  6178. } catch (exception) {
  6179. }
  6180. return null;
  6181. },
  6182. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6183. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6184. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6185. if (firstPadding + paddingCount !== $length)
  6186. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6187. if (paddingCount > 2)
  6188. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6189. },
  6190. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6191. var t1, t2, i, byteOr, byte, outputIndex0, outputIndex1,
  6192. bits = state >>> 2,
  6193. expectedChars = 3 - (state & 3);
  6194. for (t1 = J.getInterceptor$asx(bytes), t2 = output.$flags | 0, i = start, byteOr = 0; i < end; ++i) {
  6195. byte = t1.$index(bytes, i);
  6196. byteOr = (byteOr | byte) >>> 0;
  6197. bits = (bits << 8 | byte) & 16777215;
  6198. --expectedChars;
  6199. if (expectedChars === 0) {
  6200. outputIndex0 = outputIndex + 1;
  6201. t2 & 2 && A.throwUnsupportedOperation(output);
  6202. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6203. outputIndex = outputIndex0 + 1;
  6204. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6205. outputIndex0 = outputIndex + 1;
  6206. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6207. outputIndex = outputIndex0 + 1;
  6208. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6209. bits = 0;
  6210. expectedChars = 3;
  6211. }
  6212. }
  6213. if (byteOr >= 0 && byteOr <= 255) {
  6214. if (isLast && expectedChars < 3) {
  6215. outputIndex0 = outputIndex + 1;
  6216. outputIndex1 = outputIndex0 + 1;
  6217. if (3 - expectedChars === 1) {
  6218. t2 & 2 && A.throwUnsupportedOperation(output);
  6219. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6220. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6221. output[outputIndex1] = 61;
  6222. output[outputIndex1 + 1] = 61;
  6223. } else {
  6224. t2 & 2 && A.throwUnsupportedOperation(output);
  6225. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6226. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6227. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6228. output[outputIndex1 + 1] = 61;
  6229. }
  6230. return 0;
  6231. }
  6232. return (bits << 2 | 3 - expectedChars) >>> 0;
  6233. }
  6234. for (i = start; i < end;) {
  6235. byte = t1.$index(bytes, i);
  6236. if (byte < 0 || byte > 255)
  6237. break;
  6238. ++i;
  6239. }
  6240. 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));
  6241. },
  6242. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6243. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6244. },
  6245. _defaultToEncodable(object) {
  6246. return object.toJson$0();
  6247. },
  6248. _JsonStringStringifier$(_sink, _toEncodable) {
  6249. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6250. },
  6251. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6252. var t1,
  6253. output = new A.StringBuffer(""),
  6254. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6255. stringifier.writeObject$1(object);
  6256. t1 = output._contents;
  6257. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6258. },
  6259. _Utf8Decoder_errorDescription(state) {
  6260. switch (state) {
  6261. case 65:
  6262. return "Missing extension byte";
  6263. case 67:
  6264. return "Unexpected extension byte";
  6265. case 69:
  6266. return "Invalid UTF-8 byte";
  6267. case 71:
  6268. return "Overlong encoding";
  6269. case 73:
  6270. return "Out of unicode range";
  6271. case 75:
  6272. return "Encoded surrogate";
  6273. case 77:
  6274. return "Unfinished UTF-8 octet sequence";
  6275. default:
  6276. return "";
  6277. }
  6278. },
  6279. _JsonMap: function _JsonMap(t0, t1) {
  6280. this._original = t0;
  6281. this._processed = t1;
  6282. this._data = null;
  6283. },
  6284. _JsonMap_values_closure: function _JsonMap_values_closure(t0) {
  6285. this.$this = t0;
  6286. },
  6287. _JsonMap_addAll_closure: function _JsonMap_addAll_closure(t0) {
  6288. this.$this = t0;
  6289. },
  6290. _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {
  6291. this._convert$_parent = t0;
  6292. },
  6293. _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {
  6294. },
  6295. _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {
  6296. },
  6297. AsciiCodec: function AsciiCodec() {
  6298. },
  6299. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6300. },
  6301. AsciiEncoder: function AsciiEncoder(t0) {
  6302. this._subsetMask = t0;
  6303. },
  6304. Base64Codec: function Base64Codec() {
  6305. },
  6306. Base64Encoder: function Base64Encoder() {
  6307. },
  6308. _Base64Encoder: function _Base64Encoder(t0) {
  6309. this._convert$_state = 0;
  6310. this._alphabet = t0;
  6311. },
  6312. _Base64EncoderSink: function _Base64EncoderSink() {
  6313. },
  6314. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6315. this._sink = t0;
  6316. this._encoder = t1;
  6317. },
  6318. ByteConversionSink: function ByteConversionSink() {
  6319. },
  6320. Codec: function Codec() {
  6321. },
  6322. Converter: function Converter() {
  6323. },
  6324. Encoding: function Encoding() {
  6325. },
  6326. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6327. this.unsupportedObject = t0;
  6328. this.cause = t1;
  6329. },
  6330. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6331. this.unsupportedObject = t0;
  6332. this.cause = t1;
  6333. },
  6334. JsonCodec: function JsonCodec() {
  6335. },
  6336. JsonEncoder: function JsonEncoder(t0) {
  6337. this._toEncodable = t0;
  6338. },
  6339. JsonDecoder: function JsonDecoder(t0) {
  6340. this._reviver = t0;
  6341. },
  6342. _JsonStringifier: function _JsonStringifier() {
  6343. },
  6344. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6345. this._box_0 = t0;
  6346. this.keyValueList = t1;
  6347. },
  6348. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6349. this._sink = t0;
  6350. this._seen = t1;
  6351. this._toEncodable = t2;
  6352. },
  6353. StringConversionSink: function StringConversionSink() {
  6354. },
  6355. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6356. this._stringSink = t0;
  6357. },
  6358. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6359. this._convert$_callback = t0;
  6360. this._stringSink = t1;
  6361. },
  6362. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6363. this._decoder = t0;
  6364. this._sink = t1;
  6365. this._stringSink = t2;
  6366. },
  6367. Utf8Codec: function Utf8Codec() {
  6368. },
  6369. Utf8Encoder: function Utf8Encoder() {
  6370. },
  6371. _Utf8Encoder: function _Utf8Encoder(t0) {
  6372. this._bufferIndex = 0;
  6373. this._buffer = t0;
  6374. },
  6375. Utf8Decoder: function Utf8Decoder(t0) {
  6376. this._allowMalformed = t0;
  6377. },
  6378. _Utf8Decoder: function _Utf8Decoder(t0) {
  6379. this.allowMalformed = t0;
  6380. this._convert$_state = 16;
  6381. this._charOrIndex = 0;
  6382. },
  6383. identityHashCode(object) {
  6384. return A.objectHashCode(object);
  6385. },
  6386. Function_apply($function, positionalArguments) {
  6387. return A.Primitives_applyFunction($function, positionalArguments, null);
  6388. },
  6389. Expando$() {
  6390. return new A.Expando(new WeakMap());
  6391. },
  6392. Expando__checkType(object) {
  6393. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6394. A.Expando__badExpandoKey(object);
  6395. },
  6396. Expando__badExpandoKey(object) {
  6397. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6398. },
  6399. int_parse(source, radix) {
  6400. var value = A.Primitives_parseInt(source, radix);
  6401. if (value != null)
  6402. return value;
  6403. throw A.wrapException(A.FormatException$(source, null, null));
  6404. },
  6405. double_parse(source) {
  6406. var value = A.Primitives_parseDouble(source);
  6407. if (value != null)
  6408. return value;
  6409. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6410. },
  6411. Error__throw(error, stackTrace) {
  6412. error = A.initializeExceptionWrapper(error, new Error());
  6413. error.stack = stackTrace.toString$0(0);
  6414. throw error;
  6415. },
  6416. List_List$filled($length, fill, growable, $E) {
  6417. var i,
  6418. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6419. if ($length !== 0 && fill != null)
  6420. for (i = 0; i < result.length; ++i)
  6421. result[i] = fill;
  6422. return result;
  6423. },
  6424. List_List$from(elements, growable, $E) {
  6425. var t1,
  6426. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6427. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6428. list.push(t1.get$current(t1));
  6429. if (growable)
  6430. return list;
  6431. list.$flags = 1;
  6432. return list;
  6433. },
  6434. List_List$of(elements, growable, $E) {
  6435. var t1;
  6436. if (growable)
  6437. t1 = A.List_List$_of(elements, $E);
  6438. else {
  6439. t1 = A.List_List$_of(elements, $E);
  6440. t1.$flags = 1;
  6441. t1 = t1;
  6442. }
  6443. return t1;
  6444. },
  6445. List_List$_of(elements, $E) {
  6446. var list, t1;
  6447. if (Array.isArray(elements))
  6448. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6449. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6450. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6451. list.push(t1.get$current(t1));
  6452. return list;
  6453. },
  6454. List_List$unmodifiable(elements, $E) {
  6455. var result = A.List_List$from(elements, false, $E);
  6456. result.$flags = 3;
  6457. return result;
  6458. },
  6459. String_String$fromCharCodes(charCodes, start, end) {
  6460. var t1, t2, maxLength, array, len;
  6461. A.RangeError_checkNotNegative(start, "start");
  6462. t1 = end == null;
  6463. t2 = !t1;
  6464. if (t2) {
  6465. maxLength = end - start;
  6466. if (maxLength < 0)
  6467. throw A.wrapException(A.RangeError$range(end, start, null, "end", null));
  6468. if (maxLength === 0)
  6469. return "";
  6470. }
  6471. if (Array.isArray(charCodes)) {
  6472. array = charCodes;
  6473. len = array.length;
  6474. if (t1)
  6475. end = len;
  6476. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6477. }
  6478. if (type$.NativeUint8List._is(charCodes))
  6479. return A.String__stringFromUint8List(charCodes, start, end);
  6480. if (t2)
  6481. charCodes = J.take$1$ax(charCodes, end);
  6482. if (start > 0)
  6483. charCodes = J.skip$1$ax(charCodes, start);
  6484. t1 = A.List_List$_of(charCodes, type$.int);
  6485. return A.Primitives_stringFromCharCodes(t1);
  6486. },
  6487. String_String$fromCharCode(charCode) {
  6488. return A.Primitives_stringFromCharCode(charCode);
  6489. },
  6490. String__stringFromUint8List(charCodes, start, endOrNull) {
  6491. var len = charCodes.length;
  6492. if (start >= len)
  6493. return "";
  6494. return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);
  6495. },
  6496. RegExp_RegExp(source, multiLine) {
  6497. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, ""));
  6498. },
  6499. identical(a, b) {
  6500. return a == null ? b == null : a === b;
  6501. },
  6502. StringBuffer__writeAll(string, objects, separator) {
  6503. var iterator = J.get$iterator$ax(objects);
  6504. if (!iterator.moveNext$0())
  6505. return string;
  6506. if (separator.length === 0) {
  6507. do
  6508. string += A.S(iterator.get$current(iterator));
  6509. while (iterator.moveNext$0());
  6510. } else {
  6511. string += A.S(iterator.get$current(iterator));
  6512. for (; iterator.moveNext$0();)
  6513. string = string + separator + A.S(iterator.get$current(iterator));
  6514. }
  6515. return string;
  6516. },
  6517. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6518. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6519. },
  6520. Uri_base() {
  6521. var cachedUri, uri,
  6522. current = A.Primitives_currentUri();
  6523. if (current == null)
  6524. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6525. cachedUri = $.Uri__cachedBaseUri;
  6526. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6527. return cachedUri;
  6528. uri = A.Uri_parse(current);
  6529. $.Uri__cachedBaseUri = uri;
  6530. $.Uri__cachedBaseString = current;
  6531. return uri;
  6532. },
  6533. _Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {
  6534. var t1, bytes, i, t2, byte,
  6535. _s16_ = "0123456789ABCDEF";
  6536. if (encoding === B.C_Utf8Codec) {
  6537. t1 = $.$get$_Uri__needsNoEncoding();
  6538. t1 = t1._nativeRegExp.test(text);
  6539. } else
  6540. t1 = false;
  6541. if (t1)
  6542. return text;
  6543. bytes = B.C_Utf8Encoder.convert$1(text);
  6544. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6545. byte = bytes[i];
  6546. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)
  6547. t2 += A.Primitives_stringFromCharCode(byte);
  6548. else
  6549. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6550. }
  6551. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6552. },
  6553. StackTrace_current() {
  6554. return A.getTraceFromException(new Error());
  6555. },
  6556. DateTime__fourDigits(n) {
  6557. var absN = Math.abs(n),
  6558. sign = n < 0 ? "-" : "";
  6559. if (absN >= 1000)
  6560. return "" + n;
  6561. if (absN >= 100)
  6562. return sign + "0" + absN;
  6563. if (absN >= 10)
  6564. return sign + "00" + absN;
  6565. return sign + "000" + absN;
  6566. },
  6567. DateTime__threeDigits(n) {
  6568. if (n >= 100)
  6569. return "" + n;
  6570. if (n >= 10)
  6571. return "0" + n;
  6572. return "00" + n;
  6573. },
  6574. DateTime__twoDigits(n) {
  6575. if (n >= 10)
  6576. return "" + n;
  6577. return "0" + n;
  6578. },
  6579. Duration$(microseconds, milliseconds) {
  6580. return new A.Duration(microseconds + 1000 * milliseconds);
  6581. },
  6582. EnumByName_byName(_this, $name) {
  6583. var _i, value;
  6584. for (_i = 0; _i < 4; ++_i) {
  6585. value = _this[_i];
  6586. if (value._name === $name)
  6587. return value;
  6588. }
  6589. throw A.wrapException(A.ArgumentError$value($name, "name", "No enum value with that name"));
  6590. },
  6591. Error_safeToString(object) {
  6592. if (typeof object == "number" || A._isBool(object) || object == null)
  6593. return J.toString$0$(object);
  6594. if (typeof object == "string")
  6595. return JSON.stringify(object);
  6596. return A.Primitives_safeToString(object);
  6597. },
  6598. Error_throwWithStackTrace(error, stackTrace) {
  6599. A.checkNotNullable(error, "error", type$.Object);
  6600. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6601. A.Error__throw(error, stackTrace);
  6602. },
  6603. AssertionError$(message) {
  6604. return new A.AssertionError(message);
  6605. },
  6606. ArgumentError$(message, $name) {
  6607. return new A.ArgumentError(false, null, $name, message);
  6608. },
  6609. ArgumentError$value(value, $name, message) {
  6610. return new A.ArgumentError(true, value, $name, message);
  6611. },
  6612. ArgumentError_checkNotNull(argument, $name) {
  6613. return argument;
  6614. },
  6615. RangeError$(message) {
  6616. var _null = null;
  6617. return new A.RangeError(_null, _null, false, _null, _null, message);
  6618. },
  6619. RangeError$value(value, $name, message) {
  6620. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6621. },
  6622. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6623. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6624. },
  6625. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6626. if (value < minValue || value > maxValue)
  6627. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6628. return value;
  6629. },
  6630. RangeError_checkValidRange(start, end, $length) {
  6631. if (0 > start || start > $length)
  6632. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6633. if (end != null) {
  6634. if (start > end || end > $length)
  6635. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6636. return end;
  6637. }
  6638. return $length;
  6639. },
  6640. RangeError_checkNotNegative(value, $name) {
  6641. if (value < 0)
  6642. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6643. return value;
  6644. },
  6645. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6646. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6647. },
  6648. IndexError_check(index, $length, indexable, message, $name) {
  6649. if (0 > index || index >= $length)
  6650. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6651. return index;
  6652. },
  6653. UnsupportedError$(message) {
  6654. return new A.UnsupportedError(message);
  6655. },
  6656. UnimplementedError$(message) {
  6657. return new A.UnimplementedError(message);
  6658. },
  6659. StateError$(message) {
  6660. return new A.StateError(message);
  6661. },
  6662. ConcurrentModificationError$(modifiedObject) {
  6663. return new A.ConcurrentModificationError(modifiedObject);
  6664. },
  6665. FormatException$(message, source, offset) {
  6666. return new A.FormatException(message, source, offset);
  6667. },
  6668. Iterable_Iterable$generate(count, generator, $E) {
  6669. if (count <= 0)
  6670. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6671. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6672. },
  6673. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6674. var parts, t1;
  6675. if (A.isToStringVisiting(iterable)) {
  6676. if (leftDelimiter === "(" && rightDelimiter === ")")
  6677. return "(...)";
  6678. return leftDelimiter + "..." + rightDelimiter;
  6679. }
  6680. parts = A._setArrayType([], type$.JSArray_String);
  6681. $.toStringVisiting.push(iterable);
  6682. try {
  6683. A._iterablePartsToStrings(iterable, parts);
  6684. } finally {
  6685. $.toStringVisiting.pop();
  6686. }
  6687. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6688. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6689. },
  6690. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6691. var buffer, t1;
  6692. if (A.isToStringVisiting(iterable))
  6693. return leftDelimiter + "..." + rightDelimiter;
  6694. buffer = new A.StringBuffer(leftDelimiter);
  6695. $.toStringVisiting.push(iterable);
  6696. try {
  6697. t1 = buffer;
  6698. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6699. } finally {
  6700. $.toStringVisiting.pop();
  6701. }
  6702. buffer._contents += rightDelimiter;
  6703. t1 = buffer._contents;
  6704. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6705. },
  6706. _iterablePartsToStrings(iterable, parts) {
  6707. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6708. it = iterable.get$iterator(iterable),
  6709. $length = 0, count = 0;
  6710. while (true) {
  6711. if (!($length < 80 || count < 3))
  6712. break;
  6713. if (!it.moveNext$0())
  6714. return;
  6715. next = A.S(it.get$current(it));
  6716. parts.push(next);
  6717. $length += next.length + 2;
  6718. ++count;
  6719. }
  6720. if (!it.moveNext$0()) {
  6721. if (count <= 5)
  6722. return;
  6723. ultimateString = parts.pop();
  6724. penultimateString = parts.pop();
  6725. } else {
  6726. penultimate = it.get$current(it);
  6727. ++count;
  6728. if (!it.moveNext$0()) {
  6729. if (count <= 4) {
  6730. parts.push(A.S(penultimate));
  6731. return;
  6732. }
  6733. ultimateString = A.S(penultimate);
  6734. penultimateString = parts.pop();
  6735. $length += ultimateString.length + 2;
  6736. } else {
  6737. ultimate = it.get$current(it);
  6738. ++count;
  6739. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6740. ultimate0 = it.get$current(it);
  6741. ++count;
  6742. if (count > 100) {
  6743. while (true) {
  6744. if (!($length > 75 && count > 3))
  6745. break;
  6746. $length -= parts.pop().length + 2;
  6747. --count;
  6748. }
  6749. parts.push("...");
  6750. return;
  6751. }
  6752. }
  6753. penultimateString = A.S(penultimate);
  6754. ultimateString = A.S(ultimate);
  6755. $length += ultimateString.length + penultimateString.length + 4;
  6756. }
  6757. }
  6758. if (count > parts.length + 2) {
  6759. $length += 5;
  6760. elision = "...";
  6761. } else
  6762. elision = null;
  6763. while (true) {
  6764. if (!($length > 80 && parts.length > 3))
  6765. break;
  6766. $length -= parts.pop().length + 2;
  6767. if (elision == null) {
  6768. $length += 5;
  6769. elision = "...";
  6770. }
  6771. }
  6772. if (elision != null)
  6773. parts.push(elision);
  6774. parts.push(penultimateString);
  6775. parts.push(ultimateString);
  6776. },
  6777. Map_castFrom(source, $K, $V, $K2, $V2) {
  6778. 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>"));
  6779. },
  6780. Object_hash(object1, object2, object3, object4) {
  6781. var t1;
  6782. if (B.C_SentinelValue === object3) {
  6783. t1 = J.get$hashCode$(object1);
  6784. object2 = J.get$hashCode$(object2);
  6785. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6786. }
  6787. if (B.C_SentinelValue === object4) {
  6788. t1 = J.get$hashCode$(object1);
  6789. object2 = J.get$hashCode$(object2);
  6790. object3 = J.get$hashCode$(object3);
  6791. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6792. }
  6793. t1 = J.get$hashCode$(object1);
  6794. object2 = J.get$hashCode$(object2);
  6795. object3 = J.get$hashCode$(object3);
  6796. object4 = J.get$hashCode$(object4);
  6797. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6798. return object4;
  6799. },
  6800. Object_hashAll(objects) {
  6801. var t1, _i,
  6802. hash = $.$get$_hashSeed();
  6803. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6804. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6805. return A.SystemHash_finish(hash);
  6806. },
  6807. print(object) {
  6808. var line = A.S(object),
  6809. toZone = $.printToZone;
  6810. if (toZone == null)
  6811. A.printString(line);
  6812. else
  6813. toZone.call$1(line);
  6814. },
  6815. Set_Set$unmodifiable(elements, $E) {
  6816. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6817. },
  6818. Set_castFrom(source, newSet, $S, $T) {
  6819. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6820. },
  6821. _combineSurrogatePair(start, end) {
  6822. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6823. },
  6824. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6825. var encodingName, t1,
  6826. buffer = new A.StringBuffer(""),
  6827. indices = A._setArrayType([-1], type$.JSArray_int);
  6828. if (encoding == null)
  6829. encodingName = null;
  6830. else
  6831. encodingName = "utf-8";
  6832. if (encoding == null)
  6833. encoding = B.C_AsciiCodec;
  6834. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6835. indices.push(buffer._contents.length);
  6836. buffer._contents += ",";
  6837. A.UriData__uriEncodeBytes(256, encoding.encode$1($content), buffer);
  6838. t1 = buffer._contents;
  6839. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6840. },
  6841. Uri_parse(uri) {
  6842. 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,
  6843. end = uri.length;
  6844. if (end >= 5) {
  6845. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6846. if (delta === 0)
  6847. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6848. else if (delta === 32)
  6849. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6850. }
  6851. indices = A.List_List$filled(8, 0, false, type$.int);
  6852. indices[0] = 0;
  6853. indices[1] = -1;
  6854. indices[2] = -1;
  6855. indices[7] = -1;
  6856. indices[3] = 0;
  6857. indices[4] = 0;
  6858. indices[5] = end;
  6859. indices[6] = end;
  6860. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6861. indices[7] = end;
  6862. schemeEnd = indices[1];
  6863. if (schemeEnd >= 0)
  6864. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6865. indices[7] = schemeEnd;
  6866. hostStart = indices[2] + 1;
  6867. portStart = indices[3];
  6868. pathStart = indices[4];
  6869. queryStart = indices[5];
  6870. fragmentStart = indices[6];
  6871. if (fragmentStart < queryStart)
  6872. queryStart = fragmentStart;
  6873. if (pathStart < hostStart)
  6874. pathStart = queryStart;
  6875. else if (pathStart <= schemeEnd)
  6876. pathStart = schemeEnd + 1;
  6877. if (portStart < hostStart)
  6878. portStart = pathStart;
  6879. isSimple = indices[7] < 0;
  6880. scheme = _null;
  6881. if (isSimple) {
  6882. isSimple = false;
  6883. if (!(hostStart > schemeEnd + 3)) {
  6884. t1 = portStart > 0;
  6885. if (!(t1 && portStart + 1 === pathStart)) {
  6886. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6887. if (hostStart > 0)
  6888. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6889. else
  6890. t2 = false;
  6891. else
  6892. t2 = true;
  6893. if (!t2) {
  6894. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6895. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6896. else
  6897. t2 = true;
  6898. if (!t2)
  6899. if (schemeEnd === 4) {
  6900. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6901. if (hostStart <= 0) {
  6902. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6903. schemeAuth = "file:///";
  6904. delta = 3;
  6905. } else {
  6906. schemeAuth = "file://";
  6907. delta = 2;
  6908. }
  6909. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6910. queryStart += delta;
  6911. fragmentStart += delta;
  6912. end = uri.length;
  6913. hostStart = 7;
  6914. portStart = 7;
  6915. pathStart = 7;
  6916. } else if (pathStart === queryStart) {
  6917. ++fragmentStart;
  6918. queryStart0 = queryStart + 1;
  6919. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6920. ++end;
  6921. queryStart = queryStart0;
  6922. }
  6923. scheme = "file";
  6924. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6925. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6926. fragmentStart -= 3;
  6927. pathStart0 = pathStart - 3;
  6928. queryStart -= 3;
  6929. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6930. end -= 3;
  6931. pathStart = pathStart0;
  6932. }
  6933. scheme = "http";
  6934. }
  6935. } else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6936. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6937. fragmentStart -= 4;
  6938. pathStart0 = pathStart - 4;
  6939. queryStart -= 4;
  6940. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6941. end -= 3;
  6942. pathStart = pathStart0;
  6943. }
  6944. scheme = "https";
  6945. }
  6946. isSimple = !t2;
  6947. }
  6948. }
  6949. }
  6950. }
  6951. if (isSimple)
  6952. return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6953. if (scheme == null)
  6954. if (schemeEnd > 0)
  6955. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6956. else {
  6957. if (schemeEnd === 0)
  6958. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6959. scheme = "";
  6960. }
  6961. port = _null;
  6962. if (hostStart > 0) {
  6963. userInfoStart = schemeEnd + 3;
  6964. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6965. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6966. t1 = portStart + 1;
  6967. if (t1 < pathStart) {
  6968. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6969. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6970. }
  6971. } else {
  6972. host = _null;
  6973. userInfo = "";
  6974. }
  6975. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6976. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6977. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6978. },
  6979. Uri_decodeComponent(encodedComponent) {
  6980. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6981. },
  6982. Uri__parseIPv4Address(host, start, end) {
  6983. var i, partStart, partIndex, char, part, partIndex0,
  6984. _s43_ = "IPv4 address should contain exactly 4 parts",
  6985. _s37_ = "each part must be in the range 0..255",
  6986. error = new A.Uri__parseIPv4Address_error(host),
  6987. result = new Uint8Array(4);
  6988. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  6989. char = host.charCodeAt(i);
  6990. if (char !== 46) {
  6991. if ((char ^ 48) > 9)
  6992. error.call$2("invalid character", i);
  6993. } else {
  6994. if (partIndex === 3)
  6995. error.call$2(_s43_, i);
  6996. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  6997. if (part > 255)
  6998. error.call$2(_s37_, partStart);
  6999. partIndex0 = partIndex + 1;
  7000. result[partIndex] = part;
  7001. partStart = i + 1;
  7002. partIndex = partIndex0;
  7003. }
  7004. }
  7005. if (partIndex !== 3)
  7006. error.call$2(_s43_, end);
  7007. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  7008. if (part > 255)
  7009. error.call$2(_s37_, partStart);
  7010. result[partIndex] = part;
  7011. return result;
  7012. },
  7013. Uri__validateIPvAddress(host, start, end) {
  7014. var error;
  7015. if (start === end)
  7016. throw A.wrapException(A.FormatException$("Empty IP address", host, start));
  7017. if (host.charCodeAt(start) === 118) {
  7018. error = A.Uri__validateIPvFutureAddress(host, start, end);
  7019. if (error != null)
  7020. throw A.wrapException(error);
  7021. return false;
  7022. }
  7023. A.Uri_parseIPv6Address(host, start, end);
  7024. return true;
  7025. },
  7026. Uri__validateIPvFutureAddress(host, start, end) {
  7027. var cursor, cursor0, char, ucChar,
  7028. _s38_ = "Missing hex-digit in IPvFuture address";
  7029. ++start;
  7030. for (cursor = start; true; cursor = cursor0) {
  7031. if (cursor < end) {
  7032. cursor0 = cursor + 1;
  7033. char = host.charCodeAt(cursor);
  7034. if ((char ^ 48) <= 9)
  7035. continue;
  7036. ucChar = char | 32;
  7037. if (ucChar >= 97 && ucChar <= 102)
  7038. continue;
  7039. if (char === 46) {
  7040. if (cursor0 - 1 === start)
  7041. return new A.FormatException(_s38_, host, cursor0);
  7042. cursor = cursor0;
  7043. break;
  7044. }
  7045. return new A.FormatException("Unexpected character", host, cursor0 - 1);
  7046. }
  7047. if (cursor - 1 === start)
  7048. return new A.FormatException(_s38_, host, cursor);
  7049. return new A.FormatException("Missing '.' in IPvFuture address", host, cursor);
  7050. }
  7051. if (cursor === end)
  7052. return new A.FormatException("Missing address in IPvFuture address, host, cursor", null, null);
  7053. for (; true;) {
  7054. if ((string$.x00_____.charCodeAt(host.charCodeAt(cursor)) & 16) !== 0) {
  7055. ++cursor;
  7056. if (cursor < end)
  7057. continue;
  7058. return null;
  7059. }
  7060. return new A.FormatException("Invalid IPvFuture address character", host, cursor);
  7061. }
  7062. },
  7063. Uri_parseIPv6Address(host, start, end) {
  7064. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  7065. error = new A.Uri_parseIPv6Address_error(host),
  7066. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  7067. if (host.length < 2)
  7068. error.call$2("address is too short", _null);
  7069. parts = A._setArrayType([], type$.JSArray_int);
  7070. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  7071. char = host.charCodeAt(i);
  7072. if (char === 58) {
  7073. if (i === start) {
  7074. ++i;
  7075. if (host.charCodeAt(i) !== 58)
  7076. error.call$2("invalid start colon.", i);
  7077. partStart = i;
  7078. }
  7079. if (i === partStart) {
  7080. if (wildcardSeen)
  7081. error.call$2("only one wildcard `::` is allowed", i);
  7082. parts.push(-1);
  7083. wildcardSeen = true;
  7084. } else
  7085. parts.push(parseHex.call$2(partStart, i));
  7086. partStart = i + 1;
  7087. } else if (char === 46)
  7088. seenDot = true;
  7089. }
  7090. if (parts.length === 0)
  7091. error.call$2("too few parts", _null);
  7092. atEnd = partStart === end;
  7093. t1 = B.JSArray_methods.get$last(parts);
  7094. if (atEnd && t1 !== -1)
  7095. error.call$2("expected a part after last `:`", end);
  7096. if (!atEnd)
  7097. if (!seenDot)
  7098. parts.push(parseHex.call$2(partStart, end));
  7099. else {
  7100. last = A.Uri__parseIPv4Address(host, partStart, end);
  7101. parts.push((last[0] << 8 | last[1]) >>> 0);
  7102. parts.push((last[2] << 8 | last[3]) >>> 0);
  7103. }
  7104. if (wildcardSeen) {
  7105. if (parts.length > 7)
  7106. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  7107. } else if (parts.length !== 8)
  7108. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  7109. bytes = new Uint8Array(16);
  7110. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  7111. value = parts[i];
  7112. if (value === -1)
  7113. for (j = 0; j < wildCardLength; ++j) {
  7114. bytes[index] = 0;
  7115. bytes[index + 1] = 0;
  7116. index += 2;
  7117. }
  7118. else {
  7119. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  7120. bytes[index + 1] = value & 255;
  7121. index += 2;
  7122. }
  7123. }
  7124. return bytes;
  7125. },
  7126. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  7127. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  7128. },
  7129. _Uri__Uri(host, path, pathSegments, scheme) {
  7130. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  7131. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  7132. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  7133. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  7134. query = A._Uri__makeQuery(_null, 0, 0, _null);
  7135. fragment = A._Uri__makeFragment(_null, 0, 0);
  7136. port = A._Uri__makePort(_null, scheme);
  7137. isFile = scheme === "file";
  7138. if (host == null)
  7139. t1 = userInfo.length !== 0 || port != null || isFile;
  7140. else
  7141. t1 = false;
  7142. if (t1)
  7143. host = "";
  7144. t1 = host == null;
  7145. hasAuthority = !t1;
  7146. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  7147. t2 = scheme.length === 0;
  7148. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  7149. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  7150. else
  7151. path = A._Uri__removeDotSegments(path);
  7152. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  7153. },
  7154. _Uri__defaultPort(scheme) {
  7155. if (scheme === "http")
  7156. return 80;
  7157. if (scheme === "https")
  7158. return 443;
  7159. return 0;
  7160. },
  7161. _Uri__fail(uri, index, message) {
  7162. throw A.wrapException(A.FormatException$(message, uri, index));
  7163. },
  7164. _Uri__Uri$file(path, windows) {
  7165. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  7166. },
  7167. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  7168. var t1, _i, segment;
  7169. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  7170. segment = segments[_i];
  7171. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7172. t1 = A.UnsupportedError$("Illegal path character " + segment);
  7173. throw A.wrapException(t1);
  7174. }
  7175. }
  7176. },
  7177. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7178. var t1, t2, t3, t4;
  7179. 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();) {
  7180. t3 = t1.__internal$_current;
  7181. if (t3 == null)
  7182. t3 = t2._as(t3);
  7183. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7184. if (A.stringContainsUnchecked(t3, t4, 0))
  7185. if (argumentError)
  7186. throw A.wrapException(A.ArgumentError$("Illegal character in path", null));
  7187. else
  7188. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7189. }
  7190. },
  7191. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7192. var t1,
  7193. _s21_ = "Illegal drive letter ";
  7194. if (!(65 <= charCode && charCode <= 90))
  7195. t1 = 97 <= charCode && charCode <= 122;
  7196. else
  7197. t1 = true;
  7198. if (t1)
  7199. return;
  7200. if (argumentError)
  7201. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7202. else
  7203. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7204. },
  7205. _Uri__makeFileUri(path, slashTerminated) {
  7206. var _null = null,
  7207. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7208. if (B.JSString_methods.startsWith$1(path, "/"))
  7209. return A._Uri__Uri(_null, _null, segments, "file");
  7210. else
  7211. return A._Uri__Uri(_null, _null, segments, _null);
  7212. },
  7213. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7214. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7215. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7216. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7217. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7218. else {
  7219. path = B.JSString_methods.substring$1(path, 4);
  7220. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7221. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7222. }
  7223. else
  7224. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7225. t1 = path.length;
  7226. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7227. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7228. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7229. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7230. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7231. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7232. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7233. }
  7234. if (B.JSString_methods.startsWith$1(path, _s1_))
  7235. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7236. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7237. t1 = pathStart < 0;
  7238. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7239. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7240. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7241. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7242. } else {
  7243. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7244. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7245. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7246. }
  7247. else {
  7248. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7249. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7250. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7251. }
  7252. },
  7253. _Uri__makePort(port, scheme) {
  7254. if (port != null && port === A._Uri__defaultPort(scheme))
  7255. return null;
  7256. return port;
  7257. },
  7258. _Uri__makeHost(host, start, end, strictIPv6) {
  7259. var index, t1, zoneID, index0, zoneIDstart, isIPv6, hostChars, i;
  7260. if (host == null)
  7261. return null;
  7262. if (start === end)
  7263. return "";
  7264. if (host.charCodeAt(start) === 91) {
  7265. index = end - 1;
  7266. if (host.charCodeAt(index) !== 93)
  7267. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7268. t1 = start + 1;
  7269. zoneID = "";
  7270. if (host.charCodeAt(t1) !== 118) {
  7271. index0 = A._Uri__checkZoneID(host, t1, index);
  7272. if (index0 < index) {
  7273. zoneIDstart = index0 + 1;
  7274. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index0 + 3 : zoneIDstart, index, "%25");
  7275. }
  7276. index = index0;
  7277. }
  7278. isIPv6 = A.Uri__validateIPvAddress(host, t1, index);
  7279. hostChars = B.JSString_methods.substring$2(host, t1, index);
  7280. return "[" + (isIPv6 ? hostChars.toLowerCase() : hostChars) + zoneID + "]";
  7281. }
  7282. for (i = start; i < end; ++i)
  7283. if (host.charCodeAt(i) === 58) {
  7284. index = B.JSString_methods.indexOf$2(host, "%", start);
  7285. index = index >= start && index < end ? index : end;
  7286. if (index < end) {
  7287. zoneIDstart = index + 1;
  7288. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7289. } else
  7290. zoneID = "";
  7291. A.Uri_parseIPv6Address(host, start, index);
  7292. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7293. }
  7294. return A._Uri__normalizeRegName(host, start, end);
  7295. },
  7296. _Uri__checkZoneID(host, start, end) {
  7297. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7298. return index >= start && index < end ? index : end;
  7299. },
  7300. _Uri__normalizeZoneID(host, start, end, prefix) {
  7301. var index, sectionStart, isNormalized, char, replacement, t1, t2, sourceLength, tail, slice,
  7302. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7303. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7304. char = host.charCodeAt(index);
  7305. if (char === 37) {
  7306. replacement = A._Uri__normalizeEscape(host, index, true);
  7307. t1 = replacement == null;
  7308. if (t1 && isNormalized) {
  7309. index += 3;
  7310. continue;
  7311. }
  7312. if (buffer == null)
  7313. buffer = new A.StringBuffer("");
  7314. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7315. if (t1)
  7316. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7317. else if (replacement === "%")
  7318. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7319. buffer._contents = t2 + replacement;
  7320. index += 3;
  7321. sectionStart = index;
  7322. isNormalized = true;
  7323. } else if (char < 127 && (string$.x00_____.charCodeAt(char) & 1) !== 0) {
  7324. if (isNormalized && 65 <= char && 90 >= char) {
  7325. if (buffer == null)
  7326. buffer = new A.StringBuffer("");
  7327. if (sectionStart < index) {
  7328. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7329. sectionStart = index;
  7330. }
  7331. isNormalized = false;
  7332. }
  7333. ++index;
  7334. } else {
  7335. sourceLength = 1;
  7336. if ((char & 64512) === 55296 && index + 1 < end) {
  7337. tail = host.charCodeAt(index + 1);
  7338. if ((tail & 64512) === 56320) {
  7339. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7340. sourceLength = 2;
  7341. }
  7342. }
  7343. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7344. if (buffer == null) {
  7345. buffer = new A.StringBuffer("");
  7346. t1 = buffer;
  7347. } else
  7348. t1 = buffer;
  7349. t1._contents += slice;
  7350. t2 = A._Uri__escapeChar(char);
  7351. t1._contents += t2;
  7352. index += sourceLength;
  7353. sectionStart = index;
  7354. }
  7355. }
  7356. if (buffer == null)
  7357. return B.JSString_methods.substring$2(host, start, end);
  7358. if (sectionStart < end) {
  7359. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7360. buffer._contents += slice;
  7361. }
  7362. t1 = buffer._contents;
  7363. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7364. },
  7365. _Uri__normalizeRegName(host, start, end) {
  7366. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail,
  7367. _s128_ = string$.x00_____;
  7368. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7369. char = host.charCodeAt(index);
  7370. if (char === 37) {
  7371. replacement = A._Uri__normalizeEscape(host, index, true);
  7372. t1 = replacement == null;
  7373. if (t1 && isNormalized) {
  7374. index += 3;
  7375. continue;
  7376. }
  7377. if (buffer == null)
  7378. buffer = new A.StringBuffer("");
  7379. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7380. if (!isNormalized)
  7381. slice = slice.toLowerCase();
  7382. t2 = buffer._contents += slice;
  7383. sourceLength = 3;
  7384. if (t1)
  7385. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7386. else if (replacement === "%") {
  7387. replacement = "%25";
  7388. sourceLength = 1;
  7389. }
  7390. buffer._contents = t2 + replacement;
  7391. index += sourceLength;
  7392. sectionStart = index;
  7393. isNormalized = true;
  7394. } else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {
  7395. if (isNormalized && 65 <= char && 90 >= char) {
  7396. if (buffer == null)
  7397. buffer = new A.StringBuffer("");
  7398. if (sectionStart < index) {
  7399. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7400. sectionStart = index;
  7401. }
  7402. isNormalized = false;
  7403. }
  7404. ++index;
  7405. } else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)
  7406. A._Uri__fail(host, index, "Invalid character");
  7407. else {
  7408. sourceLength = 1;
  7409. if ((char & 64512) === 55296 && index + 1 < end) {
  7410. tail = host.charCodeAt(index + 1);
  7411. if ((tail & 64512) === 56320) {
  7412. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7413. sourceLength = 2;
  7414. }
  7415. }
  7416. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7417. if (!isNormalized)
  7418. slice = slice.toLowerCase();
  7419. if (buffer == null) {
  7420. buffer = new A.StringBuffer("");
  7421. t1 = buffer;
  7422. } else
  7423. t1 = buffer;
  7424. t1._contents += slice;
  7425. t2 = A._Uri__escapeChar(char);
  7426. t1._contents += t2;
  7427. index += sourceLength;
  7428. sectionStart = index;
  7429. }
  7430. }
  7431. if (buffer == null)
  7432. return B.JSString_methods.substring$2(host, start, end);
  7433. if (sectionStart < end) {
  7434. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7435. if (!isNormalized)
  7436. slice = slice.toLowerCase();
  7437. buffer._contents += slice;
  7438. }
  7439. t1 = buffer._contents;
  7440. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7441. },
  7442. _Uri__makeScheme(scheme, start, end) {
  7443. var i, containsUpperCase, codeUnit;
  7444. if (start === end)
  7445. return "";
  7446. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7447. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7448. for (i = start, containsUpperCase = false; i < end; ++i) {
  7449. codeUnit = scheme.charCodeAt(i);
  7450. if (!(codeUnit < 128 && (string$.x00_____.charCodeAt(codeUnit) & 8) !== 0))
  7451. A._Uri__fail(scheme, i, "Illegal scheme character");
  7452. if (65 <= codeUnit && codeUnit <= 90)
  7453. containsUpperCase = true;
  7454. }
  7455. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7456. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7457. },
  7458. _Uri__canonicalizeScheme(scheme) {
  7459. if (scheme === "http")
  7460. return "http";
  7461. if (scheme === "file")
  7462. return "file";
  7463. if (scheme === "https")
  7464. return "https";
  7465. if (scheme === "package")
  7466. return "package";
  7467. return scheme;
  7468. },
  7469. _Uri__makeUserInfo(userInfo, start, end) {
  7470. if (userInfo == null)
  7471. return "";
  7472. return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);
  7473. },
  7474. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7475. var result,
  7476. isFile = scheme === "file",
  7477. ensureLeadingSlash = isFile || hasAuthority;
  7478. if (path == null) {
  7479. if (pathSegments == null)
  7480. return isFile ? "/" : "";
  7481. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7482. } else if (pathSegments != null)
  7483. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7484. else
  7485. result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);
  7486. if (result.length === 0) {
  7487. if (isFile)
  7488. return "/";
  7489. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7490. result = "/" + result;
  7491. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7492. },
  7493. _Uri__normalizePath(path, scheme, hasAuthority) {
  7494. var t1 = scheme.length === 0;
  7495. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7496. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7497. return A._Uri__removeDotSegments(path);
  7498. },
  7499. _Uri__makeQuery(query, start, end, queryParameters) {
  7500. if (query != null)
  7501. return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);
  7502. return null;
  7503. },
  7504. _Uri__makeFragment(fragment, start, end) {
  7505. if (fragment == null)
  7506. return null;
  7507. return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);
  7508. },
  7509. _Uri__normalizeEscape(source, index, lowerCase) {
  7510. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7511. t1 = index + 2;
  7512. if (t1 >= source.length)
  7513. return "%";
  7514. firstDigit = source.charCodeAt(index + 1);
  7515. secondDigit = source.charCodeAt(t1);
  7516. firstDigitValue = A.hexDigitValue(firstDigit);
  7517. secondDigitValue = A.hexDigitValue(secondDigit);
  7518. if (firstDigitValue < 0 || secondDigitValue < 0)
  7519. return "%";
  7520. value = firstDigitValue * 16 + secondDigitValue;
  7521. if (value < 127 && (string$.x00_____.charCodeAt(value) & 1) !== 0)
  7522. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7523. if (firstDigit >= 97 || secondDigit >= 97)
  7524. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7525. return null;
  7526. },
  7527. _Uri__escapeChar(char) {
  7528. var codeUnits, flag, encodedBytes, index, byte,
  7529. _s16_ = "0123456789ABCDEF";
  7530. if (char <= 127) {
  7531. codeUnits = new Uint8Array(3);
  7532. codeUnits[0] = 37;
  7533. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7534. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7535. } else {
  7536. if (char > 2047)
  7537. if (char > 65535) {
  7538. flag = 240;
  7539. encodedBytes = 4;
  7540. } else {
  7541. flag = 224;
  7542. encodedBytes = 3;
  7543. }
  7544. else {
  7545. flag = 192;
  7546. encodedBytes = 2;
  7547. }
  7548. codeUnits = new Uint8Array(3 * encodedBytes);
  7549. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7550. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7551. codeUnits[index] = 37;
  7552. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7553. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7554. index += 3;
  7555. }
  7556. }
  7557. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7558. },
  7559. _Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7560. var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);
  7561. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7562. },
  7563. _Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {
  7564. var t1, index, sectionStart, buffer, char, sourceLength, replacement, t2, tail, _null = null,
  7565. _s128_ = string$.x00_____;
  7566. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7567. char = component.charCodeAt(index);
  7568. if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)
  7569. ++index;
  7570. else {
  7571. sourceLength = 1;
  7572. if (char === 37) {
  7573. replacement = A._Uri__normalizeEscape(component, index, false);
  7574. if (replacement == null) {
  7575. index += 3;
  7576. continue;
  7577. }
  7578. if ("%" === replacement)
  7579. replacement = "%25";
  7580. else
  7581. sourceLength = 3;
  7582. } else if (char === 92 && replaceBackslash)
  7583. replacement = "/";
  7584. else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {
  7585. A._Uri__fail(component, index, "Invalid character");
  7586. sourceLength = _null;
  7587. replacement = sourceLength;
  7588. } else {
  7589. if ((char & 64512) === 55296) {
  7590. t2 = index + 1;
  7591. if (t2 < end) {
  7592. tail = component.charCodeAt(t2);
  7593. if ((tail & 64512) === 56320) {
  7594. char = 65536 + ((char & 1023) << 10) + (tail & 1023);
  7595. sourceLength = 2;
  7596. }
  7597. }
  7598. }
  7599. replacement = A._Uri__escapeChar(char);
  7600. }
  7601. if (buffer == null) {
  7602. buffer = new A.StringBuffer("");
  7603. t2 = buffer;
  7604. } else
  7605. t2 = buffer;
  7606. t2._contents = (t2._contents += B.JSString_methods.substring$2(component, sectionStart, index)) + replacement;
  7607. index += sourceLength;
  7608. sectionStart = index;
  7609. }
  7610. }
  7611. if (buffer == null)
  7612. return _null;
  7613. if (sectionStart < end) {
  7614. t1 = B.JSString_methods.substring$2(component, sectionStart, end);
  7615. buffer._contents += t1;
  7616. }
  7617. t1 = buffer._contents;
  7618. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7619. },
  7620. _Uri__mayContainDotSegments(path) {
  7621. if (B.JSString_methods.startsWith$1(path, "."))
  7622. return true;
  7623. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7624. },
  7625. _Uri__removeDotSegments(path) {
  7626. var output, t1, t2, appendSlash, _i, segment;
  7627. if (!A._Uri__mayContainDotSegments(path))
  7628. return path;
  7629. output = A._setArrayType([], type$.JSArray_String);
  7630. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7631. segment = t1[_i];
  7632. if (segment === "..") {
  7633. if (output.length !== 0) {
  7634. output.pop();
  7635. if (output.length === 0)
  7636. output.push("");
  7637. }
  7638. appendSlash = true;
  7639. } else {
  7640. appendSlash = "." === segment;
  7641. if (!appendSlash)
  7642. output.push(segment);
  7643. }
  7644. }
  7645. if (appendSlash)
  7646. output.push("");
  7647. return B.JSArray_methods.join$1(output, "/");
  7648. },
  7649. _Uri__normalizeRelativePath(path, allowScheme) {
  7650. var output, t1, t2, appendSlash, _i, segment;
  7651. if (!A._Uri__mayContainDotSegments(path))
  7652. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7653. output = A._setArrayType([], type$.JSArray_String);
  7654. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7655. segment = t1[_i];
  7656. if (".." === segment) {
  7657. appendSlash = output.length !== 0 && B.JSArray_methods.get$last(output) !== "..";
  7658. if (appendSlash)
  7659. output.pop();
  7660. else
  7661. output.push("..");
  7662. } else {
  7663. appendSlash = "." === segment;
  7664. if (!appendSlash)
  7665. output.push(segment);
  7666. }
  7667. }
  7668. t1 = output.length;
  7669. if (t1 !== 0)
  7670. t1 = t1 === 1 && output[0].length === 0;
  7671. else
  7672. t1 = true;
  7673. if (t1)
  7674. return "./";
  7675. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7676. output.push("");
  7677. if (!allowScheme)
  7678. output[0] = A._Uri__escapeScheme(output[0]);
  7679. return B.JSArray_methods.join$1(output, "/");
  7680. },
  7681. _Uri__escapeScheme(path) {
  7682. var i, char,
  7683. t1 = path.length;
  7684. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7685. for (i = 1; i < t1; ++i) {
  7686. char = path.charCodeAt(i);
  7687. if (char === 58)
  7688. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7689. if (char > 127 || (string$.x00_____.charCodeAt(char) & 8) === 0)
  7690. break;
  7691. }
  7692. return path;
  7693. },
  7694. _Uri__packageNameEnd(uri, path) {
  7695. if (uri.isScheme$1("package") && uri._host == null)
  7696. return A._skipPackageNameChars(path, 0, path.length);
  7697. return -1;
  7698. },
  7699. _Uri__toWindowsFilePath(uri) {
  7700. var t2, hasDriveLetter, host,
  7701. segments = uri.get$pathSegments(),
  7702. t1 = segments.length;
  7703. if (t1 > 0) {
  7704. t2 = segments[0];
  7705. hasDriveLetter = t2.length === 2 && t2.charCodeAt(1) === 58;
  7706. } else
  7707. hasDriveLetter = false;
  7708. if (hasDriveLetter) {
  7709. A._Uri__checkWindowsDriveLetter(segments[0].charCodeAt(0), false);
  7710. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7711. } else
  7712. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7713. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "\\" : "";
  7714. if (uri.get$hasAuthority()) {
  7715. host = uri.get$host();
  7716. if (host.length !== 0)
  7717. t2 = t2 + "\\" + host + "\\";
  7718. }
  7719. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7720. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7721. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7722. },
  7723. _Uri__hexCharPairToByte(s, pos) {
  7724. var byte, i, charCode;
  7725. for (byte = 0, i = 0; i < 2; ++i) {
  7726. charCode = s.charCodeAt(pos + i);
  7727. if (48 <= charCode && charCode <= 57)
  7728. byte = byte * 16 + charCode - 48;
  7729. else {
  7730. charCode |= 32;
  7731. if (97 <= charCode && charCode <= 102)
  7732. byte = byte * 16 + charCode - 87;
  7733. else
  7734. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7735. }
  7736. }
  7737. return byte;
  7738. },
  7739. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7740. var simple, codeUnit, t1, bytes,
  7741. i = start;
  7742. while (true) {
  7743. if (!(i < end)) {
  7744. simple = true;
  7745. break;
  7746. }
  7747. codeUnit = text.charCodeAt(i);
  7748. if (codeUnit <= 127)
  7749. t1 = codeUnit === 37;
  7750. else
  7751. t1 = true;
  7752. if (t1) {
  7753. simple = false;
  7754. break;
  7755. }
  7756. ++i;
  7757. }
  7758. if (simple)
  7759. if (B.C_Utf8Codec === encoding)
  7760. return B.JSString_methods.substring$2(text, start, end);
  7761. else
  7762. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7763. else {
  7764. bytes = A._setArrayType([], type$.JSArray_int);
  7765. for (t1 = text.length, i = start; i < end; ++i) {
  7766. codeUnit = text.charCodeAt(i);
  7767. if (codeUnit > 127)
  7768. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7769. if (codeUnit === 37) {
  7770. if (i + 3 > t1)
  7771. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7772. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7773. i += 2;
  7774. } else
  7775. bytes.push(codeUnit);
  7776. }
  7777. }
  7778. return B.Utf8Decoder_false.convert$1(bytes);
  7779. },
  7780. _Uri__isAlphabeticCharacter(codeUnit) {
  7781. var lowerCase = codeUnit | 32;
  7782. return 97 <= lowerCase && lowerCase <= 122;
  7783. },
  7784. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7785. var t1, slashIndex;
  7786. if (mimeType != null)
  7787. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7788. else
  7789. t1 = true;
  7790. if (t1)
  7791. mimeType = "";
  7792. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7793. t1 = buffer._contents += mimeType;
  7794. else {
  7795. slashIndex = A.UriData__validateMimeType(mimeType);
  7796. if (slashIndex < 0)
  7797. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7798. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7799. buffer._contents = (buffer._contents += t1) + "/";
  7800. t1 = A._Uri__uriEncode(512, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7801. t1 = buffer._contents += t1;
  7802. }
  7803. if (charsetName != null) {
  7804. indices.push(t1.length);
  7805. indices.push(buffer._contents.length + 8);
  7806. buffer._contents += ";charset=";
  7807. t1 = A._Uri__uriEncode(512, charsetName, B.C_Utf8Codec, false);
  7808. buffer._contents += t1;
  7809. }
  7810. },
  7811. UriData__validateMimeType(mimeType) {
  7812. var t1, slashIndex, i;
  7813. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7814. if (mimeType.charCodeAt(i) !== 47)
  7815. continue;
  7816. if (slashIndex < 0) {
  7817. slashIndex = i;
  7818. continue;
  7819. }
  7820. return -1;
  7821. }
  7822. return slashIndex;
  7823. },
  7824. UriData__parse(text, start, sourceUri) {
  7825. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7826. _s17_ = "Invalid MIME type",
  7827. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7828. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7829. char = text.charCodeAt(i);
  7830. if (char === 44 || char === 59)
  7831. break;
  7832. if (char === 47) {
  7833. if (slashIndex < 0) {
  7834. slashIndex = i;
  7835. continue;
  7836. }
  7837. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7838. }
  7839. }
  7840. if (slashIndex < 0 && i > start)
  7841. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7842. for (; char !== 44;) {
  7843. indices.push(i);
  7844. ++i;
  7845. for (equalsIndex = -1; i < t1; ++i) {
  7846. char = text.charCodeAt(i);
  7847. if (char === 61) {
  7848. if (equalsIndex < 0)
  7849. equalsIndex = i;
  7850. } else if (char === 59 || char === 44)
  7851. break;
  7852. }
  7853. if (equalsIndex >= 0)
  7854. indices.push(equalsIndex);
  7855. else {
  7856. lastSeparator = B.JSArray_methods.get$last(indices);
  7857. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7858. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7859. break;
  7860. }
  7861. }
  7862. indices.push(i);
  7863. t2 = i + 1;
  7864. if ((indices.length & 1) === 1)
  7865. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7866. else {
  7867. data = A._Uri__normalize(text, t2, t1, 256, true, false);
  7868. if (data != null)
  7869. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7870. }
  7871. return new A.UriData(text, indices, sourceUri);
  7872. },
  7873. UriData__uriEncodeBytes(canonicalMask, bytes, buffer) {
  7874. var t1, byteOr, i, byte, t2,
  7875. _s16_ = "0123456789ABCDEF";
  7876. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7877. byte = bytes[i];
  7878. byteOr |= byte;
  7879. if (byte < 128 && (string$.x00_____.charCodeAt(byte) & canonicalMask) !== 0) {
  7880. t2 = A.Primitives_stringFromCharCode(byte);
  7881. buffer._contents += t2;
  7882. } else {
  7883. t2 = A.Primitives_stringFromCharCode(37);
  7884. buffer._contents += t2;
  7885. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7886. buffer._contents += t2;
  7887. t2 = A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7888. buffer._contents += t2;
  7889. }
  7890. }
  7891. if ((byteOr & 4294967040) !== 0)
  7892. for (i = 0; i < t1; ++i) {
  7893. byte = bytes[i];
  7894. if (byte > 255)
  7895. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7896. }
  7897. },
  7898. _scan(uri, start, end, state, indices) {
  7899. var i, char, transition;
  7900. for (i = start; i < end; ++i) {
  7901. char = uri.charCodeAt(i) ^ 96;
  7902. if (char > 95)
  7903. char = 31;
  7904. 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);
  7905. state = transition & 31;
  7906. indices[transition >>> 5] = i;
  7907. }
  7908. return state;
  7909. },
  7910. _SimpleUri__packageNameEnd(uri) {
  7911. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7912. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7913. return -1;
  7914. },
  7915. _skipPackageNameChars(source, start, end) {
  7916. var i, dots, char;
  7917. for (i = start, dots = 0; i < end; ++i) {
  7918. char = source.charCodeAt(i);
  7919. if (char === 47)
  7920. return dots !== 0 ? i : -1;
  7921. if (char === 37 || char === 58)
  7922. return -1;
  7923. dots |= char ^ 46;
  7924. }
  7925. return -1;
  7926. },
  7927. _caseInsensitiveCompareStart(prefix, string, start) {
  7928. var t1, result, i, stringChar, delta, lowerChar;
  7929. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7930. stringChar = string.charCodeAt(start + i);
  7931. delta = prefix.charCodeAt(i) ^ stringChar;
  7932. if (delta !== 0) {
  7933. if (delta === 32) {
  7934. lowerChar = stringChar | delta;
  7935. if (97 <= lowerChar && lowerChar <= 122) {
  7936. result = 32;
  7937. continue;
  7938. }
  7939. }
  7940. return -1;
  7941. }
  7942. }
  7943. return result;
  7944. },
  7945. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7946. this._box_0 = t0;
  7947. this.sb = t1;
  7948. },
  7949. DateTime: function DateTime(t0, t1, t2) {
  7950. this._value = t0;
  7951. this._microsecond = t1;
  7952. this.isUtc = t2;
  7953. },
  7954. Duration: function Duration(t0) {
  7955. this._duration = t0;
  7956. },
  7957. _Enum: function _Enum() {
  7958. },
  7959. Error: function Error() {
  7960. },
  7961. AssertionError: function AssertionError(t0) {
  7962. this.message = t0;
  7963. },
  7964. TypeError: function TypeError() {
  7965. },
  7966. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  7967. var _ = this;
  7968. _._hasValue = t0;
  7969. _.invalidValue = t1;
  7970. _.name = t2;
  7971. _.message = t3;
  7972. },
  7973. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  7974. var _ = this;
  7975. _.start = t0;
  7976. _.end = t1;
  7977. _._hasValue = t2;
  7978. _.invalidValue = t3;
  7979. _.name = t4;
  7980. _.message = t5;
  7981. },
  7982. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  7983. var _ = this;
  7984. _.length = t0;
  7985. _._hasValue = t1;
  7986. _.invalidValue = t2;
  7987. _.name = t3;
  7988. _.message = t4;
  7989. },
  7990. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  7991. var _ = this;
  7992. _._core$_receiver = t0;
  7993. _._memberName = t1;
  7994. _._core$_arguments = t2;
  7995. _._namedArguments = t3;
  7996. },
  7997. UnsupportedError: function UnsupportedError(t0) {
  7998. this.message = t0;
  7999. },
  8000. UnimplementedError: function UnimplementedError(t0) {
  8001. this.message = t0;
  8002. },
  8003. StateError: function StateError(t0) {
  8004. this.message = t0;
  8005. },
  8006. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  8007. this.modifiedObject = t0;
  8008. },
  8009. OutOfMemoryError: function OutOfMemoryError() {
  8010. },
  8011. StackOverflowError: function StackOverflowError() {
  8012. },
  8013. _Exception: function _Exception(t0) {
  8014. this.message = t0;
  8015. },
  8016. FormatException: function FormatException(t0, t1, t2) {
  8017. this.message = t0;
  8018. this.source = t1;
  8019. this.offset = t2;
  8020. },
  8021. Iterable: function Iterable() {
  8022. },
  8023. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  8024. this.length = t0;
  8025. this._generator = t1;
  8026. this.$ti = t2;
  8027. },
  8028. MapEntry: function MapEntry(t0, t1, t2) {
  8029. this.key = t0;
  8030. this.value = t1;
  8031. this.$ti = t2;
  8032. },
  8033. Null: function Null() {
  8034. },
  8035. Object: function Object() {
  8036. },
  8037. _StringStackTrace: function _StringStackTrace(t0) {
  8038. this._stackTrace = t0;
  8039. },
  8040. Runes: function Runes(t0) {
  8041. this.string = t0;
  8042. },
  8043. RuneIterator: function RuneIterator(t0) {
  8044. var _ = this;
  8045. _.string = t0;
  8046. _._nextPosition = _._position = 0;
  8047. _._currentCodePoint = -1;
  8048. },
  8049. StringBuffer: function StringBuffer(t0) {
  8050. this._contents = t0;
  8051. },
  8052. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8053. this.host = t0;
  8054. },
  8055. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8056. this.host = t0;
  8057. },
  8058. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8059. this.error = t0;
  8060. this.host = t1;
  8061. },
  8062. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8063. var _ = this;
  8064. _.scheme = t0;
  8065. _._userInfo = t1;
  8066. _._host = t2;
  8067. _._port = t3;
  8068. _.path = t4;
  8069. _._query = t5;
  8070. _._fragment = t6;
  8071. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8072. },
  8073. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8074. },
  8075. UriData: function UriData(t0, t1, t2) {
  8076. this._text = t0;
  8077. this._separatorIndices = t1;
  8078. this._uriCache = t2;
  8079. },
  8080. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8081. var _ = this;
  8082. _._uri = t0;
  8083. _._schemeEnd = t1;
  8084. _._hostStart = t2;
  8085. _._portStart = t3;
  8086. _._pathStart = t4;
  8087. _._queryStart = t5;
  8088. _._fragmentStart = t6;
  8089. _._schemeCache = t7;
  8090. _._hashCodeCache = null;
  8091. },
  8092. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8093. var _ = this;
  8094. _.scheme = t0;
  8095. _._userInfo = t1;
  8096. _._host = t2;
  8097. _._port = t3;
  8098. _.path = t4;
  8099. _._query = t5;
  8100. _._fragment = t6;
  8101. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8102. },
  8103. Expando: function Expando(t0) {
  8104. this._jsWeakMap = t0;
  8105. },
  8106. _convertDartFunctionFast(f) {
  8107. var ret,
  8108. existing = f.$dart_jsFunction;
  8109. if (existing != null)
  8110. return existing;
  8111. ret = function(_call, f) {
  8112. return function() {
  8113. return _call(f, Array.prototype.slice.apply(arguments));
  8114. };
  8115. }(A._callDartFunctionFast, f);
  8116. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8117. f.$dart_jsFunction = ret;
  8118. return ret;
  8119. },
  8120. _convertDartFunctionFastCaptureThis(f) {
  8121. var ret,
  8122. existing = f._$dart_jsFunctionCaptureThis;
  8123. if (existing != null)
  8124. return existing;
  8125. ret = function(_call, f) {
  8126. return function() {
  8127. return _call(f, this, Array.prototype.slice.apply(arguments));
  8128. };
  8129. }(A._callDartFunctionFastCaptureThis, f);
  8130. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8131. f._$dart_jsFunctionCaptureThis = ret;
  8132. return ret;
  8133. },
  8134. _callDartFunctionFast(callback, $arguments) {
  8135. return A.Function_apply(callback, $arguments);
  8136. },
  8137. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8138. var t1 = [$self];
  8139. B.JSArray_methods.addAll$1(t1, $arguments);
  8140. return A.Function_apply(callback, t1);
  8141. },
  8142. allowInterop(f) {
  8143. if (typeof f == "function")
  8144. return f;
  8145. else
  8146. return A._convertDartFunctionFast(f);
  8147. },
  8148. allowInteropCaptureThis(f) {
  8149. if (typeof f == "function")
  8150. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8151. else
  8152. return A._convertDartFunctionFastCaptureThis(f);
  8153. },
  8154. _callDartFunctionFast2(callback, arg1, arg2, $length) {
  8155. if ($length >= 2)
  8156. return callback.call$2(arg1, arg2);
  8157. if ($length === 1)
  8158. return callback.call$1(arg1);
  8159. return callback.call$0();
  8160. },
  8161. _noJsifyRequired(o) {
  8162. 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);
  8163. },
  8164. jsify(object) {
  8165. if (A._noJsifyRequired(object))
  8166. return object;
  8167. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8168. },
  8169. _callMethodUnchecked0(o, method) {
  8170. return o[method]();
  8171. },
  8172. callConstructor(constr, $arguments) {
  8173. var args, factoryFunction;
  8174. if ($arguments instanceof Array)
  8175. switch ($arguments.length) {
  8176. case 0:
  8177. return new constr();
  8178. case 1:
  8179. return new constr($arguments[0]);
  8180. case 2:
  8181. return new constr($arguments[0], $arguments[1]);
  8182. case 3:
  8183. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8184. case 4:
  8185. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8186. }
  8187. args = [null];
  8188. B.JSArray_methods.addAll$1(args, $arguments);
  8189. factoryFunction = constr.bind.apply(constr, args);
  8190. String(factoryFunction);
  8191. return new factoryFunction();
  8192. },
  8193. promiseToFuture(jsPromise, $T) {
  8194. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8195. completer = new A._AsyncCompleter(t1, $T._eval$1("_AsyncCompleter<0>"));
  8196. jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));
  8197. return t1;
  8198. },
  8199. jsify__convert: function jsify__convert(t0) {
  8200. this._convertedObjects = t0;
  8201. },
  8202. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8203. this.completer = t0;
  8204. },
  8205. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8206. this.completer = t0;
  8207. },
  8208. NullRejectionException: function NullRejectionException(t0) {
  8209. this.isUndefined = t0;
  8210. },
  8211. max(a, b) {
  8212. return Math.max(a, b);
  8213. },
  8214. pow(x, exponent) {
  8215. return Math.pow(x, exponent);
  8216. },
  8217. Random_Random() {
  8218. return B.C__JSRandom;
  8219. },
  8220. _JSRandom: function _JSRandom() {
  8221. },
  8222. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8223. var _ = this;
  8224. _._arg_parser$_options = t0;
  8225. _._aliases = t1;
  8226. _.options = t2;
  8227. _.commands = t3;
  8228. _._optionsAndSeparators = t4;
  8229. _.allowTrailingOptions = t5;
  8230. _.usageLineLength = t6;
  8231. },
  8232. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8233. this.$this = t0;
  8234. },
  8235. ArgParserException$(message, commands, argumentName, source, offset) {
  8236. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), argumentName, message, source, offset);
  8237. },
  8238. ArgParserException: function ArgParserException(t0, t1, t2, t3, t4) {
  8239. var _ = this;
  8240. _.commands = t0;
  8241. _.argumentName = t1;
  8242. _.message = t2;
  8243. _.source = t3;
  8244. _.offset = t4;
  8245. },
  8246. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8247. var _ = this;
  8248. _._parser = t0;
  8249. _._parsed = t1;
  8250. _.name = t2;
  8251. _.rest = t3;
  8252. },
  8253. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
  8254. var _ = this;
  8255. _.name = t0;
  8256. _.abbr = t1;
  8257. _.help = t2;
  8258. _.valueHelp = t3;
  8259. _.allowed = t4;
  8260. _.allowedHelp = t5;
  8261. _.defaultsTo = t6;
  8262. _.negatable = t7;
  8263. _.hideNegatedUsage = t8;
  8264. _.callback = t9;
  8265. _.type = t10;
  8266. _.splitCommas = t11;
  8267. _.mandatory = t12;
  8268. _.hide = t13;
  8269. },
  8270. OptionType: function OptionType(t0) {
  8271. this.name = t0;
  8272. },
  8273. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8274. var t1 = A._setArrayType([], type$.JSArray_String);
  8275. if (rest != null)
  8276. B.JSArray_methods.addAll$1(t1, rest);
  8277. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8278. },
  8279. _isLetterOrDigit(codeUnit) {
  8280. var t1 = true;
  8281. if (!(codeUnit >= 65 && codeUnit <= 90))
  8282. if (!(codeUnit >= 97 && codeUnit <= 122))
  8283. t1 = codeUnit >= 48 && codeUnit <= 57;
  8284. return t1;
  8285. },
  8286. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8287. var _ = this;
  8288. _._commandName = t0;
  8289. _._parser$_parent = t1;
  8290. _._grammar = t2;
  8291. _._args = t3;
  8292. _._parser$_rest = t4;
  8293. _._results = t5;
  8294. },
  8295. Parser_parse_closure: function Parser_parse_closure(t0) {
  8296. this.$this = t0;
  8297. },
  8298. Parser__setOption_closure: function Parser__setOption_closure() {
  8299. },
  8300. _Usage: function _Usage(t0, t1, t2) {
  8301. var _ = this;
  8302. _._usage$_optionsAndSeparators = t0;
  8303. _._usage$_buffer = t1;
  8304. _._currentColumn = 0;
  8305. _.___Usage__columnWidths_FI = $;
  8306. _._newlinesNeeded = 0;
  8307. _.lineLength = t2;
  8308. },
  8309. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8310. },
  8311. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8312. this.option = t0;
  8313. },
  8314. FutureGroup: function FutureGroup(t0, t1, t2) {
  8315. var _ = this;
  8316. _._future_group$_pending = 0;
  8317. _._future_group$_closed = false;
  8318. _._future_group$_completer = t0;
  8319. _._future_group$_values = t1;
  8320. _.$ti = t2;
  8321. },
  8322. FutureGroup_add_closure: function FutureGroup_add_closure(t0, t1) {
  8323. this.$this = t0;
  8324. this.index = t1;
  8325. },
  8326. FutureGroup_add_closure0: function FutureGroup_add_closure0(t0) {
  8327. this.$this = t0;
  8328. },
  8329. ErrorResult: function ErrorResult(t0, t1) {
  8330. this.error = t0;
  8331. this.stackTrace = t1;
  8332. },
  8333. ValueResult: function ValueResult(t0, t1) {
  8334. this.value = t0;
  8335. this.$ti = t1;
  8336. },
  8337. StreamCompleter: function StreamCompleter(t0, t1) {
  8338. this._stream_completer$_stream = t0;
  8339. this.$ti = t1;
  8340. },
  8341. _CompleterStream: function _CompleterStream(t0) {
  8342. this._sourceStream = this._stream_completer$_controller = null;
  8343. this.$ti = t0;
  8344. },
  8345. StreamGroup: function StreamGroup(t0, t1, t2) {
  8346. var _ = this;
  8347. _.__StreamGroup__controller_A = $;
  8348. _._closed = false;
  8349. _._stream_group$_state = t0;
  8350. _._subscriptions = t1;
  8351. _.$ti = t2;
  8352. },
  8353. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8354. },
  8355. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8356. this.$this = t0;
  8357. this.stream = t1;
  8358. },
  8359. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8360. },
  8361. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8362. this.$this = t0;
  8363. },
  8364. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8365. this.$this = t0;
  8366. this.stream = t1;
  8367. },
  8368. _StreamGroupState: function _StreamGroupState(t0) {
  8369. this.name = t0;
  8370. },
  8371. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8372. var _ = this;
  8373. _._stream_queue$_source = t0;
  8374. _._stream_queue$_subscription = null;
  8375. _._isDone = false;
  8376. _._eventsReceived = 0;
  8377. _._eventQueue = t1;
  8378. _._requestQueue = t2;
  8379. _.$ti = t3;
  8380. },
  8381. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8382. this.$this = t0;
  8383. },
  8384. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8385. this.$this = t0;
  8386. },
  8387. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8388. this.$this = t0;
  8389. },
  8390. _NextRequest: function _NextRequest(t0, t1) {
  8391. this._completer = t0;
  8392. this.$ti = t1;
  8393. },
  8394. isNodeJs() {
  8395. var t1 = self.process;
  8396. if (t1 == null)
  8397. t1 = null;
  8398. else {
  8399. t1 = J.get$release$x(t1);
  8400. t1 = t1 == null ? null : J.get$name$x(t1);
  8401. }
  8402. return J.$eq$(t1, "node");
  8403. },
  8404. isBrowser() {
  8405. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8406. },
  8407. wrapJSExceptions(callback) {
  8408. var error, error0, error1, error2, t1, exception;
  8409. if (!$.$get$_isStrictMode())
  8410. return callback.call$0();
  8411. try {
  8412. t1 = callback.call$0();
  8413. return t1;
  8414. } catch (exception) {
  8415. t1 = A.unwrapException(exception);
  8416. if (typeof t1 == "string") {
  8417. error = t1;
  8418. throw A.wrapException(error);
  8419. } else if (A._isBool(t1)) {
  8420. error0 = t1;
  8421. throw A.wrapException(error0);
  8422. } else if (typeof t1 == "number") {
  8423. error1 = t1;
  8424. throw A.wrapException(error1);
  8425. } else {
  8426. error2 = t1;
  8427. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8428. throw A.wrapException(A._callMethodUnchecked0(error2, "toString"));
  8429. throw exception;
  8430. }
  8431. }
  8432. },
  8433. _isStrictMode_closure: function _isStrictMode_closure() {
  8434. },
  8435. Repl: function Repl(t0, t1, t2, t3) {
  8436. var _ = this;
  8437. _.prompt = t0;
  8438. _.continuation = t1;
  8439. _.validator = t2;
  8440. _.__Repl__adapter_A = $;
  8441. _.history = t3;
  8442. },
  8443. alwaysValid_closure: function alwaysValid_closure() {
  8444. },
  8445. ReplAdapter: function ReplAdapter(t0) {
  8446. this.repl = t0;
  8447. this.rl = null;
  8448. },
  8449. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8450. var _ = this;
  8451. _._box_0 = t0;
  8452. _.$this = t1;
  8453. _.rl = t2;
  8454. _.runController = t3;
  8455. },
  8456. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8457. this.lineController = t0;
  8458. },
  8459. Stdin: function Stdin() {
  8460. },
  8461. Stdout: function Stdout() {
  8462. },
  8463. ReadlineModule: function ReadlineModule() {
  8464. },
  8465. ReadlineOptions: function ReadlineOptions() {
  8466. },
  8467. ReadlineInterface: function ReadlineInterface() {
  8468. },
  8469. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8470. this.$ti = t0;
  8471. },
  8472. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8473. },
  8474. DefaultEquality: function DefaultEquality() {
  8475. },
  8476. IterableEquality: function IterableEquality() {
  8477. },
  8478. ListEquality: function ListEquality() {
  8479. },
  8480. _MapEntry: function _MapEntry(t0, t1, t2) {
  8481. this.equality = t0;
  8482. this.key = t1;
  8483. this.value = t2;
  8484. },
  8485. MapEquality: function MapEquality(t0) {
  8486. this.$ti = t0;
  8487. },
  8488. QueueList$(initialCapacity, $E) {
  8489. 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>"));
  8490. },
  8491. QueueList_QueueList$from(source, $E) {
  8492. var $length, queue, t1;
  8493. if (type$.List_dynamic._is(source)) {
  8494. $length = J.get$length$asx(source);
  8495. queue = A.QueueList$($length + 1, $E);
  8496. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8497. queue._queue_list$_tail = $length;
  8498. return queue;
  8499. } else {
  8500. t1 = A.QueueList$(null, $E);
  8501. t1.addAll$1(0, source);
  8502. return t1;
  8503. }
  8504. },
  8505. QueueList__computeInitialCapacity(initialCapacity) {
  8506. if (initialCapacity == null || initialCapacity < 8)
  8507. return 8;
  8508. ++initialCapacity;
  8509. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8510. return initialCapacity;
  8511. return A.QueueList__nextPowerOf2(initialCapacity);
  8512. },
  8513. QueueList__nextPowerOf2(number) {
  8514. var nextNumber;
  8515. number = (number << 1 >>> 0) - 1;
  8516. for (; true; number = nextNumber) {
  8517. nextNumber = (number & number - 1) >>> 0;
  8518. if (nextNumber === 0)
  8519. return number;
  8520. }
  8521. },
  8522. QueueList: function QueueList(t0, t1, t2, t3) {
  8523. var _ = this;
  8524. _._queue_list$_table = t0;
  8525. _._queue_list$_head = t1;
  8526. _._queue_list$_tail = t2;
  8527. _.$ti = t3;
  8528. },
  8529. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8530. var _ = this;
  8531. _._queue_list$_delegate = t0;
  8532. _._queue_list$_table = t1;
  8533. _._queue_list$_head = t2;
  8534. _._queue_list$_tail = t3;
  8535. _.$ti = t4;
  8536. },
  8537. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8538. },
  8539. UnionSet: function UnionSet(t0, t1) {
  8540. this._sets = t0;
  8541. this.$ti = t1;
  8542. },
  8543. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8544. this.$this = t0;
  8545. },
  8546. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8547. this.$this = t0;
  8548. this.element = t1;
  8549. },
  8550. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8551. },
  8552. UnmodifiableSetMixin__throw() {
  8553. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8554. },
  8555. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8556. this._base = t0;
  8557. this.$ti = t1;
  8558. },
  8559. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8560. },
  8561. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8562. },
  8563. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8564. },
  8565. DelegatingSet: function DelegatingSet(t0, t1) {
  8566. this._base = t0;
  8567. this.$ti = t1;
  8568. },
  8569. MapKeySet: function MapKeySet(t0, t1) {
  8570. this._baseMap = t0;
  8571. this.$ti = t1;
  8572. },
  8573. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8574. this.$this = t0;
  8575. this.other = t1;
  8576. },
  8577. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8578. },
  8579. BufferModule: function BufferModule() {
  8580. },
  8581. BufferConstants: function BufferConstants() {
  8582. },
  8583. Buffer: function Buffer() {
  8584. },
  8585. ConsoleModule: function ConsoleModule() {
  8586. },
  8587. Console: function Console() {
  8588. },
  8589. EventEmitter: function EventEmitter() {
  8590. },
  8591. fs() {
  8592. var t1 = $._fs;
  8593. return t1 == null ? $._fs = self.fs : t1;
  8594. },
  8595. FS: function FS() {
  8596. },
  8597. FSConstants: function FSConstants() {
  8598. },
  8599. Realpath: function Realpath() {
  8600. },
  8601. RealpathSync: function RealpathSync() {
  8602. },
  8603. FSWatcher: function FSWatcher() {
  8604. },
  8605. ReadStream: function ReadStream() {
  8606. },
  8607. ReadStreamOptions: function ReadStreamOptions() {
  8608. },
  8609. WriteStream: function WriteStream() {
  8610. },
  8611. WriteStreamOptions: function WriteStreamOptions() {
  8612. },
  8613. FileOptions: function FileOptions() {
  8614. },
  8615. StatOptions: function StatOptions() {
  8616. },
  8617. MkdirOptions: function MkdirOptions() {
  8618. },
  8619. RmdirOptions: function RmdirOptions() {
  8620. },
  8621. WatchOptions: function WatchOptions() {
  8622. },
  8623. WatchFileOptions: function WatchFileOptions() {
  8624. },
  8625. Stats: function Stats() {
  8626. },
  8627. Promise: function Promise() {
  8628. },
  8629. Date: function Date() {
  8630. },
  8631. JsError: function JsError() {
  8632. },
  8633. Atomics: function Atomics() {
  8634. },
  8635. Modules: function Modules() {
  8636. },
  8637. Module: function Module() {
  8638. },
  8639. Net: function Net() {
  8640. },
  8641. Socket: function Socket() {
  8642. },
  8643. NetAddress: function NetAddress() {
  8644. },
  8645. NetServer: function NetServer() {
  8646. },
  8647. NodeJsError: function NodeJsError() {
  8648. },
  8649. JsAssertionError: function JsAssertionError() {
  8650. },
  8651. JsRangeError: function JsRangeError() {
  8652. },
  8653. JsReferenceError: function JsReferenceError() {
  8654. },
  8655. JsSyntaxError: function JsSyntaxError() {
  8656. },
  8657. JsTypeError: function JsTypeError() {
  8658. },
  8659. JsSystemError: function JsSystemError() {
  8660. },
  8661. Process: function Process() {
  8662. },
  8663. CPUUsage: function CPUUsage() {
  8664. },
  8665. Release: function Release() {
  8666. },
  8667. StreamModule: function StreamModule() {
  8668. },
  8669. Readable: function Readable() {
  8670. },
  8671. Writable: function Writable() {
  8672. },
  8673. Duplex: function Duplex() {
  8674. },
  8675. Transform: function Transform() {
  8676. },
  8677. WritableOptions: function WritableOptions() {
  8678. },
  8679. ReadableOptions: function ReadableOptions() {
  8680. },
  8681. Immediate: function Immediate() {
  8682. },
  8683. Timeout: function Timeout() {
  8684. },
  8685. TTY: function TTY() {
  8686. },
  8687. TTYReadStream: function TTYReadStream() {
  8688. },
  8689. TTYWriteStream: function TTYWriteStream() {
  8690. },
  8691. jsify0(dartObject) {
  8692. if (A._isBasicType(dartObject))
  8693. return dartObject;
  8694. return A.jsify(dartObject);
  8695. },
  8696. _isBasicType(value) {
  8697. return false;
  8698. },
  8699. promiseToFuture0(promise, $T) {
  8700. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8701. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8702. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure1(completer)), A.allowInterop(new A.promiseToFuture_closure2(completer)));
  8703. return t1;
  8704. },
  8705. futureToPromise(future, $T) {
  8706. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8707. },
  8708. Util: function Util() {
  8709. },
  8710. promiseToFuture_closure1: function promiseToFuture_closure1(t0) {
  8711. this.completer = t0;
  8712. },
  8713. promiseToFuture_closure2: function promiseToFuture_closure2(t0) {
  8714. this.completer = t0;
  8715. },
  8716. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8717. this.future = t0;
  8718. this.T = t1;
  8719. },
  8720. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8721. this.resolve = t0;
  8722. this.T = t1;
  8723. },
  8724. Context_Context(style) {
  8725. return new A.Context(style, ".");
  8726. },
  8727. _parseUri(uri) {
  8728. if (typeof uri == "string")
  8729. return A.Uri_parse(uri);
  8730. if (type$.Uri._is(uri))
  8731. return uri;
  8732. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8733. },
  8734. _validateArgList(method, args) {
  8735. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8736. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8737. if (args[i] == null || args[i - 1] != null)
  8738. continue;
  8739. for (; numArgs >= 1; numArgs = numArgs0) {
  8740. numArgs0 = numArgs - 1;
  8741. if (args[numArgs0] != null)
  8742. break;
  8743. }
  8744. message = new A.StringBuffer("");
  8745. t1 = method + "(";
  8746. message._contents = t1;
  8747. t2 = A._arrayInstanceType(args);
  8748. t3 = t2._eval$1("SubListIterable<1>");
  8749. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8750. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8751. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8752. message._contents = t3;
  8753. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8754. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8755. }
  8756. },
  8757. Context: function Context(t0, t1) {
  8758. this.style = t0;
  8759. this._context$_current = t1;
  8760. },
  8761. Context_joinAll_closure: function Context_joinAll_closure() {
  8762. },
  8763. Context_split_closure: function Context_split_closure() {
  8764. },
  8765. _validateArgList_closure: function _validateArgList_closure() {
  8766. },
  8767. _PathDirection: function _PathDirection(t0) {
  8768. this.name = t0;
  8769. },
  8770. _PathRelation: function _PathRelation(t0) {
  8771. this.name = t0;
  8772. },
  8773. InternalStyle: function InternalStyle() {
  8774. },
  8775. ParsedPath_ParsedPath$parse(path, style) {
  8776. var t1, parts, separators, start, i,
  8777. root = style.getRoot$1(path),
  8778. isRootRelative = style.isRootRelative$1(path);
  8779. if (root != null)
  8780. path = B.JSString_methods.substring$1(path, root.length);
  8781. t1 = type$.JSArray_String;
  8782. parts = A._setArrayType([], t1);
  8783. separators = A._setArrayType([], t1);
  8784. t1 = path.length;
  8785. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8786. separators.push(path[0]);
  8787. start = 1;
  8788. } else {
  8789. separators.push("");
  8790. start = 0;
  8791. }
  8792. for (i = start; i < t1; ++i)
  8793. if (style.isSeparator$1(path.charCodeAt(i))) {
  8794. parts.push(B.JSString_methods.substring$2(path, start, i));
  8795. separators.push(path[i]);
  8796. start = i + 1;
  8797. }
  8798. if (start < t1) {
  8799. parts.push(B.JSString_methods.substring$1(path, start));
  8800. separators.push("");
  8801. }
  8802. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8803. },
  8804. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8805. var _ = this;
  8806. _.style = t0;
  8807. _.root = t1;
  8808. _.isRootRelative = t2;
  8809. _.parts = t3;
  8810. _.separators = t4;
  8811. },
  8812. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8813. },
  8814. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8815. },
  8816. PathException$(message) {
  8817. return new A.PathException(message);
  8818. },
  8819. PathException: function PathException(t0) {
  8820. this.message = t0;
  8821. },
  8822. PathMap__create(context, $V) {
  8823. var t1 = {};
  8824. t1.context = context;
  8825. t1.context = $.$get$context();
  8826. 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);
  8827. },
  8828. PathMap: function PathMap(t0, t1) {
  8829. this._map = t0;
  8830. this.$ti = t1;
  8831. },
  8832. PathMap__create_closure: function PathMap__create_closure(t0) {
  8833. this._box_0 = t0;
  8834. },
  8835. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8836. this._box_0 = t0;
  8837. },
  8838. PathMap__create_closure1: function PathMap__create_closure1() {
  8839. },
  8840. Style__getPlatformStyle() {
  8841. if (A.Uri_base().get$scheme() !== "file")
  8842. return $.$get$Style_url();
  8843. var t1 = A.Uri_base();
  8844. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8845. return $.$get$Style_url();
  8846. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8847. return $.$get$Style_windows();
  8848. return $.$get$Style_posix();
  8849. },
  8850. Style: function Style() {
  8851. },
  8852. PosixStyle: function PosixStyle(t0, t1, t2) {
  8853. this.separatorPattern = t0;
  8854. this.needsSeparatorPattern = t1;
  8855. this.rootPattern = t2;
  8856. },
  8857. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8858. var _ = this;
  8859. _.separatorPattern = t0;
  8860. _.needsSeparatorPattern = t1;
  8861. _.rootPattern = t2;
  8862. _.relativeRootPattern = t3;
  8863. },
  8864. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8865. var _ = this;
  8866. _.separatorPattern = t0;
  8867. _.needsSeparatorPattern = t1;
  8868. _.rootPattern = t2;
  8869. _.relativeRootPattern = t3;
  8870. },
  8871. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8872. },
  8873. Version$_(major, minor, patch, preRelease, build, _text) {
  8874. var t1 = preRelease == null || preRelease.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8875. t2 = build == null || build.length === 0 ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8876. if (major < 0)
  8877. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8878. if (minor < 0)
  8879. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8880. if (patch < 0)
  8881. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8882. return new A.Version(major, minor, patch, t1, t2, _text);
  8883. },
  8884. Version_Version(major, minor, patch, pre) {
  8885. var text = "" + major + "." + minor + "." + patch;
  8886. if (pre != null)
  8887. text += "-" + pre;
  8888. return A.Version$_(major, minor, patch, pre, null, text);
  8889. },
  8890. Version___parse_tearOff(text) {
  8891. return A.Version_Version$parse(text);
  8892. },
  8893. Version_Version$parse(text) {
  8894. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8895. _s17_ = 'Could not parse "',
  8896. match = $.$get$completeVersion().firstMatch$1(text);
  8897. if (match == null)
  8898. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8899. try {
  8900. t1 = match._match[1];
  8901. t1.toString;
  8902. major = A.int_parse(t1, _null);
  8903. t1 = match._match[2];
  8904. t1.toString;
  8905. minor = A.int_parse(t1, _null);
  8906. t1 = match._match[3];
  8907. t1.toString;
  8908. patch = A.int_parse(t1, _null);
  8909. preRelease = match._match[5];
  8910. build = match._match[8];
  8911. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8912. return t1;
  8913. } catch (exception) {
  8914. if (type$.FormatException._is(A.unwrapException(exception)))
  8915. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8916. else
  8917. throw exception;
  8918. }
  8919. },
  8920. Version__splitParts(text) {
  8921. var t1 = type$.MappedListIterable_String_Object;
  8922. 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"));
  8923. return t1;
  8924. },
  8925. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8926. var _ = this;
  8927. _.major = t0;
  8928. _.minor = t1;
  8929. _.patch = t2;
  8930. _.preRelease = t3;
  8931. _.build = t4;
  8932. _._version$_text = t5;
  8933. },
  8934. Version__splitParts_closure: function Version__splitParts_closure() {
  8935. },
  8936. VersionRange_VersionRange(includeMax, max) {
  8937. return new A.VersionRange(null, max, false, true);
  8938. },
  8939. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8940. var _ = this;
  8941. _.min = t0;
  8942. _.max = t1;
  8943. _.includeMin = t2;
  8944. _.includeMax = t3;
  8945. },
  8946. CssMediaQuery$type(type, conditions, modifier) {
  8947. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8948. },
  8949. CssMediaQuery$condition(conditions, conjunction) {
  8950. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8951. if (t1.length > 1 && conjunction == null)
  8952. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8953. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8954. },
  8955. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8956. var _ = this;
  8957. _.modifier = t0;
  8958. _.type = t1;
  8959. _.conjunction = t2;
  8960. _.conditions = t3;
  8961. },
  8962. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  8963. this._name = t0;
  8964. },
  8965. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  8966. this.query = t0;
  8967. },
  8968. ModifiableCssAtRule$($name, span, childless, value) {
  8969. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8970. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8971. },
  8972. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  8973. var _ = this;
  8974. _.name = t0;
  8975. _.value = t1;
  8976. _.isChildless = t2;
  8977. _.span = t3;
  8978. _.children = t4;
  8979. _._children = t5;
  8980. _._indexInParent = _._parent = null;
  8981. _.isGroupEnd = false;
  8982. },
  8983. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  8984. var _ = this;
  8985. _.text = t0;
  8986. _.span = t1;
  8987. _._indexInParent = _._parent = null;
  8988. _.isGroupEnd = false;
  8989. },
  8990. ModifiableCssDeclaration$($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  8991. var t3,
  8992. t1 = interleavedRules == null ? B.List_empty13 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule),
  8993. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  8994. if (parsedAsCustomProperty)
  8995. if (!B.JSString_methods.startsWith$1($name.value, "--"))
  8996. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  8997. else {
  8998. t3 = value.value;
  8999. if (!(t3 instanceof A.SassString))
  9000. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  9001. }
  9002. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  9003. },
  9004. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4, t5, t6) {
  9005. var _ = this;
  9006. _.name = t0;
  9007. _.value = t1;
  9008. _.parsedAsCustomProperty = t2;
  9009. _.interleavedRules = t3;
  9010. _.trace = t4;
  9011. _.valueSpanForMap = t5;
  9012. _.span = t6;
  9013. _._indexInParent = _._parent = null;
  9014. _.isGroupEnd = false;
  9015. },
  9016. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  9017. var _ = this;
  9018. _.url = t0;
  9019. _.modifiers = t1;
  9020. _.span = t2;
  9021. _._indexInParent = _._parent = null;
  9022. _.isGroupEnd = false;
  9023. },
  9024. ModifiableCssKeyframeBlock$(selector, span) {
  9025. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9026. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9027. },
  9028. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  9029. var _ = this;
  9030. _.selector = t0;
  9031. _.span = t1;
  9032. _.children = t2;
  9033. _._children = t3;
  9034. _._indexInParent = _._parent = null;
  9035. _.isGroupEnd = false;
  9036. },
  9037. ModifiableCssMediaRule$(queries, span) {
  9038. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  9039. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9040. if (J.get$isEmpty$asx(queries))
  9041. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  9042. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  9043. },
  9044. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  9045. var _ = this;
  9046. _.queries = t0;
  9047. _.span = t1;
  9048. _.children = t2;
  9049. _._children = t3;
  9050. _._indexInParent = _._parent = null;
  9051. _.isGroupEnd = false;
  9052. },
  9053. ModifiableCssNode: function ModifiableCssNode() {
  9054. },
  9055. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  9056. },
  9057. ModifiableCssParentNode: function ModifiableCssParentNode() {
  9058. },
  9059. ModifiableCssStyleRule$(_selector, span, fromPlainCss, originalSelector) {
  9060. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9061. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9062. },
  9063. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4, t5) {
  9064. var _ = this;
  9065. _._style_rule$_selector = t0;
  9066. _.originalSelector = t1;
  9067. _.span = t2;
  9068. _.fromPlainCss = t3;
  9069. _.children = t4;
  9070. _._children = t5;
  9071. _._indexInParent = _._parent = null;
  9072. _.isGroupEnd = false;
  9073. },
  9074. ModifiableCssStylesheet$(span) {
  9075. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9076. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9077. },
  9078. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9079. var _ = this;
  9080. _.span = t0;
  9081. _.children = t1;
  9082. _._children = t2;
  9083. _._indexInParent = _._parent = null;
  9084. _.isGroupEnd = false;
  9085. },
  9086. ModifiableCssSupportsRule$(condition, span) {
  9087. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9088. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9089. },
  9090. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9091. var _ = this;
  9092. _.condition = t0;
  9093. _.span = t1;
  9094. _.children = t2;
  9095. _._children = t3;
  9096. _._indexInParent = _._parent = null;
  9097. _.isGroupEnd = false;
  9098. },
  9099. CssNode: function CssNode() {
  9100. },
  9101. CssParentNode: function CssParentNode() {
  9102. },
  9103. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9104. this.includeBogus = t0;
  9105. this.includeComments = t1;
  9106. },
  9107. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9108. },
  9109. CssStylesheet: function CssStylesheet(t0, t1) {
  9110. this.children = t0;
  9111. this.span = t1;
  9112. },
  9113. CssValue: function CssValue(t0, t1, t2) {
  9114. this.value = t0;
  9115. this.span = t1;
  9116. this.$ti = t2;
  9117. },
  9118. _FakeAstNode: function _FakeAstNode(t0) {
  9119. this._callback = t0;
  9120. },
  9121. ArgumentList$empty(span) {
  9122. return new A.ArgumentList(B.List_empty9, B.Map_empty4, null, null, span);
  9123. },
  9124. ArgumentList: function ArgumentList(t0, t1, t2, t3, t4) {
  9125. var _ = this;
  9126. _.positional = t0;
  9127. _.named = t1;
  9128. _.rest = t2;
  9129. _.keywordRest = t3;
  9130. _.span = t4;
  9131. },
  9132. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9133. var _ = this;
  9134. _.include = t0;
  9135. _.names = t1;
  9136. _._all = t2;
  9137. _._at_root_query$_rule = t3;
  9138. },
  9139. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9140. var _ = this;
  9141. _.name = t0;
  9142. _.expression = t1;
  9143. _.isGuarded = t2;
  9144. _.span = t3;
  9145. },
  9146. Expression: function Expression() {
  9147. },
  9148. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9149. var _ = this;
  9150. _.operator = t0;
  9151. _.left = t1;
  9152. _.right = t2;
  9153. _.allowsSlash = t3;
  9154. },
  9155. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9156. var _ = this;
  9157. _.name = t0;
  9158. _.operator = t1;
  9159. _.precedence = t2;
  9160. _.isAssociative = t3;
  9161. _._name = t4;
  9162. },
  9163. BooleanExpression: function BooleanExpression(t0, t1) {
  9164. this.value = t0;
  9165. this.span = t1;
  9166. },
  9167. ColorExpression: function ColorExpression(t0, t1) {
  9168. this.value = t0;
  9169. this.span = t1;
  9170. },
  9171. FunctionExpression: function FunctionExpression(t0, t1, t2, t3, t4) {
  9172. var _ = this;
  9173. _.namespace = t0;
  9174. _.name = t1;
  9175. _.originalName = t2;
  9176. _.$arguments = t3;
  9177. _.span = t4;
  9178. },
  9179. IfExpression: function IfExpression(t0, t1) {
  9180. this.$arguments = t0;
  9181. this.span = t1;
  9182. },
  9183. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9184. this.name = t0;
  9185. this.$arguments = t1;
  9186. this.span = t2;
  9187. },
  9188. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9189. var _ = this;
  9190. _.contents = t0;
  9191. _.separator = t1;
  9192. _.hasBrackets = t2;
  9193. _.span = t3;
  9194. },
  9195. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9196. this.$this = t0;
  9197. },
  9198. MapExpression: function MapExpression(t0, t1) {
  9199. this.pairs = t0;
  9200. this.span = t1;
  9201. },
  9202. NullExpression: function NullExpression(t0) {
  9203. this.span = t0;
  9204. },
  9205. NumberExpression: function NumberExpression(t0, t1, t2) {
  9206. this.value = t0;
  9207. this.unit = t1;
  9208. this.span = t2;
  9209. },
  9210. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9211. this.expression = t0;
  9212. this.span = t1;
  9213. },
  9214. SelectorExpression: function SelectorExpression(t0) {
  9215. this.span = t0;
  9216. },
  9217. StringExpression_quoteText(text) {
  9218. var quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9219. buffer = new A.StringBuffer(""),
  9220. t1 = A.Primitives_stringFromCharCode(quote);
  9221. buffer._contents = t1;
  9222. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9223. t1 = buffer._contents += t1;
  9224. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9225. },
  9226. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9227. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  9228. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9229. _1_0 = text.charCodeAt(i);
  9230. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9231. buffer.writeCharCode$1(92);
  9232. buffer.writeCharCode$1(97);
  9233. if (i !== t2) {
  9234. _0_0 = text.charCodeAt(i + 1);
  9235. t3 = true;
  9236. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9237. if (!(_0_0 >= 48 && _0_0 <= 57))
  9238. if (!(_0_0 >= 97 && _0_0 <= 102))
  9239. t3 = _0_0 >= 65 && _0_0 <= 70;
  9240. if (t3)
  9241. buffer.writeCharCode$1(32);
  9242. }
  9243. continue;
  9244. }
  9245. t3 = 92 === _1_0;
  9246. if (t3)
  9247. t4 = _1_0;
  9248. else
  9249. t4 = null;
  9250. if (!t3) {
  9251. t3 = false;
  9252. t5 = _1_0 === quote;
  9253. if (t5)
  9254. t4 = _1_0;
  9255. if (!t5)
  9256. if (35 === _1_0)
  9257. if ($static)
  9258. if (i < t2) {
  9259. t3 = text.charCodeAt(i + 1) === 123;
  9260. if (t3)
  9261. t4 = _1_0;
  9262. t0 = t4;
  9263. t4 = t3;
  9264. t3 = t0;
  9265. } else {
  9266. t0 = t4;
  9267. t4 = t3;
  9268. t3 = t0;
  9269. }
  9270. else {
  9271. t0 = t4;
  9272. t4 = t3;
  9273. t3 = t0;
  9274. }
  9275. else {
  9276. t0 = t4;
  9277. t4 = t3;
  9278. t3 = t0;
  9279. }
  9280. else {
  9281. t3 = t4;
  9282. t4 = true;
  9283. }
  9284. } else {
  9285. t3 = t4;
  9286. t4 = true;
  9287. }
  9288. if (t4) {
  9289. buffer.writeCharCode$1(92);
  9290. buffer.writeCharCode$1(t3);
  9291. continue;
  9292. }
  9293. buffer.writeCharCode$1(_1_0);
  9294. }
  9295. },
  9296. StringExpression__bestQuote(strings) {
  9297. var t1, t2, t3, containsDoubleQuote, t4, t5;
  9298. 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();)
  9299. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  9300. t5 = t4.__internal$_current;
  9301. if (t5 == null)
  9302. t5 = t2._as(t5);
  9303. if (t5 === 39)
  9304. return 34;
  9305. if (t5 === 34)
  9306. containsDoubleQuote = true;
  9307. }
  9308. return containsDoubleQuote ? 39 : 34;
  9309. },
  9310. StringExpression: function StringExpression(t0, t1) {
  9311. this.text = t0;
  9312. this.hasQuotes = t1;
  9313. },
  9314. SupportsExpression: function SupportsExpression(t0) {
  9315. this.condition = t0;
  9316. },
  9317. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9318. this.operator = t0;
  9319. this.operand = t1;
  9320. this.span = t2;
  9321. },
  9322. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9323. this.name = t0;
  9324. this.operator = t1;
  9325. this._name = t2;
  9326. },
  9327. ValueExpression: function ValueExpression(t0, t1) {
  9328. this.value = t0;
  9329. this.span = t1;
  9330. },
  9331. VariableExpression: function VariableExpression(t0, t1, t2) {
  9332. this.namespace = t0;
  9333. this.name = t1;
  9334. this.span = t2;
  9335. },
  9336. DynamicImport: function DynamicImport(t0, t1) {
  9337. this.urlString = t0;
  9338. this.span = t1;
  9339. },
  9340. StaticImport: function StaticImport(t0, t1, t2) {
  9341. this.url = t0;
  9342. this.modifiers = t1;
  9343. this.span = t2;
  9344. },
  9345. Interpolation$(contents, spans, span) {
  9346. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  9347. t1.Interpolation$3(contents, spans, span);
  9348. return t1;
  9349. },
  9350. Interpolation: function Interpolation(t0, t1, t2) {
  9351. this.contents = t0;
  9352. this.spans = t1;
  9353. this.span = t2;
  9354. },
  9355. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9356. },
  9357. Parameter: function Parameter(t0, t1, t2) {
  9358. this.name = t0;
  9359. this.defaultValue = t1;
  9360. this.span = t2;
  9361. },
  9362. ParameterList_ParameterList$parse(contents, url) {
  9363. return A.ScssParser$(contents, url).parseParameterList$0();
  9364. },
  9365. ParameterList: function ParameterList(t0, t1, t2) {
  9366. this.parameters = t0;
  9367. this.restParameter = t1;
  9368. this.span = t2;
  9369. },
  9370. ParameterList_verify_closure: function ParameterList_verify_closure() {
  9371. },
  9372. ParameterList_verify_closure0: function ParameterList_verify_closure0() {
  9373. },
  9374. Statement: function Statement() {
  9375. },
  9376. AtRootRule$(children, span, query) {
  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.AtRootRule(query, span, t1, t2);
  9380. },
  9381. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9382. var _ = this;
  9383. _.query = t0;
  9384. _.span = t1;
  9385. _.children = t2;
  9386. _.hasDeclarations = t3;
  9387. },
  9388. AtRule$($name, span, children, value) {
  9389. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9390. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9391. return new A.AtRule($name, value, span, t1, t2 === true);
  9392. },
  9393. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9394. var _ = this;
  9395. _.name = t0;
  9396. _.value = t1;
  9397. _.span = t2;
  9398. _.children = t3;
  9399. _.hasDeclarations = t4;
  9400. },
  9401. CallableDeclaration: function CallableDeclaration() {
  9402. },
  9403. ContentBlock$(parameters, children, span) {
  9404. var _s8_ = "@content",
  9405. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  9406. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9407. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9408. return new A.ContentBlock(t1, _s8_, parameters, span, t2, t3);
  9409. },
  9410. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4, t5) {
  9411. var _ = this;
  9412. _.name = t0;
  9413. _.originalName = t1;
  9414. _.parameters = t2;
  9415. _.span = t3;
  9416. _.children = t4;
  9417. _.hasDeclarations = t5;
  9418. },
  9419. ContentRule: function ContentRule(t0, t1) {
  9420. this.$arguments = t0;
  9421. this.span = t1;
  9422. },
  9423. DebugRule: function DebugRule(t0, t1) {
  9424. this.expression = t0;
  9425. this.span = t1;
  9426. },
  9427. Declaration$($name, value, span) {
  9428. return new A.Declaration($name, value, span, null, false);
  9429. },
  9430. Declaration$nested($name, children, span, value) {
  9431. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9432. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9433. return new A.Declaration($name, value, span, t1, t2);
  9434. },
  9435. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9436. var _ = this;
  9437. _.name = t0;
  9438. _.value = t1;
  9439. _.span = t2;
  9440. _.children = t3;
  9441. _.hasDeclarations = t4;
  9442. },
  9443. EachRule$(variables, list, children, span) {
  9444. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9445. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9446. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9447. return new A.EachRule(t1, list, span, t2, t3);
  9448. },
  9449. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9450. var _ = this;
  9451. _.variables = t0;
  9452. _.list = t1;
  9453. _.span = t2;
  9454. _.children = t3;
  9455. _.hasDeclarations = t4;
  9456. },
  9457. EachRule_toString_closure: function EachRule_toString_closure() {
  9458. },
  9459. ErrorRule: function ErrorRule(t0, t1) {
  9460. this.expression = t0;
  9461. this.span = t1;
  9462. },
  9463. ExtendRule: function ExtendRule(t0, t1, t2) {
  9464. this.selector = t0;
  9465. this.isOptional = t1;
  9466. this.span = t2;
  9467. },
  9468. ForRule$(variable, from, to, children, span, exclusive) {
  9469. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9470. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9471. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9472. },
  9473. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9474. var _ = this;
  9475. _.variable = t0;
  9476. _.from = t1;
  9477. _.to = t2;
  9478. _.isExclusive = t3;
  9479. _.span = t4;
  9480. _.children = t5;
  9481. _.hasDeclarations = t6;
  9482. },
  9483. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9484. var _ = this;
  9485. _.url = t0;
  9486. _.shownMixinsAndFunctions = t1;
  9487. _.shownVariables = t2;
  9488. _.hiddenMixinsAndFunctions = t3;
  9489. _.hiddenVariables = t4;
  9490. _.prefix = t5;
  9491. _.configuration = t6;
  9492. _.span = t7;
  9493. },
  9494. FunctionRule$($name, parameters, children, span, comment) {
  9495. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9496. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9497. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9498. return new A.FunctionRule(t1, $name, parameters, span, t2, t3);
  9499. },
  9500. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4, t5) {
  9501. var _ = this;
  9502. _.name = t0;
  9503. _.originalName = t1;
  9504. _.parameters = t2;
  9505. _.span = t3;
  9506. _.children = t4;
  9507. _.hasDeclarations = t5;
  9508. },
  9509. IfClause$(expression, children) {
  9510. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9511. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9512. },
  9513. ElseClause$(children) {
  9514. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9515. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9516. },
  9517. IfRule: function IfRule(t0, t1, t2) {
  9518. this.clauses = t0;
  9519. this.lastClause = t1;
  9520. this.span = t2;
  9521. },
  9522. IfRule_toString_closure: function IfRule_toString_closure() {
  9523. },
  9524. IfRuleClause: function IfRuleClause() {
  9525. },
  9526. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9527. },
  9528. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9529. },
  9530. IfClause: function IfClause(t0, t1, t2) {
  9531. this.expression = t0;
  9532. this.children = t1;
  9533. this.hasDeclarations = t2;
  9534. },
  9535. ElseClause: function ElseClause(t0, t1) {
  9536. this.children = t0;
  9537. this.hasDeclarations = t1;
  9538. },
  9539. ImportRule: function ImportRule(t0, t1) {
  9540. this.imports = t0;
  9541. this.span = t1;
  9542. },
  9543. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4, t5) {
  9544. var _ = this;
  9545. _.namespace = t0;
  9546. _.name = t1;
  9547. _.originalName = t2;
  9548. _.$arguments = t3;
  9549. _.content = t4;
  9550. _.span = t5;
  9551. },
  9552. LoudComment: function LoudComment(t0) {
  9553. this.text = t0;
  9554. },
  9555. MediaRule$(query, children, span) {
  9556. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9557. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9558. return new A.MediaRule(query, span, t1, t2);
  9559. },
  9560. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9561. var _ = this;
  9562. _.query = t0;
  9563. _.span = t1;
  9564. _.children = t2;
  9565. _.hasDeclarations = t3;
  9566. },
  9567. MixinRule$($name, parameters, children, span, comment) {
  9568. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  9569. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9570. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9571. return new A.MixinRule(t1, $name, parameters, span, t2, t3);
  9572. },
  9573. MixinRule: function MixinRule(t0, t1, t2, t3, t4, t5) {
  9574. var _ = this;
  9575. _.__MixinRule_hasContent_FI = $;
  9576. _.name = t0;
  9577. _.originalName = t1;
  9578. _.parameters = t2;
  9579. _.span = t3;
  9580. _.children = t4;
  9581. _.hasDeclarations = t5;
  9582. },
  9583. _HasContentVisitor: function _HasContentVisitor() {
  9584. },
  9585. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9586. },
  9587. ParentStatement: function ParentStatement() {
  9588. },
  9589. ParentStatement_closure: function ParentStatement_closure() {
  9590. },
  9591. ParentStatement__closure: function ParentStatement__closure() {
  9592. },
  9593. ReturnRule: function ReturnRule(t0, t1) {
  9594. this.expression = t0;
  9595. this.span = t1;
  9596. },
  9597. SilentComment: function SilentComment(t0, t1) {
  9598. this.text = t0;
  9599. this.span = t1;
  9600. },
  9601. StyleRule$(selector, children, span) {
  9602. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9603. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9604. return new A.StyleRule(selector, span, t1, t2);
  9605. },
  9606. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9607. var _ = this;
  9608. _.selector = t0;
  9609. _.span = t1;
  9610. _.children = t2;
  9611. _.hasDeclarations = t3;
  9612. },
  9613. Stylesheet$(children, span) {
  9614. var t1 = A._setArrayType([], type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),
  9615. t2 = A._setArrayType([], type$.JSArray_UseRule),
  9616. t3 = A._setArrayType([], type$.JSArray_ForwardRule),
  9617. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9618. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9619. 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);
  9620. t2.Stylesheet$internal$5$globalVariables$plainCss(children, span, t1, null, false);
  9621. return t2;
  9622. },
  9623. Stylesheet$internal(children, span, parseTimeWarnings, globalVariables, plainCss) {
  9624. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9625. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9626. t3 = globalVariables == null ? B.Map_empty6 : A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  9627. t4 = A.List_List$unmodifiable(children, type$.Statement),
  9628. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure());
  9629. 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);
  9630. t1.Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss);
  9631. return t1;
  9632. },
  9633. Stylesheet_Stylesheet$parse(contents, syntax, url) {
  9634. var error, stackTrace, url0, t1, exception, t2;
  9635. try {
  9636. switch (syntax) {
  9637. case B.Syntax_Sass_sass:
  9638. 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);
  9639. return t1;
  9640. case B.Syntax_SCSS_scss:
  9641. t1 = A.ScssParser$(contents, url).parse$0(0);
  9642. return t1;
  9643. case B.Syntax_CSS_css:
  9644. 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);
  9645. return t1;
  9646. }
  9647. } catch (exception) {
  9648. t1 = A.unwrapException(exception);
  9649. if (t1 instanceof A.SassException) {
  9650. error = t1;
  9651. stackTrace = A.getTraceFromException(exception);
  9652. t1 = error;
  9653. t2 = J.getInterceptor$z(t1);
  9654. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9655. url0 = t1.get$sourceUrl(t1);
  9656. if (url0 == null || url0.toString$0(0) === "stdin")
  9657. throw exception;
  9658. t1 = type$.Uri;
  9659. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9660. } else
  9661. throw exception;
  9662. }
  9663. },
  9664. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5, t6, t7) {
  9665. var _ = this;
  9666. _.span = t0;
  9667. _.plainCss = t1;
  9668. _._uses = t2;
  9669. _._forwards = t3;
  9670. _.parseTimeWarnings = t4;
  9671. _.globalVariables = t5;
  9672. _.children = t6;
  9673. _.hasDeclarations = t7;
  9674. },
  9675. SupportsRule$(condition, children, span) {
  9676. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9677. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9678. return new A.SupportsRule(condition, span, t1, t2);
  9679. },
  9680. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9681. var _ = this;
  9682. _.condition = t0;
  9683. _.span = t1;
  9684. _.children = t2;
  9685. _.hasDeclarations = t3;
  9686. },
  9687. UseRule: function UseRule(t0, t1, t2, t3) {
  9688. var _ = this;
  9689. _.url = t0;
  9690. _.namespace = t1;
  9691. _.configuration = t2;
  9692. _.span = t3;
  9693. },
  9694. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9695. if (namespace != null && global)
  9696. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9697. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9698. },
  9699. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9700. var _ = this;
  9701. _.namespace = t0;
  9702. _.name = t1;
  9703. _.expression = t2;
  9704. _.isGuarded = t3;
  9705. _.isGlobal = t4;
  9706. _.span = t5;
  9707. },
  9708. WarnRule: function WarnRule(t0, t1) {
  9709. this.expression = t0;
  9710. this.span = t1;
  9711. },
  9712. WhileRule$(condition, children, span) {
  9713. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9714. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9715. return new A.WhileRule(condition, span, t1, t2);
  9716. },
  9717. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9718. var _ = this;
  9719. _.condition = t0;
  9720. _.span = t1;
  9721. _.children = t2;
  9722. _.hasDeclarations = t3;
  9723. },
  9724. SupportsAnything: function SupportsAnything(t0, t1) {
  9725. this.contents = t0;
  9726. this.span = t1;
  9727. },
  9728. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9729. this.name = t0;
  9730. this.value = t1;
  9731. this.span = t2;
  9732. },
  9733. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9734. this.name = t0;
  9735. this.$arguments = t1;
  9736. this.span = t2;
  9737. },
  9738. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9739. this.expression = t0;
  9740. this.span = t1;
  9741. },
  9742. SupportsNegation: function SupportsNegation(t0, t1) {
  9743. this.condition = t0;
  9744. this.span = t1;
  9745. },
  9746. SupportsOperation$(left, right, operator, span) {
  9747. var lowerOperator = operator.toLowerCase();
  9748. if (lowerOperator !== "and" && lowerOperator !== "or")
  9749. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9750. return new A.SupportsOperation(left, right, operator, span);
  9751. },
  9752. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9753. var _ = this;
  9754. _.left = t0;
  9755. _.right = t1;
  9756. _.operator = t2;
  9757. _.span = t3;
  9758. },
  9759. Selector: function Selector() {
  9760. },
  9761. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9762. this.includeBogus = t0;
  9763. },
  9764. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9765. this.includeLeadingCombinator = t0;
  9766. },
  9767. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9768. this.$this = t0;
  9769. },
  9770. _IsUselessVisitor: function _IsUselessVisitor() {
  9771. },
  9772. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9773. this.$this = t0;
  9774. },
  9775. _ContainsParentSelectorVisitor: function _ContainsParentSelectorVisitor() {
  9776. },
  9777. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor() {
  9778. },
  9779. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9780. },
  9781. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9782. },
  9783. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9784. },
  9785. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9786. var _ = this;
  9787. _.name = t0;
  9788. _.op = t1;
  9789. _.value = t2;
  9790. _.modifier = t3;
  9791. _.span = t4;
  9792. },
  9793. AttributeOperator: function AttributeOperator(t0, t1) {
  9794. this._attribute$_text = t0;
  9795. this._name = t1;
  9796. },
  9797. ClassSelector: function ClassSelector(t0, t1) {
  9798. this.name = t0;
  9799. this.span = t1;
  9800. },
  9801. Combinator: function Combinator(t0, t1) {
  9802. this._combinator$_text = t0;
  9803. this._name = t1;
  9804. },
  9805. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9806. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9807. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9808. if (t1.length === 0 && t2.length === 0)
  9809. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9810. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9811. },
  9812. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9813. var _ = this;
  9814. _.leadingCombinators = t0;
  9815. _.components = t1;
  9816. _.lineBreak = t2;
  9817. _.__ComplexSelector_specificity_FI = $;
  9818. _.span = t3;
  9819. },
  9820. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9821. },
  9822. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9823. this.selector = t0;
  9824. this.combinators = t1;
  9825. this.span = t2;
  9826. },
  9827. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9828. },
  9829. CompoundSelector$(components, span) {
  9830. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9831. if (t1.length === 0)
  9832. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9833. return new A.CompoundSelector(t1, span);
  9834. },
  9835. CompoundSelector: function CompoundSelector(t0, t1) {
  9836. var _ = this;
  9837. _.components = t0;
  9838. _.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _.__CompoundSelector_specificity_FI = $;
  9839. _.span = t1;
  9840. },
  9841. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9842. },
  9843. CompoundSelector_hasComplicatedSuperselectorSemantics_closure: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure() {
  9844. },
  9845. IDSelector: function IDSelector(t0, t1) {
  9846. this.name = t0;
  9847. this.span = t1;
  9848. },
  9849. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9850. this.$this = t0;
  9851. },
  9852. SelectorList$(components, span) {
  9853. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9854. if (t1.length === 0)
  9855. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9856. return new A.SelectorList(t1, span);
  9857. },
  9858. SelectorList_SelectorList$parse(contents, allowParent, interpolationMap, plainCss) {
  9859. return new A.SelectorParser(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  9860. },
  9861. SelectorList: function SelectorList(t0, t1) {
  9862. this.components = t0;
  9863. this.span = t1;
  9864. },
  9865. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9866. },
  9867. SelectorList_nestWithin_closure: function SelectorList_nestWithin_closure(t0, t1, t2, t3) {
  9868. var _ = this;
  9869. _.$this = t0;
  9870. _.preserveParentSelectors = t1;
  9871. _.implicitParent = t2;
  9872. _.parent = t3;
  9873. },
  9874. SelectorList_nestWithin__closure: function SelectorList_nestWithin__closure(t0) {
  9875. this.complex = t0;
  9876. },
  9877. SelectorList_nestWithin__closure0: function SelectorList_nestWithin__closure0(t0) {
  9878. this.complex = t0;
  9879. },
  9880. SelectorList__nestWithinCompound_closure: function SelectorList__nestWithinCompound_closure() {
  9881. },
  9882. SelectorList__nestWithinCompound_closure0: function SelectorList__nestWithinCompound_closure0(t0) {
  9883. this.parent = t0;
  9884. },
  9885. SelectorList__nestWithinCompound_closure1: function SelectorList__nestWithinCompound_closure1(t0, t1, t2) {
  9886. this.parentSelector = t0;
  9887. this.resolvedSimples = t1;
  9888. this.component = t2;
  9889. },
  9890. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9891. this.combinators = t0;
  9892. },
  9893. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9894. },
  9895. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9896. },
  9897. ParentSelector: function ParentSelector(t0, t1) {
  9898. this.suffix = t0;
  9899. this.span = t1;
  9900. },
  9901. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9902. this.name = t0;
  9903. this.span = t1;
  9904. },
  9905. PseudoSelector$($name, span, argument, element, selector) {
  9906. var t1 = !element,
  9907. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9908. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9909. },
  9910. PseudoSelector__isFakePseudoElement($name) {
  9911. switch ($name.charCodeAt(0)) {
  9912. case 97:
  9913. case 65:
  9914. return A.equalsIgnoreCase($name, "after");
  9915. case 98:
  9916. case 66:
  9917. return A.equalsIgnoreCase($name, "before");
  9918. case 102:
  9919. case 70:
  9920. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9921. default:
  9922. return false;
  9923. }
  9924. },
  9925. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9926. var _ = this;
  9927. _.name = t0;
  9928. _.normalizedName = t1;
  9929. _.isClass = t2;
  9930. _.isSyntacticClass = t3;
  9931. _.argument = t4;
  9932. _.selector = t5;
  9933. _.__PseudoSelector_specificity_FI = $;
  9934. _.span = t6;
  9935. },
  9936. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9937. this.$this = t0;
  9938. },
  9939. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9940. },
  9941. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9942. },
  9943. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9944. },
  9945. QualifiedName: function QualifiedName(t0, t1) {
  9946. this.name = t0;
  9947. this.namespace = t1;
  9948. },
  9949. SimpleSelector: function SimpleSelector() {
  9950. },
  9951. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9952. this.$this = t0;
  9953. },
  9954. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9955. this.$this = t0;
  9956. },
  9957. TypeSelector: function TypeSelector(t0, t1) {
  9958. this.name = t0;
  9959. this.span = t1;
  9960. },
  9961. UniversalSelector: function UniversalSelector(t0, t1) {
  9962. this.namespace = t0;
  9963. this.span = t1;
  9964. },
  9965. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  9966. var $async$goto = 0,
  9967. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9968. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  9969. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9970. if ($async$errorCode === 1)
  9971. return A._asyncRethrow($async$result, $async$completer);
  9972. while (true)
  9973. switch ($async$goto) {
  9974. case 0:
  9975. // Function start
  9976. t1 = type$.Deprecation;
  9977. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9978. t2.addAll$1(0, silenceDeprecations);
  9979. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9980. t3.addAll$1(0, fatalDeprecations);
  9981. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9982. t4.addAll$1(0, futureDeprecations);
  9983. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  9984. logger.validate$0();
  9985. t1 = syntax === A.Syntax_forPath(path);
  9986. $async$goto = t1 ? 3 : 5;
  9987. break;
  9988. case 3:
  9989. // then
  9990. t1 = $.$get$FilesystemImporter_cwd();
  9991. t2 = A.isNodeJs() ? self.process : null;
  9992. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  9993. t2 = A.isNodeJs() ? self.process : null;
  9994. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  9995. } else
  9996. t2 = true;
  9997. if (t2) {
  9998. t2 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9999. t3 = $.$get$context();
  10000. t2 = A._realCasePath(t3.normalize$1(t2));
  10001. } else {
  10002. t2 = $.$get$context();
  10003. t3 = t2.canonicalize$1(0, path);
  10004. t0 = t3;
  10005. t3 = t2;
  10006. t2 = t0;
  10007. }
  10008. $async$goto = 6;
  10009. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t1, t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  10010. case 6:
  10011. // returning from await.
  10012. t3 = $async$result;
  10013. t3.toString;
  10014. stylesheet = t3;
  10015. // goto join
  10016. $async$goto = 4;
  10017. break;
  10018. case 5:
  10019. // else
  10020. t1 = A.readFile(path);
  10021. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, $.$get$context().toUri$1(path));
  10022. case 4:
  10023. // join
  10024. $async$goto = 7;
  10025. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  10026. case 7:
  10027. // returning from await.
  10028. result = $async$result;
  10029. logger.summarize$1$js(false);
  10030. $async$returnValue = result;
  10031. // goto return
  10032. $async$goto = 1;
  10033. break;
  10034. case 1:
  10035. // return
  10036. return A._asyncReturn($async$returnValue, $async$completer);
  10037. }
  10038. });
  10039. return A._asyncStartSync($async$compileAsync, $async$completer);
  10040. },
  10041. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, silenceDeprecations, sourceMap, style, syntax, verbose) {
  10042. var $async$goto = 0,
  10043. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10044. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  10045. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10046. if ($async$errorCode === 1)
  10047. return A._asyncRethrow($async$result, $async$completer);
  10048. while (true)
  10049. switch ($async$goto) {
  10050. case 0:
  10051. // Function start
  10052. t1 = type$.Deprecation;
  10053. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10054. t2.addAll$1(0, silenceDeprecations);
  10055. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10056. t3.addAll$1(0, fatalDeprecations);
  10057. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  10058. t4.addAll$1(0, futureDeprecations);
  10059. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  10060. logger.validate$0();
  10061. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, null);
  10062. t1 = stylesheet.span;
  10063. _0_0 = t1.get$sourceUrl(t1);
  10064. if (type$.Uri._is(_0_0))
  10065. t2 = "" === _0_0.get$scheme();
  10066. else
  10067. t2 = false;
  10068. if (t2)
  10069. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_eJq, "Passing a relative `url` argument (" + A.S(t1.get$sourceUrl(t1)) + string$.x29x20to_cm, null, null);
  10070. $async$goto = 3;
  10071. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  10072. case 3:
  10073. // returning from await.
  10074. result = $async$result;
  10075. logger.summarize$1$js(false);
  10076. $async$returnValue = result;
  10077. // goto return
  10078. $async$goto = 1;
  10079. break;
  10080. case 1:
  10081. // return
  10082. return A._asyncReturn($async$returnValue, $async$completer);
  10083. }
  10084. });
  10085. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10086. },
  10087. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10088. var $async$goto = 0,
  10089. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10090. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10091. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10092. if ($async$errorCode === 1)
  10093. return A._asyncRethrow($async$result, $async$completer);
  10094. while (true)
  10095. switch ($async$goto) {
  10096. case 0:
  10097. // Function start
  10098. $async$temp1 = A;
  10099. $async$goto = 3;
  10100. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10101. case 3:
  10102. // returning from await.
  10103. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, true);
  10104. resultSourceMap = serializeResult._1;
  10105. if (resultSourceMap != null)
  10106. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10107. $async$returnValue = new A.CompileResult(serializeResult);
  10108. // goto return
  10109. $async$goto = 1;
  10110. break;
  10111. case 1:
  10112. // return
  10113. return A._asyncReturn($async$returnValue, $async$completer);
  10114. }
  10115. });
  10116. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10117. },
  10118. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10119. this.stylesheet = t0;
  10120. this.importCache = t1;
  10121. },
  10122. AsyncEnvironment$() {
  10123. var t1 = type$.String,
  10124. t2 = type$.Module_AsyncCallable,
  10125. t3 = type$.AstNode,
  10126. t4 = type$.int,
  10127. t5 = type$.AsyncCallable,
  10128. t6 = type$.JSArray_Map_String_AsyncCallable;
  10129. 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));
  10130. },
  10131. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  10132. var t1 = type$.String,
  10133. t2 = type$.int;
  10134. 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);
  10135. },
  10136. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10137. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10138. if (forwarded == null)
  10139. forwarded = B.Set_empty3;
  10140. t1 = type$.dynamic;
  10141. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10142. 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();) {
  10143. t6 = t4.get$current(t4);
  10144. module = t6._0;
  10145. result = A.List_List$from(t6._1, false, t5);
  10146. result.$flags = 3;
  10147. t1.$indexSet(0, module, result);
  10148. }
  10149. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10150. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10151. 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);
  10152. 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);
  10153. t5 = type$.Map_String_AsyncCallable;
  10154. t6 = type$.AsyncCallable;
  10155. 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);
  10156. 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);
  10157. 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());
  10158. 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()));
  10159. },
  10160. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10161. var modulesByVariable, t1, t2, t3, t4, t5;
  10162. if (forwarded.get$isEmpty(forwarded))
  10163. return B.Map_empty8;
  10164. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10165. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10166. t2 = t1.get$current(t1);
  10167. if (t2 instanceof A._EnvironmentModule0) {
  10168. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10169. t4 = t3.get$current(t3);
  10170. t5 = t4.get$variables();
  10171. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10172. }
  10173. t3 = B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables);
  10174. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10175. } else {
  10176. t3 = t2.get$variables();
  10177. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10178. }
  10179. }
  10180. return modulesByVariable;
  10181. },
  10182. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10183. var t1, t2, t3;
  10184. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10185. if (otherMaps.get$isEmpty(otherMaps))
  10186. return localMap;
  10187. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10188. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10189. t3 = t2.get$current(t2);
  10190. if (t3.get$isNotEmpty(t3))
  10191. t1.push(t3);
  10192. }
  10193. t1.push(localMap);
  10194. if (t1.length === 1)
  10195. return localMap;
  10196. return A.MergedMapView$(t1, type$.String, $V);
  10197. },
  10198. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10199. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10200. },
  10201. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  10202. var _ = this;
  10203. _._async_environment$_modules = t0;
  10204. _._async_environment$_namespaceNodes = t1;
  10205. _._async_environment$_globalModules = t2;
  10206. _._async_environment$_importedModules = t3;
  10207. _._async_environment$_forwardedModules = t4;
  10208. _._async_environment$_nestedForwardedModules = t5;
  10209. _._async_environment$_allModules = t6;
  10210. _._async_environment$_variables = t7;
  10211. _._async_environment$_variableNodes = t8;
  10212. _._async_environment$_variableIndices = t9;
  10213. _._async_environment$_functions = t10;
  10214. _._async_environment$_functionIndices = t11;
  10215. _._async_environment$_mixins = t12;
  10216. _._async_environment$_mixinIndices = t13;
  10217. _._async_environment$_content = t14;
  10218. _._async_environment$_configurableVariables = t15;
  10219. _._async_environment$_inMixin = false;
  10220. _._async_environment$_inSemiGlobalScope = true;
  10221. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10222. },
  10223. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10224. this.name = t0;
  10225. },
  10226. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10227. this.$this = t0;
  10228. this.name = t1;
  10229. },
  10230. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10231. this.name = t0;
  10232. },
  10233. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10234. this.$this = t0;
  10235. this.name = t1;
  10236. },
  10237. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10238. this.name = t0;
  10239. },
  10240. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10241. this.name = t0;
  10242. },
  10243. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10244. },
  10245. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10246. },
  10247. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10248. var _ = this;
  10249. _.upstream = t0;
  10250. _.variables = t1;
  10251. _.variableNodes = t2;
  10252. _.functions = t3;
  10253. _.mixins = t4;
  10254. _.extensionStore = t5;
  10255. _.css = t6;
  10256. _.preModuleComments = t7;
  10257. _.transitivelyContainsCss = t8;
  10258. _.transitivelyContainsExtensions = t9;
  10259. _._async_environment$_environment = t10;
  10260. _._async_environment$_modulesByVariable = t11;
  10261. },
  10262. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10263. },
  10264. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10265. },
  10266. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10267. },
  10268. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10269. },
  10270. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10271. },
  10272. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10273. },
  10274. _EnvironmentModule_couldHaveBeenConfigured_closure0: function _EnvironmentModule_couldHaveBeenConfigured_closure0(t0) {
  10275. this.variables = t0;
  10276. },
  10277. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10278. var t1, t2, t3, t4, _i, path, _null = null,
  10279. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10280. if (A.isBrowser()) {
  10281. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10282. B.JSArray_methods.addAll$1(t1, importers);
  10283. return t1;
  10284. }
  10285. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10286. B.JSArray_methods.addAll$1(t1, importers);
  10287. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10288. t3 = t2.get$current(t2);
  10289. 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));
  10290. }
  10291. if (sassPath != null) {
  10292. t2 = A.isNodeJs() ? self.process : _null;
  10293. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10294. t4 = t3.length;
  10295. _i = 0;
  10296. for (; _i < t4; ++_i) {
  10297. path = t3[_i];
  10298. 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));
  10299. }
  10300. }
  10301. return t1;
  10302. },
  10303. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10304. var _ = this;
  10305. _._async_import_cache$_importers = t0;
  10306. _._async_import_cache$_canonicalizeCache = t1;
  10307. _._async_import_cache$_perImporterCanonicalizeCache = t2;
  10308. _._async_import_cache$_nonCanonicalRelativeUrls = t3;
  10309. _._async_import_cache$_importCache = t4;
  10310. _._async_import_cache$_resultsCache = t5;
  10311. _._async_import_cache$_loadTimes = t6;
  10312. },
  10313. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10314. var _ = this;
  10315. _.$this = t0;
  10316. _.baseImporter = t1;
  10317. _.resolvedUrl = t2;
  10318. _.baseUrl = t3;
  10319. _.forImport = t4;
  10320. _.key = t5;
  10321. _.url = t6;
  10322. },
  10323. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10324. this.importer = t0;
  10325. this.url = t1;
  10326. },
  10327. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3) {
  10328. var _ = this;
  10329. _.$this = t0;
  10330. _.importer = t1;
  10331. _.canonicalUrl = t2;
  10332. _.originalUrl = t3;
  10333. },
  10334. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10335. this.canonicalUrl = t0;
  10336. },
  10337. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10338. },
  10339. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10340. },
  10341. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10342. this.canonicalUrl = t0;
  10343. },
  10344. AsyncBuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10345. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10346. },
  10347. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10348. var _ = this;
  10349. _.name = t0;
  10350. _._parameters = t1;
  10351. _._async_built_in$_callback = t2;
  10352. _.acceptsContent = t3;
  10353. },
  10354. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10355. this.callback = t0;
  10356. },
  10357. AsyncBuiltInCallable_withDeprecationWarning_closure: function AsyncBuiltInCallable_withDeprecationWarning_closure(t0, t1, t2) {
  10358. this.$this = t0;
  10359. this.module = t1;
  10360. this.newName = t2;
  10361. },
  10362. BuiltInCallable$function($name, parameters, callback, url) {
  10363. 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);
  10364. },
  10365. BuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10366. 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);
  10367. },
  10368. BuiltInCallable$overloadedFunction($name, overloads) {
  10369. var t2, t3, t4, t5, t6, t7, args, callback,
  10370. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  10371. 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();) {
  10372. t7 = t3.get$current(t3);
  10373. args = t7._0;
  10374. callback = t7._1;
  10375. 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));
  10376. }
  10377. return new A.BuiltInCallable($name, t1, false);
  10378. },
  10379. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10380. this.name = t0;
  10381. this._overloads = t1;
  10382. this.acceptsContent = t2;
  10383. },
  10384. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10385. this.callback = t0;
  10386. },
  10387. BuiltInCallable_withDeprecationWarning_closure: function BuiltInCallable_withDeprecationWarning_closure(t0, t1, t2, t3) {
  10388. var _ = this;
  10389. _._box_0 = t0;
  10390. _.$this = t1;
  10391. _.module = t2;
  10392. _.newName = t3;
  10393. },
  10394. PlainCssCallable: function PlainCssCallable(t0) {
  10395. this.name = t0;
  10396. },
  10397. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10398. var _ = this;
  10399. _.declaration = t0;
  10400. _.environment = t1;
  10401. _.inDependency = t2;
  10402. _.$ti = t3;
  10403. },
  10404. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10405. 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),
  10406. resultSourceMap = serializeResult._1;
  10407. if (resultSourceMap != null)
  10408. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10409. return new A.CompileResult(serializeResult);
  10410. },
  10411. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10412. this.stylesheet = t0;
  10413. this.importCache = t1;
  10414. },
  10415. CompileResult: function CompileResult(t0) {
  10416. this._serialize = t0;
  10417. },
  10418. Configuration: function Configuration(t0, t1) {
  10419. this._configuration$_values = t0;
  10420. this.__originalConfiguration = t1;
  10421. },
  10422. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10423. this.nodeWithSpan = t0;
  10424. this._configuration$_values = t1;
  10425. this.__originalConfiguration = t2;
  10426. },
  10427. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10428. this.value = t0;
  10429. this.configurationSpan = t1;
  10430. this.assignmentNode = t2;
  10431. },
  10432. Deprecation_fromId(id) {
  10433. return A.IterableExtension_firstWhereOrNull(B.List_BuT, new A.Deprecation_fromId_closure(id));
  10434. },
  10435. Deprecation_forVersion(version) {
  10436. var t2, _i, deprecation, $self, t3,
  10437. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10438. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 27; ++_i) {
  10439. deprecation = B.List_BuT[_i];
  10440. $self = deprecation._deprecatedIn;
  10441. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10442. t3 = t3 == null ? null : t2.call$1(t3);
  10443. if (t3 == null ? false : t3)
  10444. t1.add$1(0, deprecation);
  10445. }
  10446. return t1;
  10447. },
  10448. Deprecation: function Deprecation(t0, t1, t2) {
  10449. this.id = t0;
  10450. this._deprecatedIn = t1;
  10451. this._name = t2;
  10452. },
  10453. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10454. this.id = t0;
  10455. },
  10456. Environment$() {
  10457. var t1 = type$.String,
  10458. t2 = type$.Module_Callable,
  10459. t3 = type$.AstNode,
  10460. t4 = type$.int,
  10461. t5 = type$.Callable,
  10462. t6 = type$.JSArray_Map_String_Callable;
  10463. 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));
  10464. },
  10465. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  10466. var t1 = type$.String,
  10467. t2 = type$.int;
  10468. 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);
  10469. },
  10470. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10471. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10472. if (forwarded == null)
  10473. forwarded = B.Set_empty0;
  10474. t1 = type$.dynamic;
  10475. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10476. 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();) {
  10477. t6 = t4.get$current(t4);
  10478. module = t6._0;
  10479. result = A.List_List$from(t6._1, false, t5);
  10480. result.$flags = 3;
  10481. t1.$indexSet(0, module, result);
  10482. }
  10483. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10484. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10485. 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);
  10486. 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);
  10487. t5 = type$.Map_String_Callable;
  10488. t6 = type$.Callable;
  10489. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10490. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10491. 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());
  10492. 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()));
  10493. },
  10494. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10495. var modulesByVariable, t1, t2, t3, t4, t5;
  10496. if (forwarded.get$isEmpty(forwarded))
  10497. return B.Map_empty0;
  10498. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10499. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10500. t2 = t1.get$current(t1);
  10501. if (t2 instanceof A._EnvironmentModule) {
  10502. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10503. t4 = t3.get$current(t3);
  10504. t5 = t4.get$variables();
  10505. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10506. }
  10507. t3 = B.JSArray_methods.get$first(t2._environment$_environment._variables);
  10508. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10509. } else {
  10510. t3 = t2.get$variables();
  10511. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10512. }
  10513. }
  10514. return modulesByVariable;
  10515. },
  10516. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10517. var t1, t2, t3;
  10518. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10519. if (otherMaps.get$isEmpty(otherMaps))
  10520. return localMap;
  10521. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10522. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10523. t3 = t2.get$current(t2);
  10524. if (t3.get$isNotEmpty(t3))
  10525. t1.push(t3);
  10526. }
  10527. t1.push(localMap);
  10528. if (t1.length === 1)
  10529. return localMap;
  10530. return A.MergedMapView$(t1, type$.String, $V);
  10531. },
  10532. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10533. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10534. },
  10535. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  10536. var _ = this;
  10537. _._environment$_modules = t0;
  10538. _._namespaceNodes = t1;
  10539. _._globalModules = t2;
  10540. _._importedModules = t3;
  10541. _._forwardedModules = t4;
  10542. _._nestedForwardedModules = t5;
  10543. _._allModules = t6;
  10544. _._variables = t7;
  10545. _._variableNodes = t8;
  10546. _._variableIndices = t9;
  10547. _._functions = t10;
  10548. _._functionIndices = t11;
  10549. _._mixins = t12;
  10550. _._mixinIndices = t13;
  10551. _._content = t14;
  10552. _._configurableVariables = t15;
  10553. _._inMixin = false;
  10554. _._inSemiGlobalScope = true;
  10555. _._lastVariableIndex = _._lastVariableName = null;
  10556. },
  10557. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10558. this.name = t0;
  10559. },
  10560. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10561. this.$this = t0;
  10562. this.name = t1;
  10563. },
  10564. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10565. this.name = t0;
  10566. },
  10567. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10568. this.$this = t0;
  10569. this.name = t1;
  10570. },
  10571. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10572. this.name = t0;
  10573. },
  10574. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10575. this.name = t0;
  10576. },
  10577. Environment_toModule_closure: function Environment_toModule_closure() {
  10578. },
  10579. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10580. },
  10581. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10582. var _ = this;
  10583. _.upstream = t0;
  10584. _.variables = t1;
  10585. _.variableNodes = t2;
  10586. _.functions = t3;
  10587. _.mixins = t4;
  10588. _.extensionStore = t5;
  10589. _.css = t6;
  10590. _.preModuleComments = t7;
  10591. _.transitivelyContainsCss = t8;
  10592. _.transitivelyContainsExtensions = t9;
  10593. _._environment$_environment = t10;
  10594. _._modulesByVariable = t11;
  10595. },
  10596. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10597. },
  10598. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10599. },
  10600. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10601. },
  10602. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10603. },
  10604. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10605. },
  10606. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10607. },
  10608. _EnvironmentModule_couldHaveBeenConfigured_closure: function _EnvironmentModule_couldHaveBeenConfigured_closure(t0) {
  10609. this.variables = t0;
  10610. },
  10611. SassException$(message, span, loadedUrls) {
  10612. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10613. },
  10614. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10615. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10616. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10617. },
  10618. SassRuntimeException$(message, span, trace, loadedUrls) {
  10619. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10620. },
  10621. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10622. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10623. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10624. },
  10625. SassFormatException$(message, span, loadedUrls) {
  10626. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10627. },
  10628. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10629. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10630. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10631. },
  10632. SassScriptException$(message, argumentName) {
  10633. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10634. },
  10635. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10636. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10637. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10638. },
  10639. SassException: function SassException(t0, t1, t2) {
  10640. this.loadedUrls = t0;
  10641. this._span_exception$_message = t1;
  10642. this._span = t2;
  10643. },
  10644. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10645. var _ = this;
  10646. _.primaryLabel = t0;
  10647. _.secondarySpans = t1;
  10648. _.loadedUrls = t2;
  10649. _._span_exception$_message = t3;
  10650. _._span = t4;
  10651. },
  10652. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10653. var _ = this;
  10654. _.trace = t0;
  10655. _.loadedUrls = t1;
  10656. _._span_exception$_message = t2;
  10657. _._span = t3;
  10658. },
  10659. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10660. var _ = this;
  10661. _.trace = t0;
  10662. _.primaryLabel = t1;
  10663. _.secondarySpans = t2;
  10664. _.loadedUrls = t3;
  10665. _._span_exception$_message = t4;
  10666. _._span = t5;
  10667. },
  10668. SassFormatException: function SassFormatException(t0, t1, t2) {
  10669. this.loadedUrls = t0;
  10670. this._span_exception$_message = t1;
  10671. this._span = t2;
  10672. },
  10673. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10674. var _ = this;
  10675. _.primaryLabel = t0;
  10676. _.secondarySpans = t1;
  10677. _.loadedUrls = t2;
  10678. _._span_exception$_message = t3;
  10679. _._span = t4;
  10680. },
  10681. SassScriptException: function SassScriptException(t0) {
  10682. this.message = t0;
  10683. },
  10684. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10685. this.primaryLabel = t0;
  10686. this.secondarySpans = t1;
  10687. this.message = t2;
  10688. },
  10689. compileStylesheet(options, graph, source, destination, ifModified) {
  10690. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10691. },
  10692. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10693. var $async$goto = 0,
  10694. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10695. $async$returnValue, $async$handler = 2, $async$errorStack = [], error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10696. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10697. if ($async$errorCode === 1) {
  10698. $async$errorStack.push($async$result);
  10699. $async$goto = $async$handler;
  10700. }
  10701. while (true)
  10702. switch ($async$goto) {
  10703. case 0:
  10704. // Function start
  10705. $async$handler = 4;
  10706. $async$goto = 7;
  10707. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10708. case 7:
  10709. // returning from await.
  10710. $async$handler = 2;
  10711. // goto after finally
  10712. $async$goto = 6;
  10713. break;
  10714. case 4:
  10715. // catch
  10716. $async$handler = 3;
  10717. $async$exception = $async$errorStack.pop();
  10718. t1 = A.unwrapException($async$exception);
  10719. if (t1 instanceof A.SassException) {
  10720. error = t1;
  10721. stackTrace = A.getTraceFromException($async$exception);
  10722. if (destination != null && !options.get$emitErrorCss())
  10723. A._tryDelete(destination);
  10724. message = J.toString$1$color$(error, options.get$color());
  10725. if (A._asBool(options._options.$index(0, "trace"))) {
  10726. t1 = A.getTrace(error);
  10727. if (t1 == null)
  10728. t1 = stackTrace;
  10729. } else
  10730. t1 = null;
  10731. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10732. // goto return
  10733. $async$goto = 1;
  10734. break;
  10735. } else if (t1 instanceof A.FileSystemException) {
  10736. error0 = t1;
  10737. stackTrace0 = A.getTraceFromException($async$exception);
  10738. path = error0.path;
  10739. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10740. if (A._asBool(options._options.$index(0, "trace"))) {
  10741. t1 = A.getTrace(error0);
  10742. if (t1 == null)
  10743. t1 = stackTrace0;
  10744. } else
  10745. t1 = null;
  10746. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10747. // goto return
  10748. $async$goto = 1;
  10749. break;
  10750. } else
  10751. throw $async$exception;
  10752. // goto after finally
  10753. $async$goto = 6;
  10754. break;
  10755. case 3:
  10756. // uncaught
  10757. // goto rethrow
  10758. $async$goto = 2;
  10759. break;
  10760. case 6:
  10761. // after finally
  10762. $async$returnValue = null;
  10763. // goto return
  10764. $async$goto = 1;
  10765. break;
  10766. case 1:
  10767. // return
  10768. return A._asyncReturn($async$returnValue, $async$completer);
  10769. case 2:
  10770. // rethrow
  10771. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10772. }
  10773. });
  10774. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10775. },
  10776. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10777. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10778. },
  10779. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10780. var $async$goto = 0,
  10781. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10782. $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;
  10783. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10784. if ($async$errorCode === 1) {
  10785. $async$errorStack.push($async$result);
  10786. $async$goto = $async$handler;
  10787. }
  10788. while (true)
  10789. switch ($async$goto) {
  10790. case 0:
  10791. // Function start
  10792. importer = $.$get$FilesystemImporter_cwd();
  10793. if (ifModified)
  10794. try {
  10795. t1 = false;
  10796. if (source != null)
  10797. if (destination != null) {
  10798. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10799. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10800. }
  10801. if (t1) {
  10802. // goto return
  10803. $async$goto = 1;
  10804. break;
  10805. }
  10806. } catch (exception) {
  10807. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10808. throw exception;
  10809. }
  10810. syntax = null;
  10811. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10812. syntax = B.Syntax_Sass_sass;
  10813. else if (source != null)
  10814. syntax = A.Syntax_forPath(source);
  10815. else
  10816. syntax = B.Syntax_SCSS_scss;
  10817. result = null;
  10818. $async$handler = 4;
  10819. t1 = options._options;
  10820. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10821. break;
  10822. case 7:
  10823. // then
  10824. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10825. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10826. t4 = type$.Uri;
  10827. 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));
  10828. $async$goto = source == null ? 10 : 12;
  10829. break;
  10830. case 10:
  10831. // then
  10832. $async$goto = 13;
  10833. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10834. case 13:
  10835. // returning from await.
  10836. t2 = $async$result;
  10837. t3 = syntax;
  10838. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10839. t5 = $.$get$FilesystemImporter_cwd();
  10840. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10841. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10842. t8 = A._asBool(t1.$index(0, "verbose"));
  10843. t9 = options.get$emitSourceMap();
  10844. t1 = A._asBool(t1.$index(0, "charset"));
  10845. t10 = options.get$silenceDeprecations(0);
  10846. $async$goto = 14;
  10847. 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);
  10848. case 14:
  10849. // returning from await.
  10850. result0 = $async$result;
  10851. // goto join
  10852. $async$goto = 11;
  10853. break;
  10854. case 12:
  10855. // else
  10856. t2 = syntax;
  10857. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10858. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10859. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10860. t6 = A._asBool(t1.$index(0, "verbose"));
  10861. t7 = options.get$emitSourceMap();
  10862. t1 = A._asBool(t1.$index(0, "charset"));
  10863. t8 = options.get$silenceDeprecations(0);
  10864. $async$goto = 15;
  10865. 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);
  10866. case 15:
  10867. // returning from await.
  10868. result0 = $async$result;
  10869. case 11:
  10870. // join
  10871. result = result0;
  10872. // goto join
  10873. $async$goto = 8;
  10874. break;
  10875. case 9:
  10876. // else
  10877. graph.reloadAllModified$0();
  10878. $async$goto = source == null ? 16 : 18;
  10879. break;
  10880. case 16:
  10881. // then
  10882. $async$goto = 19;
  10883. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10884. case 19:
  10885. // returning from await.
  10886. t2 = $async$result;
  10887. t3 = syntax;
  10888. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10889. t5 = $.$get$FilesystemImporter_cwd();
  10890. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10891. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10892. t8 = A._asBool(t1.$index(0, "verbose"));
  10893. t9 = options.get$emitSourceMap();
  10894. t1 = A._asBool(t1.$index(0, "charset"));
  10895. t10 = options.get$silenceDeprecations(0);
  10896. t11 = options.get$fatalDeprecations(0);
  10897. t12 = options.get$futureDeprecations(0);
  10898. t13 = type$.Deprecation;
  10899. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10900. t14.addAll$1(0, t10);
  10901. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10902. t10.addAll$1(0, t11);
  10903. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10904. t11.addAll$1(0, t12);
  10905. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10906. logger.validate$0();
  10907. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, null);
  10908. t2 = stylesheet.span;
  10909. _0_0 = t2.get$sourceUrl(t2);
  10910. if (type$.Uri._is(_0_0))
  10911. t3 = "" === _0_0.get$scheme();
  10912. else
  10913. t3 = false;
  10914. if (t3)
  10915. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_eJq, "Passing a relative `url` argument (" + A.S(t2.get$sourceUrl(t2)) + string$.x29x20to_cm, null, null);
  10916. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10917. logger.summarize$1$js(false);
  10918. // goto join
  10919. $async$goto = 17;
  10920. break;
  10921. case 18:
  10922. // else
  10923. t2 = syntax;
  10924. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10925. importCache = graph.importCache;
  10926. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10927. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10928. t6 = A._asBool(t1.$index(0, "verbose"));
  10929. t7 = options.get$emitSourceMap();
  10930. t1 = A._asBool(t1.$index(0, "charset"));
  10931. t8 = options.get$silenceDeprecations(0);
  10932. t9 = options.get$fatalDeprecations(0);
  10933. t10 = options.get$futureDeprecations(0);
  10934. t11 = type$.Deprecation;
  10935. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10936. t12.addAll$1(0, t8);
  10937. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10938. t8.addAll$1(0, t9);
  10939. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10940. t9.addAll$1(0, t10);
  10941. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  10942. logger.validate$0();
  10943. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10944. if (t3) {
  10945. t2 = $.$get$FilesystemImporter_cwd();
  10946. t3 = A.isNodeJs() ? self.process : null;
  10947. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10948. t3 = A.isNodeJs() ? self.process : null;
  10949. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10950. } else
  10951. t3 = true;
  10952. if (t3) {
  10953. t3 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10954. t6 = $.$get$context();
  10955. t3 = A._realCasePath(t6.normalize$1(t3));
  10956. } else {
  10957. t3 = $.$get$context();
  10958. t6 = t3.canonicalize$1(0, source);
  10959. t0 = t6;
  10960. t6 = t3;
  10961. t3 = t0;
  10962. }
  10963. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10964. t6.toString;
  10965. stylesheet = t6;
  10966. } else {
  10967. t3 = A.readFile(source);
  10968. if (t2 == null)
  10969. t2 = A.Syntax_forPath(source);
  10970. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
  10971. }
  10972. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10973. logger.summarize$1$js(false);
  10974. case 17:
  10975. // join
  10976. result = result0;
  10977. case 8:
  10978. // join
  10979. $async$handler = 2;
  10980. // goto after finally
  10981. $async$goto = 6;
  10982. break;
  10983. case 4:
  10984. // catch
  10985. $async$handler = 3;
  10986. $async$exception = $async$errorStack.pop();
  10987. t1 = A.unwrapException($async$exception);
  10988. if (t1 instanceof A.SassException) {
  10989. error = t1;
  10990. if (options.get$emitErrorCss())
  10991. if (destination == null)
  10992. A.print(error.toCssString$0());
  10993. else {
  10994. A.ensureDir($.$get$context().dirname$1(destination));
  10995. A.writeFile(destination, error.toCssString$0() + "\n");
  10996. }
  10997. throw $async$exception;
  10998. } else
  10999. throw $async$exception;
  11000. // goto after finally
  11001. $async$goto = 6;
  11002. break;
  11003. case 3:
  11004. // uncaught
  11005. // goto rethrow
  11006. $async$goto = 2;
  11007. break;
  11008. case 6:
  11009. // after finally
  11010. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  11011. if (destination == null) {
  11012. if (css.length !== 0)
  11013. A.print(css);
  11014. } else {
  11015. A.ensureDir($.$get$context().dirname$1(destination));
  11016. A.writeFile(destination, css + "\n");
  11017. }
  11018. t1 = options._options;
  11019. if (!A._asBool(t1.$index(0, "quiet")))
  11020. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  11021. else
  11022. t1 = true;
  11023. if (t1) {
  11024. // goto return
  11025. $async$goto = 1;
  11026. break;
  11027. }
  11028. buffer = new A.StringBuffer("");
  11029. if (source == null)
  11030. sourceName = "stdin";
  11031. else {
  11032. t1 = $.$get$context();
  11033. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  11034. }
  11035. destination.toString;
  11036. t1 = $.$get$context();
  11037. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  11038. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  11039. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  11040. t1 = options.get$color() ? buffer._contents = "\x1b[90m" : "";
  11041. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  11042. if (options.get$color())
  11043. t1 = buffer._contents = t1 + "\x1b[32m";
  11044. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  11045. buffer._contents = t1;
  11046. if (options.get$color())
  11047. buffer._contents = t1 + "\x1b[0m";
  11048. t1 = A.isNodeJs() ? self.process : null;
  11049. if (t1 != null) {
  11050. t1 = J.get$stdout$x(t1);
  11051. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  11052. } else {
  11053. t1 = self.console;
  11054. J.log$1$x(t1, buffer);
  11055. }
  11056. case 1:
  11057. // return
  11058. return A._asyncReturn($async$returnValue, $async$completer);
  11059. case 2:
  11060. // rethrow
  11061. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11062. }
  11063. });
  11064. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  11065. },
  11066. _writeSourceMap(options, sourceMap, destination) {
  11067. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  11068. if (sourceMap == null)
  11069. return "";
  11070. if (destination != null) {
  11071. t1 = $.$get$context();
  11072. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  11073. }
  11074. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  11075. t1 = options._options;
  11076. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  11077. if (A._asBool(t1.$index(0, "embed-source-map")))
  11078. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  11079. else {
  11080. destination.toString;
  11081. sourceMapPath = destination + ".map";
  11082. t2 = $.$get$context();
  11083. A.ensureDir(t2.dirname$1(sourceMapPath));
  11084. A.writeFile(sourceMapPath, sourceMapText);
  11085. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11086. }
  11087. t2 = url.toString$0(0);
  11088. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11089. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11090. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11091. },
  11092. _tryDelete(path) {
  11093. var exception;
  11094. try {
  11095. A.deleteFile(path);
  11096. } catch (exception) {
  11097. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11098. throw exception;
  11099. }
  11100. },
  11101. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11102. 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);
  11103. },
  11104. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11105. this.options = t0;
  11106. this.destination = t1;
  11107. },
  11108. ExecutableOptions__separator(text) {
  11109. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11110. t2 = B.JSString_methods.$mul(t1, 3),
  11111. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11112. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11113. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11114. },
  11115. ExecutableOptions__fail(message) {
  11116. return A.throwExpression(A.UsageException$(message));
  11117. },
  11118. ExecutableOptions_ExecutableOptions$parse(args) {
  11119. var options, error, t1, t2, exception;
  11120. try {
  11121. t1 = $.$get$ExecutableOptions__parser();
  11122. t2 = A.ListQueue$(type$.String);
  11123. t2.addAll$1(0, args);
  11124. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11125. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11126. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11127. options = new A.ExecutableOptions(t2);
  11128. if (A._asBool(options._options.$index(0, "help")))
  11129. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11130. return options;
  11131. } catch (exception) {
  11132. t1 = A.unwrapException(exception);
  11133. if (type$.FormatException._is(t1)) {
  11134. error = t1;
  11135. A.ExecutableOptions__fail(J.get$message$x(error));
  11136. } else
  11137. throw exception;
  11138. }
  11139. },
  11140. UsageException$(message) {
  11141. return new A.UsageException(message);
  11142. },
  11143. ExecutableOptions: function ExecutableOptions(t0) {
  11144. var _ = this;
  11145. _._options = t0;
  11146. _.__ExecutableOptions_interactive_FI = $;
  11147. _._sourcesToDestinations = null;
  11148. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11149. _._fatalDeprecations = null;
  11150. },
  11151. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11152. },
  11153. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11154. this.$this = t0;
  11155. },
  11156. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11157. },
  11158. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11159. this.$this = t0;
  11160. },
  11161. UsageException: function UsageException(t0) {
  11162. this.message = t0;
  11163. },
  11164. repl(options) {
  11165. return A.repl$body(options);
  11166. },
  11167. repl$body(options) {
  11168. var $async$goto = 0,
  11169. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11170. $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;
  11171. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11172. if ($async$errorCode === 1) {
  11173. $async$errorStack.push($async$result);
  11174. $async$goto = $async$handler;
  11175. }
  11176. while (true)
  11177. switch ($async$goto) {
  11178. case 0:
  11179. // Function start
  11180. t1 = A._setArrayType([], type$.JSArray_String);
  11181. t2 = B.JSString_methods.$mul(" ", 3);
  11182. t3 = $.$get$alwaysValid();
  11183. repl0 = new A.Repl(">> ", t2, t3, t1);
  11184. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  11185. repl = repl0;
  11186. t1 = options._options;
  11187. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  11188. 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")));
  11189. logger.validate$0();
  11190. warn = new A.repl_warn(logger);
  11191. t2 = $.$get$FilesystemImporter_cwd();
  11192. 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);
  11193. t2 = repl.__Repl__adapter_A;
  11194. t2 === $ && A.throwUnnamedLateFieldNI();
  11195. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  11196. $async$handler = 2;
  11197. t1 = type$.String, t3 = type$.FileSpan, t4 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span, t5 = type$.Expression;
  11198. case 5:
  11199. // for condition
  11200. $async$goto = 7;
  11201. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  11202. case 7:
  11203. // returning from await.
  11204. if (!$async$result) {
  11205. // goto after for
  11206. $async$goto = 6;
  11207. break;
  11208. }
  11209. line = t2.get$current(0);
  11210. if (J.trim$0$s(line).length === 0) {
  11211. // goto for condition
  11212. $async$goto = 5;
  11213. break;
  11214. }
  11215. try {
  11216. if (J.startsWith$1$s(line, "@")) {
  11217. node = null;
  11218. warnings = null;
  11219. _1_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseUseRule$0();
  11220. node = _1_0._0;
  11221. warnings = _1_0._1;
  11222. J.forEach$1$ax(warnings, warn);
  11223. t6 = evaluator;
  11224. t7 = node;
  11225. t6._visitor.runStatement$2(t6._importer, t7);
  11226. // goto for condition
  11227. $async$goto = 5;
  11228. break;
  11229. }
  11230. if (new A.Parser(A.SpanScanner$(line, null), null)._isVariableDeclarationLike$0()) {
  11231. node0 = null;
  11232. warnings0 = null;
  11233. _2_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseVariableDeclaration$0();
  11234. node0 = _2_0._0;
  11235. warnings0 = _2_0._1;
  11236. J.forEach$1$ax(warnings0, warn);
  11237. t6 = evaluator;
  11238. t7 = node0;
  11239. t6._visitor.runStatement$2(t6._importer, t7);
  11240. t7 = evaluator;
  11241. t6 = node0.name;
  11242. t8 = node0.span;
  11243. t9 = node0.namespace;
  11244. line0 = t7._visitor.runExpression$2(t7._importer, new A.VariableExpression(t9, t6, t8)).toString$0(0);
  11245. toZone = $.printToZone;
  11246. if (toZone == null)
  11247. A.printString(line0);
  11248. else
  11249. toZone.call$1(line0);
  11250. } else {
  11251. node1 = null;
  11252. warnings1 = null;
  11253. t6 = A._setArrayType([], t4);
  11254. t7 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), t6, A.SpanScanner$(line, null), null);
  11255. _3_0 = new A._Record_2(t7._parseSingleProduction$1$1(t7.get$_expression(), t5), t6);
  11256. node1 = _3_0._0;
  11257. warnings1 = _3_0._1;
  11258. J.forEach$1$ax(warnings1, warn);
  11259. t6 = evaluator;
  11260. t7 = node1;
  11261. line0 = t6._visitor.runExpression$2(t6._importer, t7).toString$0(0);
  11262. toZone = $.printToZone;
  11263. if (toZone == null)
  11264. A.printString(line0);
  11265. else
  11266. toZone.call$1(line0);
  11267. }
  11268. } catch (exception) {
  11269. t6 = A.unwrapException(exception);
  11270. if (t6 instanceof A.SassException) {
  11271. error = t6;
  11272. stackTrace = A.getTraceFromException(exception);
  11273. t6 = error;
  11274. t7 = typeof t6 != "string";
  11275. if (!t7 || typeof t6 == "number" || A._isBool(t6))
  11276. t6 = null;
  11277. else {
  11278. t8 = $.$get$_traces();
  11279. if (A._isBool(t6) || typeof t6 == "number" || !t7 || t6 instanceof A._Record)
  11280. A.Expando__badExpandoKey(t6);
  11281. t6 = t8._jsWeakMap.get(t6);
  11282. }
  11283. if (t6 == null)
  11284. t6 = stackTrace;
  11285. A._logError(error, t6, line, repl, options, trackingLogger);
  11286. } else
  11287. throw exception;
  11288. }
  11289. // goto for condition
  11290. $async$goto = 5;
  11291. break;
  11292. case 6:
  11293. // after for
  11294. $async$next.push(4);
  11295. // goto finally
  11296. $async$goto = 3;
  11297. break;
  11298. case 2:
  11299. // uncaught
  11300. $async$next = [1];
  11301. case 3:
  11302. // finally
  11303. $async$handler = 1;
  11304. $async$goto = 8;
  11305. return A._asyncAwait(t2.cancel$0(), $async$repl);
  11306. case 8:
  11307. // returning from await.
  11308. // goto the next finally handler
  11309. $async$goto = $async$next.pop();
  11310. break;
  11311. case 4:
  11312. // after finally
  11313. // implicit return
  11314. return A._asyncReturn(null, $async$completer);
  11315. case 1:
  11316. // rethrow
  11317. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11318. }
  11319. });
  11320. return A._asyncStartSync($async$repl, $async$completer);
  11321. },
  11322. _logError(error, stackTrace, line, repl, options, logger) {
  11323. var t2, spacesBeforeError, t3,
  11324. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11325. if (t1.get$sourceUrl(t1) == null)
  11326. if (!A._asBool(options._options.$index(0, "quiet")))
  11327. t1 = logger._emittedDebug || logger._emittedWarning;
  11328. else
  11329. t1 = false;
  11330. else
  11331. t1 = true;
  11332. if (t1) {
  11333. A.print(error.toString$1$color(0, options.get$color()));
  11334. return;
  11335. }
  11336. t1 = options.get$color() ? "\x1b[31m" : "";
  11337. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11338. t2 = t2.get$start(t2);
  11339. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  11340. if (options.get$color()) {
  11341. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11342. t2 = t2.get$start(t2);
  11343. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  11344. } else
  11345. t2 = false;
  11346. if (t2)
  11347. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  11348. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  11349. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11350. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  11351. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  11352. t1 += "Error: " + error._span_exception$_message + "\n";
  11353. if (A._asBool(options._options.$index(0, "trace")))
  11354. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  11355. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  11356. },
  11357. repl_warn: function repl_warn(t0) {
  11358. this.logger = t0;
  11359. },
  11360. watch(options, graph) {
  11361. var $async$goto = 0,
  11362. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11363. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t7, t8, t0;
  11364. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11365. if ($async$errorCode === 1)
  11366. return A._asyncRethrow($async$result, $async$completer);
  11367. while (true)
  11368. switch ($async$goto) {
  11369. case 0:
  11370. // Function start
  11371. options._ensureSources$0();
  11372. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11373. t1 === $ && A.throwUnnamedLateFieldNI();
  11374. t2 = type$.String;
  11375. t1 = t1.cast$2$0(0, t2, t2);
  11376. t1 = A.List_List$_of(t1.get$keys(t1), t2);
  11377. for (options._ensureSources$0(), t3 = options._sourcesToDestinations.cast$2$0(0, t2, t2), t3 = t3.get$keys(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  11378. t4 = t3.get$current(t3);
  11379. t1.push($.$get$context().dirname$1(t4));
  11380. }
  11381. t3 = options._options;
  11382. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11383. t4 = A._asBool(t3.$index(0, "poll"));
  11384. t5 = type$.Stream_WatchEvent;
  11385. t6 = A.PathMap__create(null, t5);
  11386. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11387. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11388. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11389. $async$goto = 3;
  11390. 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);
  11391. case 3:
  11392. // returning from await.
  11393. options._ensureSources$0();
  11394. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11395. for (t1 = sourcesToDestinations.get$keys(sourcesToDestinations), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  11396. t4 = t1.get$current(t1);
  11397. t6 = $.$get$FilesystemImporter_cwd();
  11398. t7 = self.process;
  11399. if (t7 == null)
  11400. t7 = null;
  11401. else {
  11402. t7 = J.get$release$x(t7);
  11403. t7 = t7 == null ? null : J.get$name$x(t7);
  11404. }
  11405. t7 = J.$eq$(t7, "node") ? self.process : null;
  11406. if (!J.$eq$(t7 == null ? null : J.get$platform$x(t7), "win32")) {
  11407. t7 = self.process;
  11408. if (t7 == null)
  11409. t7 = null;
  11410. else {
  11411. t7 = J.get$release$x(t7);
  11412. t7 = t7 == null ? null : J.get$name$x(t7);
  11413. }
  11414. t7 = J.$eq$(t7, "node") ? self.process : null;
  11415. t7 = J.$eq$(t7 == null ? null : J.get$platform$x(t7), "darwin");
  11416. } else
  11417. t7 = true;
  11418. if (t7) {
  11419. t7 = $.$get$context();
  11420. t8 = A._realCasePath(t7.normalize$1(t7.absolute$15(t4, null, null, null, null, null, null, null, null, null, null, null, null, null, null)));
  11421. t0 = t8;
  11422. t8 = t7;
  11423. t7 = t0;
  11424. } else {
  11425. t7 = $.$get$context();
  11426. t8 = t7.canonicalize$1(0, t4);
  11427. t0 = t8;
  11428. t8 = t7;
  11429. t7 = t0;
  11430. }
  11431. graph.addCanonical$4$recanonicalize(t6, t8.toUri$1(t7), t8.toUri$1(t4), false);
  11432. }
  11433. $async$goto = 4;
  11434. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11435. case 4:
  11436. // returning from await.
  11437. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11438. t1 = t5.__StreamGroup__controller_A;
  11439. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11440. // goto return
  11441. $async$goto = 1;
  11442. break;
  11443. }
  11444. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11445. $async$goto = 5;
  11446. return A._asyncAwait(new A._Watcher(options, graph, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)).watch$1(0, dirWatcher), $async$watch);
  11447. case 5:
  11448. // returning from await.
  11449. case 1:
  11450. // return
  11451. return A._asyncReturn($async$returnValue, $async$completer);
  11452. }
  11453. });
  11454. return A._asyncStartSync($async$watch, $async$completer);
  11455. },
  11456. watch_closure: function watch_closure(t0) {
  11457. this.dirWatcher = t0;
  11458. },
  11459. _Watcher: function _Watcher(t0, t1, t2) {
  11460. this._watch$_options = t0;
  11461. this._graph = t1;
  11462. this._toRecompile = t2;
  11463. },
  11464. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11465. },
  11466. EmptyExtensionStore: function EmptyExtensionStore() {
  11467. },
  11468. Extension: function Extension(t0, t1, t2, t3, t4) {
  11469. var _ = this;
  11470. _.extender = t0;
  11471. _.target = t1;
  11472. _.mediaContext = t2;
  11473. _.isOptional = t3;
  11474. _.span = t4;
  11475. },
  11476. Extender: function Extender(t0, t1) {
  11477. this.selector = t0;
  11478. this.isOriginal = t1;
  11479. this._extension = null;
  11480. },
  11481. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11482. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11483. extender = A.ExtensionStore$_mode(mode);
  11484. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11485. extender._originals.addAll$1(0, selector.components);
  11486. 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) {
  11487. complex = t1[_i];
  11488. compound = complex.get$singleCompound();
  11489. if (compound == null)
  11490. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  11491. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11492. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11493. simple = t10[_i0];
  11494. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11495. for (_i1 = 0; _i1 < t4; ++_i1) {
  11496. complex = t3[_i1];
  11497. complex.get$specificity();
  11498. t13 = new A.Extender(complex, false);
  11499. t14 = new A.Extension(t13, simple, null, true, span);
  11500. t13._extension = t14;
  11501. t12.$indexSet(0, complex, t14);
  11502. }
  11503. t9.$indexSet(0, simple, t12);
  11504. }
  11505. selector = extender._extendList$2(selector, t9);
  11506. }
  11507. return selector;
  11508. },
  11509. ExtensionStore$() {
  11510. var t1 = type$.SimpleSelector;
  11511. 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);
  11512. },
  11513. ExtensionStore$_mode(_mode) {
  11514. var t1 = type$.SimpleSelector;
  11515. 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);
  11516. },
  11517. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11518. var _ = this;
  11519. _._selectors = t0;
  11520. _._extensions = t1;
  11521. _._extensionsByExtender = t2;
  11522. _._mediaContexts = t3;
  11523. _._sourceSpecificity = t4;
  11524. _._originals = t5;
  11525. _._mode = t6;
  11526. },
  11527. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11528. },
  11529. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11530. },
  11531. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11532. },
  11533. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11534. },
  11535. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11536. this.complex = t0;
  11537. },
  11538. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11539. },
  11540. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11541. },
  11542. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11543. },
  11544. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11545. this._box_0 = t0;
  11546. this.$this = t1;
  11547. this.complex = t2;
  11548. },
  11549. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11550. this._box_0 = t0;
  11551. this.$this = t1;
  11552. this.complex = t2;
  11553. },
  11554. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11555. },
  11556. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11557. },
  11558. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11559. this.original = t0;
  11560. },
  11561. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11562. this.$this = t0;
  11563. this.extensions = t1;
  11564. this.targetsUsed = t2;
  11565. },
  11566. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11567. this.$this = t0;
  11568. this.withoutPseudo = t1;
  11569. },
  11570. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11571. },
  11572. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11573. },
  11574. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11575. },
  11576. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11577. },
  11578. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11579. this.pseudo = t0;
  11580. },
  11581. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11582. this.pseudo = t0;
  11583. this.selector = t1;
  11584. },
  11585. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11586. this._box_0 = t0;
  11587. this.complex1 = t1;
  11588. },
  11589. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11590. this._box_0 = t0;
  11591. this.complex1 = t1;
  11592. },
  11593. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11594. var _ = this;
  11595. _.$this = t0;
  11596. _.newSelectors = t1;
  11597. _.oldToNewSelectors = t2;
  11598. _.newMediaContexts = t3;
  11599. },
  11600. unifyComplex(complexes, span) {
  11601. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  11602. t1 = J.getInterceptor$asx(complexes);
  11603. if (t1.get$length(complexes) === 1)
  11604. return complexes;
  11605. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11606. t3 = t2.get$current(t2);
  11607. if (t3.accept$1(B.C__IsUselessVisitor))
  11608. return _null;
  11609. t4 = t3.components;
  11610. _0_6_isSet = t4.length === 1;
  11611. if (_0_6_isSet) {
  11612. _0_6 = t3.leadingCombinators;
  11613. t5 = _0_6.length === 1;
  11614. } else {
  11615. _0_6 = _null;
  11616. t5 = false;
  11617. }
  11618. if (t5) {
  11619. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11620. if (leadingCombinator == null)
  11621. leadingCombinator = newLeadingCombinator;
  11622. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11623. return _null;
  11624. }
  11625. base = B.JSArray_methods.get$last(t4);
  11626. _1_1 = base.combinators;
  11627. if (_1_1.length === 1) {
  11628. newTrailingCombinator = _1_1[0];
  11629. if (trailingCombinator != null)
  11630. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11631. else
  11632. t3 = false;
  11633. if (t3)
  11634. return _null;
  11635. trailingCombinator = newTrailingCombinator;
  11636. }
  11637. unifiedBase0 = base.selector;
  11638. if (unifiedBase == null)
  11639. unifiedBase = unifiedBase0;
  11640. else {
  11641. unifiedBase = A.unifyCompound(unifiedBase, unifiedBase0);
  11642. if (unifiedBase == null)
  11643. return _null;
  11644. }
  11645. }
  11646. t2 = type$.JSArray_ComplexSelector;
  11647. t3 = A._setArrayType([], t2);
  11648. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11649. t5 = t4.get$current(t4);
  11650. t6 = t5.components;
  11651. t7 = t6.length;
  11652. if (t7 > 1) {
  11653. t8 = t5.leadingCombinators;
  11654. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11655. }
  11656. }
  11657. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11658. unifiedBase.toString;
  11659. t5 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11660. 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()));
  11661. if (t3.length === 0)
  11662. t1 = A._setArrayType([base], t2);
  11663. else {
  11664. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t3), type$.ComplexSelector);
  11665. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11666. }
  11667. return A.weave(t1, span, false);
  11668. },
  11669. unifyCompound(compound1, compound2) {
  11670. var t1, t2, pseudoElementFound, _i, simple, unified,
  11671. result = compound1.components,
  11672. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector);
  11673. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  11674. simple = t1[_i];
  11675. if (pseudoElementFound && simple instanceof A.PseudoSelector) {
  11676. unified = simple.unify$1(pseudoResult);
  11677. if (unified == null)
  11678. return null;
  11679. pseudoResult = unified;
  11680. } else {
  11681. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector && !simple.isClass);
  11682. unified = simple.unify$1(result);
  11683. if (unified == null)
  11684. return null;
  11685. result = unified;
  11686. }
  11687. }
  11688. t1 = A.List_List$_of(result, type$.SimpleSelector);
  11689. B.JSArray_methods.addAll$1(t1, pseudoResult);
  11690. return A.CompoundSelector$(t1, compound1.span);
  11691. },
  11692. unifyUniversalAndElement(selector1, selector2) {
  11693. var namespace, $name, t1,
  11694. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11695. namespace1 = _0_0._0,
  11696. name1 = _0_0._1,
  11697. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11698. namespace2 = _1_0._0,
  11699. name2 = _1_0._1;
  11700. if (namespace1 == namespace2 || namespace2 === "*")
  11701. namespace = namespace1;
  11702. else {
  11703. if (namespace1 !== "*")
  11704. return null;
  11705. namespace = namespace2;
  11706. }
  11707. if (name1 == name2 || name2 == null)
  11708. $name = name1;
  11709. else {
  11710. if (!(name1 == null || name1 === "*"))
  11711. return null;
  11712. $name = name2;
  11713. }
  11714. t1 = selector1.span;
  11715. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11716. },
  11717. _namespaceAndName(selector, $name) {
  11718. var t1, _0_4;
  11719. $label0$0: {
  11720. if (selector instanceof A.UniversalSelector) {
  11721. t1 = new A._Record_2(selector.namespace, null);
  11722. break $label0$0;
  11723. }
  11724. if (selector instanceof A.TypeSelector) {
  11725. _0_4 = selector.name;
  11726. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11727. break $label0$0;
  11728. }
  11729. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11730. }
  11731. return t1;
  11732. },
  11733. weave(complexes, span, forceLineBreak) {
  11734. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11735. t1 = J.getInterceptor$asx(complexes);
  11736. if (t1.get$length(complexes) === 1) {
  11737. complex = t1.$index(complexes, 0);
  11738. if (!forceLineBreak || complex.lineBreak)
  11739. return complexes;
  11740. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11741. }
  11742. t2 = type$.JSArray_ComplexSelector;
  11743. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11744. 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();) {
  11745. t5 = t1.__internal$_current;
  11746. if (t5 == null)
  11747. t5 = t3._as(t5);
  11748. t6 = t5.components;
  11749. if (t6.length === 1) {
  11750. for (i = 0; i < prefixes.length; ++i)
  11751. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11752. continue;
  11753. }
  11754. t7 = A._setArrayType([], t2);
  11755. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11756. t9 = A._weaveParents(prefixes[_i], t5, span);
  11757. if (t9 == null)
  11758. t9 = B.List_empty1;
  11759. t10 = t9.length;
  11760. _i0 = 0;
  11761. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11762. parentPrefix = t9[_i0];
  11763. t11 = B.JSArray_methods.get$last(t6);
  11764. t12 = A.List_List$_of(parentPrefix.components, t4);
  11765. t12.push(t11);
  11766. t11 = parentPrefix.lineBreak || forceLineBreak;
  11767. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11768. }
  11769. }
  11770. prefixes = t7;
  11771. }
  11772. return prefixes;
  11773. },
  11774. _weaveParents(prefix, base, span) {
  11775. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish2, t2, rootish1, _0_30, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11776. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11777. if (leadingCombinators == null)
  11778. return _null;
  11779. t1 = type$.ComplexSelectorComponent;
  11780. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11781. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11782. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11783. if (trailingCombinators == null)
  11784. return _null;
  11785. $label0$0: {
  11786. _0_1 = A._firstIfRootish(queue1);
  11787. _0_3 = A._firstIfRootish(queue2);
  11788. _0_3_isSet = _0_1 != null;
  11789. rootish2 = _null;
  11790. t2 = false;
  11791. if (_0_3_isSet) {
  11792. t2 = _0_3 != null;
  11793. if (t2)
  11794. rootish2 = _0_3;
  11795. rootish1 = _0_1;
  11796. _0_30 = _0_3;
  11797. } else {
  11798. rootish1 = _null;
  11799. _0_30 = rootish1;
  11800. }
  11801. if (t2) {
  11802. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11803. if (rootish == null)
  11804. return _null;
  11805. t1 = rootish1.combinators;
  11806. t2 = rootish1.span;
  11807. t3 = type$.CssValue_Combinator;
  11808. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11809. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11810. break $label0$0;
  11811. }
  11812. t2 = _null;
  11813. t3 = false;
  11814. if (_0_1 != null) {
  11815. if (_0_3_isSet)
  11816. t2 = _0_30;
  11817. else {
  11818. t2 = _0_3;
  11819. _0_30 = t2;
  11820. _0_3_isSet = true;
  11821. }
  11822. t2 = t2 == null;
  11823. t3 = t2 ? _0_1 : _null;
  11824. t0 = t3;
  11825. t3 = t2;
  11826. t2 = t0;
  11827. }
  11828. if (!t3)
  11829. if (_0_1 == null) {
  11830. if (_0_3_isSet)
  11831. t3 = _0_30;
  11832. else {
  11833. t3 = _0_3;
  11834. _0_30 = t3;
  11835. _0_3_isSet = true;
  11836. }
  11837. t3 = t3 != null;
  11838. if (t3) {
  11839. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11840. if (rootish_case_1 == null)
  11841. rootish_case_1 = t1._as(rootish_case_1);
  11842. t1 = rootish_case_1;
  11843. } else
  11844. t1 = t2;
  11845. t2 = t3;
  11846. } else {
  11847. t1 = t2;
  11848. t2 = false;
  11849. }
  11850. else {
  11851. t1 = t2;
  11852. t2 = true;
  11853. }
  11854. if (t2) {
  11855. queue1.addFirst$1(t1);
  11856. queue2.addFirst$1(t1);
  11857. }
  11858. }
  11859. groups1 = A._groupSelectors(queue1);
  11860. groups2 = A._groupSelectors(queue2);
  11861. t1 = type$.List_ComplexSelectorComponent;
  11862. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11863. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11864. 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) {
  11865. group = lcs[_i];
  11866. t5 = A._setArrayType([], t3);
  11867. 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) {
  11868. chunk = t6[_i0];
  11869. t8 = A._setArrayType([], t4);
  11870. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11871. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11872. t5.push(t8);
  11873. }
  11874. choices.push(t5);
  11875. choices.push(A._setArrayType([group], t3));
  11876. groups1.removeFirst$0();
  11877. groups2.removeFirst$0();
  11878. }
  11879. t2 = A._setArrayType([], t3);
  11880. 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) {
  11881. chunk = t1[_i];
  11882. t5 = A._setArrayType([], t4);
  11883. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11884. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11885. t2.push(t5);
  11886. }
  11887. choices.push(t2);
  11888. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11889. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11890. 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();) {
  11891. t6 = t2.get$current(t2);
  11892. t7 = A._setArrayType([], t4);
  11893. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11894. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11895. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11896. }
  11897. return t1;
  11898. },
  11899. _firstIfRootish(queue) {
  11900. var first, t1, t2, _i, simple, t3;
  11901. if (queue.get$length(0) >= 1) {
  11902. first = queue.$index(0, 0);
  11903. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11904. simple = t1[_i];
  11905. t3 = false;
  11906. if (simple instanceof A.PseudoSelector)
  11907. if (simple.isClass)
  11908. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11909. if (t3) {
  11910. queue.removeFirst$0();
  11911. return first;
  11912. }
  11913. }
  11914. }
  11915. return null;
  11916. },
  11917. _mergeLeadingCombinators(combinators1, combinators2) {
  11918. var t1, _0_7, t2, _0_11_isSet, _0_11, combinators, _null = null;
  11919. $label0$0: {
  11920. t1 = _null;
  11921. _0_7 = combinators1.length;
  11922. t2 = _0_7;
  11923. t2 = t2 > 1;
  11924. _0_11_isSet = !t2;
  11925. _0_11 = _null;
  11926. if (_0_11_isSet) {
  11927. _0_11 = combinators2.length;
  11928. t2 = _0_11;
  11929. t2 = t2 > 1;
  11930. } else
  11931. t2 = true;
  11932. if (t2)
  11933. break $label0$0;
  11934. t2 = _0_7;
  11935. t2 = t2 <= 0;
  11936. if (t2)
  11937. combinators = combinators2;
  11938. else
  11939. combinators = t1;
  11940. t1 = t2;
  11941. if (!t1) {
  11942. t1 = false;
  11943. if (_0_11_isSet)
  11944. t1 = _0_11;
  11945. else {
  11946. _0_11 = combinators2.length;
  11947. t1 = _0_11;
  11948. }
  11949. t1 = t1 <= 0;
  11950. combinators = combinators1;
  11951. } else
  11952. t1 = true;
  11953. if (t1) {
  11954. t1 = combinators;
  11955. break $label0$0;
  11956. }
  11957. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11958. break $label0$0;
  11959. }
  11960. return t1;
  11961. },
  11962. _mergeTrailingCombinators(components1, components2, span, result) {
  11963. 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;
  11964. if (result == null)
  11965. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11966. $label0$0: {
  11967. _0_1 = components1.get$length(0);
  11968. if (_0_1 >= 1) {
  11969. t1 = components1.$index(0, _0_1 - 1).combinators;
  11970. break $label0$0;
  11971. }
  11972. t1 = B.List_empty0;
  11973. break $label0$0;
  11974. }
  11975. $label1$1: {
  11976. _1_1 = components2.get$length(0);
  11977. if (_1_1 >= 1) {
  11978. t2 = components2.$index(0, _1_1 - 1).combinators;
  11979. break $label1$1;
  11980. }
  11981. t2 = B.List_empty0;
  11982. break $label1$1;
  11983. }
  11984. t3 = t1.length;
  11985. if (t3 === 0 && t2.length === 0)
  11986. return result;
  11987. if (t3 > 1 || t2.length > 1)
  11988. return _null;
  11989. $label2$2: {
  11990. t3 = A.IterableExtension_get_firstOrNull(t1);
  11991. t3 = t3 == null ? _null : t3.value;
  11992. t2 = A.IterableExtension_get_firstOrNull(t2);
  11993. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11994. _4_1 = t2[0];
  11995. _4_3 = B.Combinator_55N === _4_1;
  11996. _4_5_isSet = _4_3;
  11997. if (_4_5_isSet) {
  11998. _4_4 = t2[1];
  11999. _4_5 = B.Combinator_55N === _4_4;
  12000. t3 = _4_5;
  12001. } else {
  12002. _4_4 = _null;
  12003. _4_5 = _4_4;
  12004. t3 = false;
  12005. }
  12006. if (t3) {
  12007. component1 = components1.removeLast$0(0);
  12008. component2 = components2.removeLast$0(0);
  12009. t2 = component1.selector;
  12010. t3 = component2.selector;
  12011. if (A.compoundIsSuperselector(t2, t3, _null))
  12012. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12013. else {
  12014. t4 = type$.JSArray_ComplexSelectorComponent;
  12015. t5 = type$.JSArray_List_ComplexSelectorComponent;
  12016. if (A.compoundIsSuperselector(t3, t2, _null))
  12017. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  12018. else {
  12019. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  12020. _2_0 = A.unifyCompound(t2, t3);
  12021. if (_2_0 != null)
  12022. 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));
  12023. result.addFirst$1(choices);
  12024. }
  12025. }
  12026. break $label2$2;
  12027. }
  12028. _4_6 = _null;
  12029. _4_7 = _null;
  12030. followingComponents = _null;
  12031. nextComponents = _null;
  12032. if (_4_3) {
  12033. if (_4_5_isSet) {
  12034. t3 = _4_4;
  12035. _4_4_isSet = _4_5_isSet;
  12036. } else {
  12037. _4_4 = t2[1];
  12038. t3 = _4_4;
  12039. _4_4_isSet = true;
  12040. }
  12041. _4_9 = B.Combinator_bOP === t3;
  12042. _4_6_isSet = _4_9;
  12043. if (_4_6_isSet) {
  12044. _4_6 = t2[2];
  12045. _4_7 = t2[3];
  12046. nextComponents = _4_7;
  12047. followingComponents = _4_6;
  12048. }
  12049. t3 = _4_6_isSet;
  12050. _4_7_isSet = t3;
  12051. } else {
  12052. _4_9 = _null;
  12053. _4_4_isSet = _4_5_isSet;
  12054. _4_6_isSet = false;
  12055. _4_7_isSet = false;
  12056. t3 = false;
  12057. }
  12058. _4_10_isSet = !t3;
  12059. if (_4_10_isSet) {
  12060. _4_10 = B.Combinator_bOP === _4_1;
  12061. t3 = _4_10;
  12062. if (t3) {
  12063. if (_4_5_isSet)
  12064. t3 = _4_5;
  12065. else {
  12066. if (_4_4_isSet)
  12067. t3 = _4_4;
  12068. else {
  12069. _4_4 = t2[1];
  12070. t3 = _4_4;
  12071. _4_4_isSet = true;
  12072. }
  12073. _4_5 = B.Combinator_55N === t3;
  12074. t3 = _4_5;
  12075. _4_5_isSet = true;
  12076. }
  12077. if (t3) {
  12078. if (_4_6_isSet)
  12079. nextComponents = _4_6;
  12080. else {
  12081. _4_6 = t2[2];
  12082. nextComponents = _4_6;
  12083. _4_6_isSet = true;
  12084. }
  12085. if (_4_7_isSet)
  12086. followingComponents = _4_7;
  12087. else {
  12088. _4_7 = t2[3];
  12089. followingComponents = _4_7;
  12090. _4_7_isSet = true;
  12091. }
  12092. }
  12093. } else
  12094. t3 = false;
  12095. } else {
  12096. _4_10 = _null;
  12097. t3 = true;
  12098. }
  12099. if (t3) {
  12100. next = nextComponents.removeLast$0(0);
  12101. following = followingComponents.removeLast$0(0);
  12102. t1 = following.selector;
  12103. t2 = next.selector;
  12104. t3 = type$.JSArray_ComplexSelectorComponent;
  12105. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12106. if (A.compoundIsSuperselector(t1, t2, _null))
  12107. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12108. else {
  12109. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12110. _3_0 = A.unifyCompound(t1, t2);
  12111. if (_3_0 != null)
  12112. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12113. result.addFirst$1(t4);
  12114. }
  12115. break $label2$2;
  12116. }
  12117. t3 = _null;
  12118. if (B.Combinator_0mp === _4_1) {
  12119. _4_4_isSet0 = true;
  12120. if (_4_3)
  12121. t4 = _4_9;
  12122. else {
  12123. if (_4_4_isSet)
  12124. t4 = _4_4;
  12125. else {
  12126. _4_4 = t2[1];
  12127. t4 = _4_4;
  12128. _4_4_isSet = _4_4_isSet0;
  12129. }
  12130. _4_9 = B.Combinator_bOP === t4;
  12131. t4 = _4_9;
  12132. }
  12133. if (!t4)
  12134. if (_4_5_isSet)
  12135. t4 = _4_5;
  12136. else {
  12137. if (_4_4_isSet)
  12138. t4 = _4_4;
  12139. else {
  12140. _4_4 = t2[1];
  12141. t4 = _4_4;
  12142. _4_4_isSet = _4_4_isSet0;
  12143. }
  12144. _4_5 = B.Combinator_55N === t4;
  12145. t4 = _4_5;
  12146. }
  12147. else
  12148. t4 = true;
  12149. if (t4) {
  12150. if (_4_7_isSet)
  12151. siblingComponents_case_0 = _4_7;
  12152. else {
  12153. _4_7 = t2[3];
  12154. siblingComponents_case_0 = _4_7;
  12155. _4_7_isSet = true;
  12156. }
  12157. t3 = siblingComponents_case_0;
  12158. }
  12159. } else
  12160. t4 = false;
  12161. if (!t4) {
  12162. if (_4_10_isSet)
  12163. t4 = _4_10;
  12164. else {
  12165. _4_10 = B.Combinator_bOP === _4_1;
  12166. t4 = _4_10;
  12167. }
  12168. if (!t4)
  12169. t4 = _4_3;
  12170. else
  12171. t4 = true;
  12172. if (t4) {
  12173. if (_4_4_isSet)
  12174. t4 = _4_4;
  12175. else {
  12176. _4_4 = t2[1];
  12177. t4 = _4_4;
  12178. _4_4_isSet = true;
  12179. }
  12180. t4 = B.Combinator_0mp === t4;
  12181. if (t4) {
  12182. if (_4_6_isSet)
  12183. siblingComponents_case_1 = _4_6;
  12184. else {
  12185. _4_6 = t2[2];
  12186. siblingComponents_case_1 = _4_6;
  12187. _4_6_isSet = true;
  12188. }
  12189. t3 = siblingComponents_case_1;
  12190. }
  12191. } else
  12192. t4 = false;
  12193. } else
  12194. t4 = true;
  12195. if (t4) {
  12196. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12197. break $label2$2;
  12198. }
  12199. t3 = _4_1 == null;
  12200. t4 = !t3;
  12201. t5 = false;
  12202. if (t4) {
  12203. _4_4_isSet0 = true;
  12204. if (_4_4_isSet)
  12205. t6 = _4_4;
  12206. else {
  12207. _4_4 = t2[1];
  12208. t6 = _4_4;
  12209. _4_4_isSet = _4_4_isSet0;
  12210. }
  12211. if (t6 != null) {
  12212. if (_4_4_isSet)
  12213. combinator2 = _4_4;
  12214. else {
  12215. _4_4 = t2[1];
  12216. combinator2 = _4_4;
  12217. _4_4_isSet = _4_4_isSet0;
  12218. }
  12219. t5 = _4_1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12220. }
  12221. }
  12222. if (t5) {
  12223. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12224. if (unified == null)
  12225. return _null;
  12226. 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));
  12227. break $label2$2;
  12228. }
  12229. t1 = _null;
  12230. t5 = _null;
  12231. t6 = _null;
  12232. t7 = false;
  12233. if (t4) {
  12234. if (_4_4_isSet)
  12235. t4 = _4_4;
  12236. else {
  12237. _4_4 = t2[1];
  12238. t4 = _4_4;
  12239. _4_4_isSet = true;
  12240. }
  12241. t4 = t4 == null;
  12242. if (t4) {
  12243. if (_4_6_isSet)
  12244. combinatorComponents_case_0 = _4_6;
  12245. else {
  12246. _4_6 = t2[2];
  12247. combinatorComponents_case_0 = _4_6;
  12248. _4_6_isSet = true;
  12249. }
  12250. if (_4_7_isSet)
  12251. descendantComponents_case_0 = _4_7;
  12252. else {
  12253. _4_7 = t2[3];
  12254. descendantComponents_case_0 = _4_7;
  12255. _4_7_isSet = true;
  12256. }
  12257. t1 = descendantComponents_case_0;
  12258. t6 = t1;
  12259. t1 = _4_1;
  12260. t5 = combinatorComponents_case_0;
  12261. }
  12262. t0 = t6;
  12263. t6 = t4;
  12264. t4 = t5;
  12265. t5 = t0;
  12266. } else {
  12267. t4 = t5;
  12268. t5 = t6;
  12269. t6 = t7;
  12270. }
  12271. if (!t6)
  12272. if (t3) {
  12273. if (_4_4_isSet)
  12274. t3 = _4_4;
  12275. else {
  12276. _4_4 = t2[1];
  12277. t3 = _4_4;
  12278. _4_4_isSet = true;
  12279. }
  12280. t3 = t3 != null;
  12281. if (t3) {
  12282. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12283. if (combinator_case_1 == null)
  12284. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12285. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12286. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12287. t1 = combinatorComponents_case_1;
  12288. t2 = descendantComponents_case_1;
  12289. t4 = t2;
  12290. t2 = t1;
  12291. t1 = combinator_case_1;
  12292. } else {
  12293. t2 = t4;
  12294. t4 = t5;
  12295. }
  12296. t0 = t4;
  12297. t4 = t3;
  12298. t3 = t0;
  12299. } else {
  12300. t3 = t5;
  12301. t2 = t4;
  12302. t4 = false;
  12303. }
  12304. else {
  12305. t3 = t5;
  12306. t2 = t4;
  12307. t4 = true;
  12308. }
  12309. if (t4) {
  12310. if (t1 === B.Combinator_0mp) {
  12311. t1 = A.IterableExtension_get_lastOrNull(t3);
  12312. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12313. t1 = t1 === true;
  12314. } else
  12315. t1 = false;
  12316. if (t1)
  12317. t3.removeLast$0(0);
  12318. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12319. break $label2$2;
  12320. }
  12321. return _null;
  12322. }
  12323. return A._mergeTrailingCombinators(components1, components2, span, result);
  12324. },
  12325. _mustUnify(complex1, complex2) {
  12326. var t2, t3, t4,
  12327. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12328. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12329. 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();)
  12330. t1.add$1(0, t3.get$current(0));
  12331. if (t1._collection$_length === 0)
  12332. return false;
  12333. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12334. },
  12335. _isUnique(simple) {
  12336. var t1;
  12337. if (!(simple instanceof A.IDSelector))
  12338. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12339. else
  12340. t1 = true;
  12341. return t1;
  12342. },
  12343. _chunks(queue1, queue2, done, $T) {
  12344. var chunk2, _0_4, _0_7_isSet, _0_7, _0_5, chunk, _0_5_isSet, t2,
  12345. t1 = $T._eval$1("JSArray<0>"),
  12346. chunk1 = A._setArrayType([], t1);
  12347. for (; !done.call$1(queue1);)
  12348. chunk1.push(queue1.removeFirst$0());
  12349. chunk2 = A._setArrayType([], t1);
  12350. for (; !done.call$1(queue2);)
  12351. chunk2.push(queue2.removeFirst$0());
  12352. $label0$0: {
  12353. _0_4 = chunk1.length <= 0;
  12354. _0_7_isSet = _0_4;
  12355. if (_0_7_isSet) {
  12356. _0_7 = chunk2.length <= 0;
  12357. t1 = _0_7;
  12358. _0_5 = chunk2;
  12359. } else {
  12360. _0_7 = null;
  12361. _0_5 = null;
  12362. t1 = false;
  12363. }
  12364. if (t1) {
  12365. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12366. break $label0$0;
  12367. }
  12368. if (_0_4)
  12369. if (_0_7_isSet) {
  12370. chunk = _0_5;
  12371. _0_5_isSet = _0_7_isSet;
  12372. } else {
  12373. chunk = chunk2;
  12374. _0_5 = chunk;
  12375. _0_5_isSet = true;
  12376. }
  12377. else {
  12378. _0_5_isSet = _0_7_isSet;
  12379. chunk = null;
  12380. }
  12381. if (!_0_4) {
  12382. if (_0_7_isSet)
  12383. t1 = _0_7;
  12384. else {
  12385. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  12386. t1 = _0_7;
  12387. }
  12388. chunk = chunk1;
  12389. } else
  12390. t1 = true;
  12391. if (t1) {
  12392. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12393. break $label0$0;
  12394. }
  12395. t1 = A.List_List$_of(chunk1, $T);
  12396. B.JSArray_methods.addAll$1(t1, chunk2);
  12397. t2 = A.List_List$_of(chunk2, $T);
  12398. B.JSArray_methods.addAll$1(t2, chunk1);
  12399. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12400. break $label0$0;
  12401. }
  12402. return t1;
  12403. },
  12404. paths(choices, $T) {
  12405. 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));
  12406. },
  12407. _groupSelectors(complex) {
  12408. var t2, t3, t4,
  12409. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12410. t1 = type$.JSArray_ComplexSelectorComponent,
  12411. group = A._setArrayType([], t1);
  12412. 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();) {
  12413. t4 = t3.__internal$_current;
  12414. if (t4 == null)
  12415. t4 = t2._as(t4);
  12416. group.push(t4);
  12417. if (t4.combinators.length === 0) {
  12418. groups._queue_list$_add$1(group);
  12419. group = A._setArrayType([], t1);
  12420. }
  12421. }
  12422. if (group.length !== 0)
  12423. groups._queue_list$_add$1(group);
  12424. return groups;
  12425. },
  12426. listIsSuperselector(list1, list2) {
  12427. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12428. },
  12429. _complexIsParentSuperselector(complex1, complex2) {
  12430. var t1, base, t2;
  12431. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12432. return false;
  12433. t1 = $.$get$bogusSpan();
  12434. 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);
  12435. t1 = type$.ComplexSelectorComponent;
  12436. t2 = A.List_List$_of(complex1, t1);
  12437. t2.push(base);
  12438. t1 = A.List_List$_of(complex2, t1);
  12439. t1.push(base);
  12440. return A.complexIsSuperselector(t2, t1);
  12441. },
  12442. complexIsSuperselector(complex1, complex2) {
  12443. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12444. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12445. return false;
  12446. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12447. return false;
  12448. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  12449. remaining1 = complex1.length - i1;
  12450. remaining2 = complex2.length - i2;
  12451. if (remaining1 === 0 || remaining2 === 0)
  12452. return false;
  12453. if (remaining1 > remaining2)
  12454. return false;
  12455. component1 = complex1[i1];
  12456. t3 = component1.combinators;
  12457. if (t3.length > 1)
  12458. return false;
  12459. if (remaining1 === 1)
  12460. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12461. return false;
  12462. else {
  12463. t1 = component1.selector;
  12464. t2 = B.JSArray_methods.get$last(complex2);
  12465. t3 = t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null;
  12466. return A.compoundIsSuperselector(t1, t2.selector, t3);
  12467. }
  12468. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  12469. component2 = complex2[endOfSubselector];
  12470. if (component2.combinators.length > 1)
  12471. return false;
  12472. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  12473. if (A.compoundIsSuperselector(t4, component2.selector, t5))
  12474. break;
  12475. ++endOfSubselector;
  12476. if (endOfSubselector === complex2.length - 1)
  12477. return false;
  12478. }
  12479. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12480. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12481. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12482. return false;
  12483. component2 = complex2[endOfSubselector];
  12484. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12485. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12486. return false;
  12487. ++i1;
  12488. i2 = endOfSubselector + 1;
  12489. if (complex1.length - i1 === 1) {
  12490. t3 = combinator1 == null;
  12491. if ((t3 ? _null : combinator1.value) === B.Combinator_55N) {
  12492. t3 = complex2.length - 1;
  12493. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12494. t4.SubListIterable$3(complex2, 0, t3, t2);
  12495. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12496. return false;
  12497. } else if (!t3)
  12498. if (complex2.length - i2 > 1)
  12499. return false;
  12500. }
  12501. }
  12502. },
  12503. _compatibleWithPreviousCombinator(previous, parents) {
  12504. if (parents.get$isEmpty(parents))
  12505. return true;
  12506. if (previous == null)
  12507. return true;
  12508. if (previous.value !== B.Combinator_55N)
  12509. return false;
  12510. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12511. },
  12512. _isSupercombinator(combinator1, combinator2) {
  12513. var t2, t3,
  12514. t1 = true;
  12515. if (!J.$eq$(combinator1, combinator2)) {
  12516. t2 = combinator1 == null;
  12517. if (t2)
  12518. t3 = (combinator2 == null ? null : combinator2.value) === B.Combinator_0mp;
  12519. else
  12520. t3 = false;
  12521. if (!t3)
  12522. if ((t2 ? null : combinator1.value) === B.Combinator_55N)
  12523. t1 = (combinator2 == null ? null : combinator2.value) === B.Combinator_bOP;
  12524. else
  12525. t1 = false;
  12526. }
  12527. return t1;
  12528. },
  12529. compoundIsSuperselector(compound1, compound2, parents) {
  12530. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, pseudo1, t3, t4, t5, _i, simple1, _null = null;
  12531. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12532. t1 = compound1.components;
  12533. if (t1.length > compound2.components.length)
  12534. return false;
  12535. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12536. }
  12537. _0_1 = A._findPseudoElementIndexed(compound1);
  12538. _0_5 = A._findPseudoElementIndexed(compound2);
  12539. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12540. _0_5_isSet = t1._is(_0_1);
  12541. _0_50 = _null;
  12542. index1 = _null;
  12543. pseudo2 = _null;
  12544. index2 = _null;
  12545. t2 = false;
  12546. if (_0_5_isSet) {
  12547. pseudo1 = _0_1._0;
  12548. index1 = _0_1._1;
  12549. t1 = t1._is(_0_5);
  12550. if (t1) {
  12551. pseudo2 = _0_5._0;
  12552. index2 = _0_5._1;
  12553. }
  12554. _0_50 = _0_5;
  12555. } else {
  12556. t1 = t2;
  12557. pseudo1 = _null;
  12558. }
  12559. if (t1) {
  12560. if (pseudo1.isSuperselector$1(pseudo2)) {
  12561. t1 = compound1.components;
  12562. t2 = type$.int;
  12563. t3 = A._arrayInstanceType(t1)._precomputed1;
  12564. t4 = compound2.components;
  12565. t5 = A._arrayInstanceType(t4)._precomputed1;
  12566. 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);
  12567. } else
  12568. t1 = false;
  12569. return t1;
  12570. }
  12571. if (_0_1 == null)
  12572. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12573. else
  12574. t1 = true;
  12575. if (t1)
  12576. return false;
  12577. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12578. simple1 = t1[_i];
  12579. if (simple1 instanceof A.PseudoSelector)
  12580. t4 = simple1.selector != null;
  12581. else
  12582. t4 = false;
  12583. if (t4) {
  12584. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12585. return false;
  12586. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12587. return false;
  12588. }
  12589. return true;
  12590. },
  12591. _findPseudoElementIndexed(compound) {
  12592. var t1, t2, i, simple;
  12593. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12594. simple = t1[i];
  12595. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12596. return new A._Record_2(simple, i);
  12597. }
  12598. return null;
  12599. },
  12600. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12601. var t1;
  12602. if (compound1.get$length(0) === 0)
  12603. return true;
  12604. if (compound2.get$length(0) === 0)
  12605. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12606. t1 = $.$get$bogusSpan();
  12607. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12608. },
  12609. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12610. var selector1 = pseudo1.selector;
  12611. if (selector1 == null)
  12612. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12613. switch (pseudo1.normalizedName) {
  12614. case "is":
  12615. case "matches":
  12616. case "any":
  12617. case "where":
  12618. 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));
  12619. case "has":
  12620. case "host":
  12621. case "host-context":
  12622. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12623. case "slotted":
  12624. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12625. case "not":
  12626. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12627. case "current":
  12628. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12629. case "nth-child":
  12630. case "nth-last-child":
  12631. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12632. default:
  12633. throw A.wrapException("unreachable");
  12634. }
  12635. },
  12636. _selectorPseudoArgs(compound, $name, isClass) {
  12637. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12638. 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);
  12639. },
  12640. unifyComplex_closure: function unifyComplex_closure() {
  12641. },
  12642. _weaveParents_closure: function _weaveParents_closure(t0) {
  12643. this.span = t0;
  12644. },
  12645. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12646. this.group = t0;
  12647. },
  12648. _weaveParents_closure1: function _weaveParents_closure1() {
  12649. },
  12650. _weaveParents_closure2: function _weaveParents_closure2() {
  12651. },
  12652. _mustUnify_closure: function _mustUnify_closure(t0) {
  12653. this.uniqueSelectors = t0;
  12654. },
  12655. _mustUnify__closure: function _mustUnify__closure(t0) {
  12656. this.uniqueSelectors = t0;
  12657. },
  12658. paths_closure: function paths_closure(t0) {
  12659. this.T = t0;
  12660. },
  12661. paths__closure: function paths__closure(t0, t1) {
  12662. this.paths = t0;
  12663. this.T = t1;
  12664. },
  12665. paths___closure: function paths___closure(t0, t1) {
  12666. this.option = t0;
  12667. this.T = t1;
  12668. },
  12669. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12670. this.list1 = t0;
  12671. },
  12672. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12673. this.complex1 = t0;
  12674. },
  12675. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12676. },
  12677. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12678. this.combinator1 = t0;
  12679. },
  12680. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12681. },
  12682. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12683. this.compound2 = t0;
  12684. },
  12685. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12686. this.selector1 = t0;
  12687. },
  12688. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12689. this.parents = t0;
  12690. this.compound2 = t1;
  12691. },
  12692. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12693. this.selector1 = t0;
  12694. },
  12695. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12696. this.selector1 = t0;
  12697. },
  12698. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12699. this.compound2 = t0;
  12700. this.pseudo1 = t1;
  12701. },
  12702. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12703. this.complex = t0;
  12704. this.pseudo1 = t1;
  12705. },
  12706. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12707. this.simple2 = t0;
  12708. },
  12709. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12710. this.simple2 = t0;
  12711. },
  12712. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12713. this.selector1 = t0;
  12714. },
  12715. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12716. this.pseudo1 = t0;
  12717. this.selector1 = t1;
  12718. },
  12719. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12720. this.isClass = t0;
  12721. this.name = t1;
  12722. },
  12723. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12724. },
  12725. MergedExtension_merge(left, right) {
  12726. var t2, t3, t4,
  12727. t1 = left.extender.selector;
  12728. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12729. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12730. t2 = left.mediaContext;
  12731. t3 = t2 == null;
  12732. if (!t3) {
  12733. t4 = right.mediaContext;
  12734. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12735. } else
  12736. t4 = false;
  12737. if (t4)
  12738. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12739. if (right.isOptional && right.mediaContext == null)
  12740. return left;
  12741. if (left.isOptional && t3)
  12742. return right;
  12743. if (t3)
  12744. t2 = right.mediaContext;
  12745. t1.get$specificity();
  12746. t1 = new A.Extender(t1, false);
  12747. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12748. },
  12749. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12750. var _ = this;
  12751. _.left = t0;
  12752. _.right = t1;
  12753. _.extender = t2;
  12754. _.target = t3;
  12755. _.mediaContext = t4;
  12756. _.isOptional = t5;
  12757. _.span = t6;
  12758. },
  12759. ExtendMode: function ExtendMode(t0, t1) {
  12760. this.name = t0;
  12761. this._name = t1;
  12762. },
  12763. globalFunctions_closure: function globalFunctions_closure() {
  12764. },
  12765. _invert($arguments, global) {
  12766. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  12767. t1 = J.getInterceptor$asx($arguments),
  12768. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  12769. if (!(t1.$index($arguments, 0) instanceof A.SassNumber))
  12770. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  12771. else
  12772. t2 = true;
  12773. if (t2) {
  12774. if (weightNumber._number$_value !== 100 || !weightNumber.hasUnit$1("%"))
  12775. throw A.wrapException(string$.Only_oa);
  12776. return A._functionString("invert", t1.take$1($arguments, 1));
  12777. }
  12778. color = t1.$index($arguments, 0).assertColor$1("color");
  12779. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull)) {
  12780. t1 = color._space;
  12781. if (!t1.get$isLegacyInternal())
  12782. throw A.wrapException(A.SassScriptException$(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  12783. A._checkPercent(weightNumber, _s6_);
  12784. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  12785. channel2 = B.LinearChannel_vJ3;
  12786. 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);
  12787. }
  12788. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  12789. t1.assertUnquoted$1(_s5_);
  12790. space = A.ColorSpace_fromName(t1._string$_text, _s5_);
  12791. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  12792. if (A.fuzzyEquals(weight, 0))
  12793. return color;
  12794. inSpace = color.toSpace$1(space);
  12795. $label0$0: {
  12796. if (B.HwbColorSpace_guQ === space) {
  12797. t1 = A._invertChannel(inSpace, space._channels[0], inSpace.channel0OrNull);
  12798. t2 = inSpace.alphaOrNull;
  12799. if (t2 == null)
  12800. t2 = 0;
  12801. t2 = A.SassColor_SassColor$hwb(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  12802. t1 = t2;
  12803. break $label0$0;
  12804. }
  12805. if (B.HslColorSpace_JQ2 === space || B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  12806. t1 = space._channels;
  12807. t2 = A._invertChannel(inSpace, t1[0], inSpace.channel0OrNull);
  12808. t1 = A._invertChannel(inSpace, t1[2], inSpace.channel2OrNull);
  12809. t3 = inSpace.alphaOrNull;
  12810. if (t3 == null)
  12811. t3 = 0;
  12812. t3 = A.SassColor_SassColor$forSpaceInternal(space, t2, inSpace.channel1OrNull, t1, t3);
  12813. t1 = t3;
  12814. break $label0$0;
  12815. }
  12816. _1_9 = space._channels;
  12817. channel0 = _1_9[0];
  12818. channel1 = _1_9[1];
  12819. channel2 = _1_9[2];
  12820. t1 = A._invertChannel(inSpace, channel0, inSpace.channel0OrNull);
  12821. t2 = A._invertChannel(inSpace, channel1, inSpace.channel1OrNull);
  12822. t3 = A._invertChannel(inSpace, channel2, inSpace.channel2OrNull);
  12823. t4 = inSpace.alphaOrNull;
  12824. t1 = A.SassColor_SassColor$forSpaceInternal(space, t1, t2, t3, t4 == null ? 0 : t4);
  12825. break $label0$0;
  12826. }
  12827. 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);
  12828. },
  12829. _invertChannel(color, channel, value) {
  12830. var _0_2_isSet, _0_2, t1;
  12831. if (value == null)
  12832. A._missingChannelError(color, channel.name);
  12833. $label0$0: {
  12834. _0_2_isSet = channel instanceof A.LinearChannel;
  12835. if (_0_2_isSet) {
  12836. _0_2 = channel.min;
  12837. t1 = _0_2;
  12838. t1 = t1 < 0;
  12839. } else {
  12840. _0_2 = null;
  12841. t1 = false;
  12842. }
  12843. if (t1) {
  12844. t1 = -value;
  12845. break $label0$0;
  12846. }
  12847. if (_0_2_isSet)
  12848. t1 = 0 === _0_2;
  12849. else
  12850. t1 = false;
  12851. if (t1) {
  12852. t1 = channel.max - value;
  12853. break $label0$0;
  12854. }
  12855. if (channel.isPolarAngle) {
  12856. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  12857. break $label0$0;
  12858. }
  12859. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  12860. }
  12861. return t1;
  12862. },
  12863. _grayscale(colorArg) {
  12864. var hsl, t2, oklch,
  12865. color = colorArg.assertColor$1("color"),
  12866. t1 = color._space;
  12867. if (t1.get$isLegacyInternal()) {
  12868. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  12869. t2 = hsl.alphaOrNull;
  12870. if (t2 == null)
  12871. t2 = 0;
  12872. return A.SassColor_SassColor$hsl(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  12873. } else {
  12874. oklch = color.toSpace$1(B.OklchColorSpace_9Gj);
  12875. t2 = oklch.alphaOrNull;
  12876. if (t2 == null)
  12877. t2 = 0;
  12878. return A.SassColor_SassColor$forSpaceInternal(B.OklchColorSpace_9Gj, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  12879. }
  12880. },
  12881. _updateComponents($arguments, adjust, change, scale) {
  12882. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  12883. t1 = J.getInterceptor$asx($arguments),
  12884. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12885. if (argumentList._list$_contents.length !== 0)
  12886. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12887. argumentList._wereKeywordsAccessed = true;
  12888. t2 = type$.String;
  12889. t3 = type$.Value;
  12890. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, t2, t3);
  12891. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  12892. t1 = keywords.remove$1(0, _s5_);
  12893. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  12894. if (spaceKeyword == null)
  12895. spaceKeyword = _null;
  12896. else
  12897. spaceKeyword.assertUnquoted$1(_s5_);
  12898. alphaArg = keywords.remove$1(0, "alpha");
  12899. t1 = spaceKeyword == null;
  12900. if (t1 && originalColor._space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  12901. t1 = A.NullableExtension_andThen(A._sniffLegacyColorSpace(keywords), new A._updateComponents_closure(originalColor));
  12902. color = t1 == null ? originalColor : t1;
  12903. } else
  12904. color = A._colorInSpace(originalColor, t1 ? B.C__SassNull : spaceKeyword, true);
  12905. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value);
  12906. t1 = color._space;
  12907. channelInfo = t1._channels;
  12908. for (t2 = A.MapExtensions_get_pairs(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12909. t3 = {};
  12910. t4 = t2.get$current(t2);
  12911. t3.name = null;
  12912. t3.name = t4._0;
  12913. value = t4._1;
  12914. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure0(t3));
  12915. if (channelIndex === -1)
  12916. throw A.wrapException(A.SassScriptException$("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  12917. channelArgs[channelIndex] = value;
  12918. }
  12919. if (change)
  12920. result = A._changeColor(color, channelArgs, alphaArg);
  12921. else {
  12922. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber);
  12923. for (i = 0; i < 3; ++i) {
  12924. t3 = channelArgs[i];
  12925. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  12926. }
  12927. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  12928. 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);
  12929. }
  12930. return result.toSpace$2$legacyMissing(originalColor._space, false);
  12931. },
  12932. _changeColor(color, channelArgs, alphaArg) {
  12933. var t4, _s5_ = "alpha",
  12934. t1 = A._channelForChange(channelArgs[0], color, 0),
  12935. t2 = A._channelForChange(channelArgs[1], color, 1),
  12936. t3 = A._channelForChange(channelArgs[2], color, 2);
  12937. $label0$0: {
  12938. if (alphaArg == null) {
  12939. t4 = color.alphaOrNull;
  12940. if (t4 == null)
  12941. t4 = 0;
  12942. break $label0$0;
  12943. }
  12944. t4 = A._isNone(alphaArg);
  12945. if (t4) {
  12946. t4 = null;
  12947. break $label0$0;
  12948. }
  12949. t4 = alphaArg instanceof A.SassNumber;
  12950. if (t4 && !alphaArg.get$hasUnits()) {
  12951. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  12952. break $label0$0;
  12953. }
  12954. if (t4 && alphaArg.hasUnit$1("%")) {
  12955. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  12956. break $label0$0;
  12957. }
  12958. if (t4) {
  12959. t4 = new A._changeColor_closure(alphaArg).call$0();
  12960. break $label0$0;
  12961. }
  12962. t4 = A.throwExpression(A.SassScriptException$(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  12963. }
  12964. return A._colorFromChannels(color._space, t1, t2, t3, t4, false, false);
  12965. },
  12966. _channelForChange(channelArg, color, channel) {
  12967. var _0_0, t1, t2;
  12968. if (channelArg == null) {
  12969. _0_0 = color.get$channelsOrNull()[channel];
  12970. $label0$0: {
  12971. if (_0_0 != null) {
  12972. t1 = color._space;
  12973. t2 = A.SassNumber_SassNumber(_0_0, (t1 === B.HslColorSpace_JQ2 || t1 === B.HwbColorSpace_guQ) && channel > 0 ? "%" : null);
  12974. t1 = t2;
  12975. break $label0$0;
  12976. }
  12977. t1 = null;
  12978. break $label0$0;
  12979. }
  12980. return t1;
  12981. }
  12982. if (A._isNone(channelArg))
  12983. return null;
  12984. if (channelArg instanceof A.SassNumber)
  12985. return channelArg;
  12986. throw A.wrapException(A.SassScriptException$(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._space._channels[channel].name));
  12987. },
  12988. _scaleChannel(color, channel, oldValue, factorArg) {
  12989. var t1, factor;
  12990. if (factorArg == null)
  12991. return oldValue;
  12992. if (!(channel instanceof A.LinearChannel))
  12993. throw A.wrapException(A.SassScriptException$("Channel isn't scalable.", channel.name));
  12994. if (oldValue == null)
  12995. A._missingChannelError(color, channel.name);
  12996. t1 = channel.name;
  12997. factorArg.assertUnit$2("%", t1);
  12998. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  12999. $label0$0: {
  13000. if (0 === factor) {
  13001. t1 = oldValue;
  13002. break $label0$0;
  13003. }
  13004. if (factor > 0) {
  13005. t1 = channel.max;
  13006. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  13007. break $label0$0;
  13008. }
  13009. t1 = channel.min;
  13010. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  13011. break $label0$0;
  13012. }
  13013. return t1;
  13014. },
  13015. _adjustColor(color, channelArgs, alphaArg) {
  13016. var t1 = color._space,
  13017. t2 = t1._channels;
  13018. 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()));
  13019. },
  13020. _adjustChannel(color, channel, oldValue, adjustmentArg) {
  13021. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  13022. if (adjustmentArg == null)
  13023. return oldValue;
  13024. if (oldValue == null)
  13025. A._missingChannelError(color, channel.name);
  13026. $label0$0: {
  13027. _0_1 = color._space;
  13028. _0_3 = B.HslColorSpace_JQ2 === _0_1;
  13029. t1 = _0_3;
  13030. if (!t1)
  13031. _0_6_isSet = B.HwbColorSpace_guQ === _0_1;
  13032. else
  13033. _0_6_isSet = true;
  13034. if (_0_6_isSet) {
  13035. t1 = channel.isPolarAngle;
  13036. _0_6 = channel;
  13037. } else {
  13038. _0_6 = _null;
  13039. t1 = false;
  13040. }
  13041. if (t1) {
  13042. adjustmentArg = A.SassNumber_SassNumber(A._angleValue(adjustmentArg, "hue"), _null);
  13043. break $label0$0;
  13044. }
  13045. t1 = false;
  13046. if (_0_3) {
  13047. _0_6_isSet0 = true;
  13048. if (_0_6_isSet)
  13049. t2 = _0_6;
  13050. else {
  13051. t2 = channel;
  13052. _0_6_isSet = _0_6_isSet0;
  13053. _0_6 = t2;
  13054. }
  13055. if (t2 instanceof A.LinearChannel) {
  13056. if (_0_6_isSet)
  13057. t1 = _0_6;
  13058. else {
  13059. t1 = channel;
  13060. _0_6_isSet = _0_6_isSet0;
  13061. _0_6 = t1;
  13062. }
  13063. _0_11 = type$.LinearChannel._as(t1).name;
  13064. t1 = _0_11;
  13065. if ("saturation" !== t1)
  13066. t1 = "lightness" === _0_11;
  13067. else
  13068. t1 = true;
  13069. }
  13070. }
  13071. if (t1) {
  13072. A._checkPercent(adjustmentArg, channel.name);
  13073. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, "%");
  13074. break $label0$0;
  13075. }
  13076. if (B.LinearChannel_XL8 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  13077. A.warnForDeprecation("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_jG1);
  13078. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, _null);
  13079. }
  13080. }
  13081. t1 = A._channelFromValue(channel, adjustmentArg, false);
  13082. t1.toString;
  13083. result = oldValue + t1;
  13084. $label1$1: {
  13085. t1 = channel instanceof A.LinearChannel;
  13086. min = _null;
  13087. t2 = false;
  13088. if (t1)
  13089. if (channel.lowerClamped) {
  13090. min = channel.min;
  13091. t2 = result < min;
  13092. }
  13093. if (t2) {
  13094. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  13095. break $label1$1;
  13096. }
  13097. max = _null;
  13098. t2 = false;
  13099. if (t1)
  13100. if (channel.upperClamped) {
  13101. max = channel.max;
  13102. t1 = result > max;
  13103. } else
  13104. t1 = t2;
  13105. else
  13106. t1 = t2;
  13107. if (t1) {
  13108. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  13109. break $label1$1;
  13110. }
  13111. t1 = result;
  13112. break $label1$1;
  13113. }
  13114. return t1;
  13115. },
  13116. _sniffLegacyColorSpace(keywords) {
  13117. var t1, t2;
  13118. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  13119. t2 = t1.__js_helper$_current;
  13120. if ("red" === t2 || "green" === t2 || "blue" === t2)
  13121. return B.RgbColorSpace_i0P;
  13122. if ("saturation" === t2 || "lightness" === t2)
  13123. return B.HslColorSpace_JQ2;
  13124. if ("whiteness" === t2 || "blackness" === t2)
  13125. return B.HwbColorSpace_guQ;
  13126. }
  13127. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ2 : null;
  13128. },
  13129. _functionString($name, $arguments) {
  13130. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  13131. },
  13132. _removedColorFunction($name, argument, negative) {
  13133. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  13134. },
  13135. _rgb($name, $arguments) {
  13136. var t3, t4,
  13137. t1 = J.getInterceptor$asx($arguments),
  13138. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13139. t2 = true;
  13140. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13141. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13142. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13143. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13144. t2 = t2 === true;
  13145. }
  13146. if (t2)
  13147. return A._functionString($name, $arguments);
  13148. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  13149. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  13150. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  13151. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  13152. return A._colorFromChannels(B.RgbColorSpace_i0P, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  13153. },
  13154. _rgbTwoArg($name, $arguments) {
  13155. var t2, color,
  13156. t1 = J.getInterceptor$asx($arguments),
  13157. first = t1.$index($arguments, 0),
  13158. second = t1.$index($arguments, 1);
  13159. if (!first.get$isVar())
  13160. t2 = !(first instanceof A.SassColor) && second.get$isVar();
  13161. else
  13162. t2 = true;
  13163. if (t2)
  13164. return A._functionString($name, $arguments);
  13165. color = first.assertColor$1("color");
  13166. if (!color._space.get$isLegacyInternal())
  13167. throw A.wrapException(A.SassScriptException$("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  13168. color.assertLegacy$1("color");
  13169. color = color.toSpace$1(B.RgbColorSpace_i0P);
  13170. if (second.get$isSpecialNumber())
  13171. 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));
  13172. t1 = A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  13173. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13174. },
  13175. _hsl($name, $arguments) {
  13176. var t3, t4,
  13177. t1 = J.getInterceptor$asx($arguments),
  13178. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13179. t2 = true;
  13180. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13181. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13182. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13183. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13184. t2 = t2 === true;
  13185. }
  13186. if (t2)
  13187. return A._functionString($name, $arguments);
  13188. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  13189. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  13190. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  13191. t4 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  13192. return A._colorFromChannels(B.HslColorSpace_JQ2, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  13193. },
  13194. _angleValue(angleValue, $name) {
  13195. var angle = angleValue.assertNumber$1($name);
  13196. if (angle.compatibleWithUnit$1("deg"))
  13197. return angle.coerceValueToUnit$1("deg");
  13198. 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);
  13199. return angle._number$_value;
  13200. },
  13201. _checkPercent(number, $name) {
  13202. if (number.hasUnit$1("%"))
  13203. return;
  13204. 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);
  13205. },
  13206. _percentageOrUnitless(number, max, $name) {
  13207. var value;
  13208. if (!number.get$hasUnits())
  13209. value = number._number$_value;
  13210. else if (number.hasUnit$1("%"))
  13211. value = max * number._number$_value / 100;
  13212. else
  13213. throw A.wrapException(A.SassScriptException$("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  13214. return value;
  13215. },
  13216. _mixLegacy(color1, color2, weight) {
  13217. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  13218. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P),
  13219. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P),
  13220. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  13221. normalizedWeight = weightScale * 2 - 1,
  13222. t1 = color1.alphaOrNull;
  13223. if (t1 == null)
  13224. t1 = 0;
  13225. t2 = color2.alphaOrNull;
  13226. alphaDistance = t1 - (t2 == null ? 0 : t2);
  13227. t1 = normalizedWeight * alphaDistance;
  13228. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  13229. weight2 = 1 - weight1;
  13230. t1 = rgb1.channel0OrNull;
  13231. if (t1 == null)
  13232. t1 = 0;
  13233. t2 = rgb2.channel0OrNull;
  13234. if (t2 == null)
  13235. t2 = 0;
  13236. t3 = rgb1.channel1OrNull;
  13237. if (t3 == null)
  13238. t3 = 0;
  13239. t4 = rgb2.channel1OrNull;
  13240. if (t4 == null)
  13241. t4 = 0;
  13242. t5 = rgb1.channel2OrNull;
  13243. if (t5 == null)
  13244. t5 = 0;
  13245. t6 = rgb2.channel2OrNull;
  13246. if (t6 == null)
  13247. t6 = 0;
  13248. t7 = rgb1.alphaOrNull;
  13249. if (t7 == null)
  13250. t7 = 0;
  13251. t8 = rgb2.alphaOrNull;
  13252. if (t8 == null)
  13253. t8 = 0;
  13254. return A.SassColor_SassColor$rgbInternal(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  13255. },
  13256. _opacify($name, $arguments) {
  13257. var result,
  13258. t1 = J.getInterceptor$asx($arguments),
  13259. color = t1.$index($arguments, 0).assertColor$1("color"),
  13260. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13261. if (!color._space.get$isLegacyInternal())
  13262. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13263. t1 = color.alphaOrNull;
  13264. if (t1 == null)
  13265. t1 = 0;
  13266. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13267. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13268. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13269. return result;
  13270. },
  13271. _transparentize($name, $arguments) {
  13272. var result,
  13273. t1 = J.getInterceptor$asx($arguments),
  13274. color = t1.$index($arguments, 0).assertColor$1("color"),
  13275. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13276. if (!color._space.get$isLegacyInternal())
  13277. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13278. t1 = color.alphaOrNull;
  13279. if (t1 == null)
  13280. t1 = 0;
  13281. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13282. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13283. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13284. return result;
  13285. },
  13286. _colorInSpace(colorUntyped, spaceUntyped, legacyMissing) {
  13287. var t1, _s5_ = "space",
  13288. color = colorUntyped.assertColor$1("color");
  13289. if (spaceUntyped.$eq(0, B.C__SassNull))
  13290. return color;
  13291. t1 = spaceUntyped.assertString$1(_s5_);
  13292. t1.assertUnquoted$1(_s5_);
  13293. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName(t1._string$_text, _s5_), legacyMissing);
  13294. },
  13295. _parseChannels(functionName, input, $name, space) {
  13296. 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;
  13297. if (input.get$isVar())
  13298. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13299. parsedSlash = A._parseSlashChannels(input, $name);
  13300. if (parsedSlash == null)
  13301. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13302. components = parsedSlash._0;
  13303. alphaValue = parsedSlash._1;
  13304. $label0$0: {
  13305. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  13306. _2_1 = _2_0.length;
  13307. if (_2_1 <= 0)
  13308. throw A.wrapException(A.SassScriptException$("Color component list may not be empty.", $name));
  13309. _2_5 = _2_1 >= 1;
  13310. _2_6_isSet = _2_5;
  13311. t1 = false;
  13312. if (_2_6_isSet) {
  13313. _2_6 = _2_0[0];
  13314. if (_2_6 instanceof A.SassString) {
  13315. type$.SassString._as(_2_6);
  13316. t1 = !_2_6._hasQuotes && _2_6._string$_text.toLowerCase() === "from";
  13317. }
  13318. } else
  13319. _2_6 = _null;
  13320. if (t1)
  13321. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13322. t1 = components.get$isVar();
  13323. if (t1) {
  13324. channels = A._setArrayType([components], type$.JSArray_Value);
  13325. break $label0$0;
  13326. }
  13327. channels = _null;
  13328. if (_2_5) {
  13329. first = _2_6_isSet ? _2_6 : _2_0[0];
  13330. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  13331. componentList = _2_0;
  13332. } else {
  13333. componentList = channels;
  13334. rest = componentList;
  13335. first = _null;
  13336. }
  13337. if (_2_5) {
  13338. if (space == null) {
  13339. spaceName = first.assertString$1($name);
  13340. spaceName.assertUnquoted$1($name);
  13341. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName(spaceName._string$_text, $name);
  13342. 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)
  13343. throw A.wrapException(A.SassScriptException$(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  13344. channels = rest;
  13345. } else
  13346. channels = componentList;
  13347. for (i = 0; i < channels.length; ++i) {
  13348. channel = channels[i];
  13349. t1 = false;
  13350. if (!channel.get$isSpecialNumber())
  13351. if (!(channel instanceof A.SassNumber))
  13352. t1 = !(channel instanceof A.SassString && !channel._hasQuotes && channel._string$_text.toLowerCase() === "none");
  13353. if (t1) {
  13354. t1 = _null;
  13355. if (space == null)
  13356. channelName = t1;
  13357. else {
  13358. t2 = space._channels;
  13359. t2 = i < 3 ? t2[i] : _null;
  13360. if (!(t2 == null))
  13361. t1 = new A._parseChannels_closure().call$1(t2.name);
  13362. channelName = t1;
  13363. }
  13364. if (channelName == null)
  13365. channelName = "channel " + (i + 1);
  13366. throw A.wrapException(A.SassScriptException$("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  13367. }
  13368. }
  13369. break $label0$0;
  13370. }
  13371. throw A.wrapException("unreachable");
  13372. }
  13373. t1 = alphaValue == null;
  13374. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  13375. if (t2 === true) {
  13376. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13377. t1 = A.List_List$_of(channels, type$.Value);
  13378. alphaValue.toString;
  13379. t1.push(alphaValue);
  13380. t1 = A._functionString(functionName, t1);
  13381. } else
  13382. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13383. return t1;
  13384. }
  13385. $label1$1: {
  13386. if (t1) {
  13387. t2 = 1;
  13388. break $label1$1;
  13389. }
  13390. if (alphaValue instanceof A.SassString && !alphaValue._hasQuotes && "none" === alphaValue._string$_text) {
  13391. t2 = _null;
  13392. break $label1$1;
  13393. }
  13394. t2 = A._percentageOrUnitless(alphaValue.assertNumber$1($name), 1, "alpha");
  13395. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  13396. break $label1$1;
  13397. }
  13398. if (space == null)
  13399. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13400. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure0())) {
  13401. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13402. t2 = A.List_List$_of(channels, type$.Value);
  13403. if (!t1)
  13404. t2.push(alphaValue);
  13405. t1 = A._functionString(functionName, t2);
  13406. } else
  13407. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13408. return t1;
  13409. }
  13410. if (channels.length !== 3)
  13411. throw A.wrapException(A.SassScriptException$("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  13412. t1 = channels[0];
  13413. t1 = t1 instanceof A.SassNumber ? t1 : _null;
  13414. t3 = channels[1];
  13415. t3 = t3 instanceof A.SassNumber ? t3 : _null;
  13416. t4 = channels[2];
  13417. t4 = t4 instanceof A.SassNumber ? t4 : _null;
  13418. return A._colorFromChannels(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P);
  13419. },
  13420. _parseSlashChannels(input, $name) {
  13421. 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,
  13422. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  13423. $label0$0: {
  13424. _1_1 = _1_0.length;
  13425. alphaValue = _null;
  13426. t1 = false;
  13427. if (_1_1 === 2) {
  13428. components = _1_0[0];
  13429. alphaValue = _1_0[1];
  13430. t1 = input.get$separator(input) === B.ListSeparator_bRz;
  13431. } else
  13432. components = _null;
  13433. if (t1) {
  13434. t1 = new A._Record_2(components, alphaValue);
  13435. break $label0$0;
  13436. }
  13437. t1 = input.get$separator(input);
  13438. if (t1 === B.ListSeparator_bRz) {
  13439. t1 = _1_0.length;
  13440. A.throwExpression(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", $name));
  13441. }
  13442. _1_7 = _1_1 >= 1;
  13443. _1_8_isSet = _1_7;
  13444. _1_9 = _null;
  13445. t1 = false;
  13446. if (_1_8_isSet) {
  13447. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13448. initial = _1_8;
  13449. _1_9 = _1_0[_1_1 - 1];
  13450. t2 = _1_9;
  13451. if (t2 instanceof A.SassString) {
  13452. type$.SassString._as(_1_9);
  13453. t1 = !_1_9._hasQuotes;
  13454. }
  13455. } else {
  13456. initial = _null;
  13457. _1_8 = initial;
  13458. }
  13459. if (t1) {
  13460. if (_1_8_isSet)
  13461. t1 = _1_9;
  13462. else {
  13463. _1_9 = _1_0[_1_1 - 1];
  13464. t1 = _1_9;
  13465. }
  13466. _0_0 = type$.SassString._as(t1)._string$_text.split("/");
  13467. $label1$1: {
  13468. _0_1 = _0_0.length;
  13469. if (_0_1 === 1) {
  13470. t1 = new A._Record_2(input, _null);
  13471. break $label1$1;
  13472. }
  13473. if (_0_1 === 2) {
  13474. channel3 = _0_0[0];
  13475. alpha = _0_0[1];
  13476. t1 = A.List_List$_of(initial, type$.Value);
  13477. t1.push(A._parseNumberOrString(channel3));
  13478. t1 = new A._Record_2(A.SassList$(t1, B.ListSeparator_qSL, false), A._parseNumberOrString(alpha));
  13479. break $label1$1;
  13480. }
  13481. t1 = _null;
  13482. break $label1$1;
  13483. }
  13484. break $label0$0;
  13485. }
  13486. _1_16 = _null;
  13487. _1_16_isSet = false;
  13488. t1 = false;
  13489. if (_1_7) {
  13490. _1_9_isSet = true;
  13491. if (_1_8_isSet)
  13492. initial = _1_8;
  13493. else {
  13494. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13495. initial = _1_8;
  13496. }
  13497. if (_1_8_isSet) {
  13498. t2 = _1_9;
  13499. _1_9_isSet0 = _1_8_isSet;
  13500. } else {
  13501. _1_9 = _1_0[_1_1 - 1];
  13502. t2 = _1_9;
  13503. _1_9_isSet0 = _1_9_isSet;
  13504. }
  13505. _1_16_isSet = t2 instanceof A.SassNumber;
  13506. if (_1_16_isSet) {
  13507. if (_1_9_isSet0) {
  13508. t1 = _1_9;
  13509. _1_9_isSet = _1_9_isSet0;
  13510. } else {
  13511. _1_9 = _1_0[_1_1 - 1];
  13512. t1 = _1_9;
  13513. }
  13514. _1_16 = type$.SassNumber._as(t1).asSlash;
  13515. t1 = _1_16;
  13516. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  13517. } else
  13518. _1_9_isSet = _1_9_isSet0;
  13519. } else {
  13520. initial = _null;
  13521. _1_9_isSet = _1_8_isSet;
  13522. }
  13523. if (t1) {
  13524. if (_1_16_isSet)
  13525. t1 = _1_16;
  13526. else {
  13527. if (_1_9_isSet)
  13528. t1 = _1_9;
  13529. else {
  13530. _1_9 = _1_0[_1_1 - 1];
  13531. t1 = _1_9;
  13532. _1_9_isSet = true;
  13533. }
  13534. _1_16 = type$.SassNumber._as(t1).asSlash;
  13535. t1 = _1_16;
  13536. _1_16_isSet = true;
  13537. }
  13538. if (t1 == null)
  13539. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  13540. if (_1_16_isSet)
  13541. t2 = _1_16;
  13542. else {
  13543. if (_1_9_isSet)
  13544. t2 = _1_9;
  13545. else {
  13546. _1_9 = _1_0[_1_1 - 1];
  13547. t2 = _1_9;
  13548. }
  13549. _1_16 = type$.SassNumber._as(t2).asSlash;
  13550. t2 = _1_16;
  13551. }
  13552. if (t2 == null)
  13553. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  13554. t3 = A.List_List$_of(initial, type$.Value);
  13555. t3.push(t1._0);
  13556. t1 = new A._Record_2(A.SassList$(t3, B.ListSeparator_qSL, false), t2._1);
  13557. break $label0$0;
  13558. }
  13559. t1 = new A._Record_2(input, _null);
  13560. break $label0$0;
  13561. }
  13562. return t1;
  13563. },
  13564. _parseNumberOrString(text) {
  13565. var t1, expression, exception;
  13566. try {
  13567. t1 = A.ScssParser$(text, null);
  13568. expression = t1._parseSingleProduction$1$1(t1.get$_number(), type$.NumberExpression);
  13569. t1 = A.SassNumber_SassNumber(expression.value, expression.unit);
  13570. return t1;
  13571. } catch (exception) {
  13572. if (type$.SassFormatException._is(A.unwrapException(exception)))
  13573. return new A.SassString(text, false);
  13574. else
  13575. throw exception;
  13576. }
  13577. },
  13578. _colorFromChannels(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  13579. var t1, t2, whiteness, blackness, t3;
  13580. switch (space) {
  13581. case B.HslColorSpace_JQ2:
  13582. if (channel1 != null)
  13583. A._checkPercent(channel1, "saturation");
  13584. if (channel2 != null)
  13585. A._checkPercent(channel2, "lightness");
  13586. t1 = space._channels;
  13587. 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);
  13588. case B.HwbColorSpace_guQ:
  13589. t1 = channel1 == null;
  13590. if (!t1)
  13591. channel1.assertUnit$2("%", "whiteness");
  13592. t2 = channel2 == null;
  13593. if (!t2)
  13594. channel2.assertUnit$2("%", "blackness");
  13595. whiteness = t1 ? null : channel1._number$_value;
  13596. blackness = t2 ? null : channel2._number$_value;
  13597. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  13598. t1 = whiteness + blackness;
  13599. whiteness = whiteness / t1 * 100;
  13600. blackness = blackness / t1 * 100;
  13601. }
  13602. return A.SassColor_SassColor$hwb(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure0()), whiteness, blackness, alpha);
  13603. case B.RgbColorSpace_i0P:
  13604. t1 = space._channels;
  13605. t2 = A._channelFromValue(t1[0], channel0, clamp);
  13606. t3 = A._channelFromValue(t1[1], channel1, clamp);
  13607. t1 = A._channelFromValue(t1[2], channel2, clamp);
  13608. return A.SassColor_SassColor$rgbInternal(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum : null);
  13609. default:
  13610. t1 = space._channels;
  13611. 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);
  13612. }
  13613. },
  13614. _forcePercent(number) {
  13615. var t1, _0_3;
  13616. $label0$0: {
  13617. if (number == null) {
  13618. t1 = null;
  13619. break $label0$0;
  13620. }
  13621. _0_3 = number.get$numeratorUnits(number);
  13622. if (_0_3.length === 1)
  13623. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  13624. else
  13625. t1 = false;
  13626. if (t1) {
  13627. t1 = number;
  13628. break $label0$0;
  13629. }
  13630. t1 = A.SassNumber_SassNumber(number._number$_value, "%");
  13631. break $label0$0;
  13632. }
  13633. return t1;
  13634. },
  13635. _channelFromValue(channel, value, clamp) {
  13636. return A.NullableExtension_andThen(value, new A._channelFromValue_closure(channel, clamp));
  13637. },
  13638. _isNone(value) {
  13639. return value instanceof A.SassString && !value._hasQuotes && value._string$_text.toLowerCase() === "none";
  13640. },
  13641. _channelFunction($name, space, getter, global, unit) {
  13642. return A.BuiltInCallable$function($name, "$color", new A._channelFunction_closure(getter, unit, global, $name, space), "sass:color");
  13643. },
  13644. _suggestScaleAndAdjust(original, adjustment, channelName) {
  13645. var t2, oldValue, newValue, factor, t3, suggestion,
  13646. channel = channelName === "alpha" ? B.LinearChannel_XL8 : type$.LinearChannel._as(B.JSArray_methods.firstWhere$1(B.List_oAL, new A._suggestScaleAndAdjust_closure(channelName))),
  13647. t1 = channel === B.LinearChannel_XL8;
  13648. if (t1) {
  13649. t2 = original.alphaOrNull;
  13650. oldValue = t2 == null ? 0 : t2;
  13651. } else
  13652. oldValue = original.toSpace$1(B.HslColorSpace_JQ2).channel$1(0, channelName);
  13653. newValue = oldValue + adjustment;
  13654. if (adjustment !== 0) {
  13655. factor = A._Cell$();
  13656. t2 = channel.max;
  13657. if (newValue > t2)
  13658. factor.__late_helper$_value = 1;
  13659. else {
  13660. t3 = channel.min;
  13661. if (newValue < t3)
  13662. factor.__late_helper$_value = -1;
  13663. else if (adjustment > 0)
  13664. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  13665. else
  13666. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  13667. }
  13668. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.serializeValue(A.SassNumber_SassNumber(factor._readLocal$0() * 100, "%"), false, true) + ")\n");
  13669. } else
  13670. suggestion = "Suggestion:\n\n";
  13671. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.serializeValue(A.SassNumber_SassNumber(adjustment, t1 ? null : "%"), false, true) + ")");
  13672. },
  13673. _missingChannelError(color, channel) {
  13674. return A.throwExpression(A.SassScriptException$(string$.Becaus + color.toCssString$0() + ").", channel));
  13675. },
  13676. _channelName(value) {
  13677. var t1 = value.assertString$1("channel");
  13678. t1.assertQuoted$1("channel");
  13679. return t1._string$_text;
  13680. },
  13681. _function5($name, $arguments, callback) {
  13682. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13683. },
  13684. global_closure0: function global_closure0() {
  13685. },
  13686. global_closure1: function global_closure1() {
  13687. },
  13688. global_closure2: function global_closure2() {
  13689. },
  13690. global_closure3: function global_closure3() {
  13691. },
  13692. global_closure4: function global_closure4() {
  13693. },
  13694. global_closure5: function global_closure5() {
  13695. },
  13696. global_closure6: function global_closure6() {
  13697. },
  13698. global_closure7: function global_closure7() {
  13699. },
  13700. global_closure8: function global_closure8() {
  13701. },
  13702. global_closure9: function global_closure9() {
  13703. },
  13704. global_closure10: function global_closure10() {
  13705. },
  13706. global_closure11: function global_closure11() {
  13707. },
  13708. global_closure12: function global_closure12() {
  13709. },
  13710. global_closure13: function global_closure13() {
  13711. },
  13712. global_closure14: function global_closure14() {
  13713. },
  13714. global_closure15: function global_closure15() {
  13715. },
  13716. global_closure16: function global_closure16() {
  13717. },
  13718. global_closure17: function global_closure17() {
  13719. },
  13720. global_closure18: function global_closure18() {
  13721. },
  13722. global_closure19: function global_closure19() {
  13723. },
  13724. global_closure20: function global_closure20() {
  13725. },
  13726. global_closure21: function global_closure21() {
  13727. },
  13728. global_closure22: function global_closure22() {
  13729. },
  13730. global_closure23: function global_closure23() {
  13731. },
  13732. global_closure24: function global_closure24() {
  13733. },
  13734. global_closure25: function global_closure25() {
  13735. },
  13736. global_closure26: function global_closure26() {
  13737. },
  13738. global_closure27: function global_closure27() {
  13739. },
  13740. global_closure28: function global_closure28() {
  13741. },
  13742. global_closure29: function global_closure29() {
  13743. },
  13744. global_closure30: function global_closure30() {
  13745. },
  13746. global_closure31: function global_closure31() {
  13747. },
  13748. global_closure32: function global_closure32() {
  13749. },
  13750. global_closure33: function global_closure33() {
  13751. },
  13752. global_closure34: function global_closure34() {
  13753. },
  13754. global_closure35: function global_closure35() {
  13755. },
  13756. global__closure: function global__closure() {
  13757. },
  13758. global_closure36: function global_closure36() {
  13759. },
  13760. global_closure37: function global_closure37() {
  13761. },
  13762. global_closure38: function global_closure38() {
  13763. },
  13764. global_closure39: function global_closure39() {
  13765. },
  13766. global_closure40: function global_closure40() {
  13767. },
  13768. global_closure41: function global_closure41() {
  13769. },
  13770. global_closure42: function global_closure42() {
  13771. },
  13772. module_closure1: function module_closure1() {
  13773. },
  13774. module_closure2: function module_closure2() {
  13775. },
  13776. module_closure3: function module_closure3() {
  13777. },
  13778. module_closure4: function module_closure4() {
  13779. },
  13780. module_closure5: function module_closure5() {
  13781. },
  13782. module_closure6: function module_closure6() {
  13783. },
  13784. module_closure7: function module_closure7() {
  13785. },
  13786. module_closure8: function module_closure8() {
  13787. },
  13788. module_closure9: function module_closure9() {
  13789. },
  13790. module_closure10: function module_closure10() {
  13791. },
  13792. module_closure11: function module_closure11() {
  13793. },
  13794. module_closure12: function module_closure12() {
  13795. },
  13796. module_closure13: function module_closure13() {
  13797. },
  13798. module_closure14: function module_closure14() {
  13799. },
  13800. module__closure2: function module__closure2() {
  13801. },
  13802. module_closure15: function module_closure15() {
  13803. },
  13804. module_closure16: function module_closure16() {
  13805. },
  13806. module_closure17: function module_closure17() {
  13807. },
  13808. module_closure18: function module_closure18() {
  13809. },
  13810. module_closure19: function module_closure19() {
  13811. },
  13812. module_closure20: function module_closure20() {
  13813. },
  13814. module_closure21: function module_closure21() {
  13815. },
  13816. module_closure22: function module_closure22() {
  13817. },
  13818. module__closure1: function module__closure1(t0) {
  13819. this.channelName = t0;
  13820. },
  13821. module_closure23: function module_closure23() {
  13822. },
  13823. module_closure_toXyzNoMissing: function module_closure_toXyzNoMissing() {
  13824. },
  13825. module_closure24: function module_closure24() {
  13826. },
  13827. _mix_closure: function _mix_closure() {
  13828. },
  13829. _complement_closure: function _complement_closure() {
  13830. },
  13831. _adjust_closure: function _adjust_closure() {
  13832. },
  13833. _scale_closure: function _scale_closure() {
  13834. },
  13835. _change_closure: function _change_closure() {
  13836. },
  13837. _ieHexStr_closure: function _ieHexStr_closure() {
  13838. },
  13839. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13840. },
  13841. _updateComponents_closure: function _updateComponents_closure(t0) {
  13842. this.originalColor = t0;
  13843. },
  13844. _updateComponents_closure0: function _updateComponents_closure0(t0) {
  13845. this._box_0 = t0;
  13846. },
  13847. _changeColor_closure: function _changeColor_closure(t0) {
  13848. this.alphaArg = t0;
  13849. },
  13850. _adjustColor_closure: function _adjustColor_closure() {
  13851. },
  13852. _functionString_closure: function _functionString_closure() {
  13853. },
  13854. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13855. this.name = t0;
  13856. this.argument = t1;
  13857. this.negative = t2;
  13858. },
  13859. _rgb_closure: function _rgb_closure() {
  13860. },
  13861. _hsl_closure: function _hsl_closure() {
  13862. },
  13863. _parseChannels_closure: function _parseChannels_closure() {
  13864. },
  13865. _parseChannels_closure0: function _parseChannels_closure0() {
  13866. },
  13867. _colorFromChannels_closure: function _colorFromChannels_closure() {
  13868. },
  13869. _colorFromChannels_closure0: function _colorFromChannels_closure0() {
  13870. },
  13871. _channelFromValue_closure: function _channelFromValue_closure(t0, t1) {
  13872. this.channel = t0;
  13873. this.clamp = t1;
  13874. },
  13875. _channelFunction_closure: function _channelFunction_closure(t0, t1, t2, t3, t4) {
  13876. var _ = this;
  13877. _.getter = t0;
  13878. _.unit = t1;
  13879. _.global = t2;
  13880. _.name = t3;
  13881. _.space = t4;
  13882. },
  13883. _suggestScaleAndAdjust_closure: function _suggestScaleAndAdjust_closure(t0) {
  13884. this.channelName = t0;
  13885. },
  13886. _function4($name, $arguments, callback) {
  13887. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13888. },
  13889. _length_closure0: function _length_closure0() {
  13890. },
  13891. _nth_closure: function _nth_closure() {
  13892. },
  13893. _setNth_closure: function _setNth_closure() {
  13894. },
  13895. _join_closure: function _join_closure() {
  13896. },
  13897. _append_closure0: function _append_closure0() {
  13898. },
  13899. _zip_closure: function _zip_closure() {
  13900. },
  13901. _zip__closure: function _zip__closure() {
  13902. },
  13903. _zip__closure0: function _zip__closure0(t0) {
  13904. this._box_0 = t0;
  13905. },
  13906. _zip__closure1: function _zip__closure1(t0) {
  13907. this._box_0 = t0;
  13908. },
  13909. _index_closure0: function _index_closure0() {
  13910. },
  13911. _separator_closure: function _separator_closure() {
  13912. },
  13913. _isBracketed_closure: function _isBracketed_closure() {
  13914. },
  13915. _slash_closure: function _slash_closure() {
  13916. },
  13917. _modify(map, keys, modify, addNesting) {
  13918. var keyIterator = J.get$iterator$ax(keys);
  13919. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13920. },
  13921. _deepMergeImpl(map1, map2) {
  13922. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged,
  13923. t1 = map1._map$_contents;
  13924. if (t1.get$isEmpty(t1))
  13925. return map2;
  13926. t2 = map2._map$_contents;
  13927. if (t2.get$isEmpty(t2))
  13928. return map1;
  13929. t3 = type$.Value;
  13930. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13931. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13932. t4 = t1.get$current(t1);
  13933. key = t4._0;
  13934. value = t4._1;
  13935. t4 = result.$index(0, key);
  13936. _1_1 = t4 == null ? null : t4.tryMap$0();
  13937. _1_3 = value.tryMap$0();
  13938. _1_3_isSet = _1_1 != null;
  13939. t4 = false;
  13940. if (_1_3_isSet) {
  13941. t4 = _1_3 != null;
  13942. resultMap = _1_1;
  13943. _1_30 = _1_3;
  13944. } else {
  13945. _1_30 = null;
  13946. resultMap = null;
  13947. }
  13948. if (t4) {
  13949. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13950. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13951. if (merged === resultMap)
  13952. continue;
  13953. result.$indexSet(0, key, merged);
  13954. } else
  13955. result.$indexSet(0, key, value);
  13956. }
  13957. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13958. },
  13959. _function3($name, $arguments, callback) {
  13960. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13961. },
  13962. _get_closure: function _get_closure() {
  13963. },
  13964. _set_closure: function _set_closure() {
  13965. },
  13966. _set__closure0: function _set__closure0(t0) {
  13967. this.$arguments = t0;
  13968. },
  13969. _set_closure0: function _set_closure0() {
  13970. },
  13971. _set__closure: function _set__closure(t0) {
  13972. this._box_0 = t0;
  13973. },
  13974. _merge_closure: function _merge_closure() {
  13975. },
  13976. _merge_closure0: function _merge_closure0() {
  13977. },
  13978. _merge__closure: function _merge__closure(t0) {
  13979. this.map2 = t0;
  13980. },
  13981. _deepMerge_closure: function _deepMerge_closure() {
  13982. },
  13983. _deepRemove_closure: function _deepRemove_closure() {
  13984. },
  13985. _deepRemove__closure: function _deepRemove__closure(t0) {
  13986. this.keys = t0;
  13987. },
  13988. _remove_closure: function _remove_closure() {
  13989. },
  13990. _remove_closure0: function _remove_closure0() {
  13991. },
  13992. _keys_closure: function _keys_closure() {
  13993. },
  13994. _values_closure: function _values_closure() {
  13995. },
  13996. _hasKey_closure: function _hasKey_closure() {
  13997. },
  13998. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13999. this.keyIterator = t0;
  14000. this.modify = t1;
  14001. this.addNesting = t2;
  14002. },
  14003. _singleArgumentMathFunc($name, mathFunc) {
  14004. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  14005. },
  14006. _numberFunction($name, transform) {
  14007. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  14008. },
  14009. _function2($name, $arguments, callback) {
  14010. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  14011. },
  14012. global_closure: function global_closure() {
  14013. },
  14014. module_closure0: function module_closure0() {
  14015. },
  14016. _ceil_closure: function _ceil_closure() {
  14017. },
  14018. _clamp_closure: function _clamp_closure() {
  14019. },
  14020. _floor_closure: function _floor_closure() {
  14021. },
  14022. _max_closure: function _max_closure() {
  14023. },
  14024. _min_closure: function _min_closure() {
  14025. },
  14026. _round_closure: function _round_closure() {
  14027. },
  14028. _hypot_closure: function _hypot_closure() {
  14029. },
  14030. _hypot__closure: function _hypot__closure() {
  14031. },
  14032. _log_closure: function _log_closure() {
  14033. },
  14034. _pow_closure: function _pow_closure() {
  14035. },
  14036. _atan2_closure: function _atan2_closure() {
  14037. },
  14038. _compatible_closure: function _compatible_closure() {
  14039. },
  14040. _isUnitless_closure: function _isUnitless_closure() {
  14041. },
  14042. _unit_closure: function _unit_closure() {
  14043. },
  14044. _percentage_closure: function _percentage_closure() {
  14045. },
  14046. _randomFunction_closure: function _randomFunction_closure() {
  14047. },
  14048. _div_closure: function _div_closure() {
  14049. },
  14050. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  14051. this.mathFunc = t0;
  14052. },
  14053. _numberFunction_closure: function _numberFunction_closure(t0) {
  14054. this.transform = t0;
  14055. },
  14056. _function($name, $arguments, callback) {
  14057. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  14058. },
  14059. _shared_closure: function _shared_closure() {
  14060. },
  14061. _shared_closure0: function _shared_closure0() {
  14062. },
  14063. _shared_closure1: function _shared_closure1() {
  14064. },
  14065. _shared_closure2: function _shared_closure2() {
  14066. },
  14067. moduleFunctions_closure: function moduleFunctions_closure() {
  14068. },
  14069. moduleFunctions_closure0: function moduleFunctions_closure0() {
  14070. },
  14071. moduleFunctions__closure: function moduleFunctions__closure() {
  14072. },
  14073. moduleFunctions_closure1: function moduleFunctions_closure1() {
  14074. },
  14075. _prependParent(compound) {
  14076. var _0_3, _0_4, t2, t3, rest,
  14077. t1 = A.EvaluationContext_currentOrNull(),
  14078. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  14079. _0_0 = compound.components;
  14080. $label0$0: {
  14081. _0_3 = _0_0.length >= 1;
  14082. if (_0_3) {
  14083. _0_4 = _0_0[0];
  14084. t1 = _0_4 instanceof A.UniversalSelector;
  14085. } else {
  14086. _0_4 = null;
  14087. t1 = false;
  14088. }
  14089. t2 = null;
  14090. if (t1) {
  14091. t1 = t2;
  14092. break $label0$0;
  14093. }
  14094. t1 = false;
  14095. if (_0_3) {
  14096. t3 = _0_4;
  14097. if (t3 instanceof A.TypeSelector) {
  14098. t1 = _0_4;
  14099. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  14100. }
  14101. }
  14102. if (t1) {
  14103. t1 = t2;
  14104. break $label0$0;
  14105. }
  14106. if (_0_3) {
  14107. t1 = _0_4;
  14108. t1 = t1 instanceof A.TypeSelector;
  14109. } else
  14110. t1 = false;
  14111. if (t1) {
  14112. t1 = _0_3 ? _0_4 : _0_0[0];
  14113. type$.TypeSelector._as(t1);
  14114. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  14115. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  14116. B.JSArray_methods.addAll$1(t1, rest);
  14117. t1 = A.CompoundSelector$(t1, span);
  14118. break $label0$0;
  14119. }
  14120. t1 = A._setArrayType([new A.ParentSelector(null, span)], type$.JSArray_SimpleSelector);
  14121. B.JSArray_methods.addAll$1(t1, _0_0);
  14122. t1 = A.CompoundSelector$(t1, span);
  14123. break $label0$0;
  14124. }
  14125. return t1;
  14126. },
  14127. _function1($name, $arguments, callback) {
  14128. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  14129. },
  14130. _nest_closure: function _nest_closure() {
  14131. },
  14132. _nest__closure: function _nest__closure(t0) {
  14133. this._box_0 = t0;
  14134. },
  14135. _nest__closure0: function _nest__closure0() {
  14136. },
  14137. _append_closure: function _append_closure() {
  14138. },
  14139. _append__closure: function _append__closure() {
  14140. },
  14141. _append__closure0: function _append__closure0(t0) {
  14142. this.span = t0;
  14143. },
  14144. _append___closure: function _append___closure(t0, t1) {
  14145. this.parent = t0;
  14146. this.span = t1;
  14147. },
  14148. _extend_closure: function _extend_closure() {
  14149. },
  14150. _replace_closure: function _replace_closure() {
  14151. },
  14152. _unify_closure: function _unify_closure() {
  14153. },
  14154. _isSuperselector_closure: function _isSuperselector_closure() {
  14155. },
  14156. _simpleSelectors_closure: function _simpleSelectors_closure() {
  14157. },
  14158. _simpleSelectors__closure: function _simpleSelectors__closure() {
  14159. },
  14160. _parse_closure: function _parse_closure() {
  14161. },
  14162. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  14163. var result;
  14164. if (index === 0)
  14165. return 0;
  14166. if (index > 0)
  14167. return Math.min(index - 1, lengthInCodepoints);
  14168. result = lengthInCodepoints + index;
  14169. if (result < 0 && !allowNegative)
  14170. return 0;
  14171. return result;
  14172. },
  14173. _function0($name, $arguments, callback) {
  14174. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  14175. },
  14176. module_closure: function module_closure() {
  14177. },
  14178. module__closure: function module__closure(t0) {
  14179. this.string = t0;
  14180. },
  14181. module__closure0: function module__closure0(t0) {
  14182. this.string = t0;
  14183. },
  14184. _unquote_closure: function _unquote_closure() {
  14185. },
  14186. _quote_closure: function _quote_closure() {
  14187. },
  14188. _length_closure: function _length_closure() {
  14189. },
  14190. _insert_closure: function _insert_closure() {
  14191. },
  14192. _index_closure: function _index_closure() {
  14193. },
  14194. _slice_closure: function _slice_closure() {
  14195. },
  14196. _toUpperCase_closure: function _toUpperCase_closure() {
  14197. },
  14198. _toLowerCase_closure: function _toLowerCase_closure() {
  14199. },
  14200. _uniqueId_closure: function _uniqueId_closure() {
  14201. },
  14202. ImportCache$(importers, loadPaths) {
  14203. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  14204. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  14205. t3 = type$.Uri;
  14206. 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));
  14207. },
  14208. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  14209. var t1, t2, t3, t4, _i, path, _null = null,
  14210. sassPath = A.getEnvironmentVariable("SASS_PATH");
  14211. if (A.isBrowser()) {
  14212. t1 = A._setArrayType([], type$.JSArray_Importer);
  14213. B.JSArray_methods.addAll$1(t1, importers);
  14214. return t1;
  14215. }
  14216. t1 = A._setArrayType([], type$.JSArray_Importer);
  14217. B.JSArray_methods.addAll$1(t1, importers);
  14218. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  14219. t3 = t2.get$current(t2);
  14220. 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));
  14221. }
  14222. if (sassPath != null) {
  14223. t2 = A.isNodeJs() ? self.process : _null;
  14224. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  14225. t4 = t3.length;
  14226. _i = 0;
  14227. for (; _i < t4; ++_i) {
  14228. path = t3[_i];
  14229. 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));
  14230. }
  14231. }
  14232. return t1;
  14233. },
  14234. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  14235. var _ = this;
  14236. _._importers = t0;
  14237. _._canonicalizeCache = t1;
  14238. _._perImporterCanonicalizeCache = t2;
  14239. _._nonCanonicalRelativeUrls = t3;
  14240. _._importCache = t4;
  14241. _._resultsCache = t5;
  14242. _._loadTimes = t6;
  14243. },
  14244. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  14245. var _ = this;
  14246. _.$this = t0;
  14247. _.baseImporter = t1;
  14248. _.resolvedUrl = t2;
  14249. _.baseUrl = t3;
  14250. _.forImport = t4;
  14251. _.key = t5;
  14252. _.url = t6;
  14253. },
  14254. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  14255. this.importer = t0;
  14256. this.url = t1;
  14257. },
  14258. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3) {
  14259. var _ = this;
  14260. _.$this = t0;
  14261. _.importer = t1;
  14262. _.canonicalUrl = t2;
  14263. _.originalUrl = t3;
  14264. },
  14265. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  14266. this.canonicalUrl = t0;
  14267. },
  14268. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  14269. },
  14270. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  14271. },
  14272. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  14273. this.canonicalUrl = t0;
  14274. },
  14275. Importer: function Importer() {
  14276. },
  14277. AsyncImporter: function AsyncImporter() {
  14278. },
  14279. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  14280. this._fromImport = t0;
  14281. this._containingUrl = t1;
  14282. this._wasContainingUrlAccessed = false;
  14283. },
  14284. FilesystemImporter: function FilesystemImporter(t0, t1) {
  14285. this._loadPath = t0;
  14286. this._loadPathDeprecated = t1;
  14287. },
  14288. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  14289. },
  14290. NoOpImporter: function NoOpImporter() {
  14291. },
  14292. NodePackageImporter: function NodePackageImporter() {
  14293. this.__NodePackageImporter__entryPointDirectory_F = $;
  14294. },
  14295. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  14296. },
  14297. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  14298. },
  14299. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  14300. },
  14301. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  14302. this.$this = t0;
  14303. this.exports = t1;
  14304. this.packageRoot = t2;
  14305. },
  14306. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  14307. this.$this = t0;
  14308. this.variant = t1;
  14309. this.packageRoot = t2;
  14310. },
  14311. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  14312. },
  14313. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  14314. },
  14315. ImporterResult: function ImporterResult(t0, t1, t2) {
  14316. this.contents = t0;
  14317. this._sourceMapUrl = t1;
  14318. this.syntax = t2;
  14319. },
  14320. fromImport() {
  14321. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  14322. t1 = t1 == null ? null : t1._fromImport;
  14323. return t1 === true;
  14324. },
  14325. canonicalizeContext() {
  14326. var t1,
  14327. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  14328. $label0$0: {
  14329. if (_0_0 == null)
  14330. A.throwExpression(A.StateError$(string$.canoni));
  14331. if (_0_0 instanceof A.CanonicalizeContext) {
  14332. t1 = _0_0;
  14333. break $label0$0;
  14334. }
  14335. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  14336. }
  14337. return t1;
  14338. },
  14339. resolveImportPath(path) {
  14340. var t1,
  14341. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14342. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  14343. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  14344. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  14345. }
  14346. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  14347. if (t1 == null)
  14348. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  14349. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  14350. },
  14351. _tryPathWithExtensions(path) {
  14352. var result = A._tryPath(path + ".sass");
  14353. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  14354. return result.length !== 0 ? result : A._tryPath(path + ".css");
  14355. },
  14356. _tryPath(path) {
  14357. var t1 = $.$get$context(),
  14358. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  14359. t1 = A._setArrayType([], type$.JSArray_String);
  14360. if (A.fileExists(partial))
  14361. t1.push(partial);
  14362. if (A.fileExists(path))
  14363. t1.push(path);
  14364. return t1;
  14365. },
  14366. _tryPathAsDirectory(path) {
  14367. var t1;
  14368. if (!A.dirExists(path))
  14369. return null;
  14370. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  14371. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  14372. },
  14373. _exactlyOne(paths) {
  14374. var _0_1, t1, path;
  14375. $label0$0: {
  14376. _0_1 = paths.length;
  14377. if (_0_1 <= 0) {
  14378. t1 = null;
  14379. break $label0$0;
  14380. }
  14381. if (_0_1 === 1) {
  14382. path = paths[0];
  14383. t1 = path;
  14384. break $label0$0;
  14385. }
  14386. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  14387. }
  14388. return t1;
  14389. },
  14390. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  14391. this.path = t0;
  14392. this.extension = t1;
  14393. },
  14394. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  14395. this.path = t0;
  14396. },
  14397. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  14398. this.path = t0;
  14399. },
  14400. _exactlyOne_closure: function _exactlyOne_closure() {
  14401. },
  14402. InterpolationBuffer: function InterpolationBuffer(t0, t1, t2) {
  14403. this._interpolation_buffer$_text = t0;
  14404. this._interpolation_buffer$_contents = t1;
  14405. this._spans = t2;
  14406. },
  14407. InterpolationMap$(_interpolation, targetLocations) {
  14408. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  14409. t2 = _interpolation.contents.length,
  14410. expectedLocations = Math.max(0, t2 - 1);
  14411. if (t1.length !== expectedLocations)
  14412. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  14413. return new A.InterpolationMap(_interpolation, t1);
  14414. },
  14415. InterpolationMap: function InterpolationMap(t0, t1) {
  14416. this._interpolation = t0;
  14417. this._targetLocations = t1;
  14418. },
  14419. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  14420. },
  14421. _realCasePath(path) {
  14422. var prefix, _null = null,
  14423. t1 = A.isNodeJs() ? self.process : _null;
  14424. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14425. t1 = A.isNodeJs() ? self.process : _null;
  14426. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  14427. } else
  14428. t1 = true;
  14429. if (!t1)
  14430. return path;
  14431. t1 = A.isNodeJs() ? self.process : _null;
  14432. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14433. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  14434. t1 = prefix.length;
  14435. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  14436. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  14437. }
  14438. return new A._realCasePath_helper().call$1(path);
  14439. },
  14440. _realCasePath_helper: function _realCasePath_helper() {
  14441. },
  14442. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2, t3) {
  14443. var _ = this;
  14444. _.path = t0;
  14445. _.realPath = t1;
  14446. _.helper = t2;
  14447. _.dirname = t3;
  14448. },
  14449. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  14450. this.basename = t0;
  14451. },
  14452. printError(message) {
  14453. var t1 = A.isNodeJs() ? self.process : null;
  14454. if (t1 != null) {
  14455. t1 = J.get$stderr$x(t1);
  14456. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  14457. } else {
  14458. t1 = self.console;
  14459. J.error$1$x(t1, message == null ? "" : message);
  14460. }
  14461. },
  14462. readFile(path) {
  14463. var contents, sourceFile, t1, i;
  14464. if (!A.isNodeJs())
  14465. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  14466. contents = A._asString(A._readFile(path, "utf8"));
  14467. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  14468. return contents;
  14469. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  14470. for (t1 = contents.length, i = 0; i < t1; ++i) {
  14471. if (contents.charCodeAt(i) !== 65533)
  14472. continue;
  14473. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  14474. }
  14475. return contents;
  14476. },
  14477. _readFile(path, encoding) {
  14478. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  14479. },
  14480. writeFile(path, contents) {
  14481. if (!A.isNodeJs())
  14482. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  14483. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  14484. },
  14485. deleteFile(path) {
  14486. if (!A.isNodeJs())
  14487. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  14488. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  14489. },
  14490. readStdin() {
  14491. return A.readStdin$body();
  14492. },
  14493. readStdin$body() {
  14494. var $async$goto = 0,
  14495. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  14496. $async$returnValue, t3, completer, sink, t1, t2;
  14497. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14498. if ($async$errorCode === 1)
  14499. return A._asyncRethrow($async$result, $async$completer);
  14500. while (true)
  14501. switch ($async$goto) {
  14502. case 0:
  14503. // Function start
  14504. t1 = {};
  14505. t2 = A.isNodeJs() ? self.process : null;
  14506. if (t2 == null)
  14507. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  14508. t3 = new A._Future($.Zone__current, type$._Future_String);
  14509. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  14510. t1.contents = null;
  14511. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  14512. t1 = J.getInterceptor$x(t2);
  14513. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  14514. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  14515. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  14516. $async$returnValue = t3;
  14517. // goto return
  14518. $async$goto = 1;
  14519. break;
  14520. case 1:
  14521. // return
  14522. return A._asyncReturn($async$returnValue, $async$completer);
  14523. }
  14524. });
  14525. return A._asyncStartSync($async$readStdin, $async$completer);
  14526. },
  14527. fileExists(path) {
  14528. if (!A.isNodeJs())
  14529. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  14530. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  14531. },
  14532. dirExists(path) {
  14533. if (!A.isNodeJs())
  14534. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  14535. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  14536. },
  14537. linkExists(path) {
  14538. if (!A.isNodeJs())
  14539. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  14540. return A._systemErrorToFileSystemException(new A.linkExists_closure(path));
  14541. },
  14542. ensureDir(path) {
  14543. if (!A.isNodeJs())
  14544. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  14545. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  14546. },
  14547. listDir(path, recursive) {
  14548. if (!A.isNodeJs())
  14549. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14550. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  14551. },
  14552. realpath(path) {
  14553. if (!A.isNodeJs())
  14554. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14555. return A._systemErrorToFileSystemException(new A.realpath_closure(path));
  14556. },
  14557. modificationTime(path) {
  14558. if (!A.isNodeJs())
  14559. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  14560. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  14561. },
  14562. getEnvironmentVariable($name) {
  14563. var t1 = A.isNodeJs() ? self.process : null,
  14564. env = t1 == null ? null : J.get$env$x(t1);
  14565. if (env == null)
  14566. t1 = null;
  14567. else
  14568. t1 = A._asStringQ(env[$name]);
  14569. return t1;
  14570. },
  14571. _systemErrorToFileSystemException(callback) {
  14572. var error, t1, exception, t2;
  14573. try {
  14574. t1 = callback.call$0();
  14575. return t1;
  14576. } catch (exception) {
  14577. error = A.unwrapException(exception);
  14578. if (!type$.JsSystemError._is(error))
  14579. throw exception;
  14580. t1 = error;
  14581. t2 = J.getInterceptor$x(t1);
  14582. 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)));
  14583. }
  14584. },
  14585. hasTerminal() {
  14586. var t1 = A.isNodeJs() ? self.process : null;
  14587. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  14588. },
  14589. isWindows() {
  14590. var t1 = A.isNodeJs() ? self.process : null;
  14591. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  14592. },
  14593. watchDir(path, poll) {
  14594. return A.watchDir$body(path, poll);
  14595. },
  14596. watchDir$body(path, poll) {
  14597. var $async$goto = 0,
  14598. $async$completer = A._makeAsyncAwaitCompleter(type$.Stream_WatchEvent),
  14599. $async$returnValue, _0_0, t2, parcel, controller, watcher, t3, t1, $async$temp1, $async$temp2, $async$temp3;
  14600. var $async$watchDir = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14601. if ($async$errorCode === 1)
  14602. return A._asyncRethrow($async$result, $async$completer);
  14603. while (true)
  14604. switch ($async$goto) {
  14605. case 0:
  14606. // Function start
  14607. t1 = {};
  14608. if (!A.isNodeJs())
  14609. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  14610. t1.controller = null;
  14611. _0_0 = init.G.parcel_watcher;
  14612. if (_0_0 != null) {
  14613. t2 = !poll;
  14614. parcel = _0_0;
  14615. } else {
  14616. parcel = null;
  14617. t2 = false;
  14618. }
  14619. $async$goto = t2 ? 3 : 5;
  14620. break;
  14621. case 3:
  14622. // then
  14623. $async$temp1 = t1;
  14624. $async$temp2 = A;
  14625. $async$temp3 = A;
  14626. $async$goto = 6;
  14627. return A._asyncAwait(A.ParcelWatcher_subscribe(parcel, path, new A.watchDir_closure0(t1)), $async$watchDir);
  14628. case 6:
  14629. // returning from await.
  14630. controller = $async$temp1.controller = $async$temp2.StreamController_StreamController(new $async$temp3.watchDir_closure($async$result), null, null, null, false, type$.WatchEvent);
  14631. $async$returnValue = new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>"));
  14632. // goto return
  14633. $async$goto = 1;
  14634. break;
  14635. // goto join
  14636. $async$goto = 4;
  14637. break;
  14638. case 5:
  14639. // else
  14640. watcher = J.watch$2$x(self.chokidar, path, {usePolling: poll});
  14641. t2 = J.getInterceptor$x(watcher);
  14642. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure1(t1)));
  14643. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure2(t1)));
  14644. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure3(t1)));
  14645. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure4(t1)));
  14646. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  14647. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure5(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  14648. $async$returnValue = t3;
  14649. // goto return
  14650. $async$goto = 1;
  14651. break;
  14652. case 4:
  14653. // join
  14654. case 1:
  14655. // return
  14656. return A._asyncReturn($async$returnValue, $async$completer);
  14657. }
  14658. });
  14659. return A._asyncStartSync($async$watchDir, $async$completer);
  14660. },
  14661. FileSystemException: function FileSystemException(t0, t1) {
  14662. this.message = t0;
  14663. this.path = t1;
  14664. },
  14665. _readFile_closure: function _readFile_closure(t0, t1) {
  14666. this.path = t0;
  14667. this.encoding = t1;
  14668. },
  14669. writeFile_closure: function writeFile_closure(t0, t1) {
  14670. this.path = t0;
  14671. this.contents = t1;
  14672. },
  14673. deleteFile_closure: function deleteFile_closure(t0) {
  14674. this.path = t0;
  14675. },
  14676. readStdin_closure: function readStdin_closure(t0, t1) {
  14677. this._box_0 = t0;
  14678. this.completer = t1;
  14679. },
  14680. readStdin_closure0: function readStdin_closure0(t0) {
  14681. this.sink = t0;
  14682. },
  14683. readStdin_closure1: function readStdin_closure1(t0) {
  14684. this.sink = t0;
  14685. },
  14686. readStdin_closure2: function readStdin_closure2(t0) {
  14687. this.completer = t0;
  14688. },
  14689. fileExists_closure: function fileExists_closure(t0) {
  14690. this.path = t0;
  14691. },
  14692. dirExists_closure: function dirExists_closure(t0) {
  14693. this.path = t0;
  14694. },
  14695. linkExists_closure: function linkExists_closure(t0) {
  14696. this.path = t0;
  14697. },
  14698. ensureDir_closure: function ensureDir_closure(t0) {
  14699. this.path = t0;
  14700. },
  14701. listDir_closure: function listDir_closure(t0, t1) {
  14702. this.recursive = t0;
  14703. this.path = t1;
  14704. },
  14705. listDir__closure: function listDir__closure(t0) {
  14706. this.path = t0;
  14707. },
  14708. listDir__closure0: function listDir__closure0() {
  14709. },
  14710. listDir_closure_list: function listDir_closure_list() {
  14711. },
  14712. listDir__list_closure: function listDir__list_closure(t0, t1) {
  14713. this.parent = t0;
  14714. this.list = t1;
  14715. },
  14716. realpath_closure: function realpath_closure(t0) {
  14717. this.path = t0;
  14718. },
  14719. modificationTime_closure: function modificationTime_closure(t0) {
  14720. this.path = t0;
  14721. },
  14722. watchDir_closure0: function watchDir_closure0(t0) {
  14723. this._box_0 = t0;
  14724. },
  14725. watchDir_closure: function watchDir_closure(t0) {
  14726. this.subscription = t0;
  14727. },
  14728. watchDir_closure1: function watchDir_closure1(t0) {
  14729. this._box_0 = t0;
  14730. },
  14731. watchDir_closure2: function watchDir_closure2(t0) {
  14732. this._box_0 = t0;
  14733. },
  14734. watchDir_closure3: function watchDir_closure3(t0) {
  14735. this._box_0 = t0;
  14736. },
  14737. watchDir_closure4: function watchDir_closure4(t0) {
  14738. this._box_0 = t0;
  14739. },
  14740. watchDir_closure5: function watchDir_closure5(t0, t1, t2) {
  14741. this._box_0 = t0;
  14742. this.watcher = t1;
  14743. this.completer = t2;
  14744. },
  14745. watchDir__closure: function watchDir__closure(t0) {
  14746. this.watcher = t0;
  14747. },
  14748. JSArray0: function JSArray0() {
  14749. },
  14750. Chokidar: function Chokidar() {
  14751. },
  14752. ChokidarOptions: function ChokidarOptions() {
  14753. },
  14754. ChokidarWatcher: function ChokidarWatcher() {
  14755. },
  14756. JSFunction: function JSFunction() {
  14757. },
  14758. ImmutableList: function ImmutableList() {
  14759. },
  14760. ImmutableMap: function ImmutableMap() {
  14761. },
  14762. NodeImporterResult: function NodeImporterResult() {
  14763. },
  14764. RenderContext: function RenderContext() {
  14765. },
  14766. RenderContextOptions: function RenderContextOptions() {
  14767. },
  14768. RenderContextResult: function RenderContextResult() {
  14769. },
  14770. RenderContextResultStats: function RenderContextResultStats() {
  14771. },
  14772. JSModule: function JSModule() {
  14773. },
  14774. JSModuleRequire: function JSModuleRequire() {
  14775. },
  14776. ParcelWatcher_subscribe(_this, path, callback) {
  14777. var result,
  14778. t1 = new A.ParcelWatcher_subscribe_closure(callback);
  14779. if (typeof t1 == "function")
  14780. A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.", null));
  14781. result = function(_call, f) {
  14782. return function(arg1, arg2) {
  14783. return _call(f, arg1, arg2, arguments.length);
  14784. };
  14785. }(A._callDartFunctionFast2, t1);
  14786. result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = t1;
  14787. return A.promiseToFuture(_this.subscribe(path, result), type$.JSObject);
  14788. },
  14789. ParcelWatcher_subscribe_closure: function ParcelWatcher_subscribe_closure(t0) {
  14790. this.callback = t0;
  14791. },
  14792. JSClass: function JSClass() {
  14793. },
  14794. JSUrl: function JSUrl() {
  14795. },
  14796. jsThrow0(error) {
  14797. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14798. },
  14799. _PropertyDescriptor: function _PropertyDescriptor() {
  14800. },
  14801. _RequireMain: function _RequireMain() {
  14802. },
  14803. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14804. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14805. },
  14806. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  14807. },
  14808. _QuietLogger: function _QuietLogger() {
  14809. },
  14810. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14811. var _ = this;
  14812. _._warningCounts = t0;
  14813. _._inner = t1;
  14814. _.silenceDeprecations = t2;
  14815. _.fatalDeprecations = t3;
  14816. _.futureDeprecations = t4;
  14817. _.limitRepetition = t5;
  14818. },
  14819. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14820. },
  14821. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14822. },
  14823. StderrLogger: function StderrLogger(t0) {
  14824. this.color = t0;
  14825. },
  14826. TrackingLogger: function TrackingLogger(t0) {
  14827. this._tracking$_logger = t0;
  14828. this._emittedDebug = this._emittedWarning = false;
  14829. },
  14830. BuiltInModule$($name, functions, mixins, variables, $T) {
  14831. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14832. t2 = A.BuiltInModule__callableMap(functions, $T),
  14833. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14834. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14835. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14836. },
  14837. BuiltInModule__callableMap(callables, $T) {
  14838. var t2, _i, callable,
  14839. t1 = type$.String;
  14840. if (callables == null)
  14841. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14842. else {
  14843. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14844. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14845. callable = callables[_i];
  14846. t1.$indexSet(0, callable.get$name(callable), callable);
  14847. }
  14848. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14849. }
  14850. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14851. },
  14852. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14853. var _ = this;
  14854. _.url = t0;
  14855. _.functions = t1;
  14856. _.mixins = t2;
  14857. _.variables = t3;
  14858. _.$ti = t4;
  14859. },
  14860. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14861. var t2,
  14862. t1 = false;
  14863. if (rule.prefix == null)
  14864. if (rule.shownMixinsAndFunctions == null)
  14865. if (rule.shownVariables == null) {
  14866. t2 = rule.hiddenMixinsAndFunctions;
  14867. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14868. if (t2 === true) {
  14869. t1 = rule.hiddenVariables;
  14870. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14871. t1 = t1 === true;
  14872. }
  14873. }
  14874. if (t1)
  14875. return inner;
  14876. else
  14877. return A.ForwardedModuleView$(inner, rule, $T);
  14878. },
  14879. ForwardedModuleView$(_inner, _rule, $T) {
  14880. var t1 = _rule.prefix,
  14881. t2 = _rule.shownVariables,
  14882. t3 = _rule.hiddenVariables,
  14883. t4 = _rule.shownMixinsAndFunctions,
  14884. t5 = _rule.hiddenMixinsAndFunctions;
  14885. 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>"));
  14886. },
  14887. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14888. var t1 = prefix == null,
  14889. t2 = false;
  14890. if (t1)
  14891. if (safelist == null)
  14892. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14893. if (t2)
  14894. return map;
  14895. if (!t1)
  14896. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14897. if (safelist != null)
  14898. 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>"));
  14899. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14900. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14901. return map;
  14902. },
  14903. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14904. var _ = this;
  14905. _._forwarded_view$_inner = t0;
  14906. _._rule = t1;
  14907. _.variables = t2;
  14908. _.variableNodes = t3;
  14909. _.functions = t4;
  14910. _.mixins = t5;
  14911. _.$ti = t6;
  14912. },
  14913. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14914. 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;
  14915. },
  14916. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14917. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14918. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14919. },
  14920. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14921. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14922. },
  14923. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14924. var _ = this;
  14925. _._shadowed_view$_inner = t0;
  14926. _.variables = t1;
  14927. _.variableNodes = t2;
  14928. _.functions = t3;
  14929. _.mixins = t4;
  14930. _.$ti = t5;
  14931. },
  14932. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  14933. this.scanner = t0;
  14934. this._interpolationMap = t1;
  14935. },
  14936. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14937. this.$this = t0;
  14938. },
  14939. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14940. },
  14941. CssParser: function CssParser(t0, t1, t2, t3) {
  14942. var _ = this;
  14943. _._isUseAllowed = true;
  14944. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14945. _._globalVariables = t0;
  14946. _.warnings = t1;
  14947. _.lastSilentComment = null;
  14948. _.scanner = t2;
  14949. _._interpolationMap = t3;
  14950. },
  14951. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  14952. this.scanner = t0;
  14953. this._interpolationMap = t1;
  14954. },
  14955. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14956. this.$this = t0;
  14957. },
  14958. MediaQueryParser: function MediaQueryParser(t0, t1) {
  14959. this.scanner = t0;
  14960. this._interpolationMap = t1;
  14961. },
  14962. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14963. this.$this = t0;
  14964. },
  14965. Parser_isIdentifier(text) {
  14966. var exception;
  14967. try {
  14968. new A.Parser(A.SpanScanner$(text, null), null)._parseIdentifier$0();
  14969. return true;
  14970. } catch (exception) {
  14971. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14972. return false;
  14973. else
  14974. throw exception;
  14975. }
  14976. },
  14977. Parser: function Parser(t0, t1) {
  14978. this.scanner = t0;
  14979. this._interpolationMap = t1;
  14980. },
  14981. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14982. this.$this = t0;
  14983. },
  14984. Parser_escape_closure: function Parser_escape_closure() {
  14985. },
  14986. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14987. this.caseSensitive = t0;
  14988. this.char = t1;
  14989. },
  14990. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14991. this.$this = t0;
  14992. this.span = t1;
  14993. },
  14994. SassParser: function SassParser(t0, t1, t2, t3) {
  14995. var _ = this;
  14996. _._currentIndentation = 0;
  14997. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14998. _._isUseAllowed = true;
  14999. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15000. _._globalVariables = t0;
  15001. _.warnings = t1;
  15002. _.lastSilentComment = null;
  15003. _.scanner = t2;
  15004. _._interpolationMap = t3;
  15005. },
  15006. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  15007. },
  15008. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  15009. this.$this = t0;
  15010. this.child = t1;
  15011. this.children = t2;
  15012. },
  15013. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  15014. },
  15015. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  15016. },
  15017. SassParser__tryTrailingSemicolon_closure: function SassParser__tryTrailingSemicolon_closure() {
  15018. },
  15019. ScssParser$(contents, url) {
  15020. 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);
  15021. },
  15022. ScssParser: function ScssParser(t0, t1, t2, t3) {
  15023. var _ = this;
  15024. _._isUseAllowed = true;
  15025. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  15026. _._globalVariables = t0;
  15027. _.warnings = t1;
  15028. _.lastSilentComment = null;
  15029. _.scanner = t2;
  15030. _._interpolationMap = t3;
  15031. },
  15032. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  15033. var _ = this;
  15034. _._allowParent = t0;
  15035. _._plainCss = t1;
  15036. _.scanner = t2;
  15037. _._interpolationMap = t3;
  15038. },
  15039. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  15040. this.$this = t0;
  15041. },
  15042. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  15043. this.$this = t0;
  15044. },
  15045. StylesheetParser: function StylesheetParser() {
  15046. },
  15047. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  15048. this.$this = t0;
  15049. },
  15050. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  15051. this.$this = t0;
  15052. },
  15053. StylesheetParser_parseParameterList_closure: function StylesheetParser_parseParameterList_closure(t0) {
  15054. this.$this = t0;
  15055. },
  15056. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  15057. this.$this = t0;
  15058. },
  15059. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  15060. this.$this = t0;
  15061. },
  15062. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  15063. this.$this = t0;
  15064. this.production = t1;
  15065. this.T = t2;
  15066. },
  15067. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  15068. this.$this = t0;
  15069. },
  15070. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  15071. this.$this = t0;
  15072. this.start = t1;
  15073. },
  15074. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  15075. this.declaration = t0;
  15076. },
  15077. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  15078. this.$this = t0;
  15079. },
  15080. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0) {
  15081. this.$this = t0;
  15082. },
  15083. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  15084. this.$this = t0;
  15085. },
  15086. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  15087. var _ = this;
  15088. _._box_0 = t0;
  15089. _.$this = t1;
  15090. _.wasInStyleRule = t2;
  15091. _.start = t3;
  15092. },
  15093. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  15094. this.$this = t0;
  15095. },
  15096. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  15097. this.name = t0;
  15098. this.value = t1;
  15099. },
  15100. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  15101. this.query = t0;
  15102. },
  15103. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  15104. },
  15105. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  15106. var _ = this;
  15107. _.$this = t0;
  15108. _.wasInControlDirective = t1;
  15109. _.variables = t2;
  15110. _.list = t3;
  15111. },
  15112. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  15113. this.name = t0;
  15114. this.parameters = t1;
  15115. this.precedingComment = t2;
  15116. },
  15117. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  15118. this._box_0 = t0;
  15119. this.$this = t1;
  15120. },
  15121. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  15122. var _ = this;
  15123. _._box_0 = t0;
  15124. _.$this = t1;
  15125. _.wasInControlDirective = t2;
  15126. _.variable = t3;
  15127. _.from = t4;
  15128. _.to = t5;
  15129. },
  15130. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  15131. this.$this = t0;
  15132. this.variables = t1;
  15133. this.identifiers = t2;
  15134. },
  15135. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  15136. this.contentParameters_ = t0;
  15137. },
  15138. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  15139. this.query = t0;
  15140. },
  15141. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  15142. var _ = this;
  15143. _.$this = t0;
  15144. _.name = t1;
  15145. _.parameters = t2;
  15146. _.precedingComment = t3;
  15147. },
  15148. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0) {
  15149. this.$this = t0;
  15150. },
  15151. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  15152. var _ = this;
  15153. _._box_0 = t0;
  15154. _.$this = t1;
  15155. _.name = t2;
  15156. _.value = t3;
  15157. },
  15158. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  15159. this.condition = t0;
  15160. },
  15161. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  15162. this.$this = t0;
  15163. this.wasInControlDirective = t1;
  15164. this.condition = t2;
  15165. },
  15166. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  15167. this._box_0 = t0;
  15168. this.name = t1;
  15169. },
  15170. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  15171. this._box_0 = t0;
  15172. this.$this = t1;
  15173. this.start = t2;
  15174. },
  15175. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  15176. this._box_0 = t0;
  15177. this.$this = t1;
  15178. },
  15179. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  15180. this._box_0 = t0;
  15181. this.resolveOneOperation = t1;
  15182. },
  15183. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  15184. var _ = this;
  15185. _._box_0 = t0;
  15186. _.$this = t1;
  15187. _.resetState = t2;
  15188. _.resolveOperations = t3;
  15189. },
  15190. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2, t3) {
  15191. var _ = this;
  15192. _._box_0 = t0;
  15193. _.$this = t1;
  15194. _.resolveOneOperation = t2;
  15195. _.addSingleExpression = t3;
  15196. },
  15197. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  15198. this._box_0 = t0;
  15199. this.$this = t1;
  15200. this.resolveOperations = t2;
  15201. },
  15202. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  15203. this.$this = t0;
  15204. },
  15205. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  15206. },
  15207. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  15208. },
  15209. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  15210. },
  15211. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  15212. this.$this = t0;
  15213. this.start = t1;
  15214. },
  15215. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  15216. },
  15217. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  15218. this.$this = t0;
  15219. },
  15220. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  15221. this.$this = t0;
  15222. this.start = t1;
  15223. },
  15224. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  15225. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  15226. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  15227. return t1;
  15228. },
  15229. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  15230. this._nodes = t0;
  15231. this.importCache = t1;
  15232. this._transitiveModificationTimes = t2;
  15233. },
  15234. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  15235. this.$this = t0;
  15236. },
  15237. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  15238. this.node = t0;
  15239. this.transitiveModificationTime = t1;
  15240. },
  15241. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  15242. var _ = this;
  15243. _.$this = t0;
  15244. _.url = t1;
  15245. _.baseImporter = t2;
  15246. _.baseUrl = t3;
  15247. },
  15248. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  15249. var _ = this;
  15250. _.$this = t0;
  15251. _.importer = t1;
  15252. _.canonicalUrl = t2;
  15253. _.originalUrl = t3;
  15254. },
  15255. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  15256. this.$this = t0;
  15257. this.node = t1;
  15258. this.canonicalUrl = t2;
  15259. },
  15260. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  15261. var _ = this;
  15262. _.$this = t0;
  15263. _.url = t1;
  15264. _.baseImporter = t2;
  15265. _.baseUrl = t3;
  15266. _.forImport = t4;
  15267. },
  15268. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  15269. this._box_0 = t0;
  15270. this.$this = t1;
  15271. },
  15272. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  15273. var _ = this;
  15274. _._stylesheet = t0;
  15275. _.importer = t1;
  15276. _.canonicalUrl = t2;
  15277. _._upstream = t3;
  15278. _._upstreamImports = t4;
  15279. _._downstream = t5;
  15280. },
  15281. Syntax_forPath(path) {
  15282. var t1,
  15283. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  15284. $label0$0: {
  15285. if (".sass" === _0_0) {
  15286. t1 = B.Syntax_Sass_sass;
  15287. break $label0$0;
  15288. }
  15289. if (".css" === _0_0) {
  15290. t1 = B.Syntax_CSS_css;
  15291. break $label0$0;
  15292. }
  15293. t1 = B.Syntax_SCSS_scss;
  15294. break $label0$0;
  15295. }
  15296. return t1;
  15297. },
  15298. Syntax: function Syntax(t0, t1) {
  15299. this._syntax$_name = t0;
  15300. this._name = t1;
  15301. },
  15302. Box: function Box(t0, t1) {
  15303. this._box$_inner = t0;
  15304. this.$ti = t1;
  15305. },
  15306. ModifiableBox: function ModifiableBox(t0, t1) {
  15307. this.value = t0;
  15308. this.$ti = t1;
  15309. },
  15310. LazyFileSpan: function LazyFileSpan(t0) {
  15311. this._builder = t0;
  15312. this._lazy_file_span$_span = null;
  15313. },
  15314. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  15315. var t2, key,
  15316. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  15317. for (t2 = _map.get$keys(_map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  15318. key = t2.get$current(t2);
  15319. if (!blocklist.contains$1(0, key))
  15320. t1.add$1(0, key);
  15321. }
  15322. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15323. },
  15324. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  15325. this._limited_map_view$_map = t0;
  15326. this._limited_map_view$_keys = t1;
  15327. this.$ti = t2;
  15328. },
  15329. MapExtensions_get_pairs(_this, $K, $V) {
  15330. var t1 = _this.get$entries(_this);
  15331. 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)"));
  15332. },
  15333. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  15334. this.K = t0;
  15335. this.V = t1;
  15336. },
  15337. MergedMapView$(maps, $K, $V) {
  15338. var t1 = $K._eval$1("@<0>")._bind$1($V);
  15339. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  15340. t1.MergedMapView$1(maps, $K, $V);
  15341. return t1;
  15342. },
  15343. MergedMapView: function MergedMapView(t0, t1) {
  15344. this._mapsByKey = t0;
  15345. this.$ti = t1;
  15346. },
  15347. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  15348. this._watchers = t0;
  15349. this._group = t1;
  15350. this._poll = t2;
  15351. },
  15352. MultiSpan: function MultiSpan(t0, t1, t2) {
  15353. this._multi_span$_primary = t0;
  15354. this.primaryLabel = t1;
  15355. this.secondarySpans = t2;
  15356. },
  15357. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  15358. this._no_source_map_buffer$_buffer = t0;
  15359. },
  15360. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  15361. this._prefixed_map_view$_map = t0;
  15362. this._prefix = t1;
  15363. this.$ti = t2;
  15364. },
  15365. _PrefixedKeys: function _PrefixedKeys(t0) {
  15366. this._view = t0;
  15367. },
  15368. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  15369. this.$this = t0;
  15370. },
  15371. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  15372. this._public_member_map_view$_inner = t0;
  15373. this.$ti = t1;
  15374. },
  15375. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  15376. var _ = this;
  15377. _._source_map_buffer$_buffer = t0;
  15378. _._entries = t1;
  15379. _._column = _._line = 0;
  15380. _._inSpan = false;
  15381. },
  15382. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  15383. this._box_0 = t0;
  15384. this.prefixLength = t1;
  15385. },
  15386. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  15387. this._unprefixed_map_view$_map = t0;
  15388. this._unprefixed_map_view$_prefix = t1;
  15389. this.$ti = t2;
  15390. },
  15391. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  15392. this._unprefixed_map_view$_view = t0;
  15393. },
  15394. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  15395. this.$this = t0;
  15396. },
  15397. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  15398. this.$this = t0;
  15399. },
  15400. toSentence(iter, conjunction) {
  15401. if (iter.get$length(iter) === 1)
  15402. return J.toString$0$(iter.get$first(iter));
  15403. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  15404. },
  15405. indent(string, indentation) {
  15406. 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");
  15407. },
  15408. pluralize($name, number, plural) {
  15409. if (number === 1)
  15410. return $name;
  15411. if (plural != null)
  15412. return plural;
  15413. return $name + "s";
  15414. },
  15415. trimAscii(string, excludeEscape) {
  15416. var t1,
  15417. start = A._firstNonWhitespace(string);
  15418. if (start == null)
  15419. t1 = "";
  15420. else {
  15421. t1 = A._lastNonWhitespace(string, true);
  15422. t1.toString;
  15423. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  15424. }
  15425. return t1;
  15426. },
  15427. trimAsciiRight(string, excludeEscape) {
  15428. var end = A._lastNonWhitespace(string, excludeEscape);
  15429. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  15430. },
  15431. _firstNonWhitespace(string) {
  15432. var t1, i, t2;
  15433. for (t1 = string.length, i = 0; i < t1; ++i) {
  15434. t2 = string.charCodeAt(i);
  15435. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  15436. return i;
  15437. }
  15438. return null;
  15439. },
  15440. _lastNonWhitespace(string, excludeEscape) {
  15441. var i, i0, codeUnit;
  15442. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  15443. codeUnit = string.charCodeAt(i0);
  15444. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  15445. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  15446. return i0 + 1;
  15447. else
  15448. return i0;
  15449. }
  15450. return null;
  15451. },
  15452. isPublic(member) {
  15453. var start = member.charCodeAt(0);
  15454. return start !== 45 && start !== 95;
  15455. },
  15456. flattenVertically(iterable, $T) {
  15457. var result,
  15458. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  15459. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), t1._eval$1("ListIterable.E"));
  15460. if (queues.length === 1)
  15461. return B.JSArray_methods.get$first(queues);
  15462. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  15463. for (; queues.length !== 0;) {
  15464. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  15465. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  15466. }
  15467. return result;
  15468. },
  15469. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  15470. var codeUnitIndex, i, codeUnitIndex0;
  15471. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  15472. codeUnitIndex0 = codeUnitIndex + 1;
  15473. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  15474. }
  15475. return codeUnitIndex;
  15476. },
  15477. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  15478. var codepointIndex, i;
  15479. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  15480. ++codepointIndex;
  15481. return codepointIndex;
  15482. },
  15483. frameForSpan(span, member, url) {
  15484. var t2, t3,
  15485. t1 = url == null ? span.get$sourceUrl(span) : url;
  15486. if (t1 == null)
  15487. t1 = $.$get$_noSourceUrl();
  15488. t2 = span.get$start(span);
  15489. t2 = t2.file.getLine$1(t2.offset);
  15490. t3 = span.get$start(span);
  15491. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  15492. },
  15493. declarationName(span) {
  15494. var text = span.get$text();
  15495. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  15496. },
  15497. unvendor($name) {
  15498. var i,
  15499. t1 = $name.length;
  15500. if (t1 < 2)
  15501. return $name;
  15502. if ($name.charCodeAt(0) !== 45)
  15503. return $name;
  15504. if ($name.charCodeAt(1) === 45)
  15505. return $name;
  15506. for (i = 2; i < t1; ++i)
  15507. if ($name.charCodeAt(i) === 45)
  15508. return B.JSString_methods.substring$1($name, i + 1);
  15509. return $name;
  15510. },
  15511. equalsIgnoreCase(string1, string2) {
  15512. var t1, i;
  15513. if (string1 === string2)
  15514. return true;
  15515. if (string1 == null)
  15516. return false;
  15517. t1 = string1.length;
  15518. if (t1 !== string2.length)
  15519. return false;
  15520. for (i = 0; i < t1; ++i)
  15521. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  15522. return false;
  15523. return true;
  15524. },
  15525. startsWithIgnoreCase(string, prefix) {
  15526. var i,
  15527. t1 = prefix.length;
  15528. if (string.length < t1)
  15529. return false;
  15530. for (i = 0; i < t1; ++i)
  15531. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  15532. return false;
  15533. return true;
  15534. },
  15535. mapInPlace(list, $function) {
  15536. var i;
  15537. for (i = 0; i < list.length; ++i)
  15538. list[i] = $function.call$1(list[i]);
  15539. },
  15540. longestCommonSubsequence(list1, list2, select, $T) {
  15541. var t1, _i, selections, i, i0, j, selection, j0,
  15542. _length = list1.get$length(0) + 1,
  15543. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  15544. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  15545. 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);
  15546. _length = list1.get$length(0);
  15547. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  15548. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  15549. 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);
  15550. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  15551. 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) {
  15552. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  15553. selections[i][j] = selection;
  15554. t1 = lengths[i0];
  15555. j0 = j + 1;
  15556. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  15557. }
  15558. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  15559. },
  15560. removeFirstWhere(list, test, orElse) {
  15561. var i;
  15562. for (i = 0; i < list.length; ++i) {
  15563. if (!test.call$1(list[i]))
  15564. continue;
  15565. B.JSArray_methods.removeAt$1(list, i);
  15566. return;
  15567. }
  15568. orElse.call$0();
  15569. },
  15570. mapAddAll2(destination, source, $K1, $K2, $V) {
  15571. source.forEach$1(0, new A.mapAddAll2_closure(destination, $K1, $K2, $V));
  15572. },
  15573. setAll(map, keys, value) {
  15574. var t1;
  15575. for (t1 = keys.get$iterator(keys); t1.moveNext$0();)
  15576. map.$indexSet(0, t1.get$current(t1), value);
  15577. },
  15578. rotateSlice(list, start, end) {
  15579. var i, next,
  15580. element = list.$index(0, end - 1);
  15581. for (i = start; i < end; ++i, element = next) {
  15582. next = list.$index(0, i);
  15583. list.$indexSet(0, i, element);
  15584. }
  15585. },
  15586. mapAsync(iterable, callback, $E, $F) {
  15587. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  15588. },
  15589. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  15590. var $async$goto = 0,
  15591. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15592. $async$returnValue, t2, _i, t1, $async$temp1;
  15593. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15594. if ($async$errorCode === 1)
  15595. return A._asyncRethrow($async$result, $async$completer);
  15596. while (true)
  15597. switch ($async$goto) {
  15598. case 0:
  15599. // Function start
  15600. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  15601. t2 = iterable.length, _i = 0;
  15602. case 3:
  15603. // for condition
  15604. if (!(_i < t2)) {
  15605. // goto after for
  15606. $async$goto = 5;
  15607. break;
  15608. }
  15609. $async$temp1 = t1;
  15610. $async$goto = 6;
  15611. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  15612. case 6:
  15613. // returning from await.
  15614. $async$temp1.push($async$result);
  15615. case 4:
  15616. // for update
  15617. ++_i;
  15618. // goto for condition
  15619. $async$goto = 3;
  15620. break;
  15621. case 5:
  15622. // after for
  15623. $async$returnValue = t1;
  15624. // goto return
  15625. $async$goto = 1;
  15626. break;
  15627. case 1:
  15628. // return
  15629. return A._asyncReturn($async$returnValue, $async$completer);
  15630. }
  15631. });
  15632. return A._asyncStartSync($async$mapAsync, $async$completer);
  15633. },
  15634. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  15635. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  15636. },
  15637. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  15638. var $async$goto = 0,
  15639. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15640. $async$returnValue, t1, value;
  15641. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15642. if ($async$errorCode === 1)
  15643. return A._asyncRethrow($async$result, $async$completer);
  15644. while (true)
  15645. switch ($async$goto) {
  15646. case 0:
  15647. // Function start
  15648. if (map.containsKey$1(key)) {
  15649. t1 = map.$index(0, key);
  15650. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  15651. // goto return
  15652. $async$goto = 1;
  15653. break;
  15654. }
  15655. $async$goto = 3;
  15656. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  15657. case 3:
  15658. // returning from await.
  15659. value = $async$result;
  15660. map.$indexSet(0, key, value);
  15661. $async$returnValue = value;
  15662. // goto return
  15663. $async$goto = 1;
  15664. break;
  15665. case 1:
  15666. // return
  15667. return A._asyncReturn($async$returnValue, $async$completer);
  15668. }
  15669. });
  15670. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  15671. },
  15672. copyMapOfMap(map, $K1, $K2, $V) {
  15673. var t3, key, child,
  15674. t1 = $K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  15675. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K1, t1);
  15676. for (t1 = A.MapExtensions_get_pairs(map, $K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15677. t3 = t1.get$current(t1);
  15678. key = t3._0;
  15679. child = t3._1;
  15680. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K2, $V);
  15681. t3.addAll$1(0, child);
  15682. t2.$indexSet(0, key, t3);
  15683. }
  15684. return t2;
  15685. },
  15686. copyMapOfList(map, $K, $E) {
  15687. var t3,
  15688. t1 = $E._eval$1("List<0>"),
  15689. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  15690. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15691. t3 = t1.get$current(t1);
  15692. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  15693. }
  15694. return t2;
  15695. },
  15696. consumeEscapedCharacter(scanner) {
  15697. var _1_0, value, i, next, t1;
  15698. scanner.expectChar$1(92);
  15699. _1_0 = scanner.peekChar$0();
  15700. if (_1_0 == null)
  15701. return 65533;
  15702. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  15703. scanner.error$1(0, "Expected escape sequence.");
  15704. if (A.CharacterExtension_get_isHex(_1_0)) {
  15705. for (value = 0, i = 0; i < 6; ++i) {
  15706. next = scanner.peekChar$0();
  15707. if (next != null) {
  15708. t1 = true;
  15709. if (!(next >= 48 && next <= 57))
  15710. if (!(next >= 97 && next <= 102))
  15711. t1 = next >= 65 && next <= 70;
  15712. t1 = !t1;
  15713. } else
  15714. t1 = true;
  15715. if (t1)
  15716. break;
  15717. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  15718. }
  15719. t1 = scanner.peekChar$0();
  15720. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  15721. scanner.readChar$0();
  15722. $label0$1: {
  15723. if (0 !== value)
  15724. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  15725. else
  15726. t1 = true;
  15727. if (t1) {
  15728. t1 = 65533;
  15729. break $label0$1;
  15730. }
  15731. t1 = value;
  15732. break $label0$1;
  15733. }
  15734. return t1;
  15735. }
  15736. return scanner.readChar$0();
  15737. },
  15738. throwWithTrace(error, originalError, trace) {
  15739. var t1 = A.getTrace(originalError);
  15740. A.attachTrace(error, t1 == null ? trace : t1);
  15741. throw A.wrapException(error);
  15742. },
  15743. attachTrace(error, trace) {
  15744. var t1;
  15745. if (trace.toString$0(0).length === 0)
  15746. return;
  15747. t1 = $.$get$_traces();
  15748. A.Expando__checkType(error);
  15749. if (t1._jsWeakMap.get(error) == null)
  15750. t1.$indexSet(0, error, trace);
  15751. },
  15752. getTrace(error) {
  15753. var t1;
  15754. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  15755. t1 = null;
  15756. else {
  15757. t1 = $.$get$_traces();
  15758. A.Expando__checkType(error);
  15759. t1 = t1._jsWeakMap.get(error);
  15760. }
  15761. return t1;
  15762. },
  15763. indent_closure: function indent_closure(t0) {
  15764. this.indentation = t0;
  15765. },
  15766. flattenVertically_closure: function flattenVertically_closure(t0) {
  15767. this.T = t0;
  15768. },
  15769. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15770. this.result = t0;
  15771. this.T = t1;
  15772. },
  15773. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15774. this.selections = t0;
  15775. this.lengths = t1;
  15776. this.T = t2;
  15777. },
  15778. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15779. var _ = this;
  15780. _.destination = t0;
  15781. _.K1 = t1;
  15782. _.K2 = t2;
  15783. _.V = t3;
  15784. },
  15785. SassApiValue_assertSelector(_this, allowParent, $name) {
  15786. var error, stackTrace, t1, exception,
  15787. string = _this._selectorString$1($name);
  15788. try {
  15789. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, false);
  15790. return t1;
  15791. } catch (exception) {
  15792. t1 = A.unwrapException(exception);
  15793. if (type$.SassFormatException._is(t1)) {
  15794. error = t1;
  15795. stackTrace = A.getTraceFromException(exception);
  15796. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15797. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15798. } else
  15799. throw exception;
  15800. }
  15801. },
  15802. SassApiValue_assertCompoundSelector(_this, $name) {
  15803. var error, stackTrace, t1, exception,
  15804. allowParent = false,
  15805. string = _this._selectorString$1($name);
  15806. try {
  15807. t1 = new A.SelectorParser(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  15808. return t1;
  15809. } catch (exception) {
  15810. t1 = A.unwrapException(exception);
  15811. if (type$.SassFormatException._is(t1)) {
  15812. error = t1;
  15813. stackTrace = A.getTraceFromException(exception);
  15814. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15815. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15816. } else
  15817. throw exception;
  15818. }
  15819. },
  15820. Value: function Value() {
  15821. },
  15822. SassArgumentList$(contents, keywords, separator) {
  15823. var t1 = type$.Value;
  15824. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15825. t1.SassList$3$brackets(contents, separator, false);
  15826. return t1;
  15827. },
  15828. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15829. var _ = this;
  15830. _._keywords = t0;
  15831. _._wereKeywordsAccessed = false;
  15832. _._list$_contents = t1;
  15833. _._separator = t2;
  15834. _._hasBrackets = t3;
  15835. },
  15836. SassBoolean: function SassBoolean(t0) {
  15837. this.value = t0;
  15838. },
  15839. SassCalculation_calc(argument) {
  15840. var t1,
  15841. _0_0 = A.SassCalculation__simplify(argument);
  15842. $label0$0: {
  15843. if (_0_0 instanceof A.SassNumber) {
  15844. t1 = _0_0;
  15845. break $label0$0;
  15846. }
  15847. if (_0_0 instanceof A.SassCalculation) {
  15848. t1 = _0_0;
  15849. break $label0$0;
  15850. }
  15851. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15852. break $label0$0;
  15853. }
  15854. return t1;
  15855. },
  15856. SassCalculation_min($arguments) {
  15857. var minimum, _i, arg, t2,
  15858. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15859. t1 = args.length;
  15860. if (t1 === 0)
  15861. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15862. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15863. arg = args[_i];
  15864. if (arg instanceof A.SassNumber)
  15865. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15866. else
  15867. t2 = true;
  15868. if (t2) {
  15869. minimum = null;
  15870. break;
  15871. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15872. minimum = arg;
  15873. }
  15874. if (minimum != null)
  15875. return minimum;
  15876. A.SassCalculation__verifyCompatibleNumbers(args);
  15877. return new A.SassCalculation("min", args);
  15878. },
  15879. SassCalculation_max($arguments) {
  15880. var maximum, _i, arg, t2,
  15881. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15882. t1 = args.length;
  15883. if (t1 === 0)
  15884. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15885. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15886. arg = args[_i];
  15887. if (arg instanceof A.SassNumber)
  15888. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15889. else
  15890. t2 = true;
  15891. if (t2) {
  15892. maximum = null;
  15893. break;
  15894. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15895. maximum = arg;
  15896. }
  15897. if (maximum != null)
  15898. return maximum;
  15899. A.SassCalculation__verifyCompatibleNumbers(args);
  15900. return new A.SassCalculation("max", args);
  15901. },
  15902. SassCalculation_hypot($arguments) {
  15903. var first, subtotal, i, number, value, t2,
  15904. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15905. t1 = args.length;
  15906. if (t1 === 0)
  15907. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15908. A.SassCalculation__verifyCompatibleNumbers(args);
  15909. first = B.JSArray_methods.get$first(args);
  15910. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15911. return new A.SassCalculation("hypot", args);
  15912. for (subtotal = 0, i = 0; i < t1;) {
  15913. number = args[i];
  15914. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15915. return new A.SassCalculation("hypot", args);
  15916. ++i;
  15917. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15918. subtotal += value * value;
  15919. }
  15920. t1 = Math.sqrt(subtotal);
  15921. t2 = first.get$numeratorUnits(first);
  15922. return A.SassNumber_SassNumber$withUnits(t1, first.get$denominatorUnits(first), t2);
  15923. },
  15924. SassCalculation_abs(argument) {
  15925. argument = A.SassCalculation__simplify(argument);
  15926. if (!(argument instanceof A.SassNumber))
  15927. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15928. if (argument.hasUnit$1("%"))
  15929. 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);
  15930. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15931. },
  15932. SassCalculation_exp(argument) {
  15933. argument = A.SassCalculation__simplify(argument);
  15934. if (!(argument instanceof A.SassNumber))
  15935. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15936. argument.assertNoUnits$0();
  15937. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15938. },
  15939. SassCalculation_sign(argument) {
  15940. var t1, _0_2, t2, arg;
  15941. argument = A.SassCalculation__simplify(argument);
  15942. $label0$0: {
  15943. t1 = argument instanceof A.SassNumber;
  15944. if (t1) {
  15945. _0_2 = argument._number$_value;
  15946. if (!isNaN(_0_2))
  15947. t2 = 0 === _0_2;
  15948. else
  15949. t2 = true;
  15950. } else
  15951. t2 = false;
  15952. if (t2) {
  15953. t1 = argument;
  15954. break $label0$0;
  15955. }
  15956. if (t1) {
  15957. t1 = !argument.hasUnit$1("%");
  15958. arg = argument;
  15959. } else {
  15960. arg = null;
  15961. t1 = false;
  15962. }
  15963. if (t1) {
  15964. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15965. break $label0$0;
  15966. }
  15967. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15968. break $label0$0;
  15969. }
  15970. return t1;
  15971. },
  15972. SassCalculation_clamp(min, value, max) {
  15973. var t1, args;
  15974. if (value == null && max != null)
  15975. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15976. min = A.SassCalculation__simplify(min);
  15977. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15978. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15979. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15980. if (value.lessThanOrEquals$1(min).value)
  15981. return min;
  15982. if (value.greaterThanOrEquals$1(max).value)
  15983. return max;
  15984. return value;
  15985. }
  15986. t1 = [min];
  15987. if (value != null)
  15988. t1.push(value);
  15989. if (max != null)
  15990. t1.push(max);
  15991. args = A.List_List$unmodifiable(t1, type$.Object);
  15992. A.SassCalculation__verifyCompatibleNumbers(args);
  15993. A.SassCalculation__verifyLength(args, 3);
  15994. return new A.SassCalculation("clamp", args);
  15995. },
  15996. SassCalculation_pow(base, exponent) {
  15997. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15998. if (exponent != null)
  15999. t1.push(exponent);
  16000. A.SassCalculation__verifyLength(t1, 2);
  16001. base = A.SassCalculation__simplify(base);
  16002. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  16003. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  16004. return new A.SassCalculation("pow", t1);
  16005. base.assertNoUnits$0();
  16006. exponent.assertNoUnits$0();
  16007. return A.pow0(base, exponent);
  16008. },
  16009. SassCalculation_log(number, base) {
  16010. var t1, t2;
  16011. number = A.SassCalculation__simplify(number);
  16012. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  16013. t1 = A._setArrayType([number], type$.JSArray_Object);
  16014. t2 = base != null;
  16015. if (t2)
  16016. t1.push(base);
  16017. if (number instanceof A.SassNumber)
  16018. t2 = t2 && !(base instanceof A.SassNumber);
  16019. else
  16020. t2 = true;
  16021. if (t2)
  16022. return new A.SassCalculation("log", t1);
  16023. number.assertNoUnits$0();
  16024. if (base instanceof A.SassNumber) {
  16025. base.assertNoUnits$0();
  16026. return A.log(number, base);
  16027. }
  16028. return A.log(number, null);
  16029. },
  16030. SassCalculation_atan2(y, x) {
  16031. var t1;
  16032. y = A.SassCalculation__simplify(y);
  16033. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  16034. t1 = A._setArrayType([y], type$.JSArray_Object);
  16035. if (x != null)
  16036. t1.push(x);
  16037. A.SassCalculation__verifyLength(t1, 2);
  16038. A.SassCalculation__verifyCompatibleNumbers(t1);
  16039. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  16040. return new A.SassCalculation("atan2", t1);
  16041. 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));
  16042. },
  16043. SassCalculation_rem(dividend, modulus) {
  16044. var t1, result;
  16045. dividend = A.SassCalculation__simplify(dividend);
  16046. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16047. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16048. if (modulus != null)
  16049. t1.push(modulus);
  16050. A.SassCalculation__verifyLength(t1, 2);
  16051. A.SassCalculation__verifyCompatibleNumbers(t1);
  16052. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16053. return new A.SassCalculation("rem", t1);
  16054. result = dividend.modulo$1(modulus);
  16055. t1 = modulus._number$_value;
  16056. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  16057. if (t1 == 1 / 0 || t1 == -1 / 0)
  16058. return dividend;
  16059. if (result._number$_value === 0)
  16060. return result.unaryMinus$0();
  16061. return result.minus$1(modulus);
  16062. }
  16063. return result;
  16064. },
  16065. SassCalculation_mod(dividend, modulus) {
  16066. var t1;
  16067. dividend = A.SassCalculation__simplify(dividend);
  16068. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16069. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16070. if (modulus != null)
  16071. t1.push(modulus);
  16072. A.SassCalculation__verifyLength(t1, 2);
  16073. A.SassCalculation__verifyCompatibleNumbers(t1);
  16074. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16075. return new A.SassCalculation("mod", t1);
  16076. return dividend.modulo$1(modulus);
  16077. },
  16078. SassCalculation_roundInternal(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  16079. var _0_8_isSet, _0_6_isSet, t2, _0_6_isSet0, _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, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  16080. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  16081. _0_6 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  16082. _0_9 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  16083. _0_8 = _null,
  16084. _0_60 = _null,
  16085. _0_10 = _null,
  16086. _0_10_isSet = false,
  16087. _0_90 = _null,
  16088. _0_9_isSet = false,
  16089. number = _null,
  16090. t1 = false;
  16091. if (_0_1 instanceof A.SassNumber) {
  16092. _0_8_isSet = !_0_1.get$hasUnits();
  16093. if (_0_8_isSet) {
  16094. _0_8 = _0_6 == null;
  16095. _0_10_isSet = _0_8;
  16096. if (_0_10_isSet) {
  16097. _0_10 = _0_9 == null;
  16098. t1 = _0_10;
  16099. _0_90 = _0_9;
  16100. }
  16101. _0_9_isSet = _0_10_isSet;
  16102. _0_60 = _0_6;
  16103. number = _0_1;
  16104. }
  16105. _0_6_isSet = _0_8_isSet;
  16106. } else {
  16107. _0_8_isSet = false;
  16108. _0_6_isSet = false;
  16109. }
  16110. if (t1)
  16111. return A.SassNumber_SassNumber(B.JSNumber_methods.round$0(number._number$_value), _null);
  16112. t1 = false;
  16113. if (_0_1 instanceof A.SassNumber) {
  16114. if (_0_8_isSet)
  16115. t2 = _0_8;
  16116. else {
  16117. if (_0_6_isSet)
  16118. t2 = _0_60;
  16119. else {
  16120. t2 = _0_6;
  16121. _0_60 = t2;
  16122. _0_6_isSet = true;
  16123. }
  16124. _0_8 = t2 == null;
  16125. t2 = _0_8;
  16126. _0_8_isSet = true;
  16127. }
  16128. if (t2) {
  16129. if (_0_10_isSet)
  16130. t1 = _0_10;
  16131. else {
  16132. if (_0_9_isSet)
  16133. t1 = _0_90;
  16134. else {
  16135. t1 = _0_9;
  16136. _0_90 = t1;
  16137. _0_9_isSet = true;
  16138. }
  16139. _0_10 = t1 == null;
  16140. t1 = _0_10;
  16141. _0_10_isSet = true;
  16142. }
  16143. t1 = t1 && inLegacySassFunction != null;
  16144. }
  16145. number = _0_1;
  16146. } else
  16147. number = _null;
  16148. if (t1) {
  16149. warn.call$2(string$.In_fut, B.Deprecation_1AX);
  16150. t1 = B.JSNumber_methods.round$0(number._number$_value);
  16151. t2 = number.get$numeratorUnits(number);
  16152. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  16153. }
  16154. step = _null;
  16155. t1 = false;
  16156. if (_0_1 instanceof A.SassNumber) {
  16157. _0_6_isSet0 = true;
  16158. if (_0_6_isSet)
  16159. t2 = _0_60;
  16160. else {
  16161. t2 = _0_6;
  16162. _0_6_isSet = _0_6_isSet0;
  16163. _0_60 = t2;
  16164. }
  16165. if (t2 instanceof A.SassNumber) {
  16166. if (_0_6_isSet)
  16167. t2 = _0_60;
  16168. else {
  16169. t2 = _0_6;
  16170. _0_6_isSet = _0_6_isSet0;
  16171. _0_60 = t2;
  16172. }
  16173. type$.SassNumber._as(t2);
  16174. if (_0_10_isSet)
  16175. t1 = _0_10;
  16176. else {
  16177. if (_0_9_isSet)
  16178. t1 = _0_90;
  16179. else {
  16180. t1 = _0_9;
  16181. _0_90 = t1;
  16182. _0_9_isSet = true;
  16183. }
  16184. _0_10 = t1 == null;
  16185. t1 = _0_10;
  16186. _0_10_isSet = true;
  16187. }
  16188. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  16189. step = t2;
  16190. }
  16191. number = _0_1;
  16192. } else
  16193. number = _null;
  16194. if (t1) {
  16195. t1 = type$.JSArray_Object;
  16196. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16197. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  16198. }
  16199. step = _null;
  16200. t1 = false;
  16201. if (_0_1 instanceof A.SassNumber) {
  16202. _0_6_isSet0 = true;
  16203. if (_0_6_isSet)
  16204. t2 = _0_60;
  16205. else {
  16206. t2 = _0_6;
  16207. _0_6_isSet = _0_6_isSet0;
  16208. _0_60 = t2;
  16209. }
  16210. if (t2 instanceof A.SassNumber) {
  16211. if (_0_6_isSet)
  16212. t2 = _0_60;
  16213. else {
  16214. t2 = _0_6;
  16215. _0_6_isSet = _0_6_isSet0;
  16216. _0_60 = t2;
  16217. }
  16218. type$.SassNumber._as(t2);
  16219. if (_0_10_isSet)
  16220. t1 = _0_10;
  16221. else {
  16222. if (_0_9_isSet)
  16223. t1 = _0_90;
  16224. else {
  16225. t1 = _0_9;
  16226. _0_90 = t1;
  16227. _0_9_isSet = true;
  16228. }
  16229. _0_10 = t1 == null;
  16230. t1 = _0_10;
  16231. _0_10_isSet = true;
  16232. }
  16233. step = t2;
  16234. }
  16235. number = _0_1;
  16236. } else
  16237. number = _null;
  16238. if (t1) {
  16239. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16240. return A.SassCalculation__roundWithStep("nearest", number, step);
  16241. }
  16242. _0_14_isSet = _0_1 instanceof A.SassString;
  16243. _0_16 = _null;
  16244. _0_18 = _null;
  16245. _0_18_isSet = false;
  16246. _0_20 = _null;
  16247. _0_20_isSet = false;
  16248. strategy = _null;
  16249. number = _null;
  16250. step = _null;
  16251. t1 = false;
  16252. if (_0_14_isSet) {
  16253. _0_6_isSet0 = true;
  16254. _0_9_isSet0 = true;
  16255. _0_12 = _0_1._string$_text;
  16256. t2 = _0_12;
  16257. _0_14 = "nearest" === t2;
  16258. t2 = _0_14;
  16259. _0_16_isSet = !t2;
  16260. t2 = true;
  16261. if (_0_16_isSet) {
  16262. _0_16 = "up" === _0_12;
  16263. t3 = _0_16;
  16264. _0_18_isSet = !t3;
  16265. if (_0_18_isSet) {
  16266. _0_18 = "down" === _0_12;
  16267. t3 = _0_18;
  16268. _0_20_isSet = !t3;
  16269. if (_0_20_isSet) {
  16270. _0_20 = "to-zero" === _0_12;
  16271. t2 = _0_20;
  16272. }
  16273. }
  16274. }
  16275. if (t2) {
  16276. if (_0_6_isSet)
  16277. t2 = _0_60;
  16278. else {
  16279. t2 = _0_6;
  16280. _0_6_isSet = _0_6_isSet0;
  16281. _0_60 = t2;
  16282. }
  16283. if (t2 instanceof A.SassNumber) {
  16284. if (_0_6_isSet)
  16285. t2 = _0_60;
  16286. else {
  16287. t2 = _0_6;
  16288. _0_6_isSet = _0_6_isSet0;
  16289. _0_60 = t2;
  16290. }
  16291. t3 = type$.SassNumber;
  16292. t3._as(t2);
  16293. if (_0_9_isSet)
  16294. t4 = _0_90;
  16295. else {
  16296. t4 = _0_9;
  16297. _0_9_isSet = _0_9_isSet0;
  16298. _0_90 = t4;
  16299. }
  16300. if (t4 instanceof A.SassNumber) {
  16301. if (_0_9_isSet)
  16302. t1 = _0_90;
  16303. else {
  16304. t1 = _0_9;
  16305. _0_9_isSet = _0_9_isSet0;
  16306. _0_90 = t1;
  16307. }
  16308. t3._as(t1);
  16309. t3 = !t2.hasCompatibleUnits$1(t1);
  16310. step = t1;
  16311. t1 = t3;
  16312. }
  16313. number = t2;
  16314. }
  16315. strategy = _0_1;
  16316. }
  16317. } else {
  16318. _0_12 = _null;
  16319. _0_14 = _0_12;
  16320. _0_16_isSet = false;
  16321. }
  16322. if (t1) {
  16323. t1 = type$.JSArray_Object;
  16324. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16325. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  16326. }
  16327. strategy = _null;
  16328. number = _null;
  16329. step = _null;
  16330. t1 = false;
  16331. if (_0_1 instanceof A.SassString) {
  16332. _0_6_isSet0 = true;
  16333. _0_9_isSet0 = true;
  16334. _0_12_isSet = true;
  16335. if (_0_14_isSet) {
  16336. t2 = _0_14;
  16337. _0_12_isSet0 = _0_14_isSet;
  16338. } else {
  16339. _0_12 = _0_1._string$_text;
  16340. t2 = _0_12;
  16341. _0_14 = "nearest" === t2;
  16342. t2 = _0_14;
  16343. _0_12_isSet0 = _0_12_isSet;
  16344. _0_14_isSet = true;
  16345. }
  16346. t3 = true;
  16347. if (!t2) {
  16348. if (_0_16_isSet)
  16349. t2 = _0_16;
  16350. else {
  16351. if (_0_12_isSet0)
  16352. t2 = _0_12;
  16353. else {
  16354. _0_12 = _0_1._string$_text;
  16355. t2 = _0_12;
  16356. _0_12_isSet0 = _0_12_isSet;
  16357. }
  16358. _0_16 = "up" === t2;
  16359. t2 = _0_16;
  16360. _0_16_isSet = true;
  16361. }
  16362. if (!t2) {
  16363. if (_0_18_isSet)
  16364. t2 = _0_18;
  16365. else {
  16366. if (_0_12_isSet0)
  16367. t2 = _0_12;
  16368. else {
  16369. _0_12 = _0_1._string$_text;
  16370. t2 = _0_12;
  16371. _0_12_isSet0 = _0_12_isSet;
  16372. }
  16373. _0_18 = "down" === t2;
  16374. t2 = _0_18;
  16375. _0_18_isSet = true;
  16376. }
  16377. if (!t2)
  16378. if (_0_20_isSet) {
  16379. t2 = _0_20;
  16380. _0_12_isSet = _0_12_isSet0;
  16381. } else {
  16382. if (_0_12_isSet0) {
  16383. t2 = _0_12;
  16384. _0_12_isSet = _0_12_isSet0;
  16385. } else {
  16386. _0_12 = _0_1._string$_text;
  16387. t2 = _0_12;
  16388. }
  16389. _0_20 = "to-zero" === t2;
  16390. t2 = _0_20;
  16391. _0_20_isSet = true;
  16392. }
  16393. else {
  16394. t2 = t3;
  16395. _0_12_isSet = _0_12_isSet0;
  16396. }
  16397. } else {
  16398. t2 = t3;
  16399. _0_12_isSet = _0_12_isSet0;
  16400. }
  16401. } else {
  16402. t2 = t3;
  16403. _0_12_isSet = _0_12_isSet0;
  16404. }
  16405. if (t2) {
  16406. if (_0_6_isSet)
  16407. t2 = _0_60;
  16408. else {
  16409. t2 = _0_6;
  16410. _0_6_isSet = _0_6_isSet0;
  16411. _0_60 = t2;
  16412. }
  16413. if (t2 instanceof A.SassNumber) {
  16414. if (_0_6_isSet)
  16415. t2 = _0_60;
  16416. else {
  16417. t2 = _0_6;
  16418. _0_6_isSet = _0_6_isSet0;
  16419. _0_60 = t2;
  16420. }
  16421. t3 = type$.SassNumber;
  16422. t3._as(t2);
  16423. if (_0_9_isSet)
  16424. t1 = _0_90;
  16425. else {
  16426. t1 = _0_9;
  16427. _0_9_isSet = _0_9_isSet0;
  16428. _0_90 = t1;
  16429. }
  16430. t1 = t1 instanceof A.SassNumber;
  16431. if (t1) {
  16432. if (_0_9_isSet)
  16433. t4 = _0_90;
  16434. else {
  16435. t4 = _0_9;
  16436. _0_9_isSet = _0_9_isSet0;
  16437. _0_90 = t4;
  16438. }
  16439. t3._as(t4);
  16440. step = t4;
  16441. }
  16442. number = t2;
  16443. }
  16444. strategy = _0_1;
  16445. }
  16446. } else
  16447. _0_12_isSet = _0_14_isSet;
  16448. if (t1) {
  16449. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16450. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  16451. }
  16452. strategy = _null;
  16453. rest = _null;
  16454. t1 = false;
  16455. if (_0_1 instanceof A.SassString) {
  16456. _0_6_isSet0 = true;
  16457. _0_12_isSet0 = true;
  16458. if (_0_14_isSet)
  16459. t2 = _0_14;
  16460. else {
  16461. if (_0_12_isSet)
  16462. t2 = _0_12;
  16463. else {
  16464. _0_12 = _0_1._string$_text;
  16465. t2 = _0_12;
  16466. _0_12_isSet = _0_12_isSet0;
  16467. }
  16468. _0_14 = "nearest" === t2;
  16469. t2 = _0_14;
  16470. _0_14_isSet = true;
  16471. }
  16472. t3 = true;
  16473. if (!t2) {
  16474. if (_0_16_isSet)
  16475. t2 = _0_16;
  16476. else {
  16477. if (_0_12_isSet)
  16478. t2 = _0_12;
  16479. else {
  16480. _0_12 = _0_1._string$_text;
  16481. t2 = _0_12;
  16482. _0_12_isSet = _0_12_isSet0;
  16483. }
  16484. _0_16 = "up" === t2;
  16485. t2 = _0_16;
  16486. _0_16_isSet = true;
  16487. }
  16488. if (!t2) {
  16489. if (_0_18_isSet)
  16490. t2 = _0_18;
  16491. else {
  16492. if (_0_12_isSet)
  16493. t2 = _0_12;
  16494. else {
  16495. _0_12 = _0_1._string$_text;
  16496. t2 = _0_12;
  16497. _0_12_isSet = _0_12_isSet0;
  16498. }
  16499. _0_18 = "down" === t2;
  16500. t2 = _0_18;
  16501. _0_18_isSet = true;
  16502. }
  16503. if (!t2)
  16504. if (_0_20_isSet)
  16505. t2 = _0_20;
  16506. else {
  16507. if (_0_12_isSet)
  16508. t2 = _0_12;
  16509. else {
  16510. _0_12 = _0_1._string$_text;
  16511. t2 = _0_12;
  16512. _0_12_isSet = _0_12_isSet0;
  16513. }
  16514. _0_20 = "to-zero" === t2;
  16515. t2 = _0_20;
  16516. _0_20_isSet = true;
  16517. }
  16518. else
  16519. t2 = t3;
  16520. } else
  16521. t2 = t3;
  16522. } else
  16523. t2 = t3;
  16524. if (t2) {
  16525. if (_0_6_isSet)
  16526. t2 = _0_60;
  16527. else {
  16528. t2 = _0_6;
  16529. _0_6_isSet = _0_6_isSet0;
  16530. _0_60 = t2;
  16531. }
  16532. if (t2 instanceof A.SassString) {
  16533. if (_0_6_isSet)
  16534. t2 = _0_60;
  16535. else {
  16536. t2 = _0_6;
  16537. _0_6_isSet = _0_6_isSet0;
  16538. _0_60 = t2;
  16539. }
  16540. type$.SassString._as(t2);
  16541. if (_0_10_isSet)
  16542. t1 = _0_10;
  16543. else {
  16544. if (_0_9_isSet)
  16545. t1 = _0_90;
  16546. else {
  16547. t1 = _0_9;
  16548. _0_90 = t1;
  16549. _0_9_isSet = true;
  16550. }
  16551. _0_10 = t1 == null;
  16552. t1 = _0_10;
  16553. _0_10_isSet = true;
  16554. }
  16555. rest = t2;
  16556. }
  16557. strategy = _0_1;
  16558. }
  16559. }
  16560. if (t1)
  16561. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  16562. t1 = false;
  16563. if (_0_1 instanceof A.SassString) {
  16564. _0_12_isSet0 = true;
  16565. if (_0_14_isSet)
  16566. t2 = _0_14;
  16567. else {
  16568. if (_0_12_isSet)
  16569. t2 = _0_12;
  16570. else {
  16571. _0_12 = _0_1._string$_text;
  16572. t2 = _0_12;
  16573. _0_12_isSet = _0_12_isSet0;
  16574. }
  16575. _0_14 = "nearest" === t2;
  16576. t2 = _0_14;
  16577. _0_14_isSet = true;
  16578. }
  16579. t3 = true;
  16580. if (!t2) {
  16581. if (_0_16_isSet)
  16582. t2 = _0_16;
  16583. else {
  16584. if (_0_12_isSet)
  16585. t2 = _0_12;
  16586. else {
  16587. _0_12 = _0_1._string$_text;
  16588. t2 = _0_12;
  16589. _0_12_isSet = _0_12_isSet0;
  16590. }
  16591. _0_16 = "up" === t2;
  16592. t2 = _0_16;
  16593. _0_16_isSet = true;
  16594. }
  16595. if (!t2) {
  16596. if (_0_18_isSet)
  16597. t2 = _0_18;
  16598. else {
  16599. if (_0_12_isSet)
  16600. t2 = _0_12;
  16601. else {
  16602. _0_12 = _0_1._string$_text;
  16603. t2 = _0_12;
  16604. _0_12_isSet = _0_12_isSet0;
  16605. }
  16606. _0_18 = "down" === t2;
  16607. t2 = _0_18;
  16608. _0_18_isSet = true;
  16609. }
  16610. if (!t2)
  16611. if (_0_20_isSet)
  16612. t2 = _0_20;
  16613. else {
  16614. if (_0_12_isSet)
  16615. t2 = _0_12;
  16616. else {
  16617. _0_12 = _0_1._string$_text;
  16618. t2 = _0_12;
  16619. _0_12_isSet = _0_12_isSet0;
  16620. }
  16621. _0_20 = "to-zero" === t2;
  16622. t2 = _0_20;
  16623. _0_20_isSet = true;
  16624. }
  16625. else
  16626. t2 = t3;
  16627. } else
  16628. t2 = t3;
  16629. } else
  16630. t2 = t3;
  16631. if (t2) {
  16632. if (_0_6_isSet)
  16633. t2 = _0_60;
  16634. else {
  16635. t2 = _0_6;
  16636. _0_60 = t2;
  16637. _0_6_isSet = true;
  16638. }
  16639. if (t2 != null)
  16640. if (_0_10_isSet)
  16641. t1 = _0_10;
  16642. else {
  16643. if (_0_9_isSet)
  16644. t1 = _0_90;
  16645. else {
  16646. t1 = _0_9;
  16647. _0_90 = t1;
  16648. _0_9_isSet = true;
  16649. }
  16650. _0_10 = t1 == null;
  16651. t1 = _0_10;
  16652. _0_10_isSet = true;
  16653. }
  16654. }
  16655. }
  16656. if (t1)
  16657. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  16658. t1 = false;
  16659. if (_0_1 instanceof A.SassString) {
  16660. _0_12_isSet0 = true;
  16661. if (_0_14_isSet)
  16662. t2 = _0_14;
  16663. else {
  16664. if (_0_12_isSet)
  16665. t2 = _0_12;
  16666. else {
  16667. _0_12 = _0_1._string$_text;
  16668. t2 = _0_12;
  16669. _0_12_isSet = _0_12_isSet0;
  16670. }
  16671. _0_14 = "nearest" === t2;
  16672. t2 = _0_14;
  16673. _0_14_isSet = true;
  16674. }
  16675. t3 = true;
  16676. if (!t2) {
  16677. if (_0_16_isSet)
  16678. t2 = _0_16;
  16679. else {
  16680. if (_0_12_isSet)
  16681. t2 = _0_12;
  16682. else {
  16683. _0_12 = _0_1._string$_text;
  16684. t2 = _0_12;
  16685. _0_12_isSet = _0_12_isSet0;
  16686. }
  16687. _0_16 = "up" === t2;
  16688. t2 = _0_16;
  16689. _0_16_isSet = true;
  16690. }
  16691. if (!t2) {
  16692. if (_0_18_isSet)
  16693. t2 = _0_18;
  16694. else {
  16695. if (_0_12_isSet)
  16696. t2 = _0_12;
  16697. else {
  16698. _0_12 = _0_1._string$_text;
  16699. t2 = _0_12;
  16700. _0_12_isSet = _0_12_isSet0;
  16701. }
  16702. _0_18 = "down" === t2;
  16703. t2 = _0_18;
  16704. _0_18_isSet = true;
  16705. }
  16706. if (!t2)
  16707. if (_0_20_isSet)
  16708. t2 = _0_20;
  16709. else {
  16710. if (_0_12_isSet)
  16711. t2 = _0_12;
  16712. else {
  16713. _0_12 = _0_1._string$_text;
  16714. t2 = _0_12;
  16715. _0_12_isSet = _0_12_isSet0;
  16716. }
  16717. _0_20 = "to-zero" === t2;
  16718. t2 = _0_20;
  16719. _0_20_isSet = true;
  16720. }
  16721. else
  16722. t2 = t3;
  16723. } else
  16724. t2 = t3;
  16725. } else
  16726. t2 = t3;
  16727. if (t2) {
  16728. if (_0_8_isSet)
  16729. t2 = _0_8;
  16730. else {
  16731. if (_0_6_isSet)
  16732. t2 = _0_60;
  16733. else {
  16734. t2 = _0_6;
  16735. _0_60 = t2;
  16736. _0_6_isSet = true;
  16737. }
  16738. _0_8 = t2 == null;
  16739. t2 = _0_8;
  16740. _0_8_isSet = true;
  16741. }
  16742. if (t2)
  16743. if (_0_10_isSet)
  16744. t1 = _0_10;
  16745. else {
  16746. if (_0_9_isSet)
  16747. t1 = _0_90;
  16748. else {
  16749. t1 = _0_9;
  16750. _0_90 = t1;
  16751. _0_9_isSet = true;
  16752. }
  16753. _0_10 = t1 == null;
  16754. t1 = _0_10;
  16755. _0_10_isSet = true;
  16756. }
  16757. }
  16758. }
  16759. if (t1)
  16760. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16761. t1 = false;
  16762. if (_0_8_isSet)
  16763. t2 = _0_8;
  16764. else {
  16765. if (_0_6_isSet)
  16766. t2 = _0_60;
  16767. else {
  16768. t2 = _0_6;
  16769. _0_60 = t2;
  16770. _0_6_isSet = true;
  16771. }
  16772. _0_8 = t2 == null;
  16773. t2 = _0_8;
  16774. }
  16775. if (t2)
  16776. if (_0_10_isSet)
  16777. t1 = _0_10;
  16778. else {
  16779. if (_0_9_isSet)
  16780. t1 = _0_90;
  16781. else {
  16782. t1 = _0_9;
  16783. _0_90 = t1;
  16784. _0_9_isSet = true;
  16785. }
  16786. _0_10 = t1 == null;
  16787. t1 = _0_10;
  16788. _0_10_isSet = true;
  16789. }
  16790. if (t1)
  16791. return new A.SassCalculation(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  16792. step = _null;
  16793. t1 = false;
  16794. _0_6_isSet0 = true;
  16795. if (_0_6_isSet)
  16796. t2 = _0_60;
  16797. else {
  16798. t2 = _0_6;
  16799. _0_6_isSet = _0_6_isSet0;
  16800. _0_60 = t2;
  16801. }
  16802. if (t2 != null) {
  16803. if (_0_6_isSet)
  16804. step = _0_60;
  16805. else {
  16806. step = _0_6;
  16807. _0_6_isSet = _0_6_isSet0;
  16808. _0_60 = step;
  16809. }
  16810. if (step == null)
  16811. step = A._asObject(step);
  16812. if (_0_10_isSet)
  16813. t1 = _0_10;
  16814. else {
  16815. if (_0_9_isSet)
  16816. t1 = _0_90;
  16817. else {
  16818. t1 = _0_9;
  16819. _0_90 = t1;
  16820. _0_9_isSet = true;
  16821. }
  16822. _0_10 = t1 == null;
  16823. t1 = _0_10;
  16824. }
  16825. }
  16826. if (t1)
  16827. return new A.SassCalculation(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  16828. if (_0_1 instanceof A.SassString) {
  16829. t1 = true;
  16830. if (_0_14_isSet)
  16831. t2 = _0_14;
  16832. else {
  16833. if (_0_12_isSet)
  16834. t2 = _0_12;
  16835. else {
  16836. _0_12 = _0_1._string$_text;
  16837. t2 = _0_12;
  16838. _0_12_isSet = true;
  16839. }
  16840. _0_14 = "nearest" === t2;
  16841. t2 = _0_14;
  16842. }
  16843. if (!t2) {
  16844. if (_0_16_isSet)
  16845. t2 = _0_16;
  16846. else {
  16847. if (_0_12_isSet)
  16848. t2 = _0_12;
  16849. else {
  16850. _0_12 = _0_1._string$_text;
  16851. t2 = _0_12;
  16852. _0_12_isSet = true;
  16853. }
  16854. _0_16 = "up" === t2;
  16855. t2 = _0_16;
  16856. }
  16857. if (!t2) {
  16858. if (_0_18_isSet)
  16859. t2 = _0_18;
  16860. else {
  16861. if (_0_12_isSet)
  16862. t2 = _0_12;
  16863. else {
  16864. _0_12 = _0_1._string$_text;
  16865. t2 = _0_12;
  16866. _0_12_isSet = true;
  16867. }
  16868. _0_18 = "down" === t2;
  16869. t2 = _0_18;
  16870. }
  16871. if (!t2)
  16872. if (_0_20_isSet)
  16873. t1 = _0_20;
  16874. else {
  16875. if (_0_12_isSet)
  16876. t1 = _0_12;
  16877. else {
  16878. _0_12 = _0_1._string$_text;
  16879. t1 = _0_12;
  16880. }
  16881. _0_20 = "to-zero" === t1;
  16882. t1 = _0_20;
  16883. }
  16884. }
  16885. }
  16886. } else
  16887. t1 = false;
  16888. if (!t1)
  16889. if (_0_1 instanceof A.SassString)
  16890. t1 = _0_1.get$isVar();
  16891. else
  16892. t1 = false;
  16893. else
  16894. t1 = true;
  16895. number = _null;
  16896. step = _null;
  16897. t2 = false;
  16898. if (t1) {
  16899. _0_6_isSet0 = true;
  16900. _0_9_isSet0 = true;
  16901. type$.SassString._as(_0_1);
  16902. if (_0_6_isSet)
  16903. t1 = _0_60;
  16904. else {
  16905. t1 = _0_6;
  16906. _0_6_isSet = _0_6_isSet0;
  16907. _0_60 = t1;
  16908. }
  16909. if (t1 != null) {
  16910. if (_0_6_isSet)
  16911. number = _0_60;
  16912. else {
  16913. number = _0_6;
  16914. _0_6_isSet = _0_6_isSet0;
  16915. _0_60 = number;
  16916. }
  16917. if (number == null)
  16918. number = A._asObject(number);
  16919. if (_0_9_isSet)
  16920. t1 = _0_90;
  16921. else {
  16922. t1 = _0_9;
  16923. _0_9_isSet = _0_9_isSet0;
  16924. _0_90 = t1;
  16925. }
  16926. t1 = t1 != null;
  16927. if (t1) {
  16928. if (_0_9_isSet)
  16929. step = _0_90;
  16930. else {
  16931. step = _0_9;
  16932. _0_9_isSet = _0_9_isSet0;
  16933. _0_90 = step;
  16934. }
  16935. if (step == null)
  16936. step = A._asObject(step);
  16937. }
  16938. } else
  16939. t1 = t2;
  16940. strategy = _0_1;
  16941. } else {
  16942. t1 = t2;
  16943. strategy = _null;
  16944. }
  16945. if (t1)
  16946. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16947. t1 = false;
  16948. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  16949. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  16950. if (t1)
  16951. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16952. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16953. throw A.wrapException(t1);
  16954. },
  16955. SassCalculation_calcSize(basis, value) {
  16956. var t1 = type$.JSArray_Object,
  16957. t2 = A._setArrayType([basis], t1);
  16958. if (value != null)
  16959. t2.push(value);
  16960. A.SassCalculation__verifyLength(t2, 2);
  16961. basis = A.SassCalculation__simplify(basis);
  16962. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  16963. t1 = A._setArrayType([basis], t1);
  16964. if (value != null)
  16965. t1.push(value);
  16966. return new A.SassCalculation("calc-size", t1);
  16967. },
  16968. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify, warn) {
  16969. var compatible, t1;
  16970. if (!simplify)
  16971. return new A.CalculationOperation(operator, left, right);
  16972. left = A.SassCalculation__simplify(left);
  16973. right = A.SassCalculation__simplify(right);
  16974. if (B.CalculationOperator_F7i === operator || B.CalculationOperator_oum === operator) {
  16975. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  16976. compatible = left.hasCompatibleUnits$1(right);
  16977. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  16978. 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);
  16979. compatible = true;
  16980. }
  16981. if (compatible)
  16982. return operator === B.CalculationOperator_F7i ? left.plus$1(right) : left.minus$1(right);
  16983. }
  16984. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16985. if (right instanceof A.SassNumber) {
  16986. t1 = right._number$_value;
  16987. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16988. } else
  16989. t1 = false;
  16990. if (t1) {
  16991. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16992. operator = operator === B.CalculationOperator_F7i ? B.CalculationOperator_oum : B.CalculationOperator_F7i;
  16993. }
  16994. return new A.CalculationOperation(operator, left, right);
  16995. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16996. return operator === B.CalculationOperator_kkN ? left.times$1(right) : left.dividedBy$1(right);
  16997. else
  16998. return new A.CalculationOperation(operator, left, right);
  16999. },
  17000. SassCalculation__roundWithStep(strategy, number, step) {
  17001. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  17002. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  17003. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  17004. _0_2 = number._number$_value;
  17005. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  17006. t1 = step._number$_value;
  17007. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  17008. } else
  17009. t1 = false;
  17010. if (!t1) {
  17011. t1 = step._number$_value;
  17012. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  17013. } else
  17014. t1 = true;
  17015. if (t1) {
  17016. t1 = number.get$numeratorUnits(number);
  17017. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17018. }
  17019. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  17020. return number;
  17021. t1 = step._number$_value;
  17022. if (t1 == 1 / 0 || t1 == -1 / 0) {
  17023. $label0$0: {
  17024. if (0 === _0_2) {
  17025. t1 = number;
  17026. break $label0$0;
  17027. }
  17028. _0_6 = "nearest" === strategy;
  17029. t1 = _0_6;
  17030. _0_8_isSet = !t1;
  17031. if (_0_8_isSet) {
  17032. _0_8 = "to-zero" === strategy;
  17033. _0_9_isSet = _0_8;
  17034. } else {
  17035. _0_8 = null;
  17036. _0_9_isSet = true;
  17037. }
  17038. if (_0_9_isSet) {
  17039. _0_9 = _0_2 > 0;
  17040. t1 = _0_9;
  17041. } else {
  17042. _0_9 = null;
  17043. t1 = false;
  17044. }
  17045. if (t1) {
  17046. t1 = number.get$numeratorUnits(number);
  17047. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17048. break $label0$0;
  17049. }
  17050. if (!_0_6)
  17051. if (_0_8_isSet)
  17052. t1 = _0_8;
  17053. else {
  17054. _0_8 = "to-zero" === strategy;
  17055. t1 = _0_8;
  17056. }
  17057. else
  17058. t1 = true;
  17059. if (t1) {
  17060. t1 = number.get$numeratorUnits(number);
  17061. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17062. break $label0$0;
  17063. }
  17064. _0_11 = "up" === strategy;
  17065. t1 = _0_11;
  17066. if (t1)
  17067. if (_0_9_isSet)
  17068. t1 = _0_9;
  17069. else {
  17070. _0_9 = _0_2 > 0;
  17071. t1 = _0_9;
  17072. }
  17073. else
  17074. t1 = false;
  17075. if (t1) {
  17076. t1 = number.get$numeratorUnits(number);
  17077. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  17078. break $label0$0;
  17079. }
  17080. if (_0_11) {
  17081. t1 = number.get$numeratorUnits(number);
  17082. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17083. break $label0$0;
  17084. }
  17085. _0_13 = "down" === strategy;
  17086. t1 = _0_13;
  17087. if (t1)
  17088. t1 = _0_2 < 0;
  17089. else
  17090. t1 = false;
  17091. if (t1) {
  17092. t1 = number.get$numeratorUnits(number);
  17093. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  17094. break $label0$0;
  17095. }
  17096. if (_0_13) {
  17097. t1 = number.get$numeratorUnits(number);
  17098. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17099. break $label0$0;
  17100. }
  17101. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  17102. }
  17103. return t1;
  17104. }
  17105. stepWithNumberUnit = step.convertValueToMatch$1(number);
  17106. $label1$1: {
  17107. if ("nearest" === strategy) {
  17108. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  17109. t2 = number.get$numeratorUnits(number);
  17110. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17111. t1 = t2;
  17112. break $label1$1;
  17113. }
  17114. if ("up" === strategy) {
  17115. t2 = _0_2 / stepWithNumberUnit;
  17116. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  17117. t2 = number.get$numeratorUnits(number);
  17118. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17119. t1 = t2;
  17120. break $label1$1;
  17121. }
  17122. if ("down" === strategy) {
  17123. t2 = _0_2 / stepWithNumberUnit;
  17124. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  17125. t2 = number.get$numeratorUnits(number);
  17126. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17127. t1 = t2;
  17128. break $label1$1;
  17129. }
  17130. if ("to-zero" === strategy) {
  17131. t1 = _0_2 / stepWithNumberUnit;
  17132. if (_0_2 < 0) {
  17133. t1 = B.JSNumber_methods.ceil$0(t1);
  17134. t2 = number.get$numeratorUnits(number);
  17135. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17136. t1 = t2;
  17137. } else {
  17138. t1 = B.JSNumber_methods.floor$0(t1);
  17139. t2 = number.get$numeratorUnits(number);
  17140. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17141. t1 = t2;
  17142. }
  17143. break $label1$1;
  17144. }
  17145. t1 = number.get$numeratorUnits(number);
  17146. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17147. break $label1$1;
  17148. }
  17149. return t1;
  17150. },
  17151. SassCalculation__simplify(arg) {
  17152. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  17153. _s32_ = " can't be used in a calculation.";
  17154. $label0$0: {
  17155. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  17156. t1 = arg;
  17157. break $label0$0;
  17158. }
  17159. t1 = arg instanceof A.SassString;
  17160. t2 = _null;
  17161. if (t1 && !arg._hasQuotes) {
  17162. t1 = arg;
  17163. break $label0$0;
  17164. }
  17165. if (t1)
  17166. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  17167. _0_11_isSet = arg instanceof A.SassCalculation;
  17168. _0_15 = _null;
  17169. _0_12 = _null;
  17170. _0_16_isSet = false;
  17171. text = _null;
  17172. t1 = false;
  17173. if (_0_11_isSet) {
  17174. _0_11 = "calc" === arg.name;
  17175. if (_0_11) {
  17176. _0_12 = arg.$arguments;
  17177. _0_15 = _0_12.length === 1;
  17178. _0_16_isSet = _0_15;
  17179. if (_0_16_isSet) {
  17180. _0_16 = _0_12[0];
  17181. t2 = _0_16;
  17182. if (t2 instanceof A.SassString) {
  17183. type$.SassString._as(_0_16);
  17184. if (!_0_16._hasQuotes) {
  17185. text = _0_16._string$_text;
  17186. t1 = A.SassCalculation__needsParentheses(text);
  17187. }
  17188. }
  17189. } else
  17190. _0_16 = t2;
  17191. } else
  17192. _0_16 = t2;
  17193. _0_12_isSet = _0_11;
  17194. _0_15_isSet = _0_12_isSet;
  17195. } else {
  17196. _0_16 = t2;
  17197. _0_11 = _null;
  17198. _0_15_isSet = false;
  17199. _0_12_isSet = false;
  17200. }
  17201. if (t1) {
  17202. t1 = new A.SassString("(" + A.S(text) + ")", false);
  17203. break $label0$0;
  17204. }
  17205. t1 = false;
  17206. if (_0_11_isSet)
  17207. if (_0_11)
  17208. if (_0_15_isSet)
  17209. t1 = _0_15;
  17210. else {
  17211. if (_0_12_isSet)
  17212. t1 = _0_12;
  17213. else {
  17214. _0_12 = arg.$arguments;
  17215. t1 = _0_12;
  17216. _0_12_isSet = true;
  17217. }
  17218. _0_15 = t1.length === 1;
  17219. t1 = _0_15;
  17220. }
  17221. if (t1) {
  17222. if (_0_16_isSet)
  17223. value = _0_16;
  17224. else {
  17225. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  17226. value = _0_16;
  17227. }
  17228. t1 = value;
  17229. break $label0$0;
  17230. }
  17231. if (_0_11_isSet) {
  17232. t1 = arg;
  17233. break $label0$0;
  17234. }
  17235. if (arg instanceof A.Value)
  17236. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  17237. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  17238. }
  17239. return t1;
  17240. },
  17241. SassCalculation__needsParentheses(text) {
  17242. var t1, couldBeVar, second, third, fourth, i, t2,
  17243. first = text.charCodeAt(0);
  17244. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  17245. return true;
  17246. t1 = text.length;
  17247. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  17248. if (t1 < 2)
  17249. return false;
  17250. second = text.charCodeAt(1);
  17251. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  17252. return true;
  17253. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  17254. if (t1 < 3)
  17255. return false;
  17256. third = text.charCodeAt(2);
  17257. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  17258. return true;
  17259. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  17260. if (t1 < 4)
  17261. return false;
  17262. fourth = text.charCodeAt(3);
  17263. if (couldBeVar && fourth === 40)
  17264. return true;
  17265. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  17266. return true;
  17267. for (i = 4; i < t1; ++i) {
  17268. t2 = text.charCodeAt(i);
  17269. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  17270. return true;
  17271. }
  17272. return false;
  17273. },
  17274. SassCalculation__verifyCompatibleNumbers(args) {
  17275. var t1, _i, t2, arg, i, number1, j, number2;
  17276. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17277. arg = args[_i];
  17278. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  17279. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17280. }
  17281. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17282. number1 = args[i];
  17283. if (!(number1 instanceof A.SassNumber))
  17284. continue;
  17285. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17286. number2 = args[j];
  17287. if (!(number2 instanceof A.SassNumber))
  17288. continue;
  17289. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17290. continue;
  17291. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17292. }
  17293. }
  17294. },
  17295. SassCalculation__verifyLength(args, expectedLength) {
  17296. var t1;
  17297. if (args.length === expectedLength)
  17298. return;
  17299. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  17300. return;
  17301. t1 = args.length;
  17302. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  17303. },
  17304. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  17305. argument = A.SassCalculation__simplify(argument);
  17306. if (!(argument instanceof A.SassNumber))
  17307. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  17308. if (forbidUnits)
  17309. argument.assertNoUnits$0();
  17310. return mathFunc.call$1(argument);
  17311. },
  17312. SassCalculation: function SassCalculation(t0, t1) {
  17313. this.name = t0;
  17314. this.$arguments = t1;
  17315. },
  17316. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  17317. },
  17318. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  17319. this._operator = t0;
  17320. this._left = t1;
  17321. this._right = t2;
  17322. },
  17323. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  17324. var _ = this;
  17325. _.name = t0;
  17326. _.operator = t1;
  17327. _.precedence = t2;
  17328. _._name = t3;
  17329. },
  17330. SassColor_SassColor$rgb(red, green, blue, alpha) {
  17331. return A.SassColor_SassColor$rgbInternal(red, green, blue, alpha, null);
  17332. },
  17333. SassColor_SassColor$rgbInternal(red, green, blue, alpha, format) {
  17334. var _null = null,
  17335. t1 = red == null ? _null : red,
  17336. t2 = green == null ? _null : green,
  17337. t3 = blue == null ? _null : blue;
  17338. return A.SassColor$_forSpace(B.RgbColorSpace_i0P, t1, t2, t3, alpha == null ? _null : alpha, format);
  17339. },
  17340. SassColor_SassColor$hsl(hue, saturation, lightness, alpha) {
  17341. var _null = null,
  17342. t1 = hue == null ? _null : hue,
  17343. t2 = saturation == null ? _null : saturation,
  17344. t3 = lightness == null ? _null : lightness;
  17345. return A.SassColor_SassColor$forSpaceInternal(B.HslColorSpace_JQ2, t1, t2, t3, alpha == null ? _null : alpha);
  17346. },
  17347. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  17348. var _null = null,
  17349. t1 = hue == null ? _null : hue,
  17350. t2 = whiteness == null ? _null : whiteness,
  17351. t3 = blackness == null ? _null : blackness;
  17352. return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
  17353. },
  17354. SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
  17355. var t1, t2, _null = null;
  17356. $label0$0: {
  17357. if (B.HslColorSpace_JQ2 === space) {
  17358. t1 = channel1 == null;
  17359. t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
  17360. t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  17361. t1 = t2;
  17362. break $label0$0;
  17363. }
  17364. if (B.HwbColorSpace_guQ === space) {
  17365. t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
  17366. break $label0$0;
  17367. }
  17368. if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  17369. t1 = channel1 == null;
  17370. t2 = t1 ? _null : Math.abs(channel1);
  17371. t2 = A.SassColor$_forSpace(space, channel0, t2, A.SassColor__normalizeHue(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), alpha, _null);
  17372. t1 = t2;
  17373. break $label0$0;
  17374. }
  17375. t1 = A.SassColor$_forSpace(space, channel0, channel1, channel2, alpha, _null);
  17376. break $label0$0;
  17377. }
  17378. return t1;
  17379. },
  17380. SassColor$_forSpace(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  17381. return new A.SassColor(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen(alpha, new A.SassColor$_forSpace_closure()));
  17382. },
  17383. SassColor__normalizeHue(hue, invert) {
  17384. var t1, t2;
  17385. if (hue == null)
  17386. return hue;
  17387. t1 = B.JSNumber_methods.$mod(hue, 360);
  17388. t2 = invert ? 180 : 0;
  17389. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  17390. },
  17391. SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
  17392. var _ = this;
  17393. _._space = t0;
  17394. _.channel0OrNull = t1;
  17395. _.channel1OrNull = t2;
  17396. _.channel2OrNull = t3;
  17397. _.format = t4;
  17398. _.alphaOrNull = t5;
  17399. },
  17400. SassColor$_forSpace_closure: function SassColor$_forSpace_closure() {
  17401. },
  17402. _ColorFormatEnum: function _ColorFormatEnum() {
  17403. },
  17404. SpanColorFormat: function SpanColorFormat(t0) {
  17405. this._color$_span = t0;
  17406. },
  17407. ColorChannel: function ColorChannel(t0, t1, t2) {
  17408. this.name = t0;
  17409. this.isPolarAngle = t1;
  17410. this.associatedUnit = t2;
  17411. },
  17412. LinearChannel: function LinearChannel(t0, t1, t2, t3, t4, t5, t6, t7) {
  17413. var _ = this;
  17414. _.min = t0;
  17415. _.max = t1;
  17416. _.requiresPercent = t2;
  17417. _.lowerClamped = t3;
  17418. _.upperClamped = t4;
  17419. _.name = t5;
  17420. _.isPolarAngle = t6;
  17421. _.associatedUnit = t7;
  17422. },
  17423. GamutMapMethod_GamutMapMethod$fromName($name) {
  17424. var t1;
  17425. $label0$0: {
  17426. if ("clip" === $name) {
  17427. t1 = B.ClipGamutMap_clip;
  17428. break $label0$0;
  17429. }
  17430. if ("local-minde" === $name) {
  17431. t1 = B.LocalMindeGamutMap_A2x;
  17432. break $label0$0;
  17433. }
  17434. t1 = A.throwExpression(A.SassScriptException$('Unknown gamut map method "' + $name + '".', null));
  17435. }
  17436. return t1;
  17437. },
  17438. GamutMapMethod: function GamutMapMethod() {
  17439. },
  17440. ClipGamutMap: function ClipGamutMap(t0) {
  17441. this.name = t0;
  17442. },
  17443. LocalMindeGamutMap: function LocalMindeGamutMap(t0) {
  17444. this.name = t0;
  17445. },
  17446. InterpolationMethod$(space, hue) {
  17447. var t1;
  17448. if (space.get$isPolarInternal())
  17449. t1 = hue == null ? B.HueInterpolationMethod_0 : hue;
  17450. else
  17451. t1 = null;
  17452. if (!space.get$isPolarInternal() && hue != null)
  17453. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  17454. return new A.InterpolationMethod(space, t1);
  17455. },
  17456. InterpolationMethod_InterpolationMethod$fromValue(value, $name) {
  17457. var t1, space, hueMethod,
  17458. list = value.assertCommonListStyle$2$allowSlash($name, false);
  17459. if (list.length === 0)
  17460. throw A.wrapException(A.SassScriptException$(string$.Expecta, $name));
  17461. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  17462. t1.assertUnquoted$1($name);
  17463. space = A.ColorSpace_fromName(t1._string$_text, $name);
  17464. if (list.length === 1)
  17465. return A.InterpolationMethod$(space, null);
  17466. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(list[1], $name);
  17467. if (list.length === 2)
  17468. throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  17469. else {
  17470. t1 = list[2].assertString$1($name);
  17471. t1.assertUnquoted$1($name);
  17472. if (t1._string$_text.toLowerCase() !== "hue")
  17473. throw A.wrapException(A.SassScriptException$(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  17474. else if (list.length > 3)
  17475. throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  17476. else if (!space.get$isPolarInternal())
  17477. throw A.wrapException(A.SassScriptException$('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  17478. }
  17479. return A.InterpolationMethod$(space, hueMethod);
  17480. },
  17481. HueInterpolationMethod_HueInterpolationMethod$_fromValue(value, $name) {
  17482. var _0_0,
  17483. t1 = value.assertString$1($name);
  17484. t1.assertUnquoted$0();
  17485. _0_0 = t1._string$_text.toLowerCase();
  17486. $label0$0: {
  17487. if ("shorter" === _0_0) {
  17488. t1 = B.HueInterpolationMethod_0;
  17489. break $label0$0;
  17490. }
  17491. if ("longer" === _0_0) {
  17492. t1 = B.HueInterpolationMethod_1;
  17493. break $label0$0;
  17494. }
  17495. if ("increasing" === _0_0) {
  17496. t1 = B.HueInterpolationMethod_2;
  17497. break $label0$0;
  17498. }
  17499. if ("decreasing" === _0_0) {
  17500. t1 = B.HueInterpolationMethod_3;
  17501. break $label0$0;
  17502. }
  17503. t1 = A.throwExpression(A.SassScriptException$("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  17504. }
  17505. return t1;
  17506. },
  17507. InterpolationMethod: function InterpolationMethod(t0, t1) {
  17508. this.space = t0;
  17509. this.hue = t1;
  17510. },
  17511. HueInterpolationMethod: function HueInterpolationMethod(t0) {
  17512. this._name = t0;
  17513. },
  17514. ColorSpace_fromName($name, argumentName) {
  17515. var t1,
  17516. _0_0 = $name.toLowerCase();
  17517. $label0$0: {
  17518. if ("rgb" === _0_0) {
  17519. t1 = B.RgbColorSpace_i0P;
  17520. break $label0$0;
  17521. }
  17522. if ("hwb" === _0_0) {
  17523. t1 = B.HwbColorSpace_guQ;
  17524. break $label0$0;
  17525. }
  17526. if ("hsl" === _0_0) {
  17527. t1 = B.HslColorSpace_JQ2;
  17528. break $label0$0;
  17529. }
  17530. if ("srgb" === _0_0) {
  17531. t1 = B.SrgbColorSpace_thf;
  17532. break $label0$0;
  17533. }
  17534. if ("srgb-linear" === _0_0) {
  17535. t1 = B.SrgbLinearColorSpace_kUj;
  17536. break $label0$0;
  17537. }
  17538. if ("display-p3" === _0_0) {
  17539. t1 = B.DisplayP3ColorSpace_MmT;
  17540. break $label0$0;
  17541. }
  17542. if ("a98-rgb" === _0_0) {
  17543. t1 = B.A98RgbColorSpace_lf2;
  17544. break $label0$0;
  17545. }
  17546. if ("prophoto-rgb" === _0_0) {
  17547. t1 = B.ProphotoRgbColorSpace_BDz;
  17548. break $label0$0;
  17549. }
  17550. if ("rec2020" === _0_0) {
  17551. t1 = B.Rec2020ColorSpace_6oo;
  17552. break $label0$0;
  17553. }
  17554. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  17555. t1 = B.XyzD65ColorSpace_WiJ;
  17556. break $label0$0;
  17557. }
  17558. if ("xyz-d50" === _0_0) {
  17559. t1 = B.XyzD50ColorSpace_2OB;
  17560. break $label0$0;
  17561. }
  17562. if ("lab" === _0_0) {
  17563. t1 = B.LabColorSpace_2nT;
  17564. break $label0$0;
  17565. }
  17566. if ("lch" === _0_0) {
  17567. t1 = B.LchColorSpace_Bpv;
  17568. break $label0$0;
  17569. }
  17570. if ("oklab" === _0_0) {
  17571. t1 = B.OklabColorSpace_540;
  17572. break $label0$0;
  17573. }
  17574. if ("oklch" === _0_0) {
  17575. t1 = B.OklchColorSpace_9Gj;
  17576. break $label0$0;
  17577. }
  17578. t1 = A.throwExpression(A.SassScriptException$('Unknown color space "' + $name + '".', argumentName));
  17579. }
  17580. return t1;
  17581. },
  17582. ColorSpace: function ColorSpace() {
  17583. },
  17584. A98RgbColorSpace: function A98RgbColorSpace(t0, t1) {
  17585. this.name = t0;
  17586. this._channels = t1;
  17587. },
  17588. DisplayP3ColorSpace: function DisplayP3ColorSpace(t0, t1) {
  17589. this.name = t0;
  17590. this._channels = t1;
  17591. },
  17592. HslColorSpace: function HslColorSpace(t0, t1) {
  17593. this.name = t0;
  17594. this._channels = t1;
  17595. },
  17596. HwbColorSpace: function HwbColorSpace(t0, t1) {
  17597. this.name = t0;
  17598. this._channels = t1;
  17599. },
  17600. HwbColorSpace_convert_toRgb: function HwbColorSpace_convert_toRgb(t0, t1) {
  17601. this._box_0 = t0;
  17602. this.factor = t1;
  17603. },
  17604. LabColorSpace: function LabColorSpace(t0, t1) {
  17605. this.name = t0;
  17606. this._channels = t1;
  17607. },
  17608. LchColorSpace: function LchColorSpace(t0, t1) {
  17609. this.name = t0;
  17610. this._channels = t1;
  17611. },
  17612. LmsColorSpace: function LmsColorSpace(t0, t1) {
  17613. this.name = t0;
  17614. this._channels = t1;
  17615. },
  17616. OklabColorSpace: function OklabColorSpace(t0, t1) {
  17617. this.name = t0;
  17618. this._channels = t1;
  17619. },
  17620. OklchColorSpace: function OklchColorSpace(t0, t1) {
  17621. this.name = t0;
  17622. this._channels = t1;
  17623. },
  17624. ProphotoRgbColorSpace: function ProphotoRgbColorSpace(t0, t1) {
  17625. this.name = t0;
  17626. this._channels = t1;
  17627. },
  17628. Rec2020ColorSpace: function Rec2020ColorSpace(t0, t1) {
  17629. this.name = t0;
  17630. this._channels = t1;
  17631. },
  17632. RgbColorSpace: function RgbColorSpace(t0, t1) {
  17633. this.name = t0;
  17634. this._channels = t1;
  17635. },
  17636. SrgbColorSpace: function SrgbColorSpace(t0, t1) {
  17637. this.name = t0;
  17638. this._channels = t1;
  17639. },
  17640. SrgbLinearColorSpace: function SrgbLinearColorSpace(t0, t1) {
  17641. this.name = t0;
  17642. this._channels = t1;
  17643. },
  17644. XyzD50ColorSpace: function XyzD50ColorSpace(t0, t1) {
  17645. this.name = t0;
  17646. this._channels = t1;
  17647. },
  17648. XyzD65ColorSpace: function XyzD65ColorSpace(t0, t1) {
  17649. this.name = t0;
  17650. this._channels = t1;
  17651. },
  17652. SassFunction: function SassFunction(t0, t1) {
  17653. this.callable = t0;
  17654. this._function$_compileContext = t1;
  17655. },
  17656. SassList$(contents, _separator, brackets) {
  17657. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  17658. t1.SassList$3$brackets(contents, _separator, brackets);
  17659. return t1;
  17660. },
  17661. SassList: function SassList(t0, t1, t2) {
  17662. this._list$_contents = t0;
  17663. this._separator = t1;
  17664. this._hasBrackets = t2;
  17665. },
  17666. SassList_isBlank_closure: function SassList_isBlank_closure() {
  17667. },
  17668. ListSeparator: function ListSeparator(t0, t1, t2) {
  17669. this._list$_name = t0;
  17670. this.separator = t1;
  17671. this._name = t2;
  17672. },
  17673. SassMap: function SassMap(t0) {
  17674. this._map$_contents = t0;
  17675. },
  17676. SassMixin: function SassMixin(t0, t1) {
  17677. this.callable = t0;
  17678. this._mixin$_compileContext = t1;
  17679. },
  17680. _SassNull: function _SassNull() {
  17681. },
  17682. conversionFactor(unit1, unit2) {
  17683. var _0_0;
  17684. if (unit1 === unit2)
  17685. return 1;
  17686. _0_0 = B.Map_NtHoP.$index(0, unit1);
  17687. if (_0_0 != null)
  17688. return _0_0.$index(0, unit2);
  17689. return null;
  17690. },
  17691. SassNumber_SassNumber(value, unit) {
  17692. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  17693. },
  17694. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  17695. var _0_8, _0_10_isSet, _0_7, unit, _0_7_isSet, t2, _0_7_isSet0, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_2, _1_7_isSet, _1_7, _null = null,
  17696. _0_4 = numeratorUnits.length,
  17697. t1 = _0_4,
  17698. _0_6 = t1 <= 0,
  17699. _0_8_isSet = _0_6,
  17700. _0_10 = _null;
  17701. if (_0_8_isSet) {
  17702. _0_8 = denominatorUnits == null;
  17703. t1 = _0_8;
  17704. _0_10_isSet = !t1;
  17705. if (_0_10_isSet) {
  17706. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  17707. t1 = _0_10;
  17708. } else
  17709. t1 = true;
  17710. _0_7 = denominatorUnits;
  17711. } else {
  17712. _0_7 = _null;
  17713. _0_8 = _0_7;
  17714. _0_10_isSet = false;
  17715. t1 = false;
  17716. }
  17717. if (t1)
  17718. return new A.UnitlessSassNumber(value, _null);
  17719. unit = _null;
  17720. t1 = false;
  17721. _0_7_isSet = true;
  17722. t2 = _0_4;
  17723. if (t2 === 1) {
  17724. unit = numeratorUnits[0];
  17725. if (_0_8_isSet) {
  17726. t1 = _0_8;
  17727. _0_7_isSet0 = _0_8_isSet;
  17728. } else {
  17729. _0_8 = denominatorUnits == null;
  17730. t1 = _0_8;
  17731. _0_7_isSet0 = _0_7_isSet;
  17732. _0_7 = denominatorUnits;
  17733. _0_8_isSet = true;
  17734. }
  17735. if (!t1)
  17736. if (_0_10_isSet) {
  17737. t1 = _0_10;
  17738. _0_7_isSet = _0_7_isSet0;
  17739. } else {
  17740. if (_0_7_isSet0) {
  17741. t1 = _0_7;
  17742. _0_7_isSet = _0_7_isSet0;
  17743. } else {
  17744. t1 = denominatorUnits;
  17745. _0_7 = t1;
  17746. }
  17747. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17748. t1 = _0_10;
  17749. _0_10_isSet = true;
  17750. }
  17751. else {
  17752. _0_7_isSet = _0_7_isSet0;
  17753. t1 = true;
  17754. }
  17755. } else
  17756. _0_7_isSet = _0_8_isSet;
  17757. if (t1)
  17758. return new A.SingleUnitSassNumber(unit, value, _null);
  17759. t1 = false;
  17760. _0_7_isSet0 = true;
  17761. if (_0_8_isSet)
  17762. t1 = _0_8;
  17763. else {
  17764. if (_0_7_isSet)
  17765. t1 = _0_7;
  17766. else {
  17767. t1 = denominatorUnits;
  17768. _0_7_isSet = _0_7_isSet0;
  17769. _0_7 = t1;
  17770. }
  17771. _0_8 = t1 == null;
  17772. t1 = _0_8;
  17773. }
  17774. if (!t1)
  17775. if (_0_10_isSet)
  17776. t1 = _0_10;
  17777. else {
  17778. if (_0_7_isSet)
  17779. t1 = _0_7;
  17780. else {
  17781. t1 = denominatorUnits;
  17782. _0_7_isSet = _0_7_isSet0;
  17783. _0_7 = t1;
  17784. }
  17785. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17786. t1 = _0_10;
  17787. }
  17788. else
  17789. t1 = true;
  17790. numerators = numeratorUnits;
  17791. if (t1)
  17792. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17793. t1 = _0_6;
  17794. denominators = _null;
  17795. if (t1) {
  17796. if (_0_7_isSet)
  17797. t1 = _0_7;
  17798. else {
  17799. t1 = denominatorUnits;
  17800. _0_7 = t1;
  17801. _0_7_isSet = true;
  17802. }
  17803. t1 = t1 != null;
  17804. if (t1) {
  17805. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17806. if (denominators == null)
  17807. denominators = type$.List_String._as(denominators);
  17808. }
  17809. } else
  17810. t1 = false;
  17811. if (t1)
  17812. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17813. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17814. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17815. denominators = A._setArrayType([], type$.JSArray_String);
  17816. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17817. denominator = unsimplifiedDenominators[_i];
  17818. i = 0;
  17819. while (true) {
  17820. if (!(i < numerators.length)) {
  17821. simplifiedAway = false;
  17822. break;
  17823. }
  17824. c$0: {
  17825. factor = A.conversionFactor(denominator, numerators[i]);
  17826. if (factor == null)
  17827. break c$0;
  17828. valueDouble *= factor;
  17829. B.JSArray_methods.removeAt$1(numerators, i);
  17830. simplifiedAway = true;
  17831. break;
  17832. }
  17833. ++i;
  17834. }
  17835. if (!simplifiedAway)
  17836. denominators.push(denominator);
  17837. }
  17838. $label0$1: {
  17839. _1_2 = numerators.length;
  17840. t1 = _1_2;
  17841. _1_7_isSet = t1 <= 0;
  17842. if (_1_7_isSet) {
  17843. _1_7 = denominators.length <= 0;
  17844. t1 = _1_7;
  17845. } else {
  17846. _1_7 = _null;
  17847. t1 = false;
  17848. }
  17849. if (t1) {
  17850. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17851. break $label0$1;
  17852. }
  17853. t1 = false;
  17854. if (_1_2 === 1) {
  17855. unit = numerators[0];
  17856. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  17857. } else
  17858. unit = _null;
  17859. if (t1) {
  17860. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  17861. break $label0$1;
  17862. }
  17863. t1 = type$.String;
  17864. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  17865. break $label0$1;
  17866. }
  17867. return t1;
  17868. },
  17869. SassNumber: function SassNumber() {
  17870. },
  17871. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  17872. var _ = this;
  17873. _.$this = t0;
  17874. _.other = t1;
  17875. _.otherName = t2;
  17876. _.otherHasUnits = t3;
  17877. _.name = t4;
  17878. _.newNumerators = t5;
  17879. _.newDenominators = t6;
  17880. },
  17881. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  17882. this._box_0 = t0;
  17883. this.newNumerator = t1;
  17884. },
  17885. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  17886. this.compatibilityException = t0;
  17887. },
  17888. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  17889. this._box_0 = t0;
  17890. this.newDenominator = t1;
  17891. },
  17892. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  17893. this.compatibilityException = t0;
  17894. },
  17895. SassNumber_plus_closure: function SassNumber_plus_closure() {
  17896. },
  17897. SassNumber_minus_closure: function SassNumber_minus_closure() {
  17898. },
  17899. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  17900. this._box_0 = t0;
  17901. this.numerator = t1;
  17902. },
  17903. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  17904. this.newNumerators = t0;
  17905. this.numerator = t1;
  17906. },
  17907. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  17908. this._box_0 = t0;
  17909. this.numerator = t1;
  17910. },
  17911. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  17912. this.newNumerators = t0;
  17913. this.numerator = t1;
  17914. },
  17915. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  17916. this.units2 = t0;
  17917. },
  17918. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  17919. },
  17920. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  17921. this.$this = t0;
  17922. },
  17923. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  17924. },
  17925. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  17926. },
  17927. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  17928. var _ = this;
  17929. _._numeratorUnits = t0;
  17930. _._denominatorUnits = t1;
  17931. _._number$_value = t2;
  17932. _.hashCache = null;
  17933. _.asSlash = t3;
  17934. },
  17935. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  17936. var _ = this;
  17937. _._unit = t0;
  17938. _._number$_value = t1;
  17939. _.hashCache = null;
  17940. _.asSlash = t2;
  17941. },
  17942. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  17943. this.$this = t0;
  17944. this.unit = t1;
  17945. },
  17946. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  17947. this.$this = t0;
  17948. },
  17949. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  17950. this._box_0 = t0;
  17951. this.$this = t1;
  17952. },
  17953. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  17954. this._box_0 = t0;
  17955. this.$this = t1;
  17956. },
  17957. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  17958. this._number$_value = t0;
  17959. this.hashCache = null;
  17960. this.asSlash = t1;
  17961. },
  17962. SassString$(_text, quotes) {
  17963. return new A.SassString(_text, quotes);
  17964. },
  17965. SassString: function SassString(t0, t1) {
  17966. var _ = this;
  17967. _._string$_text = t0;
  17968. _._hasQuotes = t1;
  17969. _.__SassString__sassLength_FI = $;
  17970. _._hashCache = null;
  17971. },
  17972. AnySelectorVisitor: function AnySelectorVisitor() {
  17973. },
  17974. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  17975. this.$this = t0;
  17976. },
  17977. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  17978. this.$this = t0;
  17979. },
  17980. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17981. var t1 = type$.Uri,
  17982. t2 = type$.Module_AsyncCallable,
  17983. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17984. 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);
  17985. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17986. return t1;
  17987. },
  17988. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  17989. var _ = this;
  17990. _._async_evaluate$_importCache = t0;
  17991. _._async_evaluate$_nodeImporter = t1;
  17992. _._async_evaluate$_builtInFunctions = t2;
  17993. _._async_evaluate$_builtInModules = t3;
  17994. _._async_evaluate$_modules = t4;
  17995. _._async_evaluate$_moduleConfigurations = t5;
  17996. _._async_evaluate$_moduleNodes = t6;
  17997. _._async_evaluate$_logger = t7;
  17998. _._async_evaluate$_warningsEmitted = t8;
  17999. _._async_evaluate$_quietDeps = t9;
  18000. _._async_evaluate$_sourceMap = t10;
  18001. _._async_evaluate$_compileContext = t11;
  18002. _._async_evaluate$_environment = t12;
  18003. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  18004. _._async_evaluate$_member = "root stylesheet";
  18005. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
  18006. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  18007. _._async_evaluate$_loadedUrls = t13;
  18008. _._async_evaluate$_activeModules = t14;
  18009. _._async_evaluate$_stack = t15;
  18010. _._async_evaluate$_importer = null;
  18011. _._async_evaluate$_inDependency = false;
  18012. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  18013. _._async_evaluate$_configuration = t16;
  18014. },
  18015. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  18016. this.$this = t0;
  18017. },
  18018. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  18019. this.$this = t0;
  18020. },
  18021. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  18022. this.$this = t0;
  18023. },
  18024. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  18025. this.$this = t0;
  18026. },
  18027. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  18028. this.$this = t0;
  18029. },
  18030. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  18031. this.$this = t0;
  18032. },
  18033. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  18034. this.$this = t0;
  18035. },
  18036. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18037. this.$this = t0;
  18038. },
  18039. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18040. this.$this = t0;
  18041. },
  18042. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  18043. this.$this = t0;
  18044. this.name = t1;
  18045. this.module = t2;
  18046. },
  18047. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18048. this.$this = t0;
  18049. },
  18050. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18051. this.$this = t0;
  18052. this.name = t1;
  18053. this.module = t2;
  18054. },
  18055. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18056. this.$this = t0;
  18057. },
  18058. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18059. this.$this = t0;
  18060. },
  18061. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  18062. this.values = t0;
  18063. this.span = t1;
  18064. this.callableNode = t2;
  18065. },
  18066. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  18067. this.$this = t0;
  18068. },
  18069. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18070. this.$this = t0;
  18071. },
  18072. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  18073. this.$this = t0;
  18074. this.node = t1;
  18075. this.importer = t2;
  18076. },
  18077. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  18078. this.$this = t0;
  18079. this.importer = t1;
  18080. this.node = t2;
  18081. },
  18082. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  18083. this._box_0 = t0;
  18084. this.callback = t1;
  18085. },
  18086. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18087. var _ = this;
  18088. _.$this = t0;
  18089. _.url = t1;
  18090. _.nodeWithSpan = t2;
  18091. _.baseUrl = t3;
  18092. _.namesInErrors = t4;
  18093. _.configuration = t5;
  18094. _.callback = t6;
  18095. },
  18096. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18097. this.$this = t0;
  18098. this.message = t1;
  18099. },
  18100. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  18101. this._box_1 = t0;
  18102. this.callback = t1;
  18103. this.firstLoad = t2;
  18104. },
  18105. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18106. var _ = this;
  18107. _.$this = t0;
  18108. _.importer = t1;
  18109. _.stylesheet = t2;
  18110. _.extensionStore = t3;
  18111. _.configuration = t4;
  18112. _.css = t5;
  18113. _.preModuleComments = t6;
  18114. },
  18115. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  18116. },
  18117. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  18118. this.selectors = t0;
  18119. },
  18120. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  18121. var _ = this;
  18122. _.$this = t0;
  18123. _.seen = t1;
  18124. _.clone = t2;
  18125. _.css = t3;
  18126. _.imports = t4;
  18127. _.sorted = t5;
  18128. },
  18129. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  18130. this.originalSelectors = t0;
  18131. },
  18132. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  18133. },
  18134. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  18135. this.$this = t0;
  18136. this.node = t1;
  18137. },
  18138. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  18139. this.$this = t0;
  18140. this.node = t1;
  18141. },
  18142. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  18143. this.$this = t0;
  18144. this.newParent = t1;
  18145. this.node = t2;
  18146. },
  18147. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  18148. this.$this = t0;
  18149. this.innerScope = t1;
  18150. },
  18151. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  18152. this.$this = t0;
  18153. this.innerScope = t1;
  18154. },
  18155. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  18156. this.innerScope = t0;
  18157. this.callback = t1;
  18158. },
  18159. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  18160. this.$this = t0;
  18161. this.innerScope = t1;
  18162. },
  18163. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  18164. },
  18165. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  18166. this.$this = t0;
  18167. this.innerScope = t1;
  18168. },
  18169. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  18170. this.$this = t0;
  18171. this.content = t1;
  18172. },
  18173. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  18174. this._box_0 = t0;
  18175. this.$this = t1;
  18176. },
  18177. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  18178. this._box_0 = t0;
  18179. this.$this = t1;
  18180. this.nodeWithSpan = t2;
  18181. },
  18182. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  18183. this._box_1 = t0;
  18184. this.$this = t1;
  18185. this.nodeWithSpan = t2;
  18186. },
  18187. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  18188. var _ = this;
  18189. _.$this = t0;
  18190. _.list = t1;
  18191. _.setVariables = t2;
  18192. _.node = t3;
  18193. },
  18194. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  18195. this.$this = t0;
  18196. this.setVariables = t1;
  18197. this.node = t2;
  18198. },
  18199. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  18200. this.$this = t0;
  18201. },
  18202. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  18203. this.$this = t0;
  18204. },
  18205. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  18206. this.$this = t0;
  18207. this.name = t1;
  18208. this.children = t2;
  18209. },
  18210. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  18211. this.$this = t0;
  18212. this.children = t1;
  18213. },
  18214. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  18215. },
  18216. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  18217. this.$this = t0;
  18218. this.node = t1;
  18219. },
  18220. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  18221. this.$this = t0;
  18222. this.node = t1;
  18223. },
  18224. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  18225. this.fromNumber = t0;
  18226. },
  18227. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  18228. this.toNumber = t0;
  18229. this.fromNumber = t1;
  18230. },
  18231. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  18232. var _ = this;
  18233. _._box_0 = t0;
  18234. _.$this = t1;
  18235. _.node = t2;
  18236. _.from = t3;
  18237. _.direction = t4;
  18238. _.fromNumber = t5;
  18239. },
  18240. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  18241. this.$this = t0;
  18242. },
  18243. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  18244. this.$this = t0;
  18245. this.node = t1;
  18246. },
  18247. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  18248. this.$this = t0;
  18249. this.node = t1;
  18250. },
  18251. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  18252. },
  18253. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  18254. this.$this = t0;
  18255. },
  18256. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  18257. this.$this = t0;
  18258. this.clause = t1;
  18259. },
  18260. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  18261. this.$this = t0;
  18262. },
  18263. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  18264. this.$this = t0;
  18265. this.$import = t1;
  18266. },
  18267. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  18268. this.$this = t0;
  18269. },
  18270. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  18271. },
  18272. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  18273. },
  18274. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  18275. var _ = this;
  18276. _._box_0 = t0;
  18277. _.$this = t1;
  18278. _.loadsUserDefinedModules = t2;
  18279. _.environment = t3;
  18280. _.children = t4;
  18281. },
  18282. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  18283. var _ = this;
  18284. _.$this = t0;
  18285. _.$arguments = t1;
  18286. _.mixin = t2;
  18287. _.nodeWithSpanWithoutContent = t3;
  18288. },
  18289. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(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. _.contentCallable = t1;
  18300. _.mixin = t2;
  18301. _.nodeWithSpanWithoutContent = t3;
  18302. },
  18303. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  18304. this.$this = t0;
  18305. this.mixin = t1;
  18306. this.nodeWithSpanWithoutContent = t2;
  18307. },
  18308. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  18309. this.$this = t0;
  18310. this.mixin = t1;
  18311. this.nodeWithSpanWithoutContent = t2;
  18312. },
  18313. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  18314. this.$this = t0;
  18315. this.statement = t1;
  18316. },
  18317. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  18318. this.$this = t0;
  18319. this.node = t1;
  18320. },
  18321. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  18322. this.$this = t0;
  18323. },
  18324. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  18325. this.node = t0;
  18326. },
  18327. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  18328. this.$this = t0;
  18329. this.queries = t1;
  18330. },
  18331. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  18332. var _ = this;
  18333. _.$this = t0;
  18334. _.mergedQueries = t1;
  18335. _.queries = t2;
  18336. _.mergedSources = t3;
  18337. _.node = t4;
  18338. },
  18339. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  18340. this.$this = t0;
  18341. this.node = t1;
  18342. },
  18343. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  18344. this.$this = t0;
  18345. this.node = t1;
  18346. },
  18347. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  18348. this.mergedSources = t0;
  18349. },
  18350. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  18351. this.$this = t0;
  18352. this.node = t1;
  18353. },
  18354. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  18355. },
  18356. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  18357. this.$this = t0;
  18358. this.rule = t1;
  18359. this.node = t2;
  18360. },
  18361. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  18362. this.$this = t0;
  18363. this.node = t1;
  18364. },
  18365. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  18366. },
  18367. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  18368. },
  18369. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  18370. this.$this = t0;
  18371. this.node = t1;
  18372. },
  18373. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  18374. this.$this = t0;
  18375. this.node = t1;
  18376. },
  18377. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  18378. },
  18379. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  18380. this._box_0 = t0;
  18381. this.$this = t1;
  18382. },
  18383. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  18384. this._box_0 = t0;
  18385. this.$this = t1;
  18386. this.node = t2;
  18387. },
  18388. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  18389. this.$this = t0;
  18390. this.node = t1;
  18391. },
  18392. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  18393. this.$this = t0;
  18394. this.node = t1;
  18395. this.value = t2;
  18396. },
  18397. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  18398. this.$this = t0;
  18399. this.node = t1;
  18400. },
  18401. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  18402. this.$this = t0;
  18403. this.node = t1;
  18404. },
  18405. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  18406. this.$this = t0;
  18407. this.node = t1;
  18408. },
  18409. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  18410. this.$this = t0;
  18411. },
  18412. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  18413. this.$this = t0;
  18414. this.node = t1;
  18415. },
  18416. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  18417. },
  18418. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  18419. this.$this = t0;
  18420. this.node = t1;
  18421. },
  18422. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  18423. this.node = t0;
  18424. this.operand = t1;
  18425. },
  18426. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  18427. this.$this = t0;
  18428. },
  18429. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  18430. this.$this = t0;
  18431. this.node = t1;
  18432. },
  18433. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  18434. },
  18435. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18436. this._box_0 = t0;
  18437. this.$this = t1;
  18438. this.node = t2;
  18439. },
  18440. _EvaluateVisitor__visitCalculation_closure0: function _EvaluateVisitor__visitCalculation_closure0(t0, t1) {
  18441. this.$this = t0;
  18442. this.node = t1;
  18443. },
  18444. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  18445. this.$this = t0;
  18446. this.node = t1;
  18447. },
  18448. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  18449. var _ = this;
  18450. _._box_0 = t0;
  18451. _.$this = t1;
  18452. _.node = t2;
  18453. _.inLegacySassFunction = t3;
  18454. },
  18455. _EvaluateVisitor__visitCalculationExpression__closure0: function _EvaluateVisitor__visitCalculationExpression__closure0(t0, t1) {
  18456. this.$this = t0;
  18457. this.node = t1;
  18458. },
  18459. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  18460. this.$this = t0;
  18461. this.node = t1;
  18462. this.$function = t2;
  18463. },
  18464. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  18465. var _ = this;
  18466. _.$this = t0;
  18467. _.callable = t1;
  18468. _.evaluated = t2;
  18469. _.nodeWithSpan = t3;
  18470. _.run = t4;
  18471. _.V = t5;
  18472. },
  18473. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  18474. var _ = this;
  18475. _.$this = t0;
  18476. _.evaluated = t1;
  18477. _.callable = t2;
  18478. _.nodeWithSpan = t3;
  18479. _.run = t4;
  18480. _.V = t5;
  18481. },
  18482. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  18483. var _ = this;
  18484. _.$this = t0;
  18485. _.evaluated = t1;
  18486. _.callable = t2;
  18487. _.nodeWithSpan = t3;
  18488. _.run = t4;
  18489. _.V = t5;
  18490. },
  18491. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  18492. },
  18493. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  18494. this.$this = t0;
  18495. this.callable = t1;
  18496. },
  18497. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  18498. this._box_0 = t0;
  18499. this.evaluated = t1;
  18500. this.namedSet = t2;
  18501. },
  18502. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  18503. this._box_0 = t0;
  18504. this.evaluated = t1;
  18505. },
  18506. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18507. },
  18508. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  18509. },
  18510. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  18511. this.$this = t0;
  18512. this.restNodeForSpan = t1;
  18513. },
  18514. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  18515. var _ = this;
  18516. _.$this = t0;
  18517. _.named = t1;
  18518. _.restNodeForSpan = t2;
  18519. _.namedNodes = t3;
  18520. },
  18521. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  18522. },
  18523. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  18524. this.restArgs = t0;
  18525. },
  18526. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  18527. this.$this = t0;
  18528. this.restNodeForSpan = t1;
  18529. this.restArgs = t2;
  18530. },
  18531. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  18532. var _ = this;
  18533. _.$this = t0;
  18534. _.named = t1;
  18535. _.restNodeForSpan = t2;
  18536. _.restArgs = t3;
  18537. },
  18538. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  18539. this.$this = t0;
  18540. this.keywordRestNodeForSpan = t1;
  18541. this.keywordRestArgs = t2;
  18542. },
  18543. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  18544. var _ = this;
  18545. _.$this = t0;
  18546. _.values = t1;
  18547. _.convert = t2;
  18548. _.expressionNode = t3;
  18549. _.map = t4;
  18550. _.nodeWithSpan = t5;
  18551. },
  18552. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  18553. this.parameters = t0;
  18554. this.positional = t1;
  18555. this.named = t2;
  18556. },
  18557. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  18558. this.$this = t0;
  18559. this.node = t1;
  18560. },
  18561. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  18562. },
  18563. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  18564. this.$this = t0;
  18565. this.node = t1;
  18566. },
  18567. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  18568. },
  18569. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  18570. this.$this = t0;
  18571. this.node = t1;
  18572. },
  18573. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  18574. var _ = this;
  18575. _.$this = t0;
  18576. _.mergedQueries = t1;
  18577. _.node = t2;
  18578. _.mergedSources = t3;
  18579. },
  18580. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  18581. this.$this = t0;
  18582. this.node = t1;
  18583. },
  18584. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  18585. this.$this = t0;
  18586. this.node = t1;
  18587. },
  18588. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  18589. this.mergedSources = t0;
  18590. },
  18591. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  18592. this.$this = t0;
  18593. this.rule = t1;
  18594. this.node = t2;
  18595. },
  18596. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  18597. this.$this = t0;
  18598. this.node = t1;
  18599. },
  18600. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  18601. },
  18602. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  18603. this.$this = t0;
  18604. this.node = t1;
  18605. },
  18606. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  18607. this.$this = t0;
  18608. this.node = t1;
  18609. },
  18610. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  18611. },
  18612. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  18613. this.interpolation = t0;
  18614. },
  18615. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  18616. this.value = t0;
  18617. this.quote = t1;
  18618. },
  18619. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  18620. this.$this = t0;
  18621. this.expression = t1;
  18622. },
  18623. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  18624. },
  18625. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  18626. this.$this = t0;
  18627. },
  18628. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  18629. this._async_evaluate$_visitor = t0;
  18630. },
  18631. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  18632. },
  18633. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  18634. this.hasBeenMerged = t0;
  18635. },
  18636. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  18637. },
  18638. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  18639. },
  18640. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  18641. this._async_evaluate$_visitor = t0;
  18642. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  18643. },
  18644. cloneCssStylesheet(stylesheet, extensionStore) {
  18645. var _0_0 = extensionStore.clone$0();
  18646. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  18647. },
  18648. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  18649. this._oldToNewSelectors = t0;
  18650. },
  18651. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18652. var t1 = type$.Uri,
  18653. t2 = type$.Module_Callable,
  18654. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18655. 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);
  18656. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18657. return t1;
  18658. },
  18659. Evaluator: function Evaluator(t0, t1) {
  18660. this._visitor = t0;
  18661. this._importer = t1;
  18662. },
  18663. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  18664. var _ = this;
  18665. _._evaluate$_importCache = t0;
  18666. _._evaluate$_nodeImporter = t1;
  18667. _._builtInFunctions = t2;
  18668. _._builtInModules = t3;
  18669. _._modules = t4;
  18670. _._moduleConfigurations = t5;
  18671. _._moduleNodes = t6;
  18672. _._logger = t7;
  18673. _._warningsEmitted = t8;
  18674. _._quietDeps = t9;
  18675. _._sourceMap = t10;
  18676. _._compileContext = t11;
  18677. _._environment = t12;
  18678. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  18679. _._member = "root stylesheet";
  18680. _._importSpan = _._callableNode = null;
  18681. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  18682. _._loadedUrls = t13;
  18683. _._activeModules = t14;
  18684. _._stack = t15;
  18685. _._importer = null;
  18686. _._inDependency = false;
  18687. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  18688. _._configuration = t16;
  18689. },
  18690. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  18691. this.$this = t0;
  18692. },
  18693. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  18694. this.$this = t0;
  18695. },
  18696. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  18697. this.$this = t0;
  18698. },
  18699. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  18700. this.$this = t0;
  18701. },
  18702. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  18703. this.$this = t0;
  18704. },
  18705. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  18706. this.$this = t0;
  18707. },
  18708. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  18709. this.$this = t0;
  18710. },
  18711. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  18712. this.$this = t0;
  18713. },
  18714. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  18715. this.$this = t0;
  18716. },
  18717. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  18718. this.$this = t0;
  18719. this.name = t1;
  18720. this.module = t2;
  18721. },
  18722. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  18723. this.$this = t0;
  18724. },
  18725. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  18726. this.$this = t0;
  18727. this.name = t1;
  18728. this.module = t2;
  18729. },
  18730. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  18731. this.$this = t0;
  18732. },
  18733. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  18734. this.$this = t0;
  18735. },
  18736. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  18737. this.values = t0;
  18738. this.span = t1;
  18739. this.callableNode = t2;
  18740. },
  18741. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  18742. this.$this = t0;
  18743. },
  18744. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  18745. this.$this = t0;
  18746. },
  18747. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  18748. this.$this = t0;
  18749. this.node = t1;
  18750. this.importer = t2;
  18751. },
  18752. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  18753. this.$this = t0;
  18754. this.importer = t1;
  18755. this.node = t2;
  18756. },
  18757. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  18758. this.$this = t0;
  18759. this.importer = t1;
  18760. this.expression = t2;
  18761. },
  18762. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  18763. this.$this = t0;
  18764. this.expression = t1;
  18765. },
  18766. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  18767. this.$this = t0;
  18768. this.expression = t1;
  18769. },
  18770. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18771. this.$this = t0;
  18772. this.importer = t1;
  18773. this.statement = t2;
  18774. },
  18775. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18776. this.$this = t0;
  18777. this.statement = t1;
  18778. },
  18779. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18780. this.$this = t0;
  18781. this.statement = t1;
  18782. },
  18783. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18784. this._box_0 = t0;
  18785. this.callback = t1;
  18786. },
  18787. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18788. var _ = this;
  18789. _.$this = t0;
  18790. _.url = t1;
  18791. _.nodeWithSpan = t2;
  18792. _.baseUrl = t3;
  18793. _.namesInErrors = t4;
  18794. _.configuration = t5;
  18795. _.callback = t6;
  18796. },
  18797. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18798. this.$this = t0;
  18799. this.message = t1;
  18800. },
  18801. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18802. this._box_1 = t0;
  18803. this.callback = t1;
  18804. this.firstLoad = t2;
  18805. },
  18806. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18807. var _ = this;
  18808. _.$this = t0;
  18809. _.importer = t1;
  18810. _.stylesheet = t2;
  18811. _.extensionStore = t3;
  18812. _.configuration = t4;
  18813. _.css = t5;
  18814. _.preModuleComments = t6;
  18815. },
  18816. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18817. },
  18818. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18819. this.selectors = t0;
  18820. },
  18821. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18822. var _ = this;
  18823. _.$this = t0;
  18824. _.seen = t1;
  18825. _.clone = t2;
  18826. _.css = t3;
  18827. _.imports = t4;
  18828. _.sorted = t5;
  18829. },
  18830. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18831. this.originalSelectors = t0;
  18832. },
  18833. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18834. },
  18835. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18836. this.$this = t0;
  18837. this.node = t1;
  18838. },
  18839. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18840. this.$this = t0;
  18841. this.node = t1;
  18842. },
  18843. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18844. this.$this = t0;
  18845. this.newParent = t1;
  18846. this.node = t2;
  18847. },
  18848. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18849. this.$this = t0;
  18850. this.innerScope = t1;
  18851. },
  18852. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  18853. this.$this = t0;
  18854. this.innerScope = t1;
  18855. },
  18856. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  18857. this.innerScope = t0;
  18858. this.callback = t1;
  18859. },
  18860. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  18861. this.$this = t0;
  18862. this.innerScope = t1;
  18863. },
  18864. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  18865. },
  18866. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  18867. this.$this = t0;
  18868. this.innerScope = t1;
  18869. },
  18870. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  18871. this.$this = t0;
  18872. this.content = t1;
  18873. },
  18874. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  18875. this._box_0 = t0;
  18876. this.$this = t1;
  18877. },
  18878. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  18879. this._box_0 = t0;
  18880. this.$this = t1;
  18881. this.nodeWithSpan = t2;
  18882. },
  18883. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  18884. this._box_1 = t0;
  18885. this.$this = t1;
  18886. this.nodeWithSpan = t2;
  18887. },
  18888. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  18889. var _ = this;
  18890. _.$this = t0;
  18891. _.list = t1;
  18892. _.setVariables = t2;
  18893. _.node = t3;
  18894. },
  18895. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  18896. this.$this = t0;
  18897. this.setVariables = t1;
  18898. this.node = t2;
  18899. },
  18900. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  18901. this.$this = t0;
  18902. },
  18903. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  18904. this.$this = t0;
  18905. },
  18906. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  18907. this.$this = t0;
  18908. this.name = t1;
  18909. this.children = t2;
  18910. },
  18911. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  18912. this.$this = t0;
  18913. this.children = t1;
  18914. },
  18915. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  18916. },
  18917. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  18918. this.$this = t0;
  18919. this.node = t1;
  18920. },
  18921. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  18922. this.$this = t0;
  18923. this.node = t1;
  18924. },
  18925. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  18926. this.fromNumber = t0;
  18927. },
  18928. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  18929. this.toNumber = t0;
  18930. this.fromNumber = t1;
  18931. },
  18932. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  18933. var _ = this;
  18934. _._box_0 = t0;
  18935. _.$this = t1;
  18936. _.node = t2;
  18937. _.from = t3;
  18938. _.direction = t4;
  18939. _.fromNumber = t5;
  18940. },
  18941. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  18942. this.$this = t0;
  18943. },
  18944. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  18945. this.$this = t0;
  18946. this.node = t1;
  18947. },
  18948. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  18949. this.$this = t0;
  18950. this.node = t1;
  18951. },
  18952. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  18953. },
  18954. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  18955. this.$this = t0;
  18956. },
  18957. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  18958. this.$this = t0;
  18959. this.clause = t1;
  18960. },
  18961. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  18962. this.$this = t0;
  18963. },
  18964. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  18965. this.$this = t0;
  18966. this.$import = t1;
  18967. },
  18968. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  18969. this.$this = t0;
  18970. },
  18971. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  18972. },
  18973. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  18974. },
  18975. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  18976. var _ = this;
  18977. _._box_0 = t0;
  18978. _.$this = t1;
  18979. _.loadsUserDefinedModules = t2;
  18980. _.environment = t3;
  18981. _.children = t4;
  18982. },
  18983. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  18984. var _ = this;
  18985. _.$this = t0;
  18986. _.$arguments = t1;
  18987. _.mixin = t2;
  18988. _.nodeWithSpanWithoutContent = t3;
  18989. },
  18990. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(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. _.contentCallable = t1;
  19001. _.mixin = t2;
  19002. _.nodeWithSpanWithoutContent = t3;
  19003. },
  19004. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  19005. this.$this = t0;
  19006. this.mixin = t1;
  19007. this.nodeWithSpanWithoutContent = t2;
  19008. },
  19009. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  19010. this.$this = t0;
  19011. this.mixin = t1;
  19012. this.nodeWithSpanWithoutContent = t2;
  19013. },
  19014. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  19015. this.$this = t0;
  19016. this.statement = t1;
  19017. },
  19018. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  19019. this.$this = t0;
  19020. this.node = t1;
  19021. },
  19022. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  19023. this.$this = t0;
  19024. },
  19025. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  19026. this.node = t0;
  19027. },
  19028. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  19029. this.$this = t0;
  19030. this.queries = t1;
  19031. },
  19032. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  19033. var _ = this;
  19034. _.$this = t0;
  19035. _.mergedQueries = t1;
  19036. _.queries = t2;
  19037. _.mergedSources = t3;
  19038. _.node = t4;
  19039. },
  19040. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  19041. this.$this = t0;
  19042. this.node = t1;
  19043. },
  19044. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  19045. this.$this = t0;
  19046. this.node = t1;
  19047. },
  19048. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  19049. this.mergedSources = t0;
  19050. },
  19051. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  19052. this.$this = t0;
  19053. this.node = t1;
  19054. },
  19055. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  19056. },
  19057. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  19058. this.$this = t0;
  19059. this.rule = t1;
  19060. this.node = t2;
  19061. },
  19062. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  19063. this.$this = t0;
  19064. this.node = t1;
  19065. },
  19066. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  19067. },
  19068. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  19069. },
  19070. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  19071. this.$this = t0;
  19072. this.node = t1;
  19073. },
  19074. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  19075. this.$this = t0;
  19076. this.node = t1;
  19077. },
  19078. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  19079. },
  19080. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  19081. this._box_0 = t0;
  19082. this.$this = t1;
  19083. },
  19084. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  19085. this._box_0 = t0;
  19086. this.$this = t1;
  19087. this.node = t2;
  19088. },
  19089. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  19090. this.$this = t0;
  19091. this.node = t1;
  19092. },
  19093. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  19094. this.$this = t0;
  19095. this.node = t1;
  19096. this.value = t2;
  19097. },
  19098. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  19099. this.$this = t0;
  19100. this.node = t1;
  19101. },
  19102. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  19103. this.$this = t0;
  19104. this.node = t1;
  19105. },
  19106. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  19107. this.$this = t0;
  19108. this.node = t1;
  19109. },
  19110. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  19111. this.$this = t0;
  19112. },
  19113. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  19114. this.$this = t0;
  19115. this.node = t1;
  19116. },
  19117. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  19118. },
  19119. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  19120. this.$this = t0;
  19121. this.node = t1;
  19122. },
  19123. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  19124. this.node = t0;
  19125. this.operand = t1;
  19126. },
  19127. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  19128. this.$this = t0;
  19129. },
  19130. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  19131. this.$this = t0;
  19132. this.node = t1;
  19133. },
  19134. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  19135. },
  19136. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  19137. this._box_0 = t0;
  19138. this.$this = t1;
  19139. this.node = t2;
  19140. },
  19141. _EvaluateVisitor__visitCalculation_closure: function _EvaluateVisitor__visitCalculation_closure(t0, t1) {
  19142. this.$this = t0;
  19143. this.node = t1;
  19144. },
  19145. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  19146. this.$this = t0;
  19147. this.node = t1;
  19148. },
  19149. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  19150. var _ = this;
  19151. _._box_0 = t0;
  19152. _.$this = t1;
  19153. _.node = t2;
  19154. _.inLegacySassFunction = t3;
  19155. },
  19156. _EvaluateVisitor__visitCalculationExpression__closure: function _EvaluateVisitor__visitCalculationExpression__closure(t0, t1) {
  19157. this.$this = t0;
  19158. this.node = t1;
  19159. },
  19160. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  19161. this.$this = t0;
  19162. this.node = t1;
  19163. this.$function = t2;
  19164. },
  19165. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  19166. var _ = this;
  19167. _.$this = t0;
  19168. _.callable = t1;
  19169. _.evaluated = t2;
  19170. _.nodeWithSpan = t3;
  19171. _.run = t4;
  19172. _.V = t5;
  19173. },
  19174. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  19175. var _ = this;
  19176. _.$this = t0;
  19177. _.evaluated = t1;
  19178. _.callable = t2;
  19179. _.nodeWithSpan = t3;
  19180. _.run = t4;
  19181. _.V = t5;
  19182. },
  19183. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  19184. var _ = this;
  19185. _.$this = t0;
  19186. _.evaluated = t1;
  19187. _.callable = t2;
  19188. _.nodeWithSpan = t3;
  19189. _.run = t4;
  19190. _.V = t5;
  19191. },
  19192. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  19193. },
  19194. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  19195. this.$this = t0;
  19196. this.callable = t1;
  19197. },
  19198. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  19199. this._box_0 = t0;
  19200. this.evaluated = t1;
  19201. this.namedSet = t2;
  19202. },
  19203. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  19204. this._box_0 = t0;
  19205. this.evaluated = t1;
  19206. },
  19207. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  19208. },
  19209. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  19210. },
  19211. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  19212. this.$this = t0;
  19213. this.restNodeForSpan = t1;
  19214. },
  19215. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  19216. var _ = this;
  19217. _.$this = t0;
  19218. _.named = t1;
  19219. _.restNodeForSpan = t2;
  19220. _.namedNodes = t3;
  19221. },
  19222. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  19223. },
  19224. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  19225. this.restArgs = t0;
  19226. },
  19227. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  19228. this.$this = t0;
  19229. this.restNodeForSpan = t1;
  19230. this.restArgs = t2;
  19231. },
  19232. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  19233. var _ = this;
  19234. _.$this = t0;
  19235. _.named = t1;
  19236. _.restNodeForSpan = t2;
  19237. _.restArgs = t3;
  19238. },
  19239. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  19240. this.$this = t0;
  19241. this.keywordRestNodeForSpan = t1;
  19242. this.keywordRestArgs = t2;
  19243. },
  19244. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  19245. var _ = this;
  19246. _.$this = t0;
  19247. _.values = t1;
  19248. _.convert = t2;
  19249. _.expressionNode = t3;
  19250. _.map = t4;
  19251. _.nodeWithSpan = t5;
  19252. },
  19253. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  19254. this.parameters = t0;
  19255. this.positional = t1;
  19256. this.named = t2;
  19257. },
  19258. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  19259. this.$this = t0;
  19260. this.node = t1;
  19261. },
  19262. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  19263. },
  19264. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19265. this.$this = t0;
  19266. this.node = t1;
  19267. },
  19268. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  19269. },
  19270. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  19271. this.$this = t0;
  19272. this.node = t1;
  19273. },
  19274. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  19275. var _ = this;
  19276. _.$this = t0;
  19277. _.mergedQueries = t1;
  19278. _.node = t2;
  19279. _.mergedSources = t3;
  19280. },
  19281. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  19282. this.$this = t0;
  19283. this.node = t1;
  19284. },
  19285. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  19286. this.$this = t0;
  19287. this.node = t1;
  19288. },
  19289. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  19290. this.mergedSources = t0;
  19291. },
  19292. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  19293. this.$this = t0;
  19294. this.rule = t1;
  19295. this.node = t2;
  19296. },
  19297. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  19298. this.$this = t0;
  19299. this.node = t1;
  19300. },
  19301. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  19302. },
  19303. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  19304. this.$this = t0;
  19305. this.node = t1;
  19306. },
  19307. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  19308. this.$this = t0;
  19309. this.node = t1;
  19310. },
  19311. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  19312. },
  19313. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  19314. this.interpolation = t0;
  19315. },
  19316. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  19317. this.value = t0;
  19318. this.quote = t1;
  19319. },
  19320. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  19321. this.$this = t0;
  19322. this.expression = t1;
  19323. },
  19324. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  19325. },
  19326. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  19327. this.$this = t0;
  19328. },
  19329. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  19330. this._visitor = t0;
  19331. },
  19332. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  19333. },
  19334. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  19335. this.hasBeenMerged = t0;
  19336. },
  19337. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  19338. },
  19339. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  19340. },
  19341. _EvaluationContext: function _EvaluationContext(t0, t1) {
  19342. this._visitor = t0;
  19343. this._defaultWarnNodeWithSpan = t1;
  19344. },
  19345. EveryCssVisitor: function EveryCssVisitor() {
  19346. },
  19347. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  19348. this.$this = t0;
  19349. },
  19350. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  19351. this.$this = t0;
  19352. },
  19353. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  19354. this.$this = t0;
  19355. },
  19356. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  19357. this.$this = t0;
  19358. },
  19359. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  19360. this.$this = t0;
  19361. },
  19362. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  19363. this.$this = t0;
  19364. },
  19365. expressionToCalc(expression) {
  19366. var t4,
  19367. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  19368. t2 = expression.get$span(0),
  19369. t3 = type$.Expression;
  19370. t1 = A.List_List$unmodifiable(t1, t3);
  19371. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  19372. t4 = expression.get$span(0);
  19373. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList(t1, t3, null, null, t2), t4);
  19374. },
  19375. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  19376. },
  19377. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  19378. },
  19379. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  19380. var _ = this;
  19381. _._find_dependencies$_uses = t0;
  19382. _._find_dependencies$_forwards = t1;
  19383. _._metaLoadCss = t2;
  19384. _._imports = t3;
  19385. _._metaNamespaces = t4;
  19386. },
  19387. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  19388. },
  19389. IsCalculationSafeVisitor: function IsCalculationSafeVisitor() {
  19390. },
  19391. IsCalculationSafeVisitor_visitListExpression_closure: function IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  19392. this.$this = t0;
  19393. },
  19394. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  19395. },
  19396. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  19397. },
  19398. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  19399. this.$this = t0;
  19400. },
  19401. ReplaceExpressionVisitor_visitArgumentList_closure: function ReplaceExpressionVisitor_visitArgumentList_closure(t0) {
  19402. this.$this = t0;
  19403. },
  19404. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  19405. this.$this = t0;
  19406. },
  19407. SelectorSearchVisitor: function SelectorSearchVisitor() {
  19408. },
  19409. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  19410. this.$this = t0;
  19411. },
  19412. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  19413. this.$this = t0;
  19414. },
  19415. serialize(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  19416. var t1, css, t2, prefix,
  19417. visitor = A._SerializeVisitor$(2, inspect, lineFeed, logger, true, sourceMap, style, true);
  19418. node.accept$1(visitor);
  19419. t1 = visitor._serialize$_buffer;
  19420. css = t1.toString$0(0);
  19421. if (charset) {
  19422. t2 = new A.CodeUnits(css);
  19423. t2 = t2.any$1(t2, new A.serialize_closure());
  19424. } else
  19425. t2 = false;
  19426. if (t2)
  19427. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  19428. else
  19429. prefix = "";
  19430. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  19431. return new A._Record_2_sourceMap(prefix + css, t1);
  19432. },
  19433. serializeValue(value, inspect, quote) {
  19434. var _null = null,
  19435. visitor = A._SerializeVisitor$(_null, inspect, _null, _null, quote, false, _null, true);
  19436. value.accept$1(visitor);
  19437. return visitor._serialize$_buffer.toString$0(0);
  19438. },
  19439. serializeSelector(selector, inspect) {
  19440. var _null = null,
  19441. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  19442. selector.accept$1(visitor);
  19443. return visitor._serialize$_buffer.toString$0(0);
  19444. },
  19445. _SerializeVisitor$(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  19446. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  19447. t2 = style == null ? B.OutputStyle_0 : style,
  19448. t3 = indentWidth == null ? 2 : indentWidth,
  19449. t4 = logger == null ? B.StderrLogger_false : logger;
  19450. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  19451. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf, t4);
  19452. },
  19453. serialize_closure: function serialize_closure() {
  19454. },
  19455. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6, t7) {
  19456. var _ = this;
  19457. _._serialize$_buffer = t0;
  19458. _._indentation = 0;
  19459. _._style = t1;
  19460. _._inspect = t2;
  19461. _._quote = t3;
  19462. _._indentCharacter = t4;
  19463. _._indentWidth = t5;
  19464. _._serialize$_lineFeed = t6;
  19465. _._serialize$_logger = t7;
  19466. },
  19467. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  19468. this.$this = t0;
  19469. this.node = t1;
  19470. },
  19471. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  19472. this.$this = t0;
  19473. this.node = t1;
  19474. },
  19475. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  19476. this.$this = t0;
  19477. this.node = t1;
  19478. },
  19479. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  19480. this.$this = t0;
  19481. this.node = t1;
  19482. },
  19483. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  19484. this.$this = t0;
  19485. this.node = t1;
  19486. },
  19487. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19488. this.$this = t0;
  19489. this.node = t1;
  19490. },
  19491. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  19492. this.$this = t0;
  19493. this.node = t1;
  19494. },
  19495. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  19496. this.$this = t0;
  19497. this.node = t1;
  19498. },
  19499. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  19500. this.$this = t0;
  19501. this.node = t1;
  19502. },
  19503. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  19504. this.$this = t0;
  19505. this.node = t1;
  19506. },
  19507. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  19508. },
  19509. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  19510. this.$this = t0;
  19511. this.value = t1;
  19512. },
  19513. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  19514. this.$this = t0;
  19515. },
  19516. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  19517. this.$this = t0;
  19518. },
  19519. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  19520. },
  19521. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  19522. this.$this = t0;
  19523. this.value = t1;
  19524. },
  19525. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  19526. this.$this = t0;
  19527. this.child = t1;
  19528. },
  19529. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  19530. this.$this = t0;
  19531. this.child = t1;
  19532. },
  19533. OutputStyle: function OutputStyle(t0) {
  19534. this._name = t0;
  19535. },
  19536. LineFeed: function LineFeed(t0) {
  19537. this._name = t0;
  19538. },
  19539. StatementSearchVisitor: function StatementSearchVisitor() {
  19540. },
  19541. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  19542. this.$this = t0;
  19543. },
  19544. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  19545. this.$this = t0;
  19546. },
  19547. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  19548. this.$this = t0;
  19549. },
  19550. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  19551. this.$this = t0;
  19552. },
  19553. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  19554. this.$this = t0;
  19555. },
  19556. Entry: function Entry(t0, t1, t2) {
  19557. this.source = t0;
  19558. this.target = t1;
  19559. this.identifierName = t2;
  19560. },
  19561. SingleMapping_SingleMapping$fromEntries(entries) {
  19562. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  19563. sourceEntries = J.toList$0$ax(entries);
  19564. B.JSArray_methods.sort$0(sourceEntries);
  19565. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  19566. t1 = type$.String;
  19567. t2 = type$.int;
  19568. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19569. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19570. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  19571. targetEntries = A._Cell$();
  19572. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  19573. sourceEntry = sourceEntries[_i];
  19574. if (lineNum == null || sourceEntry.target.line > lineNum) {
  19575. lineNum = sourceEntry.target.line;
  19576. t4 = A._setArrayType([], t3);
  19577. targetEntries.__late_helper$_value = t4;
  19578. lines.push(new A.TargetLineEntry(lineNum, t4));
  19579. }
  19580. t4 = sourceEntry.source;
  19581. t5 = t4.file;
  19582. sourceUrl = t5.url;
  19583. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  19584. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  19585. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  19586. t6 = targetEntries.__late_helper$_value;
  19587. if (t6 === targetEntries)
  19588. A.throwExpression(A.LateError$localNI(""));
  19589. t4 = t4.offset;
  19590. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  19591. }
  19592. t2 = urls.$ti;
  19593. t3 = t2._eval$1("LinkedHashMapValuesIterable<2>");
  19594. t3 = A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(urls, t3), new A.SingleMapping_SingleMapping$fromEntries_closure1(files), t3._eval$1("Iterable.E"), type$.nullable_SourceFile);
  19595. t3 = A.List_List$_of(t3, A._instanceType(t3)._eval$1("Iterable.E"));
  19596. t2 = t2._eval$1("LinkedHashMapKeysIterable<1>");
  19597. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(urls, t2), t2._eval$1("Iterable.E"));
  19598. t4 = names.$ti._eval$1("LinkedHashMapKeysIterable<1>");
  19599. t4 = A.List_List$_of(new A.LinkedHashMapKeysIterable(names, t4), t4._eval$1("Iterable.E"));
  19600. return new A.SingleMapping(t2, t4, t3, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  19601. },
  19602. Mapping: function Mapping() {
  19603. },
  19604. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  19605. var _ = this;
  19606. _.urls = t0;
  19607. _.names = t1;
  19608. _.files = t2;
  19609. _.lines = t3;
  19610. _.targetUrl = t4;
  19611. _.sourceRoot = null;
  19612. _.extensions = t5;
  19613. },
  19614. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  19615. this.urls = t0;
  19616. },
  19617. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  19618. this.sourceEntry = t0;
  19619. },
  19620. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  19621. this.files = t0;
  19622. },
  19623. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  19624. },
  19625. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  19626. this.result = t0;
  19627. },
  19628. TargetLineEntry: function TargetLineEntry(t0, t1) {
  19629. this.line = t0;
  19630. this.entries = t1;
  19631. },
  19632. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  19633. var _ = this;
  19634. _.column = t0;
  19635. _.sourceUrlId = t1;
  19636. _.sourceLine = t2;
  19637. _.sourceColumn = t3;
  19638. _.sourceNameId = t4;
  19639. },
  19640. SourceFile$fromString(text, url) {
  19641. var t1 = new A.CodeUnits(text),
  19642. t2 = A._setArrayType([0], type$.JSArray_int),
  19643. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19644. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  19645. t2.SourceFile$decoded$2$url(t1, url);
  19646. return t2;
  19647. },
  19648. SourceFile$decoded(decodedChars, url) {
  19649. var t1 = A._setArrayType([0], type$.JSArray_int),
  19650. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19651. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  19652. t1.SourceFile$decoded$2$url(decodedChars, url);
  19653. return t1;
  19654. },
  19655. FileLocation$_(file, offset) {
  19656. if (offset < 0)
  19657. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19658. else if (offset > file._decodedChars.length)
  19659. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  19660. return new A.FileLocation(file, offset);
  19661. },
  19662. _FileSpan$(file, _start, _end) {
  19663. if (_end < _start)
  19664. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  19665. else if (_end > file._decodedChars.length)
  19666. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  19667. else if (_start < 0)
  19668. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  19669. return new A._FileSpan(file, _start, _end);
  19670. },
  19671. FileSpanExtension_subspan(_this, start, end) {
  19672. var t1, startOffset, t2;
  19673. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  19674. if (start === 0)
  19675. t1 = end == null || end === _this.get$length(_this);
  19676. else
  19677. t1 = false;
  19678. if (t1)
  19679. return _this;
  19680. startOffset = _this.get$start(_this).offset;
  19681. t1 = _this.get$file(_this);
  19682. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  19683. return t1.span$2(0, startOffset + start, t2);
  19684. },
  19685. SourceFile: function SourceFile(t0, t1, t2) {
  19686. var _ = this;
  19687. _.url = t0;
  19688. _._lineStarts = t1;
  19689. _._decodedChars = t2;
  19690. _._cachedLine = null;
  19691. },
  19692. FileLocation: function FileLocation(t0, t1) {
  19693. this.file = t0;
  19694. this.offset = t1;
  19695. },
  19696. _FileSpan: function _FileSpan(t0, t1, t2) {
  19697. this.file = t0;
  19698. this._file$_start = t1;
  19699. this._end = t2;
  19700. },
  19701. Highlighter$(span, color) {
  19702. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  19703. t2 = new A.Highlighter_closure(color).call$0(),
  19704. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  19705. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  19706. t5 = A._arrayInstanceType(t1);
  19707. 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(""));
  19708. },
  19709. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  19710. var t2, t3, t4, t5, t6,
  19711. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  19712. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  19713. t3 = t2.get$current(t2);
  19714. t1.push(A._Highlight$(t3.key, t3.value, false));
  19715. }
  19716. t1 = A.Highlighter__collateLines(t1);
  19717. if (color)
  19718. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  19719. else
  19720. t2 = null;
  19721. if (color)
  19722. t3 = "\x1b[34m";
  19723. else
  19724. t3 = null;
  19725. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  19726. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  19727. t6 = A._arrayInstanceType(t1);
  19728. 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(""));
  19729. },
  19730. Highlighter__contiguous(lines) {
  19731. var i, thisLine, nextLine;
  19732. for (i = 0; i < lines.length - 1;) {
  19733. thisLine = lines[i];
  19734. ++i;
  19735. nextLine = lines[i];
  19736. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  19737. return false;
  19738. }
  19739. return true;
  19740. },
  19741. Highlighter__collateLines(highlights) {
  19742. var t1, t2,
  19743. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  19744. for (t1 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl._modifications, highlightsByUrl._first); t1.moveNext$0();)
  19745. J.sort$1$ax(t1.__js_helper$_current, new A.Highlighter__collateLines_closure0());
  19746. t1 = A._instanceType(highlightsByUrl)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  19747. t2 = t1._eval$1("ExpandIterable<Iterable.E,_Line>");
  19748. t1 = A.List_List$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), new A.Highlighter__collateLines_closure1(), t2), t2._eval$1("Iterable.E"));
  19749. return t1;
  19750. },
  19751. _Highlight$(span, label, primary) {
  19752. var t2,
  19753. t1 = new A._Highlight_closure(span).call$0();
  19754. if (label == null)
  19755. t2 = null;
  19756. else
  19757. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  19758. return new A._Highlight(t1, primary, t2);
  19759. },
  19760. _Highlight__normalizeNewlines(span) {
  19761. var endOffset, t1, i, t2, t3, t4,
  19762. text = span.get$text();
  19763. if (!B.JSString_methods.contains$1(text, "\r\n"))
  19764. return span;
  19765. endOffset = span.get$end(span).get$offset();
  19766. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  19767. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  19768. --endOffset;
  19769. t1 = span.get$start(span);
  19770. t2 = span.get$sourceUrl(span);
  19771. t3 = span.get$end(span).get$line();
  19772. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  19773. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  19774. t4 = span.get$context(span);
  19775. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  19776. },
  19777. _Highlight__normalizeTrailingNewline(span) {
  19778. var context, text, start, end, t1, t2, t3;
  19779. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  19780. return span;
  19781. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  19782. return span;
  19783. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19784. text = span.get$text();
  19785. start = span.get$start(span);
  19786. end = span.get$end(span);
  19787. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19788. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19789. t1.toString;
  19790. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19791. } else
  19792. t1 = false;
  19793. if (t1) {
  19794. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19795. if (text.length === 0)
  19796. end = start;
  19797. else {
  19798. t1 = span.get$end(span).get$offset();
  19799. t2 = span.get$sourceUrl(span);
  19800. t3 = span.get$end(span).get$line();
  19801. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19802. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19803. }
  19804. }
  19805. return A.SourceSpanWithContext$(start, end, text, context);
  19806. },
  19807. _Highlight__normalizeEndOfLine(span) {
  19808. var text, t1, t2, t3, t4;
  19809. if (span.get$end(span).get$column() !== 0)
  19810. return span;
  19811. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19812. return span;
  19813. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19814. t1 = span.get$start(span);
  19815. t2 = span.get$end(span).get$offset();
  19816. t3 = span.get$sourceUrl(span);
  19817. t4 = span.get$end(span).get$line();
  19818. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19819. 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));
  19820. },
  19821. _Highlight__lastLineLength(text) {
  19822. var t1 = text.length;
  19823. if (t1 === 0)
  19824. return 0;
  19825. else if (text.charCodeAt(t1 - 1) === 10)
  19826. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19827. else
  19828. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19829. },
  19830. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19831. var _ = this;
  19832. _._lines = t0;
  19833. _._primaryColor = t1;
  19834. _._secondaryColor = t2;
  19835. _._paddingBeforeSidebar = t3;
  19836. _._maxMultilineSpans = t4;
  19837. _._multipleFiles = t5;
  19838. _._highlighter$_buffer = t6;
  19839. },
  19840. Highlighter_closure: function Highlighter_closure(t0) {
  19841. this.color = t0;
  19842. },
  19843. Highlighter$__closure: function Highlighter$__closure() {
  19844. },
  19845. Highlighter$___closure: function Highlighter$___closure() {
  19846. },
  19847. Highlighter$__closure0: function Highlighter$__closure0() {
  19848. },
  19849. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  19850. },
  19851. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  19852. },
  19853. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  19854. },
  19855. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  19856. this.line = t0;
  19857. },
  19858. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  19859. },
  19860. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  19861. this.$this = t0;
  19862. },
  19863. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  19864. this.$this = t0;
  19865. this.startLine = t1;
  19866. this.line = t2;
  19867. },
  19868. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  19869. this.$this = t0;
  19870. this.highlight = t1;
  19871. },
  19872. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  19873. this.$this = t0;
  19874. },
  19875. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19876. var _ = this;
  19877. _._box_0 = t0;
  19878. _.$this = t1;
  19879. _.current = t2;
  19880. _.startLine = t3;
  19881. _.line = t4;
  19882. _.highlight = t5;
  19883. _.endLine = t6;
  19884. },
  19885. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  19886. this._box_0 = t0;
  19887. this.$this = t1;
  19888. },
  19889. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  19890. this.$this = t0;
  19891. this.vertical = t1;
  19892. },
  19893. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  19894. var _ = this;
  19895. _.$this = t0;
  19896. _.text = t1;
  19897. _.startColumn = t2;
  19898. _.endColumn = t3;
  19899. },
  19900. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  19901. this.$this = t0;
  19902. this.line = t1;
  19903. this.highlight = t2;
  19904. },
  19905. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  19906. this.$this = t0;
  19907. this.line = t1;
  19908. this.highlight = t2;
  19909. },
  19910. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  19911. var _ = this;
  19912. _.$this = t0;
  19913. _.coversWholeLine = t1;
  19914. _.line = t2;
  19915. _.highlight = t3;
  19916. },
  19917. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  19918. this.$this = t0;
  19919. this.lines = t1;
  19920. },
  19921. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  19922. this.$this = t0;
  19923. this.text = t1;
  19924. },
  19925. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  19926. this._box_0 = t0;
  19927. this.$this = t1;
  19928. this.end = t2;
  19929. },
  19930. _Highlight: function _Highlight(t0, t1, t2) {
  19931. this.span = t0;
  19932. this.isPrimary = t1;
  19933. this.label = t2;
  19934. },
  19935. _Highlight_closure: function _Highlight_closure(t0) {
  19936. this.span = t0;
  19937. },
  19938. _Line: function _Line(t0, t1, t2, t3) {
  19939. var _ = this;
  19940. _.text = t0;
  19941. _.number = t1;
  19942. _.url = t2;
  19943. _.highlights = t3;
  19944. },
  19945. SourceLocation$(offset, column, line, sourceUrl) {
  19946. var t1 = line == null,
  19947. t2 = t1 ? 0 : line,
  19948. t3 = column == null,
  19949. t4 = t3 ? offset : column;
  19950. if (offset < 0)
  19951. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19952. else if (!t1 && line < 0)
  19953. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  19954. else if (!t3 && column < 0)
  19955. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  19956. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  19957. },
  19958. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  19959. var _ = this;
  19960. _.sourceUrl = t0;
  19961. _.offset = t1;
  19962. _.line = t2;
  19963. _.column = t3;
  19964. },
  19965. SourceLocationMixin: function SourceLocationMixin() {
  19966. },
  19967. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  19968. var t2, t3,
  19969. t1 = _this.get$start(_this);
  19970. t1 = t1.file.getLine$1(t1.offset);
  19971. t2 = _this.get$start(_this);
  19972. t2 = "line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1);
  19973. if (_this.get$sourceUrl(_this) != null) {
  19974. t1 = _this.get$sourceUrl(_this);
  19975. t3 = $.$get$context();
  19976. t1.toString;
  19977. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  19978. } else
  19979. t1 = t2;
  19980. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  19981. return t1.charCodeAt(0) == 0 ? t1 : t1;
  19982. },
  19983. SourceSpanBase: function SourceSpanBase() {
  19984. },
  19985. SourceSpanException: function SourceSpanException() {
  19986. },
  19987. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  19988. this.source = t0;
  19989. this._span_exception$_message = t1;
  19990. this._span = t2;
  19991. },
  19992. MultiSourceSpanException: function MultiSourceSpanException() {
  19993. },
  19994. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  19995. var _ = this;
  19996. _.source = t0;
  19997. _.primaryLabel = t1;
  19998. _.secondarySpans = t2;
  19999. _._span_exception$_message = t3;
  20000. _._span = t4;
  20001. },
  20002. SourceSpanMixin: function SourceSpanMixin() {
  20003. },
  20004. SourceSpanWithContext$(start, end, text, _context) {
  20005. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  20006. t1.SourceSpanBase$3(start, end, text);
  20007. if (!B.JSString_methods.contains$1(_context, text))
  20008. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  20009. if (A.findLineStart(_context, text, start.get$column()) == null)
  20010. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  20011. return t1;
  20012. },
  20013. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  20014. var _ = this;
  20015. _._context = t0;
  20016. _.start = t1;
  20017. _.end = t2;
  20018. _.text = t3;
  20019. },
  20020. Chain_Chain$parse(chain) {
  20021. var t1, t2,
  20022. _s51_ = string$.x3d_____;
  20023. if (chain.length === 0)
  20024. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  20025. t1 = $.$get$vmChainGap();
  20026. if (B.JSString_methods.contains$1(chain, t1)) {
  20027. t1 = B.JSString_methods.split$1(chain, t1);
  20028. t2 = A._arrayInstanceType(t1);
  20029. 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));
  20030. }
  20031. if (!B.JSString_methods.contains$1(chain, _s51_))
  20032. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  20033. 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));
  20034. },
  20035. Chain: function Chain(t0) {
  20036. this.traces = t0;
  20037. },
  20038. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  20039. },
  20040. Chain_toTrace_closure: function Chain_toTrace_closure() {
  20041. },
  20042. Chain_toString_closure0: function Chain_toString_closure0() {
  20043. },
  20044. Chain_toString__closure0: function Chain_toString__closure0() {
  20045. },
  20046. Chain_toString_closure: function Chain_toString_closure(t0) {
  20047. this.longest = t0;
  20048. },
  20049. Chain_toString__closure: function Chain_toString__closure(t0) {
  20050. this.longest = t0;
  20051. },
  20052. Frame___parseVM_tearOff(frame) {
  20053. return A.Frame_Frame$parseVM(frame);
  20054. },
  20055. Frame_Frame$parseVM(frame) {
  20056. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  20057. },
  20058. Frame___parseV8_tearOff(frame) {
  20059. return A.Frame_Frame$parseV8(frame);
  20060. },
  20061. Frame_Frame$parseV8(frame) {
  20062. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  20063. },
  20064. Frame_Frame$_parseFirefoxEval(frame) {
  20065. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  20066. },
  20067. Frame___parseFirefox_tearOff(frame) {
  20068. return A.Frame_Frame$parseFirefox(frame);
  20069. },
  20070. Frame_Frame$parseFirefox(frame) {
  20071. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  20072. },
  20073. Frame___parseFriendly_tearOff(frame) {
  20074. return A.Frame_Frame$parseFriendly(frame);
  20075. },
  20076. Frame_Frame$parseFriendly(frame) {
  20077. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  20078. },
  20079. Frame__uriOrPathToUri(uriOrPath) {
  20080. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  20081. return A.Uri_parse(uriOrPath);
  20082. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  20083. return A._Uri__Uri$file(uriOrPath, true);
  20084. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  20085. return A._Uri__Uri$file(uriOrPath, false);
  20086. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  20087. return $.$get$windows().toUri$1(uriOrPath);
  20088. return A.Uri_parse(uriOrPath);
  20089. },
  20090. Frame__catchFormatException(text, body) {
  20091. var t1, exception;
  20092. try {
  20093. t1 = body.call$0();
  20094. return t1;
  20095. } catch (exception) {
  20096. if (type$.FormatException._is(A.unwrapException(exception)))
  20097. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  20098. else
  20099. throw exception;
  20100. }
  20101. },
  20102. Frame: function Frame(t0, t1, t2, t3) {
  20103. var _ = this;
  20104. _.uri = t0;
  20105. _.line = t1;
  20106. _.column = t2;
  20107. _.member = t3;
  20108. },
  20109. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  20110. this.frame = t0;
  20111. },
  20112. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  20113. this.frame = t0;
  20114. },
  20115. Frame_Frame$parseV8_closure_parseJsLocation: function Frame_Frame$parseV8_closure_parseJsLocation(t0) {
  20116. this.frame = t0;
  20117. },
  20118. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  20119. this.frame = t0;
  20120. },
  20121. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  20122. this.frame = t0;
  20123. },
  20124. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  20125. this.frame = t0;
  20126. },
  20127. LazyTrace: function LazyTrace(t0) {
  20128. this._thunk = t0;
  20129. this.__LazyTrace__trace_FI = $;
  20130. },
  20131. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  20132. this.$this = t0;
  20133. },
  20134. Trace_Trace$from(trace) {
  20135. if (type$.Trace._is(trace))
  20136. return trace;
  20137. if (trace instanceof A.Chain)
  20138. return trace.toTrace$0();
  20139. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  20140. },
  20141. Trace_Trace$parse(trace) {
  20142. var error, t1, exception;
  20143. try {
  20144. if (trace.length === 0) {
  20145. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  20146. return t1;
  20147. }
  20148. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  20149. t1 = A.Trace$parseV8(trace);
  20150. return t1;
  20151. }
  20152. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  20153. t1 = A.Trace$parseJSCore(trace);
  20154. return t1;
  20155. }
  20156. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  20157. t1 = A.Trace$parseFirefox(trace);
  20158. return t1;
  20159. }
  20160. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  20161. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  20162. return t1;
  20163. }
  20164. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  20165. t1 = A.Trace$parseFriendly(trace);
  20166. return t1;
  20167. }
  20168. t1 = A.Trace$parseVM(trace);
  20169. return t1;
  20170. } catch (exception) {
  20171. t1 = A.unwrapException(exception);
  20172. if (type$.FormatException._is(t1)) {
  20173. error = t1;
  20174. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  20175. } else
  20176. throw exception;
  20177. }
  20178. },
  20179. Trace___parseVM_tearOff(trace) {
  20180. return A.Trace$parseVM(trace);
  20181. },
  20182. Trace$parseVM(trace) {
  20183. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  20184. return new A.Trace(t1, new A._StringStackTrace(trace));
  20185. },
  20186. Trace__parseVM(trace) {
  20187. var $frames,
  20188. t1 = B.JSString_methods.trim$0(trace),
  20189. t2 = $.$get$vmChainGap(),
  20190. t3 = type$.WhereIterable_String,
  20191. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  20192. if (!lines.get$iterator(0).moveNext$0())
  20193. return A._setArrayType([], type$.JSArray_Frame);
  20194. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  20195. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  20196. $frames = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  20197. if (!B.JSString_methods.endsWith$1(lines.get$last(0), ".da"))
  20198. $frames.push(A.Frame_Frame$parseVM(lines.get$last(0)));
  20199. return $frames;
  20200. },
  20201. Trace$parseV8(trace) {
  20202. 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()),
  20203. t2 = type$.Frame;
  20204. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  20205. return new A.Trace(t2, new A._StringStackTrace(trace));
  20206. },
  20207. Trace$parseJSCore(trace) {
  20208. 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);
  20209. return new A.Trace(t1, new A._StringStackTrace(trace));
  20210. },
  20211. Trace$parseFirefox(trace) {
  20212. 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);
  20213. return new A.Trace(t1, new A._StringStackTrace(trace));
  20214. },
  20215. Trace___parseFriendly_tearOff(trace) {
  20216. return A.Trace$parseFriendly(trace);
  20217. },
  20218. Trace$parseFriendly(trace) {
  20219. 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);
  20220. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  20221. return new A.Trace(t1, new A._StringStackTrace(trace));
  20222. },
  20223. Trace$($frames, original) {
  20224. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  20225. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  20226. },
  20227. Trace: function Trace(t0, t1) {
  20228. this.frames = t0;
  20229. this.original = t1;
  20230. },
  20231. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  20232. this.trace = t0;
  20233. },
  20234. Trace__parseVM_closure: function Trace__parseVM_closure() {
  20235. },
  20236. Trace$parseV8_closure: function Trace$parseV8_closure() {
  20237. },
  20238. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  20239. },
  20240. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  20241. },
  20242. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  20243. },
  20244. Trace_terse_closure: function Trace_terse_closure() {
  20245. },
  20246. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  20247. this.oldPredicate = t0;
  20248. },
  20249. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  20250. this._box_0 = t0;
  20251. },
  20252. Trace_toString_closure0: function Trace_toString_closure0() {
  20253. },
  20254. Trace_toString_closure: function Trace_toString_closure(t0) {
  20255. this.longest = t0;
  20256. },
  20257. UnparsedFrame: function UnparsedFrame(t0, t1) {
  20258. this.uri = t0;
  20259. this.member = t1;
  20260. },
  20261. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  20262. var _null = null, t1 = {},
  20263. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  20264. t1.subscription = null;
  20265. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  20266. return controller.get$stream();
  20267. },
  20268. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  20269. sink.addError$2(error, stackTrace);
  20270. },
  20271. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  20272. var _ = this;
  20273. _._box_1 = t0;
  20274. _._this = t1;
  20275. _.onData = t2;
  20276. _.controller = t3;
  20277. _.handleError = t4;
  20278. _.handleDone = t5;
  20279. _.S = t6;
  20280. },
  20281. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  20282. this.onData = t0;
  20283. this.controller = t1;
  20284. this.S = t2;
  20285. },
  20286. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  20287. this.handleError = t0;
  20288. this.controller = t1;
  20289. },
  20290. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  20291. this._box_0 = t0;
  20292. this.handleDone = t1;
  20293. this.controller = t2;
  20294. },
  20295. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  20296. this._box_1 = t0;
  20297. this._box_0 = t1;
  20298. },
  20299. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  20300. var t1 = {};
  20301. t1.soFar = t1.timer = null;
  20302. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  20303. 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);
  20304. },
  20305. _collect($event, soFar, $T) {
  20306. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  20307. J.add$1$ax(t1, $event);
  20308. return t1;
  20309. },
  20310. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  20311. var _ = this;
  20312. _._box_0 = t0;
  20313. _.S = t1;
  20314. _.collect = t2;
  20315. _.leading = t3;
  20316. _.duration = t4;
  20317. _.trailing = t5;
  20318. _.T = t6;
  20319. },
  20320. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  20321. this._box_0 = t0;
  20322. this.sink = t1;
  20323. this.S = t2;
  20324. },
  20325. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  20326. var _ = this;
  20327. _._box_0 = t0;
  20328. _.trailing = t1;
  20329. _.emit = t2;
  20330. _.sink = t3;
  20331. },
  20332. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  20333. this._box_0 = t0;
  20334. this.trailing = t1;
  20335. this.S = t2;
  20336. },
  20337. StringScannerException$(message, span, source) {
  20338. return new A.StringScannerException(source, message, span);
  20339. },
  20340. StringScannerException: function StringScannerException(t0, t1, t2) {
  20341. this.source = t0;
  20342. this._span_exception$_message = t1;
  20343. this._span = t2;
  20344. },
  20345. LineScanner$(string) {
  20346. return new A.LineScanner(null, string);
  20347. },
  20348. LineScanner: function LineScanner(t0, t1) {
  20349. var _ = this;
  20350. _._line_scanner$_column = _._line_scanner$_line = 0;
  20351. _.sourceUrl = t0;
  20352. _.string = t1;
  20353. _._string_scanner$_position = 0;
  20354. _._lastMatchPosition = _._lastMatch = null;
  20355. },
  20356. SpanScanner$(string, sourceUrl) {
  20357. var t2,
  20358. t1 = A.SourceFile$fromString(string, sourceUrl);
  20359. if (sourceUrl == null)
  20360. t2 = null;
  20361. else
  20362. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20363. return new A.SpanScanner(t1, t2, string);
  20364. },
  20365. SpanScanner: function SpanScanner(t0, t1, t2) {
  20366. var _ = this;
  20367. _._sourceFile = t0;
  20368. _.sourceUrl = t1;
  20369. _.string = t2;
  20370. _._string_scanner$_position = 0;
  20371. _._lastMatchPosition = _._lastMatch = null;
  20372. },
  20373. _SpanScannerState: function _SpanScannerState(t0, t1) {
  20374. this._scanner = t0;
  20375. this.position = t1;
  20376. },
  20377. StringScanner$(string, position, sourceUrl) {
  20378. var t1;
  20379. if (sourceUrl == null)
  20380. t1 = null;
  20381. else
  20382. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20383. return new A.StringScanner(t1, string);
  20384. },
  20385. StringScanner: function StringScanner(t0, t1) {
  20386. var _ = this;
  20387. _.sourceUrl = t0;
  20388. _.string = t1;
  20389. _._string_scanner$_position = 0;
  20390. _._lastMatchPosition = _._lastMatch = null;
  20391. },
  20392. AsciiGlyphSet: function AsciiGlyphSet() {
  20393. },
  20394. UnicodeGlyphSet: function UnicodeGlyphSet() {
  20395. },
  20396. WatchEvent: function WatchEvent(t0, t1) {
  20397. this.type = t0;
  20398. this.path = t1;
  20399. },
  20400. ChangeType: function ChangeType(t0) {
  20401. this._watch_event$_name = t0;
  20402. },
  20403. A98RgbColorSpace0: function A98RgbColorSpace0(t0, t1) {
  20404. this.name = t0;
  20405. this._space$_channels = t1;
  20406. },
  20407. AnySelectorVisitor0: function AnySelectorVisitor0() {
  20408. },
  20409. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  20410. this.$this = t0;
  20411. },
  20412. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  20413. this.$this = t0;
  20414. },
  20415. SupportsAnything0: function SupportsAnything0(t0, t1) {
  20416. this.contents = t0;
  20417. this.span = t1;
  20418. },
  20419. ArgumentList$empty0(span) {
  20420. return new A.ArgumentList0(B.List_empty23, B.Map_empty14, null, null, span);
  20421. },
  20422. ArgumentList0: function ArgumentList0(t0, t1, t2, t3, t4) {
  20423. var _ = this;
  20424. _.positional = t0;
  20425. _.named = t1;
  20426. _.rest = t2;
  20427. _.keywordRest = t3;
  20428. _.span = t4;
  20429. },
  20430. argumentListClass_closure: function argumentListClass_closure() {
  20431. },
  20432. argumentListClass__closure: function argumentListClass__closure() {
  20433. },
  20434. argumentListClass__closure0: function argumentListClass__closure0() {
  20435. },
  20436. SassArgumentList$0(contents, keywords, separator) {
  20437. var t1 = type$.Value_2;
  20438. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  20439. t1.SassList$3$brackets0(contents, separator, false);
  20440. return t1;
  20441. },
  20442. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  20443. var _ = this;
  20444. _._argument_list$_keywords = t0;
  20445. _._argument_list$_wereKeywordsAccessed = false;
  20446. _._list1$_contents = t1;
  20447. _._list1$_separator = t2;
  20448. _._list1$_hasBrackets = t3;
  20449. },
  20450. JSArray1: function JSArray1() {
  20451. },
  20452. AsyncImporter0: function AsyncImporter0() {
  20453. },
  20454. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  20455. this._async0$_canonicalize = t0;
  20456. this._load = t1;
  20457. this._nonCanonicalSchemes = t2;
  20458. },
  20459. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  20460. this.$this = t0;
  20461. this.url = t1;
  20462. },
  20463. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  20464. this.$this = t0;
  20465. this.url = t1;
  20466. },
  20467. AsyncBuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  20468. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  20469. },
  20470. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  20471. var _ = this;
  20472. _.name = t0;
  20473. _._async_built_in0$_parameters = t1;
  20474. _._async_built_in0$_callback = t2;
  20475. _.acceptsContent = t3;
  20476. },
  20477. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  20478. this.callback = t0;
  20479. },
  20480. AsyncBuiltInCallable_withDeprecationWarning_closure0: function AsyncBuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2) {
  20481. this.$this = t0;
  20482. this.module = t1;
  20483. this.newName = t2;
  20484. },
  20485. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20486. var $async$goto = 0,
  20487. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20488. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  20489. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20490. if ($async$errorCode === 1)
  20491. return A._asyncRethrow($async$result, $async$completer);
  20492. while (true)
  20493. switch ($async$goto) {
  20494. case 0:
  20495. // Function start
  20496. t1 = type$.Deprecation_3;
  20497. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20498. if (silenceDeprecations != null)
  20499. t2.addAll$1(0, silenceDeprecations);
  20500. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20501. if (fatalDeprecations != null)
  20502. t3.addAll$1(0, fatalDeprecations);
  20503. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20504. if (futureDeprecations != null)
  20505. t4.addAll$1(0, futureDeprecations);
  20506. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20507. logger.validate$0();
  20508. t1 = nodeImporter == null;
  20509. if (t1)
  20510. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  20511. else
  20512. t2 = false;
  20513. $async$goto = t2 ? 3 : 5;
  20514. break;
  20515. case 3:
  20516. // then
  20517. if (importCache == null)
  20518. importCache = A.AsyncImportCache$none();
  20519. t2 = $.$get$FilesystemImporter_cwd0();
  20520. t3 = A.isNodeJs() ? self.process : null;
  20521. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  20522. t3 = A.isNodeJs() ? self.process : null;
  20523. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  20524. } else
  20525. t3 = true;
  20526. if (t3) {
  20527. t3 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  20528. t4 = $.$get$context();
  20529. t3 = A._realCasePath0(t4.normalize$1(t3));
  20530. } else {
  20531. t3 = $.$get$context();
  20532. t4 = t3.canonicalize$1(0, path);
  20533. t0 = t4;
  20534. t4 = t3;
  20535. t3 = t0;
  20536. }
  20537. $async$goto = 6;
  20538. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  20539. case 6:
  20540. // returning from await.
  20541. t4 = $async$result;
  20542. t4.toString;
  20543. stylesheet = t4;
  20544. // goto join
  20545. $async$goto = 4;
  20546. break;
  20547. case 5:
  20548. // else
  20549. t2 = A.readFile0(path);
  20550. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  20551. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  20552. case 4:
  20553. // join
  20554. $async$goto = 7;
  20555. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  20556. case 7:
  20557. // returning from await.
  20558. result = $async$result;
  20559. logger.summarize$1$js(!t1);
  20560. $async$returnValue = result;
  20561. // goto return
  20562. $async$goto = 1;
  20563. break;
  20564. case 1:
  20565. // return
  20566. return A._asyncReturn($async$returnValue, $async$completer);
  20567. }
  20568. });
  20569. return A._asyncStartSync($async$compileAsync0, $async$completer);
  20570. },
  20571. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20572. var $async$goto = 0,
  20573. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20574. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  20575. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20576. if ($async$errorCode === 1)
  20577. return A._asyncRethrow($async$result, $async$completer);
  20578. while (true)
  20579. switch ($async$goto) {
  20580. case 0:
  20581. // Function start
  20582. t1 = type$.Deprecation_3;
  20583. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20584. if (silenceDeprecations != null)
  20585. t2.addAll$1(0, silenceDeprecations);
  20586. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20587. if (fatalDeprecations != null)
  20588. t3.addAll$1(0, fatalDeprecations);
  20589. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20590. if (futureDeprecations != null)
  20591. t4.addAll$1(0, futureDeprecations);
  20592. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20593. logger.validate$0();
  20594. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  20595. _0_0 = stylesheet.span.file.url;
  20596. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  20597. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  20598. if (importer == null)
  20599. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  20600. else
  20601. t1 = importer;
  20602. $async$goto = 3;
  20603. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  20604. case 3:
  20605. // returning from await.
  20606. result = $async$result;
  20607. logger.summarize$1$js(nodeImporter != null);
  20608. $async$returnValue = result;
  20609. // goto return
  20610. $async$goto = 1;
  20611. break;
  20612. case 1:
  20613. // return
  20614. return A._asyncReturn($async$returnValue, $async$completer);
  20615. }
  20616. });
  20617. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  20618. },
  20619. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20620. var $async$goto = 0,
  20621. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20622. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  20623. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20624. if ($async$errorCode === 1)
  20625. return A._asyncRethrow($async$result, $async$completer);
  20626. while (true)
  20627. switch ($async$goto) {
  20628. case 0:
  20629. // Function start
  20630. if (nodeImporter != null)
  20631. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  20632. $async$goto = 3;
  20633. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  20634. case 3:
  20635. // returning from await.
  20636. evaluateResult = $async$result;
  20637. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  20638. resultSourceMap = serializeResult._1;
  20639. if (resultSourceMap != null && importCache != null)
  20640. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  20641. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  20642. // goto return
  20643. $async$goto = 1;
  20644. break;
  20645. case 1:
  20646. // return
  20647. return A._asyncReturn($async$returnValue, $async$completer);
  20648. }
  20649. });
  20650. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  20651. },
  20652. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  20653. this.stylesheet = t0;
  20654. this.importCache = t1;
  20655. },
  20656. AsyncEnvironment$0() {
  20657. var t1 = type$.String,
  20658. t2 = type$.Module_AsyncCallable_2,
  20659. t3 = type$.AstNode_2,
  20660. t4 = type$.int,
  20661. t5 = type$.AsyncCallable_2,
  20662. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  20663. 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));
  20664. },
  20665. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  20666. var t1 = type$.String,
  20667. t2 = type$.int;
  20668. 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);
  20669. },
  20670. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  20671. var t1, t2, t3, t4, t5, t6, module, result, t7;
  20672. if (forwarded == null)
  20673. forwarded = B.Set_empty7;
  20674. t1 = type$.dynamic;
  20675. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  20676. 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();) {
  20677. t6 = t4.get$current(t4);
  20678. module = t6._0;
  20679. result = A.List_List$from(t6._1, false, t5);
  20680. result.$flags = 3;
  20681. t1.$indexSet(0, module, result);
  20682. }
  20683. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  20684. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  20685. 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);
  20686. 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);
  20687. t5 = type$.Map_String_AsyncCallable_2;
  20688. t6 = type$.AsyncCallable_2;
  20689. 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);
  20690. 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);
  20691. 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());
  20692. 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()));
  20693. },
  20694. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  20695. var modulesByVariable, t1, t2, t3, t4, t5;
  20696. if (forwarded.get$isEmpty(forwarded))
  20697. return B.Map_empty17;
  20698. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  20699. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  20700. t2 = t1.get$current(t1);
  20701. if (t2 instanceof A._EnvironmentModule2) {
  20702. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  20703. t4 = t3.get$current(t3);
  20704. t5 = t4.get$variables();
  20705. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  20706. }
  20707. t3 = B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables);
  20708. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20709. } else {
  20710. t3 = t2.get$variables();
  20711. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20712. }
  20713. }
  20714. return modulesByVariable;
  20715. },
  20716. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  20717. var t1, t2, t3;
  20718. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  20719. if (otherMaps.get$isEmpty(otherMaps))
  20720. return localMap;
  20721. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  20722. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  20723. t3 = t2.get$current(t2);
  20724. if (t3.get$isNotEmpty(t3))
  20725. t1.push(t3);
  20726. }
  20727. t1.push(localMap);
  20728. if (t1.length === 1)
  20729. return localMap;
  20730. return A.MergedMapView$0(t1, type$.String, $V);
  20731. },
  20732. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  20733. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  20734. },
  20735. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  20736. var _ = this;
  20737. _._async_environment0$_modules = t0;
  20738. _._async_environment0$_namespaceNodes = t1;
  20739. _._async_environment0$_globalModules = t2;
  20740. _._async_environment0$_importedModules = t3;
  20741. _._async_environment0$_forwardedModules = t4;
  20742. _._async_environment0$_nestedForwardedModules = t5;
  20743. _._async_environment0$_allModules = t6;
  20744. _._async_environment0$_variables = t7;
  20745. _._async_environment0$_variableNodes = t8;
  20746. _._async_environment0$_variableIndices = t9;
  20747. _._async_environment0$_functions = t10;
  20748. _._async_environment0$_functionIndices = t11;
  20749. _._async_environment0$_mixins = t12;
  20750. _._async_environment0$_mixinIndices = t13;
  20751. _._async_environment0$_content = t14;
  20752. _._async_environment0$_configurableVariables = t15;
  20753. _._async_environment0$_inMixin = false;
  20754. _._async_environment0$_inSemiGlobalScope = true;
  20755. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  20756. },
  20757. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  20758. this.name = t0;
  20759. },
  20760. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  20761. this.$this = t0;
  20762. this.name = t1;
  20763. },
  20764. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  20765. this.name = t0;
  20766. },
  20767. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  20768. this.$this = t0;
  20769. this.name = t1;
  20770. },
  20771. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  20772. this.name = t0;
  20773. },
  20774. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  20775. this.name = t0;
  20776. },
  20777. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  20778. },
  20779. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  20780. },
  20781. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  20782. var _ = this;
  20783. _.upstream = t0;
  20784. _.variables = t1;
  20785. _.variableNodes = t2;
  20786. _.functions = t3;
  20787. _.mixins = t4;
  20788. _.extensionStore = t5;
  20789. _.css = t6;
  20790. _.preModuleComments = t7;
  20791. _.transitivelyContainsCss = t8;
  20792. _.transitivelyContainsExtensions = t9;
  20793. _._async_environment0$_environment = t10;
  20794. _._async_environment0$_modulesByVariable = t11;
  20795. },
  20796. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  20797. },
  20798. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  20799. },
  20800. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20801. },
  20802. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20803. },
  20804. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20805. },
  20806. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20807. },
  20808. _EnvironmentModule_couldHaveBeenConfigured_closure2: function _EnvironmentModule_couldHaveBeenConfigured_closure2(t0) {
  20809. this.variables = t0;
  20810. },
  20811. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20812. var t4,
  20813. t1 = type$.Uri,
  20814. t2 = type$.Module_AsyncCallable_2,
  20815. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20816. if (importCache == null)
  20817. t4 = nodeImporter == null ? A.AsyncImportCache$none() : null;
  20818. else
  20819. t4 = importCache;
  20820. 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);
  20821. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20822. return t1;
  20823. },
  20824. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  20825. var _ = this;
  20826. _._async_evaluate0$_importCache = t0;
  20827. _._async_evaluate0$_nodeImporter = t1;
  20828. _._async_evaluate0$_builtInFunctions = t2;
  20829. _._async_evaluate0$_builtInModules = t3;
  20830. _._async_evaluate0$_modules = t4;
  20831. _._async_evaluate0$_moduleConfigurations = t5;
  20832. _._async_evaluate0$_moduleNodes = t6;
  20833. _._async_evaluate0$_logger = t7;
  20834. _._async_evaluate0$_warningsEmitted = t8;
  20835. _._async_evaluate0$_quietDeps = t9;
  20836. _._async_evaluate0$_sourceMap = t10;
  20837. _._async_evaluate0$_compileContext = t11;
  20838. _._async_evaluate0$_environment = t12;
  20839. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20840. _._async_evaluate0$_member = "root stylesheet";
  20841. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
  20842. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20843. _._async_evaluate0$_loadedUrls = t13;
  20844. _._async_evaluate0$_activeModules = t14;
  20845. _._async_evaluate0$_stack = t15;
  20846. _._async_evaluate0$_importer = null;
  20847. _._async_evaluate0$_inDependency = false;
  20848. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20849. _._async_evaluate0$_configuration = t16;
  20850. },
  20851. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20852. this.$this = t0;
  20853. },
  20854. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  20855. this.$this = t0;
  20856. },
  20857. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  20858. this.$this = t0;
  20859. },
  20860. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  20861. this.$this = t0;
  20862. },
  20863. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  20864. this.$this = t0;
  20865. },
  20866. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  20867. this.$this = t0;
  20868. },
  20869. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  20870. this.$this = t0;
  20871. },
  20872. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  20873. this.$this = t0;
  20874. },
  20875. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  20876. this.$this = t0;
  20877. },
  20878. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  20879. this.$this = t0;
  20880. this.name = t1;
  20881. this.module = t2;
  20882. },
  20883. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  20884. this.$this = t0;
  20885. },
  20886. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  20887. this.$this = t0;
  20888. this.name = t1;
  20889. this.module = t2;
  20890. },
  20891. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  20892. this.$this = t0;
  20893. },
  20894. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  20895. this.$this = t0;
  20896. },
  20897. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  20898. this.values = t0;
  20899. this.span = t1;
  20900. this.callableNode = t2;
  20901. },
  20902. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  20903. this.$this = t0;
  20904. },
  20905. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  20906. this.$this = t0;
  20907. },
  20908. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  20909. this.$this = t0;
  20910. this.node = t1;
  20911. this.importer = t2;
  20912. },
  20913. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  20914. this.$this = t0;
  20915. this.importer = t1;
  20916. this.node = t2;
  20917. },
  20918. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  20919. this._box_0 = t0;
  20920. this.callback = t1;
  20921. },
  20922. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  20923. var _ = this;
  20924. _.$this = t0;
  20925. _.url = t1;
  20926. _.nodeWithSpan = t2;
  20927. _.baseUrl = t3;
  20928. _.namesInErrors = t4;
  20929. _.configuration = t5;
  20930. _.callback = t6;
  20931. },
  20932. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  20933. this.$this = t0;
  20934. this.message = t1;
  20935. },
  20936. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  20937. this._box_1 = t0;
  20938. this.callback = t1;
  20939. this.firstLoad = t2;
  20940. },
  20941. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  20942. var _ = this;
  20943. _.$this = t0;
  20944. _.importer = t1;
  20945. _.stylesheet = t2;
  20946. _.extensionStore = t3;
  20947. _.configuration = t4;
  20948. _.css = t5;
  20949. _.preModuleComments = t6;
  20950. },
  20951. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  20952. },
  20953. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  20954. this.selectors = t0;
  20955. },
  20956. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  20957. var _ = this;
  20958. _.$this = t0;
  20959. _.seen = t1;
  20960. _.clone = t2;
  20961. _.css = t3;
  20962. _.imports = t4;
  20963. _.sorted = t5;
  20964. },
  20965. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  20966. this.originalSelectors = t0;
  20967. },
  20968. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  20969. },
  20970. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  20971. this.$this = t0;
  20972. this.node = t1;
  20973. },
  20974. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  20975. this.$this = t0;
  20976. this.node = t1;
  20977. },
  20978. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  20979. this.$this = t0;
  20980. this.newParent = t1;
  20981. this.node = t2;
  20982. },
  20983. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  20984. this.$this = t0;
  20985. this.innerScope = t1;
  20986. },
  20987. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  20988. this.$this = t0;
  20989. this.innerScope = t1;
  20990. },
  20991. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  20992. this.innerScope = t0;
  20993. this.callback = t1;
  20994. },
  20995. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  20996. this.$this = t0;
  20997. this.innerScope = t1;
  20998. },
  20999. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  21000. },
  21001. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  21002. this.$this = t0;
  21003. this.innerScope = t1;
  21004. },
  21005. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  21006. this.$this = t0;
  21007. this.content = t1;
  21008. },
  21009. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  21010. this._box_0 = t0;
  21011. this.$this = t1;
  21012. },
  21013. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  21014. this._box_0 = t0;
  21015. this.$this = t1;
  21016. this.nodeWithSpan = t2;
  21017. },
  21018. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  21019. this._box_1 = t0;
  21020. this.$this = t1;
  21021. this.nodeWithSpan = t2;
  21022. },
  21023. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  21024. var _ = this;
  21025. _.$this = t0;
  21026. _.list = t1;
  21027. _.setVariables = t2;
  21028. _.node = t3;
  21029. },
  21030. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  21031. this.$this = t0;
  21032. this.setVariables = t1;
  21033. this.node = t2;
  21034. },
  21035. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  21036. this.$this = t0;
  21037. },
  21038. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  21039. this.$this = t0;
  21040. },
  21041. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  21042. this.$this = t0;
  21043. this.name = t1;
  21044. this.children = t2;
  21045. },
  21046. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  21047. this.$this = t0;
  21048. this.children = t1;
  21049. },
  21050. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  21051. },
  21052. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  21053. this.$this = t0;
  21054. this.node = t1;
  21055. },
  21056. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  21057. this.$this = t0;
  21058. this.node = t1;
  21059. },
  21060. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  21061. this.fromNumber = t0;
  21062. },
  21063. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  21064. this.toNumber = t0;
  21065. this.fromNumber = t1;
  21066. },
  21067. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  21068. var _ = this;
  21069. _._box_0 = t0;
  21070. _.$this = t1;
  21071. _.node = t2;
  21072. _.from = t3;
  21073. _.direction = t4;
  21074. _.fromNumber = t5;
  21075. },
  21076. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  21077. this.$this = t0;
  21078. },
  21079. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  21080. this.$this = t0;
  21081. this.node = t1;
  21082. },
  21083. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  21084. this.$this = t0;
  21085. this.node = t1;
  21086. },
  21087. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  21088. },
  21089. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  21090. this.$this = t0;
  21091. },
  21092. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  21093. this.$this = t0;
  21094. this.clause = t1;
  21095. },
  21096. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  21097. this.$this = t0;
  21098. },
  21099. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  21100. this.$this = t0;
  21101. this.$import = t1;
  21102. },
  21103. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  21104. this.$this = t0;
  21105. },
  21106. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  21107. },
  21108. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  21109. },
  21110. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  21111. var _ = this;
  21112. _._box_0 = t0;
  21113. _.$this = t1;
  21114. _.loadsUserDefinedModules = t2;
  21115. _.environment = t3;
  21116. _.children = t4;
  21117. },
  21118. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  21119. var _ = this;
  21120. _.$this = t0;
  21121. _.$arguments = t1;
  21122. _.mixin = t2;
  21123. _.nodeWithSpanWithoutContent = t3;
  21124. },
  21125. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  21126. var _ = this;
  21127. _.$this = t0;
  21128. _.$arguments = t1;
  21129. _.mixin = t2;
  21130. _.nodeWithSpanWithoutContent = t3;
  21131. },
  21132. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  21133. var _ = this;
  21134. _.$this = t0;
  21135. _.contentCallable = t1;
  21136. _.mixin = t2;
  21137. _.nodeWithSpanWithoutContent = t3;
  21138. },
  21139. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  21140. this.$this = t0;
  21141. this.mixin = t1;
  21142. this.nodeWithSpanWithoutContent = t2;
  21143. },
  21144. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  21145. this.$this = t0;
  21146. this.mixin = t1;
  21147. this.nodeWithSpanWithoutContent = t2;
  21148. },
  21149. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  21150. this.$this = t0;
  21151. this.statement = t1;
  21152. },
  21153. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  21154. this.$this = t0;
  21155. this.node = t1;
  21156. },
  21157. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  21158. this.$this = t0;
  21159. },
  21160. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  21161. this.node = t0;
  21162. },
  21163. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  21164. this.$this = t0;
  21165. this.queries = t1;
  21166. },
  21167. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  21168. var _ = this;
  21169. _.$this = t0;
  21170. _.mergedQueries = t1;
  21171. _.queries = t2;
  21172. _.mergedSources = t3;
  21173. _.node = t4;
  21174. },
  21175. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  21176. this.$this = t0;
  21177. this.node = t1;
  21178. },
  21179. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  21180. this.$this = t0;
  21181. this.node = t1;
  21182. },
  21183. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  21184. this.mergedSources = t0;
  21185. },
  21186. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  21187. this.$this = t0;
  21188. this.node = t1;
  21189. },
  21190. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  21191. },
  21192. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  21193. this.$this = t0;
  21194. this.rule = t1;
  21195. this.node = t2;
  21196. },
  21197. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  21198. this.$this = t0;
  21199. this.node = t1;
  21200. },
  21201. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  21202. },
  21203. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  21204. },
  21205. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  21206. this.$this = t0;
  21207. this.node = t1;
  21208. },
  21209. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  21210. this.$this = t0;
  21211. this.node = t1;
  21212. },
  21213. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  21214. },
  21215. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  21216. this._box_0 = t0;
  21217. this.$this = t1;
  21218. },
  21219. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  21220. this._box_0 = t0;
  21221. this.$this = t1;
  21222. this.node = t2;
  21223. },
  21224. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  21225. this.$this = t0;
  21226. this.node = t1;
  21227. },
  21228. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  21229. this.$this = t0;
  21230. this.node = t1;
  21231. this.value = t2;
  21232. },
  21233. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  21234. this.$this = t0;
  21235. this.node = t1;
  21236. },
  21237. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  21238. this.$this = t0;
  21239. this.node = t1;
  21240. },
  21241. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  21242. this.$this = t0;
  21243. this.node = t1;
  21244. },
  21245. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  21246. this.$this = t0;
  21247. },
  21248. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  21249. this.$this = t0;
  21250. this.node = t1;
  21251. },
  21252. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  21253. },
  21254. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  21255. this.$this = t0;
  21256. this.node = t1;
  21257. },
  21258. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  21259. this.node = t0;
  21260. this.operand = t1;
  21261. },
  21262. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  21263. this.$this = t0;
  21264. },
  21265. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  21266. this.$this = t0;
  21267. this.node = t1;
  21268. },
  21269. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  21270. },
  21271. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  21272. this._box_0 = t0;
  21273. this.$this = t1;
  21274. this.node = t2;
  21275. },
  21276. _EvaluateVisitor__visitCalculation_closure2: function _EvaluateVisitor__visitCalculation_closure2(t0, t1) {
  21277. this.$this = t0;
  21278. this.node = t1;
  21279. },
  21280. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  21281. this.$this = t0;
  21282. this.node = t1;
  21283. },
  21284. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  21285. var _ = this;
  21286. _._box_0 = t0;
  21287. _.$this = t1;
  21288. _.node = t2;
  21289. _.inLegacySassFunction = t3;
  21290. },
  21291. _EvaluateVisitor__visitCalculationExpression__closure2: function _EvaluateVisitor__visitCalculationExpression__closure2(t0, t1) {
  21292. this.$this = t0;
  21293. this.node = t1;
  21294. },
  21295. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  21296. this.$this = t0;
  21297. this.node = t1;
  21298. this.$function = t2;
  21299. },
  21300. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  21301. var _ = this;
  21302. _.$this = t0;
  21303. _.callable = t1;
  21304. _.evaluated = t2;
  21305. _.nodeWithSpan = t3;
  21306. _.run = t4;
  21307. _.V = t5;
  21308. },
  21309. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  21310. var _ = this;
  21311. _.$this = t0;
  21312. _.evaluated = t1;
  21313. _.callable = t2;
  21314. _.nodeWithSpan = t3;
  21315. _.run = t4;
  21316. _.V = t5;
  21317. },
  21318. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  21319. var _ = this;
  21320. _.$this = t0;
  21321. _.evaluated = t1;
  21322. _.callable = t2;
  21323. _.nodeWithSpan = t3;
  21324. _.run = t4;
  21325. _.V = t5;
  21326. },
  21327. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  21328. },
  21329. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  21330. this.$this = t0;
  21331. this.callable = t1;
  21332. },
  21333. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  21334. this._box_0 = t0;
  21335. this.evaluated = t1;
  21336. this.namedSet = t2;
  21337. },
  21338. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  21339. this._box_0 = t0;
  21340. this.evaluated = t1;
  21341. },
  21342. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  21343. },
  21344. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  21345. },
  21346. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  21347. this.$this = t0;
  21348. this.restNodeForSpan = t1;
  21349. },
  21350. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  21351. var _ = this;
  21352. _.$this = t0;
  21353. _.named = t1;
  21354. _.restNodeForSpan = t2;
  21355. _.namedNodes = t3;
  21356. },
  21357. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  21358. },
  21359. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  21360. this.restArgs = t0;
  21361. },
  21362. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  21363. this.$this = t0;
  21364. this.restNodeForSpan = t1;
  21365. this.restArgs = t2;
  21366. },
  21367. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  21368. var _ = this;
  21369. _.$this = t0;
  21370. _.named = t1;
  21371. _.restNodeForSpan = t2;
  21372. _.restArgs = t3;
  21373. },
  21374. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  21375. this.$this = t0;
  21376. this.keywordRestNodeForSpan = t1;
  21377. this.keywordRestArgs = t2;
  21378. },
  21379. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  21380. var _ = this;
  21381. _.$this = t0;
  21382. _.values = t1;
  21383. _.convert = t2;
  21384. _.expressionNode = t3;
  21385. _.map = t4;
  21386. _.nodeWithSpan = t5;
  21387. },
  21388. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  21389. this.parameters = t0;
  21390. this.positional = t1;
  21391. this.named = t2;
  21392. },
  21393. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  21394. this.$this = t0;
  21395. this.node = t1;
  21396. },
  21397. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  21398. },
  21399. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  21400. this.$this = t0;
  21401. this.node = t1;
  21402. },
  21403. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  21404. },
  21405. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  21406. this.$this = t0;
  21407. this.node = t1;
  21408. },
  21409. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  21410. var _ = this;
  21411. _.$this = t0;
  21412. _.mergedQueries = t1;
  21413. _.node = t2;
  21414. _.mergedSources = t3;
  21415. },
  21416. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  21417. this.$this = t0;
  21418. this.node = t1;
  21419. },
  21420. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  21421. this.$this = t0;
  21422. this.node = t1;
  21423. },
  21424. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  21425. this.mergedSources = t0;
  21426. },
  21427. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  21428. this.$this = t0;
  21429. this.rule = t1;
  21430. this.node = t2;
  21431. },
  21432. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  21433. this.$this = t0;
  21434. this.node = t1;
  21435. },
  21436. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  21437. },
  21438. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  21439. this.$this = t0;
  21440. this.node = t1;
  21441. },
  21442. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  21443. this.$this = t0;
  21444. this.node = t1;
  21445. },
  21446. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  21447. },
  21448. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  21449. this.interpolation = t0;
  21450. },
  21451. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  21452. this.value = t0;
  21453. this.quote = t1;
  21454. },
  21455. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  21456. this.$this = t0;
  21457. this.expression = t1;
  21458. },
  21459. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  21460. },
  21461. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  21462. this.$this = t0;
  21463. },
  21464. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  21465. this._async_evaluate0$_visitor = t0;
  21466. },
  21467. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  21468. },
  21469. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  21470. this.hasBeenMerged = t0;
  21471. },
  21472. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  21473. },
  21474. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  21475. },
  21476. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  21477. this._async_evaluate0$_visitor = t0;
  21478. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  21479. },
  21480. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  21481. this._findFileUrl = t0;
  21482. },
  21483. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  21484. this.$this = t0;
  21485. this.url = t1;
  21486. },
  21487. AsyncImportCache$(importers, loadPaths, packageConfig) {
  21488. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21489. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21490. t3 = type$.Uri;
  21491. 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));
  21492. },
  21493. AsyncImportCache$none() {
  21494. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21495. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21496. t3 = type$.Uri;
  21497. 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));
  21498. },
  21499. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  21500. var t1, t2, t3, t4, _i, path, _null = null,
  21501. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  21502. if (A.isBrowser()) {
  21503. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21504. if (importers != null)
  21505. B.JSArray_methods.addAll$1(t1, importers);
  21506. return t1;
  21507. }
  21508. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21509. if (importers != null)
  21510. B.JSArray_methods.addAll$1(t1, importers);
  21511. if (loadPaths != null)
  21512. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  21513. t3 = t2.get$current(t2);
  21514. 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));
  21515. }
  21516. if (sassPath != null) {
  21517. t2 = A.isNodeJs() ? self.process : _null;
  21518. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  21519. t4 = t3.length;
  21520. _i = 0;
  21521. for (; _i < t4; ++_i) {
  21522. path = t3[_i];
  21523. 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));
  21524. }
  21525. }
  21526. return t1;
  21527. },
  21528. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  21529. var _ = this;
  21530. _._async_import_cache0$_importers = t0;
  21531. _._async_import_cache0$_canonicalizeCache = t1;
  21532. _._async_import_cache0$_perImporterCanonicalizeCache = t2;
  21533. _._async_import_cache0$_nonCanonicalRelativeUrls = t3;
  21534. _._async_import_cache0$_importCache = t4;
  21535. _._async_import_cache0$_resultsCache = t5;
  21536. _._async_import_cache0$_loadTimes = t6;
  21537. },
  21538. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  21539. var _ = this;
  21540. _.$this = t0;
  21541. _.baseImporter = t1;
  21542. _.resolvedUrl = t2;
  21543. _.baseUrl = t3;
  21544. _.forImport = t4;
  21545. _.key = t5;
  21546. _.url = t6;
  21547. },
  21548. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  21549. this.importer = t0;
  21550. this.url = t1;
  21551. },
  21552. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  21553. var _ = this;
  21554. _.$this = t0;
  21555. _.importer = t1;
  21556. _.canonicalUrl = t2;
  21557. _.originalUrl = t3;
  21558. },
  21559. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  21560. this.canonicalUrl = t0;
  21561. },
  21562. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  21563. },
  21564. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  21565. },
  21566. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  21567. this.canonicalUrl = t0;
  21568. },
  21569. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  21570. this.scanner = t0;
  21571. this._parser1$_interpolationMap = t1;
  21572. },
  21573. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  21574. this.$this = t0;
  21575. },
  21576. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  21577. var _ = this;
  21578. _.include = t0;
  21579. _.names = t1;
  21580. _._at_root_query0$_all = t2;
  21581. _._at_root_query0$_rule = t3;
  21582. },
  21583. AtRootRule$0(children, span, query) {
  21584. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21585. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21586. return new A.AtRootRule0(query, span, t1, t2);
  21587. },
  21588. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  21589. var _ = this;
  21590. _.query = t0;
  21591. _.span = t1;
  21592. _.children = t2;
  21593. _.hasDeclarations = t3;
  21594. },
  21595. ModifiableCssAtRule$0($name, span, childless, value) {
  21596. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21597. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  21598. },
  21599. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  21600. var _ = this;
  21601. _.name = t0;
  21602. _.value = t1;
  21603. _.isChildless = t2;
  21604. _.span = t3;
  21605. _.children = t4;
  21606. _._node$_children = t5;
  21607. _._node$_indexInParent = _._node$_parent = null;
  21608. _.isGroupEnd = false;
  21609. },
  21610. AtRule$0($name, span, children, value) {
  21611. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  21612. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21613. return new A.AtRule0($name, value, span, t1, t2 === true);
  21614. },
  21615. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  21616. var _ = this;
  21617. _.name = t0;
  21618. _.value = t1;
  21619. _.span = t2;
  21620. _.children = t3;
  21621. _.hasDeclarations = t4;
  21622. },
  21623. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  21624. var _ = this;
  21625. _.name = t0;
  21626. _.op = t1;
  21627. _.value = t2;
  21628. _.modifier = t3;
  21629. _.span = t4;
  21630. },
  21631. AttributeOperator0: function AttributeOperator0(t0, t1) {
  21632. this._attribute0$_text = t0;
  21633. this._name = t1;
  21634. },
  21635. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  21636. var _ = this;
  21637. _.operator = t0;
  21638. _.left = t1;
  21639. _.right = t2;
  21640. _.allowsSlash = t3;
  21641. },
  21642. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  21643. var _ = this;
  21644. _.name = t0;
  21645. _.operator = t1;
  21646. _.precedence = t2;
  21647. _.isAssociative = t3;
  21648. _._name = t4;
  21649. },
  21650. BooleanExpression0: function BooleanExpression0(t0, t1) {
  21651. this.value = t0;
  21652. this.span = t1;
  21653. },
  21654. booleanClass_closure: function booleanClass_closure() {
  21655. },
  21656. booleanClass__closure: function booleanClass__closure() {
  21657. },
  21658. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  21659. },
  21660. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  21661. },
  21662. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  21663. },
  21664. SassBoolean0: function SassBoolean0(t0) {
  21665. this.value = t0;
  21666. },
  21667. Box0: function Box0(t0, t1) {
  21668. this._box0$_inner = t0;
  21669. this.$ti = t1;
  21670. },
  21671. ModifiableBox0: function ModifiableBox0(t0, t1) {
  21672. this.value = t0;
  21673. this.$ti = t1;
  21674. },
  21675. BuiltInCallable$function0($name, parameters, callback, url) {
  21676. 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);
  21677. },
  21678. BuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  21679. 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);
  21680. },
  21681. BuiltInCallable$overloadedFunction0($name, overloads) {
  21682. var t2, t3, t4, t5, t6, t7, args, callback,
  21683. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  21684. 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();) {
  21685. t7 = t3.get$current(t3);
  21686. args = t7._0;
  21687. callback = t7._1;
  21688. 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));
  21689. }
  21690. return new A.BuiltInCallable0($name, t1, false);
  21691. },
  21692. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  21693. this.name = t0;
  21694. this._built_in$_overloads = t1;
  21695. this.acceptsContent = t2;
  21696. },
  21697. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  21698. this.callback = t0;
  21699. },
  21700. BuiltInCallable_withDeprecationWarning_closure0: function BuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2, t3) {
  21701. var _ = this;
  21702. _._box_0 = t0;
  21703. _.$this = t1;
  21704. _.module = t2;
  21705. _.newName = t3;
  21706. },
  21707. BuiltInModule$0($name, functions, mixins, variables, $T) {
  21708. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  21709. t2 = A.BuiltInModule__callableMap0(functions, $T),
  21710. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  21711. t4 = variables == null ? B.Map_empty15 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  21712. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  21713. },
  21714. BuiltInModule__callableMap0(callables, $T) {
  21715. var t2, _i, callable,
  21716. t1 = type$.String;
  21717. if (callables == null)
  21718. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21719. else {
  21720. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21721. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  21722. callable = callables[_i];
  21723. t1.$indexSet(0, callable.get$name(callable), callable);
  21724. }
  21725. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21726. }
  21727. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21728. },
  21729. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  21730. var _ = this;
  21731. _.url = t0;
  21732. _.functions = t1;
  21733. _.mixins = t2;
  21734. _.variables = t3;
  21735. _.$ti = t4;
  21736. },
  21737. _assertCalculationValue(arg) {
  21738. var t1;
  21739. $label0$0: {
  21740. if (!(arg instanceof A.SassNumber0))
  21741. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  21742. else
  21743. t1 = true;
  21744. if (t1) {
  21745. t1 = null;
  21746. break $label0$0;
  21747. }
  21748. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  21749. }
  21750. return t1;
  21751. },
  21752. _isValidClampArg(arg) {
  21753. var t1;
  21754. $label0$0: {
  21755. if (!(arg instanceof A.CalculationInterpolation))
  21756. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  21757. else
  21758. t1 = true;
  21759. break $label0$0;
  21760. }
  21761. return t1;
  21762. },
  21763. calculationClass_closure: function calculationClass_closure() {
  21764. },
  21765. calculationClass__closure: function calculationClass__closure() {
  21766. },
  21767. calculationClass__closure0: function calculationClass__closure0() {
  21768. },
  21769. calculationClass__closure1: function calculationClass__closure1() {
  21770. },
  21771. calculationClass__closure2: function calculationClass__closure2() {
  21772. },
  21773. calculationClass__closure3: function calculationClass__closure3() {
  21774. },
  21775. calculationClass__closure4: function calculationClass__closure4() {
  21776. },
  21777. calculationClass__closure5: function calculationClass__closure5() {
  21778. },
  21779. calculationOperationClass_closure: function calculationOperationClass_closure() {
  21780. },
  21781. calculationOperationClass__closure: function calculationOperationClass__closure() {
  21782. },
  21783. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  21784. this.strOperator = t0;
  21785. },
  21786. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  21787. },
  21788. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  21789. },
  21790. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  21791. },
  21792. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  21793. },
  21794. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  21795. },
  21796. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21797. },
  21798. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21799. },
  21800. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21801. },
  21802. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21803. },
  21804. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21805. },
  21806. SassCalculation_calc0(argument) {
  21807. var t1,
  21808. _0_0 = A.SassCalculation__simplify0(argument);
  21809. $label0$0: {
  21810. if (_0_0 instanceof A.SassNumber0) {
  21811. t1 = _0_0;
  21812. break $label0$0;
  21813. }
  21814. if (_0_0 instanceof A.SassCalculation0) {
  21815. t1 = _0_0;
  21816. break $label0$0;
  21817. }
  21818. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21819. break $label0$0;
  21820. }
  21821. return t1;
  21822. },
  21823. SassCalculation_min0($arguments) {
  21824. var minimum, _i, arg, t2,
  21825. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21826. t1 = args.length;
  21827. if (t1 === 0)
  21828. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21829. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21830. arg = args[_i];
  21831. if (arg instanceof A.SassNumber0)
  21832. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21833. else
  21834. t2 = true;
  21835. if (t2) {
  21836. minimum = null;
  21837. break;
  21838. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21839. minimum = arg;
  21840. }
  21841. if (minimum != null)
  21842. return minimum;
  21843. A.SassCalculation__verifyCompatibleNumbers0(args);
  21844. return new A.SassCalculation0("min", args);
  21845. },
  21846. SassCalculation_max0($arguments) {
  21847. var maximum, _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$("max() must have at least one argument.", null));
  21852. for (maximum = null, _i = 0; _i < t1; ++_i) {
  21853. arg = args[_i];
  21854. if (arg instanceof A.SassNumber0)
  21855. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  21856. else
  21857. t2 = true;
  21858. if (t2) {
  21859. maximum = null;
  21860. break;
  21861. } else if (maximum == null || maximum.lessThan$1(arg).value)
  21862. maximum = arg;
  21863. }
  21864. if (maximum != null)
  21865. return maximum;
  21866. A.SassCalculation__verifyCompatibleNumbers0(args);
  21867. return new A.SassCalculation0("max", args);
  21868. },
  21869. SassCalculation_hypot0($arguments) {
  21870. var first, subtotal, i, number, value, 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$("hypot() must have at least one argument.", null));
  21875. A.SassCalculation__verifyCompatibleNumbers0(args);
  21876. first = B.JSArray_methods.get$first(args);
  21877. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  21878. return new A.SassCalculation0("hypot", args);
  21879. for (subtotal = 0, i = 0; i < t1;) {
  21880. number = args[i];
  21881. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  21882. return new A.SassCalculation0("hypot", args);
  21883. ++i;
  21884. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  21885. subtotal += value * value;
  21886. }
  21887. t1 = Math.sqrt(subtotal);
  21888. t2 = first.get$numeratorUnits(first);
  21889. return A.SassNumber_SassNumber$withUnits0(t1, first.get$denominatorUnits(first), t2);
  21890. },
  21891. SassCalculation_abs0(argument) {
  21892. argument = A.SassCalculation__simplify0(argument);
  21893. if (!(argument instanceof A.SassNumber0))
  21894. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  21895. if (argument.hasUnit$1("%"))
  21896. 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);
  21897. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  21898. },
  21899. SassCalculation_exp0(argument) {
  21900. argument = A.SassCalculation__simplify0(argument);
  21901. if (!(argument instanceof A.SassNumber0))
  21902. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  21903. argument.assertNoUnits$0();
  21904. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  21905. },
  21906. SassCalculation_sign0(argument) {
  21907. var t1, _0_2, t2, arg;
  21908. argument = A.SassCalculation__simplify0(argument);
  21909. $label0$0: {
  21910. t1 = argument instanceof A.SassNumber0;
  21911. if (t1) {
  21912. _0_2 = argument._number1$_value;
  21913. if (!isNaN(_0_2))
  21914. t2 = 0 === _0_2;
  21915. else
  21916. t2 = true;
  21917. } else
  21918. t2 = false;
  21919. if (t2) {
  21920. t1 = argument;
  21921. break $label0$0;
  21922. }
  21923. if (t1) {
  21924. t1 = !argument.hasUnit$1("%");
  21925. arg = argument;
  21926. } else {
  21927. arg = null;
  21928. t1 = false;
  21929. }
  21930. if (t1) {
  21931. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  21932. break $label0$0;
  21933. }
  21934. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  21935. break $label0$0;
  21936. }
  21937. return t1;
  21938. },
  21939. SassCalculation_clamp0(min, value, max) {
  21940. var t1, args;
  21941. if (value == null && max != null)
  21942. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  21943. min = A.SassCalculation__simplify0(min);
  21944. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  21945. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  21946. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  21947. if (value.lessThanOrEquals$1(min).value)
  21948. return min;
  21949. if (value.greaterThanOrEquals$1(max).value)
  21950. return max;
  21951. return value;
  21952. }
  21953. t1 = [min];
  21954. if (value != null)
  21955. t1.push(value);
  21956. if (max != null)
  21957. t1.push(max);
  21958. args = A.List_List$unmodifiable(t1, type$.Object);
  21959. A.SassCalculation__verifyCompatibleNumbers0(args);
  21960. A.SassCalculation__verifyLength0(args, 3);
  21961. return new A.SassCalculation0("clamp", args);
  21962. },
  21963. SassCalculation_pow0(base, exponent) {
  21964. var t1 = A._setArrayType([base], type$.JSArray_Object);
  21965. if (exponent != null)
  21966. t1.push(exponent);
  21967. A.SassCalculation__verifyLength0(t1, 2);
  21968. base = A.SassCalculation__simplify0(base);
  21969. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  21970. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  21971. return new A.SassCalculation0("pow", t1);
  21972. base.assertNoUnits$0();
  21973. exponent.assertNoUnits$0();
  21974. return A.pow1(base, exponent);
  21975. },
  21976. SassCalculation_log0(number, base) {
  21977. var t1, t2;
  21978. number = A.SassCalculation__simplify0(number);
  21979. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  21980. t1 = A._setArrayType([number], type$.JSArray_Object);
  21981. t2 = base != null;
  21982. if (t2)
  21983. t1.push(base);
  21984. if (number instanceof A.SassNumber0)
  21985. t2 = t2 && !(base instanceof A.SassNumber0);
  21986. else
  21987. t2 = true;
  21988. if (t2)
  21989. return new A.SassCalculation0("log", t1);
  21990. number.assertNoUnits$0();
  21991. if (base instanceof A.SassNumber0) {
  21992. base.assertNoUnits$0();
  21993. return A.log0(number, base);
  21994. }
  21995. return A.log0(number, null);
  21996. },
  21997. SassCalculation_atan20(y, x) {
  21998. var t1;
  21999. y = A.SassCalculation__simplify0(y);
  22000. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  22001. t1 = A._setArrayType([y], type$.JSArray_Object);
  22002. if (x != null)
  22003. t1.push(x);
  22004. A.SassCalculation__verifyLength0(t1, 2);
  22005. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22006. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  22007. return new A.SassCalculation0("atan2", t1);
  22008. 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));
  22009. },
  22010. SassCalculation_rem0(dividend, modulus) {
  22011. var t1, result;
  22012. dividend = A.SassCalculation__simplify0(dividend);
  22013. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22014. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22015. if (modulus != null)
  22016. t1.push(modulus);
  22017. A.SassCalculation__verifyLength0(t1, 2);
  22018. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22019. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22020. return new A.SassCalculation0("rem", t1);
  22021. result = dividend.modulo$1(modulus);
  22022. t1 = modulus._number1$_value;
  22023. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  22024. if (t1 == 1 / 0 || t1 == -1 / 0)
  22025. return dividend;
  22026. if (result._number1$_value === 0)
  22027. return result.unaryMinus$0();
  22028. return result.minus$1(modulus);
  22029. }
  22030. return result;
  22031. },
  22032. SassCalculation_mod0(dividend, modulus) {
  22033. var t1;
  22034. dividend = A.SassCalculation__simplify0(dividend);
  22035. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22036. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22037. if (modulus != null)
  22038. t1.push(modulus);
  22039. A.SassCalculation__verifyLength0(t1, 2);
  22040. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22041. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22042. return new A.SassCalculation0("mod", t1);
  22043. return dividend.modulo$1(modulus);
  22044. },
  22045. SassCalculation_roundInternal0(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  22046. var _0_8_isSet, _0_6_isSet, t2, _0_6_isSet0, _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, t3, t4, _0_12_isSet, _0_12_isSet0, rest, _null = null, _s5_ = "round",
  22047. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  22048. _0_6 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  22049. _0_9 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  22050. _0_8 = _null,
  22051. _0_60 = _null,
  22052. _0_10 = _null,
  22053. _0_10_isSet = false,
  22054. _0_90 = _null,
  22055. _0_9_isSet = false,
  22056. number = _null,
  22057. t1 = false;
  22058. if (_0_1 instanceof A.SassNumber0) {
  22059. _0_8_isSet = !_0_1.get$hasUnits();
  22060. if (_0_8_isSet) {
  22061. _0_8 = _0_6 == null;
  22062. _0_10_isSet = _0_8;
  22063. if (_0_10_isSet) {
  22064. _0_10 = _0_9 == null;
  22065. t1 = _0_10;
  22066. _0_90 = _0_9;
  22067. }
  22068. _0_9_isSet = _0_10_isSet;
  22069. _0_60 = _0_6;
  22070. number = _0_1;
  22071. }
  22072. _0_6_isSet = _0_8_isSet;
  22073. } else {
  22074. _0_8_isSet = false;
  22075. _0_6_isSet = false;
  22076. }
  22077. if (t1)
  22078. return A.SassNumber_SassNumber0(B.JSNumber_methods.round$0(number._number1$_value), _null);
  22079. t1 = false;
  22080. if (_0_1 instanceof A.SassNumber0) {
  22081. if (_0_8_isSet)
  22082. t2 = _0_8;
  22083. else {
  22084. if (_0_6_isSet)
  22085. t2 = _0_60;
  22086. else {
  22087. t2 = _0_6;
  22088. _0_60 = t2;
  22089. _0_6_isSet = true;
  22090. }
  22091. _0_8 = t2 == null;
  22092. t2 = _0_8;
  22093. _0_8_isSet = true;
  22094. }
  22095. if (t2) {
  22096. if (_0_10_isSet)
  22097. t1 = _0_10;
  22098. else {
  22099. if (_0_9_isSet)
  22100. t1 = _0_90;
  22101. else {
  22102. t1 = _0_9;
  22103. _0_90 = t1;
  22104. _0_9_isSet = true;
  22105. }
  22106. _0_10 = t1 == null;
  22107. t1 = _0_10;
  22108. _0_10_isSet = true;
  22109. }
  22110. t1 = t1 && inLegacySassFunction != null;
  22111. }
  22112. number = _0_1;
  22113. } else
  22114. number = _null;
  22115. if (t1) {
  22116. warn.call$2(string$.In_fut, B.Deprecation_ZDV);
  22117. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  22118. t2 = number.get$numeratorUnits(number);
  22119. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  22120. }
  22121. step = _null;
  22122. t1 = false;
  22123. if (_0_1 instanceof A.SassNumber0) {
  22124. _0_6_isSet0 = true;
  22125. if (_0_6_isSet)
  22126. t2 = _0_60;
  22127. else {
  22128. t2 = _0_6;
  22129. _0_6_isSet = _0_6_isSet0;
  22130. _0_60 = t2;
  22131. }
  22132. if (t2 instanceof A.SassNumber0) {
  22133. if (_0_6_isSet)
  22134. t2 = _0_60;
  22135. else {
  22136. t2 = _0_6;
  22137. _0_6_isSet = _0_6_isSet0;
  22138. _0_60 = t2;
  22139. }
  22140. type$.SassNumber_2._as(t2);
  22141. if (_0_10_isSet)
  22142. t1 = _0_10;
  22143. else {
  22144. if (_0_9_isSet)
  22145. t1 = _0_90;
  22146. else {
  22147. t1 = _0_9;
  22148. _0_90 = t1;
  22149. _0_9_isSet = true;
  22150. }
  22151. _0_10 = t1 == null;
  22152. t1 = _0_10;
  22153. _0_10_isSet = true;
  22154. }
  22155. t1 = t1 && !_0_1.hasCompatibleUnits$1(t2);
  22156. step = t2;
  22157. }
  22158. number = _0_1;
  22159. } else
  22160. number = _null;
  22161. if (t1) {
  22162. t1 = type$.JSArray_Object;
  22163. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22164. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  22165. }
  22166. step = _null;
  22167. t1 = false;
  22168. if (_0_1 instanceof A.SassNumber0) {
  22169. _0_6_isSet0 = true;
  22170. if (_0_6_isSet)
  22171. t2 = _0_60;
  22172. else {
  22173. t2 = _0_6;
  22174. _0_6_isSet = _0_6_isSet0;
  22175. _0_60 = t2;
  22176. }
  22177. if (t2 instanceof A.SassNumber0) {
  22178. if (_0_6_isSet)
  22179. t2 = _0_60;
  22180. else {
  22181. t2 = _0_6;
  22182. _0_6_isSet = _0_6_isSet0;
  22183. _0_60 = t2;
  22184. }
  22185. type$.SassNumber_2._as(t2);
  22186. if (_0_10_isSet)
  22187. t1 = _0_10;
  22188. else {
  22189. if (_0_9_isSet)
  22190. t1 = _0_90;
  22191. else {
  22192. t1 = _0_9;
  22193. _0_90 = t1;
  22194. _0_9_isSet = true;
  22195. }
  22196. _0_10 = t1 == null;
  22197. t1 = _0_10;
  22198. _0_10_isSet = true;
  22199. }
  22200. step = t2;
  22201. }
  22202. number = _0_1;
  22203. } else
  22204. number = _null;
  22205. if (t1) {
  22206. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22207. return A.SassCalculation__roundWithStep0("nearest", number, step);
  22208. }
  22209. _0_14_isSet = _0_1 instanceof A.SassString0;
  22210. _0_16 = _null;
  22211. _0_18 = _null;
  22212. _0_18_isSet = false;
  22213. _0_20 = _null;
  22214. _0_20_isSet = false;
  22215. strategy = _null;
  22216. number = _null;
  22217. step = _null;
  22218. t1 = false;
  22219. if (_0_14_isSet) {
  22220. _0_6_isSet0 = true;
  22221. _0_9_isSet0 = true;
  22222. _0_12 = _0_1._string0$_text;
  22223. t2 = _0_12;
  22224. _0_14 = "nearest" === t2;
  22225. t2 = _0_14;
  22226. _0_16_isSet = !t2;
  22227. t2 = true;
  22228. if (_0_16_isSet) {
  22229. _0_16 = "up" === _0_12;
  22230. t3 = _0_16;
  22231. _0_18_isSet = !t3;
  22232. if (_0_18_isSet) {
  22233. _0_18 = "down" === _0_12;
  22234. t3 = _0_18;
  22235. _0_20_isSet = !t3;
  22236. if (_0_20_isSet) {
  22237. _0_20 = "to-zero" === _0_12;
  22238. t2 = _0_20;
  22239. }
  22240. }
  22241. }
  22242. if (t2) {
  22243. if (_0_6_isSet)
  22244. t2 = _0_60;
  22245. else {
  22246. t2 = _0_6;
  22247. _0_6_isSet = _0_6_isSet0;
  22248. _0_60 = t2;
  22249. }
  22250. if (t2 instanceof A.SassNumber0) {
  22251. if (_0_6_isSet)
  22252. t2 = _0_60;
  22253. else {
  22254. t2 = _0_6;
  22255. _0_6_isSet = _0_6_isSet0;
  22256. _0_60 = t2;
  22257. }
  22258. t3 = type$.SassNumber_2;
  22259. t3._as(t2);
  22260. if (_0_9_isSet)
  22261. t4 = _0_90;
  22262. else {
  22263. t4 = _0_9;
  22264. _0_9_isSet = _0_9_isSet0;
  22265. _0_90 = t4;
  22266. }
  22267. if (t4 instanceof A.SassNumber0) {
  22268. if (_0_9_isSet)
  22269. t1 = _0_90;
  22270. else {
  22271. t1 = _0_9;
  22272. _0_9_isSet = _0_9_isSet0;
  22273. _0_90 = t1;
  22274. }
  22275. t3._as(t1);
  22276. t3 = !t2.hasCompatibleUnits$1(t1);
  22277. step = t1;
  22278. t1 = t3;
  22279. }
  22280. number = t2;
  22281. }
  22282. strategy = _0_1;
  22283. }
  22284. } else {
  22285. _0_12 = _null;
  22286. _0_14 = _0_12;
  22287. _0_16_isSet = false;
  22288. }
  22289. if (t1) {
  22290. t1 = type$.JSArray_Object;
  22291. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22292. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  22293. }
  22294. strategy = _null;
  22295. number = _null;
  22296. step = _null;
  22297. t1 = false;
  22298. if (_0_1 instanceof A.SassString0) {
  22299. _0_6_isSet0 = true;
  22300. _0_9_isSet0 = true;
  22301. _0_12_isSet = true;
  22302. if (_0_14_isSet) {
  22303. t2 = _0_14;
  22304. _0_12_isSet0 = _0_14_isSet;
  22305. } else {
  22306. _0_12 = _0_1._string0$_text;
  22307. t2 = _0_12;
  22308. _0_14 = "nearest" === t2;
  22309. t2 = _0_14;
  22310. _0_12_isSet0 = _0_12_isSet;
  22311. _0_14_isSet = true;
  22312. }
  22313. t3 = true;
  22314. if (!t2) {
  22315. if (_0_16_isSet)
  22316. t2 = _0_16;
  22317. else {
  22318. if (_0_12_isSet0)
  22319. t2 = _0_12;
  22320. else {
  22321. _0_12 = _0_1._string0$_text;
  22322. t2 = _0_12;
  22323. _0_12_isSet0 = _0_12_isSet;
  22324. }
  22325. _0_16 = "up" === t2;
  22326. t2 = _0_16;
  22327. _0_16_isSet = true;
  22328. }
  22329. if (!t2) {
  22330. if (_0_18_isSet)
  22331. t2 = _0_18;
  22332. else {
  22333. if (_0_12_isSet0)
  22334. t2 = _0_12;
  22335. else {
  22336. _0_12 = _0_1._string0$_text;
  22337. t2 = _0_12;
  22338. _0_12_isSet0 = _0_12_isSet;
  22339. }
  22340. _0_18 = "down" === t2;
  22341. t2 = _0_18;
  22342. _0_18_isSet = true;
  22343. }
  22344. if (!t2)
  22345. if (_0_20_isSet) {
  22346. t2 = _0_20;
  22347. _0_12_isSet = _0_12_isSet0;
  22348. } else {
  22349. if (_0_12_isSet0) {
  22350. t2 = _0_12;
  22351. _0_12_isSet = _0_12_isSet0;
  22352. } else {
  22353. _0_12 = _0_1._string0$_text;
  22354. t2 = _0_12;
  22355. }
  22356. _0_20 = "to-zero" === t2;
  22357. t2 = _0_20;
  22358. _0_20_isSet = true;
  22359. }
  22360. else {
  22361. t2 = t3;
  22362. _0_12_isSet = _0_12_isSet0;
  22363. }
  22364. } else {
  22365. t2 = t3;
  22366. _0_12_isSet = _0_12_isSet0;
  22367. }
  22368. } else {
  22369. t2 = t3;
  22370. _0_12_isSet = _0_12_isSet0;
  22371. }
  22372. if (t2) {
  22373. if (_0_6_isSet)
  22374. t2 = _0_60;
  22375. else {
  22376. t2 = _0_6;
  22377. _0_6_isSet = _0_6_isSet0;
  22378. _0_60 = t2;
  22379. }
  22380. if (t2 instanceof A.SassNumber0) {
  22381. if (_0_6_isSet)
  22382. t2 = _0_60;
  22383. else {
  22384. t2 = _0_6;
  22385. _0_6_isSet = _0_6_isSet0;
  22386. _0_60 = t2;
  22387. }
  22388. t3 = type$.SassNumber_2;
  22389. t3._as(t2);
  22390. if (_0_9_isSet)
  22391. t1 = _0_90;
  22392. else {
  22393. t1 = _0_9;
  22394. _0_9_isSet = _0_9_isSet0;
  22395. _0_90 = t1;
  22396. }
  22397. t1 = t1 instanceof A.SassNumber0;
  22398. if (t1) {
  22399. if (_0_9_isSet)
  22400. t4 = _0_90;
  22401. else {
  22402. t4 = _0_9;
  22403. _0_9_isSet = _0_9_isSet0;
  22404. _0_90 = t4;
  22405. }
  22406. t3._as(t4);
  22407. step = t4;
  22408. }
  22409. number = t2;
  22410. }
  22411. strategy = _0_1;
  22412. }
  22413. } else
  22414. _0_12_isSet = _0_14_isSet;
  22415. if (t1) {
  22416. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22417. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  22418. }
  22419. strategy = _null;
  22420. rest = _null;
  22421. t1 = false;
  22422. if (_0_1 instanceof A.SassString0) {
  22423. _0_6_isSet0 = true;
  22424. _0_12_isSet0 = true;
  22425. if (_0_14_isSet)
  22426. t2 = _0_14;
  22427. else {
  22428. if (_0_12_isSet)
  22429. t2 = _0_12;
  22430. else {
  22431. _0_12 = _0_1._string0$_text;
  22432. t2 = _0_12;
  22433. _0_12_isSet = _0_12_isSet0;
  22434. }
  22435. _0_14 = "nearest" === t2;
  22436. t2 = _0_14;
  22437. _0_14_isSet = true;
  22438. }
  22439. t3 = true;
  22440. if (!t2) {
  22441. if (_0_16_isSet)
  22442. t2 = _0_16;
  22443. else {
  22444. if (_0_12_isSet)
  22445. t2 = _0_12;
  22446. else {
  22447. _0_12 = _0_1._string0$_text;
  22448. t2 = _0_12;
  22449. _0_12_isSet = _0_12_isSet0;
  22450. }
  22451. _0_16 = "up" === t2;
  22452. t2 = _0_16;
  22453. _0_16_isSet = true;
  22454. }
  22455. if (!t2) {
  22456. if (_0_18_isSet)
  22457. t2 = _0_18;
  22458. else {
  22459. if (_0_12_isSet)
  22460. t2 = _0_12;
  22461. else {
  22462. _0_12 = _0_1._string0$_text;
  22463. t2 = _0_12;
  22464. _0_12_isSet = _0_12_isSet0;
  22465. }
  22466. _0_18 = "down" === t2;
  22467. t2 = _0_18;
  22468. _0_18_isSet = true;
  22469. }
  22470. if (!t2)
  22471. if (_0_20_isSet)
  22472. t2 = _0_20;
  22473. else {
  22474. if (_0_12_isSet)
  22475. t2 = _0_12;
  22476. else {
  22477. _0_12 = _0_1._string0$_text;
  22478. t2 = _0_12;
  22479. _0_12_isSet = _0_12_isSet0;
  22480. }
  22481. _0_20 = "to-zero" === t2;
  22482. t2 = _0_20;
  22483. _0_20_isSet = true;
  22484. }
  22485. else
  22486. t2 = t3;
  22487. } else
  22488. t2 = t3;
  22489. } else
  22490. t2 = t3;
  22491. if (t2) {
  22492. if (_0_6_isSet)
  22493. t2 = _0_60;
  22494. else {
  22495. t2 = _0_6;
  22496. _0_6_isSet = _0_6_isSet0;
  22497. _0_60 = t2;
  22498. }
  22499. if (t2 instanceof A.SassString0) {
  22500. if (_0_6_isSet)
  22501. t2 = _0_60;
  22502. else {
  22503. t2 = _0_6;
  22504. _0_6_isSet = _0_6_isSet0;
  22505. _0_60 = t2;
  22506. }
  22507. type$.SassString_2._as(t2);
  22508. if (_0_10_isSet)
  22509. t1 = _0_10;
  22510. else {
  22511. if (_0_9_isSet)
  22512. t1 = _0_90;
  22513. else {
  22514. t1 = _0_9;
  22515. _0_90 = t1;
  22516. _0_9_isSet = true;
  22517. }
  22518. _0_10 = t1 == null;
  22519. t1 = _0_10;
  22520. _0_10_isSet = true;
  22521. }
  22522. rest = t2;
  22523. }
  22524. strategy = _0_1;
  22525. }
  22526. }
  22527. if (t1)
  22528. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  22529. t1 = false;
  22530. if (_0_1 instanceof A.SassString0) {
  22531. _0_12_isSet0 = true;
  22532. if (_0_14_isSet)
  22533. t2 = _0_14;
  22534. else {
  22535. if (_0_12_isSet)
  22536. t2 = _0_12;
  22537. else {
  22538. _0_12 = _0_1._string0$_text;
  22539. t2 = _0_12;
  22540. _0_12_isSet = _0_12_isSet0;
  22541. }
  22542. _0_14 = "nearest" === t2;
  22543. t2 = _0_14;
  22544. _0_14_isSet = true;
  22545. }
  22546. t3 = true;
  22547. if (!t2) {
  22548. if (_0_16_isSet)
  22549. t2 = _0_16;
  22550. else {
  22551. if (_0_12_isSet)
  22552. t2 = _0_12;
  22553. else {
  22554. _0_12 = _0_1._string0$_text;
  22555. t2 = _0_12;
  22556. _0_12_isSet = _0_12_isSet0;
  22557. }
  22558. _0_16 = "up" === t2;
  22559. t2 = _0_16;
  22560. _0_16_isSet = true;
  22561. }
  22562. if (!t2) {
  22563. if (_0_18_isSet)
  22564. t2 = _0_18;
  22565. else {
  22566. if (_0_12_isSet)
  22567. t2 = _0_12;
  22568. else {
  22569. _0_12 = _0_1._string0$_text;
  22570. t2 = _0_12;
  22571. _0_12_isSet = _0_12_isSet0;
  22572. }
  22573. _0_18 = "down" === t2;
  22574. t2 = _0_18;
  22575. _0_18_isSet = true;
  22576. }
  22577. if (!t2)
  22578. if (_0_20_isSet)
  22579. t2 = _0_20;
  22580. else {
  22581. if (_0_12_isSet)
  22582. t2 = _0_12;
  22583. else {
  22584. _0_12 = _0_1._string0$_text;
  22585. t2 = _0_12;
  22586. _0_12_isSet = _0_12_isSet0;
  22587. }
  22588. _0_20 = "to-zero" === t2;
  22589. t2 = _0_20;
  22590. _0_20_isSet = true;
  22591. }
  22592. else
  22593. t2 = t3;
  22594. } else
  22595. t2 = t3;
  22596. } else
  22597. t2 = t3;
  22598. if (t2) {
  22599. if (_0_6_isSet)
  22600. t2 = _0_60;
  22601. else {
  22602. t2 = _0_6;
  22603. _0_60 = t2;
  22604. _0_6_isSet = true;
  22605. }
  22606. if (t2 != null)
  22607. if (_0_10_isSet)
  22608. t1 = _0_10;
  22609. else {
  22610. if (_0_9_isSet)
  22611. t1 = _0_90;
  22612. else {
  22613. t1 = _0_9;
  22614. _0_90 = t1;
  22615. _0_9_isSet = true;
  22616. }
  22617. _0_10 = t1 == null;
  22618. t1 = _0_10;
  22619. _0_10_isSet = true;
  22620. }
  22621. }
  22622. }
  22623. if (t1)
  22624. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  22625. t1 = false;
  22626. if (_0_1 instanceof A.SassString0) {
  22627. _0_12_isSet0 = true;
  22628. if (_0_14_isSet)
  22629. t2 = _0_14;
  22630. else {
  22631. if (_0_12_isSet)
  22632. t2 = _0_12;
  22633. else {
  22634. _0_12 = _0_1._string0$_text;
  22635. t2 = _0_12;
  22636. _0_12_isSet = _0_12_isSet0;
  22637. }
  22638. _0_14 = "nearest" === t2;
  22639. t2 = _0_14;
  22640. _0_14_isSet = true;
  22641. }
  22642. t3 = true;
  22643. if (!t2) {
  22644. if (_0_16_isSet)
  22645. t2 = _0_16;
  22646. else {
  22647. if (_0_12_isSet)
  22648. t2 = _0_12;
  22649. else {
  22650. _0_12 = _0_1._string0$_text;
  22651. t2 = _0_12;
  22652. _0_12_isSet = _0_12_isSet0;
  22653. }
  22654. _0_16 = "up" === t2;
  22655. t2 = _0_16;
  22656. _0_16_isSet = true;
  22657. }
  22658. if (!t2) {
  22659. if (_0_18_isSet)
  22660. t2 = _0_18;
  22661. else {
  22662. if (_0_12_isSet)
  22663. t2 = _0_12;
  22664. else {
  22665. _0_12 = _0_1._string0$_text;
  22666. t2 = _0_12;
  22667. _0_12_isSet = _0_12_isSet0;
  22668. }
  22669. _0_18 = "down" === t2;
  22670. t2 = _0_18;
  22671. _0_18_isSet = true;
  22672. }
  22673. if (!t2)
  22674. if (_0_20_isSet)
  22675. t2 = _0_20;
  22676. else {
  22677. if (_0_12_isSet)
  22678. t2 = _0_12;
  22679. else {
  22680. _0_12 = _0_1._string0$_text;
  22681. t2 = _0_12;
  22682. _0_12_isSet = _0_12_isSet0;
  22683. }
  22684. _0_20 = "to-zero" === t2;
  22685. t2 = _0_20;
  22686. _0_20_isSet = true;
  22687. }
  22688. else
  22689. t2 = t3;
  22690. } else
  22691. t2 = t3;
  22692. } else
  22693. t2 = t3;
  22694. if (t2) {
  22695. if (_0_8_isSet)
  22696. t2 = _0_8;
  22697. else {
  22698. if (_0_6_isSet)
  22699. t2 = _0_60;
  22700. else {
  22701. t2 = _0_6;
  22702. _0_60 = t2;
  22703. _0_6_isSet = true;
  22704. }
  22705. _0_8 = t2 == null;
  22706. t2 = _0_8;
  22707. _0_8_isSet = true;
  22708. }
  22709. if (t2)
  22710. if (_0_10_isSet)
  22711. t1 = _0_10;
  22712. else {
  22713. if (_0_9_isSet)
  22714. t1 = _0_90;
  22715. else {
  22716. t1 = _0_9;
  22717. _0_90 = t1;
  22718. _0_9_isSet = true;
  22719. }
  22720. _0_10 = t1 == null;
  22721. t1 = _0_10;
  22722. _0_10_isSet = true;
  22723. }
  22724. }
  22725. }
  22726. if (t1)
  22727. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  22728. t1 = false;
  22729. if (_0_8_isSet)
  22730. t2 = _0_8;
  22731. else {
  22732. if (_0_6_isSet)
  22733. t2 = _0_60;
  22734. else {
  22735. t2 = _0_6;
  22736. _0_60 = t2;
  22737. _0_6_isSet = true;
  22738. }
  22739. _0_8 = t2 == null;
  22740. t2 = _0_8;
  22741. }
  22742. if (t2)
  22743. if (_0_10_isSet)
  22744. t1 = _0_10;
  22745. else {
  22746. if (_0_9_isSet)
  22747. t1 = _0_90;
  22748. else {
  22749. t1 = _0_9;
  22750. _0_90 = t1;
  22751. _0_9_isSet = true;
  22752. }
  22753. _0_10 = t1 == null;
  22754. t1 = _0_10;
  22755. _0_10_isSet = true;
  22756. }
  22757. if (t1)
  22758. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1], type$.JSArray_Object));
  22759. step = _null;
  22760. t1 = false;
  22761. _0_6_isSet0 = true;
  22762. if (_0_6_isSet)
  22763. t2 = _0_60;
  22764. else {
  22765. t2 = _0_6;
  22766. _0_6_isSet = _0_6_isSet0;
  22767. _0_60 = t2;
  22768. }
  22769. if (t2 != null) {
  22770. if (_0_6_isSet)
  22771. step = _0_60;
  22772. else {
  22773. step = _0_6;
  22774. _0_6_isSet = _0_6_isSet0;
  22775. _0_60 = step;
  22776. }
  22777. if (step == null)
  22778. step = A._asObject(step);
  22779. if (_0_10_isSet)
  22780. t1 = _0_10;
  22781. else {
  22782. if (_0_9_isSet)
  22783. t1 = _0_90;
  22784. else {
  22785. t1 = _0_9;
  22786. _0_90 = t1;
  22787. _0_9_isSet = true;
  22788. }
  22789. _0_10 = t1 == null;
  22790. t1 = _0_10;
  22791. }
  22792. }
  22793. if (t1)
  22794. return new A.SassCalculation0(_s5_, A._setArrayType([_0_1, step], type$.JSArray_Object));
  22795. if (_0_1 instanceof A.SassString0) {
  22796. t1 = true;
  22797. if (_0_14_isSet)
  22798. t2 = _0_14;
  22799. else {
  22800. if (_0_12_isSet)
  22801. t2 = _0_12;
  22802. else {
  22803. _0_12 = _0_1._string0$_text;
  22804. t2 = _0_12;
  22805. _0_12_isSet = true;
  22806. }
  22807. _0_14 = "nearest" === t2;
  22808. t2 = _0_14;
  22809. }
  22810. if (!t2) {
  22811. if (_0_16_isSet)
  22812. t2 = _0_16;
  22813. else {
  22814. if (_0_12_isSet)
  22815. t2 = _0_12;
  22816. else {
  22817. _0_12 = _0_1._string0$_text;
  22818. t2 = _0_12;
  22819. _0_12_isSet = true;
  22820. }
  22821. _0_16 = "up" === t2;
  22822. t2 = _0_16;
  22823. }
  22824. if (!t2) {
  22825. if (_0_18_isSet)
  22826. t2 = _0_18;
  22827. else {
  22828. if (_0_12_isSet)
  22829. t2 = _0_12;
  22830. else {
  22831. _0_12 = _0_1._string0$_text;
  22832. t2 = _0_12;
  22833. _0_12_isSet = true;
  22834. }
  22835. _0_18 = "down" === t2;
  22836. t2 = _0_18;
  22837. }
  22838. if (!t2)
  22839. if (_0_20_isSet)
  22840. t1 = _0_20;
  22841. else {
  22842. if (_0_12_isSet)
  22843. t1 = _0_12;
  22844. else {
  22845. _0_12 = _0_1._string0$_text;
  22846. t1 = _0_12;
  22847. }
  22848. _0_20 = "to-zero" === t1;
  22849. t1 = _0_20;
  22850. }
  22851. }
  22852. }
  22853. } else
  22854. t1 = false;
  22855. if (!t1)
  22856. if (_0_1 instanceof A.SassString0)
  22857. t1 = _0_1.get$isVar();
  22858. else
  22859. t1 = false;
  22860. else
  22861. t1 = true;
  22862. number = _null;
  22863. step = _null;
  22864. t2 = false;
  22865. if (t1) {
  22866. _0_6_isSet0 = true;
  22867. _0_9_isSet0 = true;
  22868. type$.SassString_2._as(_0_1);
  22869. if (_0_6_isSet)
  22870. t1 = _0_60;
  22871. else {
  22872. t1 = _0_6;
  22873. _0_6_isSet = _0_6_isSet0;
  22874. _0_60 = t1;
  22875. }
  22876. if (t1 != null) {
  22877. if (_0_6_isSet)
  22878. number = _0_60;
  22879. else {
  22880. number = _0_6;
  22881. _0_6_isSet = _0_6_isSet0;
  22882. _0_60 = number;
  22883. }
  22884. if (number == null)
  22885. number = A._asObject(number);
  22886. if (_0_9_isSet)
  22887. t1 = _0_90;
  22888. else {
  22889. t1 = _0_9;
  22890. _0_9_isSet = _0_9_isSet0;
  22891. _0_90 = t1;
  22892. }
  22893. t1 = t1 != null;
  22894. if (t1) {
  22895. if (_0_9_isSet)
  22896. step = _0_90;
  22897. else {
  22898. step = _0_9;
  22899. _0_9_isSet = _0_9_isSet0;
  22900. _0_90 = step;
  22901. }
  22902. if (step == null)
  22903. step = A._asObject(step);
  22904. }
  22905. } else
  22906. t1 = t2;
  22907. strategy = _0_1;
  22908. } else {
  22909. t1 = t2;
  22910. strategy = _null;
  22911. }
  22912. if (t1)
  22913. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  22914. t1 = false;
  22915. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  22916. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  22917. if (t1)
  22918. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  22919. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  22920. throw A.wrapException(t1);
  22921. },
  22922. SassCalculation_calcSize0(basis, value) {
  22923. var t1 = type$.JSArray_Object,
  22924. t2 = A._setArrayType([basis], t1);
  22925. if (value != null)
  22926. t2.push(value);
  22927. A.SassCalculation__verifyLength0(t2, 2);
  22928. basis = A.SassCalculation__simplify0(basis);
  22929. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  22930. t1 = A._setArrayType([basis], t1);
  22931. if (value != null)
  22932. t1.push(value);
  22933. return new A.SassCalculation0("calc-size", t1);
  22934. },
  22935. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify, warn) {
  22936. var compatible, t1;
  22937. if (!simplify)
  22938. return new A.CalculationOperation0(operator, left, right);
  22939. left = A.SassCalculation__simplify0(left);
  22940. right = A.SassCalculation__simplify0(right);
  22941. if (B.CalculationOperator_F7i0 === operator || B.CalculationOperator_oum0 === operator) {
  22942. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  22943. compatible = left.hasCompatibleUnits$1(right);
  22944. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  22945. 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);
  22946. compatible = true;
  22947. }
  22948. if (compatible)
  22949. return operator === B.CalculationOperator_F7i0 ? left.plus$1(right) : left.minus$1(right);
  22950. }
  22951. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  22952. if (right instanceof A.SassNumber0) {
  22953. t1 = right._number1$_value;
  22954. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  22955. } else
  22956. t1 = false;
  22957. if (t1) {
  22958. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  22959. operator = operator === B.CalculationOperator_F7i0 ? B.CalculationOperator_oum0 : B.CalculationOperator_F7i0;
  22960. }
  22961. return new A.CalculationOperation0(operator, left, right);
  22962. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  22963. return operator === B.CalculationOperator_kkN0 ? left.times$1(right) : left.dividedBy$1(right);
  22964. else
  22965. return new A.CalculationOperation0(operator, left, right);
  22966. },
  22967. SassCalculation__roundWithStep0(strategy, number, step) {
  22968. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  22969. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  22970. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  22971. _0_2 = number._number1$_value;
  22972. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  22973. t1 = step._number1$_value;
  22974. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  22975. } else
  22976. t1 = false;
  22977. if (!t1) {
  22978. t1 = step._number1$_value;
  22979. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  22980. } else
  22981. t1 = true;
  22982. if (t1) {
  22983. t1 = number.get$numeratorUnits(number);
  22984. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  22985. }
  22986. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  22987. return number;
  22988. t1 = step._number1$_value;
  22989. if (t1 == 1 / 0 || t1 == -1 / 0) {
  22990. $label0$0: {
  22991. if (0 === _0_2) {
  22992. t1 = number;
  22993. break $label0$0;
  22994. }
  22995. _0_6 = "nearest" === strategy;
  22996. t1 = _0_6;
  22997. _0_8_isSet = !t1;
  22998. if (_0_8_isSet) {
  22999. _0_8 = "to-zero" === strategy;
  23000. _0_9_isSet = _0_8;
  23001. } else {
  23002. _0_8 = null;
  23003. _0_9_isSet = true;
  23004. }
  23005. if (_0_9_isSet) {
  23006. _0_9 = _0_2 > 0;
  23007. t1 = _0_9;
  23008. } else {
  23009. _0_9 = null;
  23010. t1 = false;
  23011. }
  23012. if (t1) {
  23013. t1 = number.get$numeratorUnits(number);
  23014. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23015. break $label0$0;
  23016. }
  23017. if (!_0_6)
  23018. if (_0_8_isSet)
  23019. t1 = _0_8;
  23020. else {
  23021. _0_8 = "to-zero" === strategy;
  23022. t1 = _0_8;
  23023. }
  23024. else
  23025. t1 = true;
  23026. if (t1) {
  23027. t1 = number.get$numeratorUnits(number);
  23028. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23029. break $label0$0;
  23030. }
  23031. _0_11 = "up" === strategy;
  23032. t1 = _0_11;
  23033. if (t1)
  23034. if (_0_9_isSet)
  23035. t1 = _0_9;
  23036. else {
  23037. _0_9 = _0_2 > 0;
  23038. t1 = _0_9;
  23039. }
  23040. else
  23041. t1 = false;
  23042. if (t1) {
  23043. t1 = number.get$numeratorUnits(number);
  23044. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  23045. break $label0$0;
  23046. }
  23047. if (_0_11) {
  23048. t1 = number.get$numeratorUnits(number);
  23049. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23050. break $label0$0;
  23051. }
  23052. _0_13 = "down" === strategy;
  23053. t1 = _0_13;
  23054. if (t1)
  23055. t1 = _0_2 < 0;
  23056. else
  23057. t1 = false;
  23058. if (t1) {
  23059. t1 = number.get$numeratorUnits(number);
  23060. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  23061. break $label0$0;
  23062. }
  23063. if (_0_13) {
  23064. t1 = number.get$numeratorUnits(number);
  23065. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23066. break $label0$0;
  23067. }
  23068. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  23069. }
  23070. return t1;
  23071. }
  23072. stepWithNumberUnit = step.convertValueToMatch$1(number);
  23073. $label1$1: {
  23074. if ("nearest" === strategy) {
  23075. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  23076. t2 = number.get$numeratorUnits(number);
  23077. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23078. t1 = t2;
  23079. break $label1$1;
  23080. }
  23081. if ("up" === strategy) {
  23082. t2 = _0_2 / stepWithNumberUnit;
  23083. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  23084. t2 = number.get$numeratorUnits(number);
  23085. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23086. t1 = t2;
  23087. break $label1$1;
  23088. }
  23089. if ("down" === strategy) {
  23090. t2 = _0_2 / stepWithNumberUnit;
  23091. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  23092. t2 = number.get$numeratorUnits(number);
  23093. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23094. t1 = t2;
  23095. break $label1$1;
  23096. }
  23097. if ("to-zero" === strategy) {
  23098. t1 = _0_2 / stepWithNumberUnit;
  23099. if (_0_2 < 0) {
  23100. t1 = B.JSNumber_methods.ceil$0(t1);
  23101. t2 = number.get$numeratorUnits(number);
  23102. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23103. t1 = t2;
  23104. } else {
  23105. t1 = B.JSNumber_methods.floor$0(t1);
  23106. t2 = number.get$numeratorUnits(number);
  23107. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23108. t1 = t2;
  23109. }
  23110. break $label1$1;
  23111. }
  23112. t1 = number.get$numeratorUnits(number);
  23113. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23114. break $label1$1;
  23115. }
  23116. return t1;
  23117. },
  23118. SassCalculation__simplify0(arg) {
  23119. var t1, t2, _0_11_isSet, _0_15, _0_12, _0_16_isSet, text, _0_11, _0_16, _0_12_isSet, _0_15_isSet, value, _null = null,
  23120. _s32_ = " can't be used in a calculation.";
  23121. $label0$0: {
  23122. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  23123. t1 = arg;
  23124. break $label0$0;
  23125. }
  23126. if (arg instanceof A.CalculationInterpolation) {
  23127. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  23128. break $label0$0;
  23129. }
  23130. t1 = arg instanceof A.SassString0;
  23131. t2 = _null;
  23132. if (t1 && !arg._string0$_hasQuotes) {
  23133. t1 = arg;
  23134. break $label0$0;
  23135. }
  23136. if (t1)
  23137. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  23138. _0_11_isSet = arg instanceof A.SassCalculation0;
  23139. _0_15 = _null;
  23140. _0_12 = _null;
  23141. _0_16_isSet = false;
  23142. text = _null;
  23143. t1 = false;
  23144. if (_0_11_isSet) {
  23145. _0_11 = "calc" === arg.name;
  23146. if (_0_11) {
  23147. _0_12 = arg.$arguments;
  23148. _0_15 = _0_12.length === 1;
  23149. _0_16_isSet = _0_15;
  23150. if (_0_16_isSet) {
  23151. _0_16 = _0_12[0];
  23152. t2 = _0_16;
  23153. if (t2 instanceof A.SassString0) {
  23154. type$.SassString_2._as(_0_16);
  23155. if (!_0_16._string0$_hasQuotes) {
  23156. text = _0_16._string0$_text;
  23157. t1 = A.SassCalculation__needsParentheses0(text);
  23158. }
  23159. }
  23160. } else
  23161. _0_16 = t2;
  23162. } else
  23163. _0_16 = t2;
  23164. _0_12_isSet = _0_11;
  23165. _0_15_isSet = _0_12_isSet;
  23166. } else {
  23167. _0_16 = t2;
  23168. _0_11 = _null;
  23169. _0_15_isSet = false;
  23170. _0_12_isSet = false;
  23171. }
  23172. if (t1) {
  23173. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  23174. break $label0$0;
  23175. }
  23176. t1 = false;
  23177. if (_0_11_isSet)
  23178. if (_0_11)
  23179. if (_0_15_isSet)
  23180. t1 = _0_15;
  23181. else {
  23182. if (_0_12_isSet)
  23183. t1 = _0_12;
  23184. else {
  23185. _0_12 = arg.$arguments;
  23186. t1 = _0_12;
  23187. _0_12_isSet = true;
  23188. }
  23189. _0_15 = t1.length === 1;
  23190. t1 = _0_15;
  23191. }
  23192. if (t1) {
  23193. if (_0_16_isSet)
  23194. value = _0_16;
  23195. else {
  23196. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  23197. value = _0_16;
  23198. }
  23199. t1 = value;
  23200. break $label0$0;
  23201. }
  23202. if (_0_11_isSet) {
  23203. t1 = arg;
  23204. break $label0$0;
  23205. }
  23206. if (arg instanceof A.Value0)
  23207. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  23208. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  23209. }
  23210. return t1;
  23211. },
  23212. SassCalculation__needsParentheses0(text) {
  23213. var t1, couldBeVar, second, third, fourth, i, t2,
  23214. first = text.charCodeAt(0);
  23215. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  23216. return true;
  23217. t1 = text.length;
  23218. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  23219. if (t1 < 2)
  23220. return false;
  23221. second = text.charCodeAt(1);
  23222. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  23223. return true;
  23224. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  23225. if (t1 < 3)
  23226. return false;
  23227. third = text.charCodeAt(2);
  23228. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  23229. return true;
  23230. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  23231. if (t1 < 4)
  23232. return false;
  23233. fourth = text.charCodeAt(3);
  23234. if (couldBeVar && fourth === 40)
  23235. return true;
  23236. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  23237. return true;
  23238. for (i = 4; i < t1; ++i) {
  23239. t2 = text.charCodeAt(i);
  23240. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  23241. return true;
  23242. }
  23243. return false;
  23244. },
  23245. SassCalculation__verifyCompatibleNumbers0(args) {
  23246. var t1, _i, t2, arg, i, number1, j, number2;
  23247. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  23248. arg = args[_i];
  23249. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  23250. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  23251. }
  23252. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  23253. number1 = args[i];
  23254. if (!(number1 instanceof A.SassNumber0))
  23255. continue;
  23256. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  23257. number2 = args[j];
  23258. if (!(number2 instanceof A.SassNumber0))
  23259. continue;
  23260. if (number1.hasPossiblyCompatibleUnits$1(number2))
  23261. continue;
  23262. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  23263. }
  23264. }
  23265. },
  23266. SassCalculation__verifyLength0(args, expectedLength) {
  23267. var t1;
  23268. if (args.length === expectedLength)
  23269. return;
  23270. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  23271. return;
  23272. t1 = args.length;
  23273. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  23274. },
  23275. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  23276. argument = A.SassCalculation__simplify0(argument);
  23277. if (!(argument instanceof A.SassNumber0))
  23278. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  23279. if (forbidUnits)
  23280. argument.assertNoUnits$0();
  23281. return mathFunc.call$1(argument);
  23282. },
  23283. SassCalculation0: function SassCalculation0(t0, t1) {
  23284. this.name = t0;
  23285. this.$arguments = t1;
  23286. },
  23287. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  23288. },
  23289. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  23290. this._calculation0$_operator = t0;
  23291. this._calculation0$_left = t1;
  23292. this._calculation0$_right = t2;
  23293. },
  23294. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  23295. var _ = this;
  23296. _.name = t0;
  23297. _.operator = t1;
  23298. _.precedence = t2;
  23299. _._name = t3;
  23300. },
  23301. CalculationInterpolation: function CalculationInterpolation(t0) {
  23302. this._calculation0$_value = t0;
  23303. },
  23304. CallableDeclaration0: function CallableDeclaration0() {
  23305. },
  23306. updateCanonicalizeContextPrototype() {
  23307. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  23308. 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));
  23309. return null;
  23310. },
  23311. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  23312. },
  23313. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  23314. },
  23315. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  23316. this._canonicalize_context$_fromImport = t0;
  23317. this._canonicalize_context$_containingUrl = t1;
  23318. this._canonicalize_context$_wasContainingUrlAccessed = false;
  23319. },
  23320. ColorChannel0: function ColorChannel0(t0, t1, t2) {
  23321. this.name = t0;
  23322. this.isPolarAngle = t1;
  23323. this.associatedUnit = t2;
  23324. },
  23325. LinearChannel0: function LinearChannel0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23326. var _ = this;
  23327. _.min = t0;
  23328. _.max = t1;
  23329. _.requiresPercent = t2;
  23330. _.lowerClamped = t3;
  23331. _.upperClamped = t4;
  23332. _.name = t5;
  23333. _.isPolarAngle = t6;
  23334. _.associatedUnit = t7;
  23335. },
  23336. Chokidar0: function Chokidar0() {
  23337. },
  23338. ChokidarOptions0: function ChokidarOptions0() {
  23339. },
  23340. ChokidarWatcher0: function ChokidarWatcher0() {
  23341. },
  23342. ClassSelector0: function ClassSelector0(t0, t1) {
  23343. this.name = t0;
  23344. this.span = t1;
  23345. },
  23346. ClipGamutMap0: function ClipGamutMap0(t0) {
  23347. this.name = t0;
  23348. },
  23349. cloneCssStylesheet0(stylesheet, extensionStore) {
  23350. var _0_0 = extensionStore.clone$0();
  23351. 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);
  23352. },
  23353. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  23354. this._clone_css$_oldToNewSelectors = t0;
  23355. },
  23356. ColorExpression0: function ColorExpression0(t0, t1) {
  23357. this.value = t0;
  23358. this.span = t1;
  23359. },
  23360. _invert0($arguments, global) {
  23361. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  23362. t1 = J.getInterceptor$asx($arguments),
  23363. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  23364. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0))
  23365. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  23366. else
  23367. t2 = true;
  23368. if (t2) {
  23369. if (weightNumber._number1$_value !== 100 || !weightNumber.hasUnit$1("%"))
  23370. throw A.wrapException(string$.Only_oa);
  23371. return A._functionString0("invert", t1.take$1($arguments, 1));
  23372. }
  23373. color = t1.$index($arguments, 0).assertColor$1("color");
  23374. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0)) {
  23375. t1 = color._color0$_space;
  23376. if (!t1.get$isLegacyInternal())
  23377. throw A.wrapException(A.SassScriptException$0(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  23378. A._checkPercent0(weightNumber, _s6_);
  23379. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  23380. channel2 = B.LinearChannel_vJ30;
  23381. 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);
  23382. }
  23383. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  23384. t1.assertUnquoted$1(_s5_);
  23385. space = A.ColorSpace_fromName0(t1._string0$_text, _s5_);
  23386. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  23387. if (A.fuzzyEquals0(weight, 0))
  23388. return color;
  23389. inSpace = color.toSpace$1(space);
  23390. $label0$0: {
  23391. if (B.HwbColorSpace_guQ0 === space) {
  23392. t1 = A._invertChannel0(inSpace, space._space$_channels[0], inSpace.channel0OrNull);
  23393. t2 = inSpace.alphaOrNull;
  23394. if (t2 == null)
  23395. t2 = 0;
  23396. t2 = A.SassColor_SassColor$hwb0(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  23397. t1 = t2;
  23398. break $label0$0;
  23399. }
  23400. if (B.HslColorSpace_JQ20 === space || B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  23401. t1 = space._space$_channels;
  23402. t2 = A._invertChannel0(inSpace, t1[0], inSpace.channel0OrNull);
  23403. t1 = A._invertChannel0(inSpace, t1[2], inSpace.channel2OrNull);
  23404. t3 = inSpace.alphaOrNull;
  23405. if (t3 == null)
  23406. t3 = 0;
  23407. t3 = A.SassColor_SassColor$forSpaceInternal0(space, t2, inSpace.channel1OrNull, t1, t3);
  23408. t1 = t3;
  23409. break $label0$0;
  23410. }
  23411. _1_9 = space._space$_channels;
  23412. channel0 = _1_9[0];
  23413. channel1 = _1_9[1];
  23414. channel2 = _1_9[2];
  23415. t1 = A._invertChannel0(inSpace, channel0, inSpace.channel0OrNull);
  23416. t2 = A._invertChannel0(inSpace, channel1, inSpace.channel1OrNull);
  23417. t3 = A._invertChannel0(inSpace, channel2, inSpace.channel2OrNull);
  23418. t4 = inSpace.alphaOrNull;
  23419. t1 = A.SassColor_SassColor$forSpaceInternal0(space, t1, t2, t3, t4 == null ? 0 : t4);
  23420. break $label0$0;
  23421. }
  23422. 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);
  23423. },
  23424. _invertChannel0(color, channel, value) {
  23425. var _0_2_isSet, _0_2, t1;
  23426. if (value == null)
  23427. A._missingChannelError0(color, channel.name);
  23428. $label0$0: {
  23429. _0_2_isSet = channel instanceof A.LinearChannel0;
  23430. if (_0_2_isSet) {
  23431. _0_2 = channel.min;
  23432. t1 = _0_2;
  23433. t1 = t1 < 0;
  23434. } else {
  23435. _0_2 = null;
  23436. t1 = false;
  23437. }
  23438. if (t1) {
  23439. t1 = -value;
  23440. break $label0$0;
  23441. }
  23442. if (_0_2_isSet)
  23443. t1 = 0 === _0_2;
  23444. else
  23445. t1 = false;
  23446. if (t1) {
  23447. t1 = channel.max - value;
  23448. break $label0$0;
  23449. }
  23450. if (channel.isPolarAngle) {
  23451. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  23452. break $label0$0;
  23453. }
  23454. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  23455. }
  23456. return t1;
  23457. },
  23458. _grayscale0(colorArg) {
  23459. var hsl, t2, oklch,
  23460. color = colorArg.assertColor$1("color"),
  23461. t1 = color._color0$_space;
  23462. if (t1.get$isLegacyInternal()) {
  23463. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  23464. t2 = hsl.alphaOrNull;
  23465. if (t2 == null)
  23466. t2 = 0;
  23467. return A.SassColor_SassColor$hsl0(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  23468. } else {
  23469. oklch = color.toSpace$1(B.OklchColorSpace_9Gj0);
  23470. t2 = oklch.alphaOrNull;
  23471. if (t2 == null)
  23472. t2 = 0;
  23473. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  23474. }
  23475. },
  23476. _updateComponents0($arguments, adjust, change, scale) {
  23477. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  23478. t1 = J.getInterceptor$asx($arguments),
  23479. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  23480. if (argumentList._list1$_contents.length !== 0)
  23481. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  23482. argumentList._argument_list$_wereKeywordsAccessed = true;
  23483. t2 = type$.String;
  23484. t3 = type$.Value_2;
  23485. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, t2, t3);
  23486. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  23487. t1 = keywords.remove$1(0, _s5_);
  23488. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  23489. if (spaceKeyword == null)
  23490. spaceKeyword = _null;
  23491. else
  23492. spaceKeyword.assertUnquoted$1(_s5_);
  23493. alphaArg = keywords.remove$1(0, "alpha");
  23494. t1 = spaceKeyword == null;
  23495. if (t1 && originalColor._color0$_space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  23496. t1 = A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(keywords), new A._updateComponents_closure1(originalColor));
  23497. color = t1 == null ? originalColor : t1;
  23498. } else
  23499. color = A._colorInSpace0(originalColor, t1 ? B.C__SassNull0 : spaceKeyword, true);
  23500. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value_2);
  23501. t1 = color._color0$_space;
  23502. channelInfo = t1._space$_channels;
  23503. for (t2 = A.MapExtensions_get_pairs0(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23504. t3 = {};
  23505. t4 = t2.get$current(t2);
  23506. t3.name = null;
  23507. t3.name = t4._0;
  23508. value = t4._1;
  23509. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure2(t3));
  23510. if (channelIndex === -1)
  23511. throw A.wrapException(A.SassScriptException$0("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  23512. channelArgs[channelIndex] = value;
  23513. }
  23514. if (change)
  23515. result = A._changeColor0(color, channelArgs, alphaArg);
  23516. else {
  23517. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber_2);
  23518. for (i = 0; i < 3; ++i) {
  23519. t3 = channelArgs[i];
  23520. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  23521. }
  23522. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  23523. 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);
  23524. }
  23525. return result.toSpace$2$legacyMissing(originalColor._color0$_space, false);
  23526. },
  23527. _changeColor0(color, channelArgs, alphaArg) {
  23528. var t4, _s5_ = "alpha",
  23529. t1 = A._channelForChange0(channelArgs[0], color, 0),
  23530. t2 = A._channelForChange0(channelArgs[1], color, 1),
  23531. t3 = A._channelForChange0(channelArgs[2], color, 2);
  23532. $label0$0: {
  23533. if (alphaArg == null) {
  23534. t4 = color.alphaOrNull;
  23535. if (t4 == null)
  23536. t4 = 0;
  23537. break $label0$0;
  23538. }
  23539. t4 = A._isNone0(alphaArg);
  23540. if (t4) {
  23541. t4 = null;
  23542. break $label0$0;
  23543. }
  23544. t4 = alphaArg instanceof A.SassNumber0;
  23545. if (t4 && !alphaArg.get$hasUnits()) {
  23546. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  23547. break $label0$0;
  23548. }
  23549. if (t4 && alphaArg.hasUnit$1("%")) {
  23550. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  23551. break $label0$0;
  23552. }
  23553. if (t4) {
  23554. t4 = new A._changeColor_closure0(alphaArg).call$0();
  23555. break $label0$0;
  23556. }
  23557. t4 = A.throwExpression(A.SassScriptException$0(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  23558. }
  23559. return A._colorFromChannels0(color._color0$_space, t1, t2, t3, t4, false, false);
  23560. },
  23561. _channelForChange0(channelArg, color, channel) {
  23562. var _0_0, t1, t2;
  23563. if (channelArg == null) {
  23564. _0_0 = color.get$channelsOrNull()[channel];
  23565. $label0$0: {
  23566. if (_0_0 != null) {
  23567. t1 = color._color0$_space;
  23568. t2 = A.SassNumber_SassNumber0(_0_0, (t1 === B.HslColorSpace_JQ20 || t1 === B.HwbColorSpace_guQ0) && channel > 0 ? "%" : null);
  23569. t1 = t2;
  23570. break $label0$0;
  23571. }
  23572. t1 = null;
  23573. break $label0$0;
  23574. }
  23575. return t1;
  23576. }
  23577. if (A._isNone0(channelArg))
  23578. return null;
  23579. if (channelArg instanceof A.SassNumber0)
  23580. return channelArg;
  23581. throw A.wrapException(A.SassScriptException$0(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._color0$_space._space$_channels[channel].name));
  23582. },
  23583. _scaleChannel0(color, channel, oldValue, factorArg) {
  23584. var t1, factor;
  23585. if (factorArg == null)
  23586. return oldValue;
  23587. if (!(channel instanceof A.LinearChannel0))
  23588. throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.", channel.name));
  23589. if (oldValue == null)
  23590. A._missingChannelError0(color, channel.name);
  23591. t1 = channel.name;
  23592. factorArg.assertUnit$2("%", t1);
  23593. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  23594. $label0$0: {
  23595. if (0 === factor) {
  23596. t1 = oldValue;
  23597. break $label0$0;
  23598. }
  23599. if (factor > 0) {
  23600. t1 = channel.max;
  23601. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  23602. break $label0$0;
  23603. }
  23604. t1 = channel.min;
  23605. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  23606. break $label0$0;
  23607. }
  23608. return t1;
  23609. },
  23610. _adjustColor0(color, channelArgs, alphaArg) {
  23611. var t1 = color._color0$_space,
  23612. t2 = t1._space$_channels;
  23613. 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()));
  23614. },
  23615. _adjustChannel0(color, channel, oldValue, adjustmentArg) {
  23616. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  23617. if (adjustmentArg == null)
  23618. return oldValue;
  23619. if (oldValue == null)
  23620. A._missingChannelError0(color, channel.name);
  23621. $label0$0: {
  23622. _0_1 = color._color0$_space;
  23623. _0_3 = B.HslColorSpace_JQ20 === _0_1;
  23624. t1 = _0_3;
  23625. if (!t1)
  23626. _0_6_isSet = B.HwbColorSpace_guQ0 === _0_1;
  23627. else
  23628. _0_6_isSet = true;
  23629. if (_0_6_isSet) {
  23630. t1 = channel.isPolarAngle;
  23631. _0_6 = channel;
  23632. } else {
  23633. _0_6 = _null;
  23634. t1 = false;
  23635. }
  23636. if (t1) {
  23637. adjustmentArg = A.SassNumber_SassNumber0(A._angleValue0(adjustmentArg, "hue"), _null);
  23638. break $label0$0;
  23639. }
  23640. t1 = false;
  23641. if (_0_3) {
  23642. _0_6_isSet0 = true;
  23643. if (_0_6_isSet)
  23644. t2 = _0_6;
  23645. else {
  23646. t2 = channel;
  23647. _0_6_isSet = _0_6_isSet0;
  23648. _0_6 = t2;
  23649. }
  23650. if (t2 instanceof A.LinearChannel0) {
  23651. if (_0_6_isSet)
  23652. t1 = _0_6;
  23653. else {
  23654. t1 = channel;
  23655. _0_6_isSet = _0_6_isSet0;
  23656. _0_6 = t1;
  23657. }
  23658. _0_11 = type$.LinearChannel_2._as(t1).name;
  23659. t1 = _0_11;
  23660. if ("saturation" !== t1)
  23661. t1 = "lightness" === _0_11;
  23662. else
  23663. t1 = true;
  23664. }
  23665. }
  23666. if (t1) {
  23667. A._checkPercent0(adjustmentArg, channel.name);
  23668. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, "%");
  23669. break $label0$0;
  23670. }
  23671. if (B.LinearChannel_XL80 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  23672. A.warnForDeprecation0("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_vn5);
  23673. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, _null);
  23674. }
  23675. }
  23676. t1 = A._channelFromValue0(channel, adjustmentArg, false);
  23677. t1.toString;
  23678. result = oldValue + t1;
  23679. $label1$1: {
  23680. t1 = channel instanceof A.LinearChannel0;
  23681. min = _null;
  23682. t2 = false;
  23683. if (t1)
  23684. if (channel.lowerClamped) {
  23685. min = channel.min;
  23686. t2 = result < min;
  23687. }
  23688. if (t2) {
  23689. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  23690. break $label1$1;
  23691. }
  23692. max = _null;
  23693. t2 = false;
  23694. if (t1)
  23695. if (channel.upperClamped) {
  23696. max = channel.max;
  23697. t1 = result > max;
  23698. } else
  23699. t1 = t2;
  23700. else
  23701. t1 = t2;
  23702. if (t1) {
  23703. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  23704. break $label1$1;
  23705. }
  23706. t1 = result;
  23707. break $label1$1;
  23708. }
  23709. return t1;
  23710. },
  23711. _sniffLegacyColorSpace0(keywords) {
  23712. var t1, t2;
  23713. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  23714. t2 = t1.__js_helper$_current;
  23715. if ("red" === t2 || "green" === t2 || "blue" === t2)
  23716. return B.RgbColorSpace_i0P0;
  23717. if ("saturation" === t2 || "lightness" === t2)
  23718. return B.HslColorSpace_JQ20;
  23719. if ("whiteness" === t2 || "blackness" === t2)
  23720. return B.HwbColorSpace_guQ0;
  23721. }
  23722. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ20 : null;
  23723. },
  23724. _functionString0($name, $arguments) {
  23725. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  23726. },
  23727. _removedColorFunction0($name, argument, negative) {
  23728. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  23729. },
  23730. _rgb0($name, $arguments) {
  23731. var t3, t4,
  23732. t1 = J.getInterceptor$asx($arguments),
  23733. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23734. t2 = true;
  23735. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23736. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23737. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23738. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23739. t2 = t2 === true;
  23740. }
  23741. if (t2)
  23742. return A._functionString0($name, $arguments);
  23743. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  23744. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  23745. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  23746. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  23747. return A._colorFromChannels0(B.RgbColorSpace_i0P0, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  23748. },
  23749. _rgbTwoArg0($name, $arguments) {
  23750. var t2, color,
  23751. t1 = J.getInterceptor$asx($arguments),
  23752. first = t1.$index($arguments, 0),
  23753. second = t1.$index($arguments, 1);
  23754. if (!first.get$isVar())
  23755. t2 = !(first instanceof A.SassColor0) && second.get$isVar();
  23756. else
  23757. t2 = true;
  23758. if (t2)
  23759. return A._functionString0($name, $arguments);
  23760. color = first.assertColor$1("color");
  23761. if (!color._color0$_space.get$isLegacyInternal())
  23762. throw A.wrapException(A.SassScriptException$0("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  23763. color.assertLegacy$1("color");
  23764. color = color.toSpace$1(B.RgbColorSpace_i0P0);
  23765. if (second.get$isSpecialNumber())
  23766. 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));
  23767. t1 = A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  23768. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23769. },
  23770. _hsl0($name, $arguments) {
  23771. var t3, t4,
  23772. t1 = J.getInterceptor$asx($arguments),
  23773. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23774. t2 = true;
  23775. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23776. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23777. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23778. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23779. t2 = t2 === true;
  23780. }
  23781. if (t2)
  23782. return A._functionString0($name, $arguments);
  23783. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  23784. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  23785. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  23786. t4 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  23787. return A._colorFromChannels0(B.HslColorSpace_JQ20, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  23788. },
  23789. _angleValue0(angleValue, $name) {
  23790. var angle = angleValue.assertNumber$1($name);
  23791. if (angle.compatibleWithUnit$1("deg"))
  23792. return angle.coerceValueToUnit$1("deg");
  23793. 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);
  23794. return angle._number1$_value;
  23795. },
  23796. _checkPercent0(number, $name) {
  23797. if (number.hasUnit$1("%"))
  23798. return;
  23799. 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);
  23800. },
  23801. _percentageOrUnitless0(number, max, $name) {
  23802. var value;
  23803. if (!number.get$hasUnits())
  23804. value = number._number1$_value;
  23805. else if (number.hasUnit$1("%"))
  23806. value = max * number._number1$_value / 100;
  23807. else
  23808. throw A.wrapException(A.SassScriptException$0("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  23809. return value;
  23810. },
  23811. _mixLegacy0(color1, color2, weight) {
  23812. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  23813. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P0),
  23814. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P0),
  23815. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  23816. normalizedWeight = weightScale * 2 - 1,
  23817. t1 = color1.alphaOrNull;
  23818. if (t1 == null)
  23819. t1 = 0;
  23820. t2 = color2.alphaOrNull;
  23821. alphaDistance = t1 - (t2 == null ? 0 : t2);
  23822. t1 = normalizedWeight * alphaDistance;
  23823. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  23824. weight2 = 1 - weight1;
  23825. t1 = rgb1.channel0OrNull;
  23826. if (t1 == null)
  23827. t1 = 0;
  23828. t2 = rgb2.channel0OrNull;
  23829. if (t2 == null)
  23830. t2 = 0;
  23831. t3 = rgb1.channel1OrNull;
  23832. if (t3 == null)
  23833. t3 = 0;
  23834. t4 = rgb2.channel1OrNull;
  23835. if (t4 == null)
  23836. t4 = 0;
  23837. t5 = rgb1.channel2OrNull;
  23838. if (t5 == null)
  23839. t5 = 0;
  23840. t6 = rgb2.channel2OrNull;
  23841. if (t6 == null)
  23842. t6 = 0;
  23843. t7 = rgb1.alphaOrNull;
  23844. if (t7 == null)
  23845. t7 = 0;
  23846. t8 = rgb2.alphaOrNull;
  23847. if (t8 == null)
  23848. t8 = 0;
  23849. return A.SassColor_SassColor$rgbInternal0(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  23850. },
  23851. _opacify0($name, $arguments) {
  23852. var result,
  23853. t1 = J.getInterceptor$asx($arguments),
  23854. color = t1.$index($arguments, 0).assertColor$1("color"),
  23855. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23856. if (!color._color0$_space.get$isLegacyInternal())
  23857. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23858. t1 = color.alphaOrNull;
  23859. if (t1 == null)
  23860. t1 = 0;
  23861. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23862. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23863. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23864. return result;
  23865. },
  23866. _transparentize0($name, $arguments) {
  23867. var result,
  23868. t1 = J.getInterceptor$asx($arguments),
  23869. color = t1.$index($arguments, 0).assertColor$1("color"),
  23870. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23871. if (!color._color0$_space.get$isLegacyInternal())
  23872. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23873. t1 = color.alphaOrNull;
  23874. if (t1 == null)
  23875. t1 = 0;
  23876. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23877. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23878. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23879. return result;
  23880. },
  23881. _colorInSpace0(colorUntyped, spaceUntyped, legacyMissing) {
  23882. var t1, _s5_ = "space",
  23883. color = colorUntyped.assertColor$1("color");
  23884. if (spaceUntyped.$eq(0, B.C__SassNull0))
  23885. return color;
  23886. t1 = spaceUntyped.assertString$1(_s5_);
  23887. t1.assertUnquoted$1(_s5_);
  23888. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName0(t1._string0$_text, _s5_), legacyMissing);
  23889. },
  23890. _parseChannels0(functionName, input, $name, space) {
  23891. 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;
  23892. if (input.get$isVar())
  23893. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23894. parsedSlash = A._parseSlashChannels0(input, $name);
  23895. if (parsedSlash == null)
  23896. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23897. components = parsedSlash._0;
  23898. alphaValue = parsedSlash._1;
  23899. $label0$0: {
  23900. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  23901. _2_1 = _2_0.length;
  23902. if (_2_1 <= 0)
  23903. throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.", $name));
  23904. _2_5 = _2_1 >= 1;
  23905. _2_6_isSet = _2_5;
  23906. t1 = false;
  23907. if (_2_6_isSet) {
  23908. _2_6 = _2_0[0];
  23909. if (_2_6 instanceof A.SassString0) {
  23910. type$.SassString_2._as(_2_6);
  23911. t1 = !_2_6._string0$_hasQuotes && _2_6._string0$_text.toLowerCase() === "from";
  23912. }
  23913. } else
  23914. _2_6 = _null;
  23915. if (t1)
  23916. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23917. t1 = components.get$isVar();
  23918. if (t1) {
  23919. channels = A._setArrayType([components], type$.JSArray_Value_2);
  23920. break $label0$0;
  23921. }
  23922. channels = _null;
  23923. if (_2_5) {
  23924. first = _2_6_isSet ? _2_6 : _2_0[0];
  23925. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  23926. componentList = _2_0;
  23927. } else {
  23928. componentList = channels;
  23929. rest = componentList;
  23930. first = _null;
  23931. }
  23932. if (_2_5) {
  23933. if (space == null) {
  23934. spaceName = first.assertString$1($name);
  23935. spaceName.assertUnquoted$1($name);
  23936. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName0(spaceName._string0$_text, $name);
  23937. 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)
  23938. throw A.wrapException(A.SassScriptException$0(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  23939. channels = rest;
  23940. } else
  23941. channels = componentList;
  23942. for (i = 0; i < channels.length; ++i) {
  23943. channel = channels[i];
  23944. t1 = false;
  23945. if (!channel.get$isSpecialNumber())
  23946. if (!(channel instanceof A.SassNumber0))
  23947. t1 = !(channel instanceof A.SassString0 && !channel._string0$_hasQuotes && channel._string0$_text.toLowerCase() === "none");
  23948. if (t1) {
  23949. t1 = _null;
  23950. if (space == null)
  23951. channelName = t1;
  23952. else {
  23953. t2 = space._space$_channels;
  23954. t2 = i < 3 ? t2[i] : _null;
  23955. if (!(t2 == null))
  23956. t1 = new A._parseChannels_closure1().call$1(t2.name);
  23957. channelName = t1;
  23958. }
  23959. if (channelName == null)
  23960. channelName = "channel " + (i + 1);
  23961. throw A.wrapException(A.SassScriptException$0("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  23962. }
  23963. }
  23964. break $label0$0;
  23965. }
  23966. throw A.wrapException("unreachable");
  23967. }
  23968. t1 = alphaValue == null;
  23969. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  23970. if (t2 === true) {
  23971. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  23972. t1 = A.List_List$_of(channels, type$.Value_2);
  23973. alphaValue.toString;
  23974. t1.push(alphaValue);
  23975. t1 = A._functionString0(functionName, t1);
  23976. } else
  23977. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23978. return t1;
  23979. }
  23980. $label1$1: {
  23981. if (t1) {
  23982. t2 = 1;
  23983. break $label1$1;
  23984. }
  23985. if (alphaValue instanceof A.SassString0 && !alphaValue._string0$_hasQuotes && "none" === alphaValue._string0$_text) {
  23986. t2 = _null;
  23987. break $label1$1;
  23988. }
  23989. t2 = A._percentageOrUnitless0(alphaValue.assertNumber$1($name), 1, "alpha");
  23990. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  23991. break $label1$1;
  23992. }
  23993. if (space == null)
  23994. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23995. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure2())) {
  23996. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  23997. t2 = A.List_List$_of(channels, type$.Value_2);
  23998. if (!t1)
  23999. t2.push(alphaValue);
  24000. t1 = A._functionString0(functionName, t2);
  24001. } else
  24002. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24003. return t1;
  24004. }
  24005. if (channels.length !== 3)
  24006. 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));
  24007. t1 = channels[0];
  24008. t1 = t1 instanceof A.SassNumber0 ? t1 : _null;
  24009. t3 = channels[1];
  24010. t3 = t3 instanceof A.SassNumber0 ? t3 : _null;
  24011. t4 = channels[2];
  24012. t4 = t4 instanceof A.SassNumber0 ? t4 : _null;
  24013. return A._colorFromChannels0(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P0);
  24014. },
  24015. _parseSlashChannels0(input, $name) {
  24016. 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,
  24017. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  24018. $label0$0: {
  24019. _1_1 = _1_0.length;
  24020. alphaValue = _null;
  24021. t1 = false;
  24022. if (_1_1 === 2) {
  24023. components = _1_0[0];
  24024. alphaValue = _1_0[1];
  24025. t1 = input.get$separator(input) === B.ListSeparator_bRz0;
  24026. } else
  24027. components = _null;
  24028. if (t1) {
  24029. t1 = new A._Record_2(components, alphaValue);
  24030. break $label0$0;
  24031. }
  24032. t1 = input.get$separator(input);
  24033. if (t1 === B.ListSeparator_bRz0) {
  24034. t1 = _1_0.length;
  24035. A.throwExpression(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", $name));
  24036. }
  24037. _1_7 = _1_1 >= 1;
  24038. _1_8_isSet = _1_7;
  24039. _1_9 = _null;
  24040. t1 = false;
  24041. if (_1_8_isSet) {
  24042. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24043. initial = _1_8;
  24044. _1_9 = _1_0[_1_1 - 1];
  24045. t2 = _1_9;
  24046. if (t2 instanceof A.SassString0) {
  24047. type$.SassString_2._as(_1_9);
  24048. t1 = !_1_9._string0$_hasQuotes;
  24049. }
  24050. } else {
  24051. initial = _null;
  24052. _1_8 = initial;
  24053. }
  24054. if (t1) {
  24055. if (_1_8_isSet)
  24056. t1 = _1_9;
  24057. else {
  24058. _1_9 = _1_0[_1_1 - 1];
  24059. t1 = _1_9;
  24060. }
  24061. _0_0 = type$.SassString_2._as(t1)._string0$_text.split("/");
  24062. $label1$1: {
  24063. _0_1 = _0_0.length;
  24064. if (_0_1 === 1) {
  24065. t1 = new A._Record_2(input, _null);
  24066. break $label1$1;
  24067. }
  24068. if (_0_1 === 2) {
  24069. channel3 = _0_0[0];
  24070. alpha = _0_0[1];
  24071. t1 = A.List_List$_of(initial, type$.Value_2);
  24072. t1.push(A._parseNumberOrString0(channel3));
  24073. t1 = new A._Record_2(A.SassList$0(t1, B.ListSeparator_qSL0, false), A._parseNumberOrString0(alpha));
  24074. break $label1$1;
  24075. }
  24076. t1 = _null;
  24077. break $label1$1;
  24078. }
  24079. break $label0$0;
  24080. }
  24081. _1_16 = _null;
  24082. _1_16_isSet = false;
  24083. t1 = false;
  24084. if (_1_7) {
  24085. _1_9_isSet = true;
  24086. if (_1_8_isSet)
  24087. initial = _1_8;
  24088. else {
  24089. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24090. initial = _1_8;
  24091. }
  24092. if (_1_8_isSet) {
  24093. t2 = _1_9;
  24094. _1_9_isSet0 = _1_8_isSet;
  24095. } else {
  24096. _1_9 = _1_0[_1_1 - 1];
  24097. t2 = _1_9;
  24098. _1_9_isSet0 = _1_9_isSet;
  24099. }
  24100. _1_16_isSet = t2 instanceof A.SassNumber0;
  24101. if (_1_16_isSet) {
  24102. if (_1_9_isSet0) {
  24103. t1 = _1_9;
  24104. _1_9_isSet = _1_9_isSet0;
  24105. } else {
  24106. _1_9 = _1_0[_1_1 - 1];
  24107. t1 = _1_9;
  24108. }
  24109. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24110. t1 = _1_16;
  24111. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  24112. } else
  24113. _1_9_isSet = _1_9_isSet0;
  24114. } else {
  24115. initial = _null;
  24116. _1_9_isSet = _1_8_isSet;
  24117. }
  24118. if (t1) {
  24119. if (_1_16_isSet)
  24120. t1 = _1_16;
  24121. else {
  24122. if (_1_9_isSet)
  24123. t1 = _1_9;
  24124. else {
  24125. _1_9 = _1_0[_1_1 - 1];
  24126. t1 = _1_9;
  24127. _1_9_isSet = true;
  24128. }
  24129. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24130. t1 = _1_16;
  24131. _1_16_isSet = true;
  24132. }
  24133. if (t1 == null)
  24134. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  24135. if (_1_16_isSet)
  24136. t2 = _1_16;
  24137. else {
  24138. if (_1_9_isSet)
  24139. t2 = _1_9;
  24140. else {
  24141. _1_9 = _1_0[_1_1 - 1];
  24142. t2 = _1_9;
  24143. }
  24144. _1_16 = type$.SassNumber_2._as(t2).asSlash;
  24145. t2 = _1_16;
  24146. }
  24147. if (t2 == null)
  24148. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  24149. t3 = A.List_List$_of(initial, type$.Value_2);
  24150. t3.push(t1._0);
  24151. t1 = new A._Record_2(A.SassList$0(t3, B.ListSeparator_qSL0, false), t2._1);
  24152. break $label0$0;
  24153. }
  24154. t1 = new A._Record_2(input, _null);
  24155. break $label0$0;
  24156. }
  24157. return t1;
  24158. },
  24159. _parseNumberOrString0(text) {
  24160. var t1, expression, exception;
  24161. try {
  24162. t1 = A.ScssParser$0(text, null);
  24163. expression = t1._stylesheet0$_parseSingleProduction$1$1(t1.get$_stylesheet0$_number(), type$.NumberExpression_2);
  24164. t1 = A.SassNumber_SassNumber0(expression.value, expression.unit);
  24165. return t1;
  24166. } catch (exception) {
  24167. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  24168. return new A.SassString0(text, false);
  24169. else
  24170. throw exception;
  24171. }
  24172. },
  24173. _colorFromChannels0(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  24174. var t1, t2, whiteness, blackness, t3;
  24175. switch (space) {
  24176. case B.HslColorSpace_JQ20:
  24177. if (channel1 != null)
  24178. A._checkPercent0(channel1, "saturation");
  24179. if (channel2 != null)
  24180. A._checkPercent0(channel2, "lightness");
  24181. t1 = space._space$_channels;
  24182. 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);
  24183. case B.HwbColorSpace_guQ0:
  24184. t1 = channel1 == null;
  24185. if (!t1)
  24186. channel1.assertUnit$2("%", "whiteness");
  24187. t2 = channel2 == null;
  24188. if (!t2)
  24189. channel2.assertUnit$2("%", "blackness");
  24190. whiteness = t1 ? null : channel1._number1$_value;
  24191. blackness = t2 ? null : channel2._number1$_value;
  24192. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  24193. t1 = whiteness + blackness;
  24194. whiteness = whiteness / t1 * 100;
  24195. blackness = blackness / t1 * 100;
  24196. }
  24197. return A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure2()), whiteness, blackness, alpha);
  24198. case B.RgbColorSpace_i0P0:
  24199. t1 = space._space$_channels;
  24200. t2 = A._channelFromValue0(t1[0], channel0, clamp);
  24201. t3 = A._channelFromValue0(t1[1], channel1, clamp);
  24202. t1 = A._channelFromValue0(t1[2], channel2, clamp);
  24203. return A.SassColor_SassColor$rgbInternal0(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum0 : null);
  24204. default:
  24205. t1 = space._space$_channels;
  24206. 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);
  24207. }
  24208. },
  24209. _forcePercent0(number) {
  24210. var t1, _0_3;
  24211. $label0$0: {
  24212. if (number == null) {
  24213. t1 = null;
  24214. break $label0$0;
  24215. }
  24216. _0_3 = number.get$numeratorUnits(number);
  24217. if (_0_3.length === 1)
  24218. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  24219. else
  24220. t1 = false;
  24221. if (t1) {
  24222. t1 = number;
  24223. break $label0$0;
  24224. }
  24225. t1 = A.SassNumber_SassNumber0(number._number1$_value, "%");
  24226. break $label0$0;
  24227. }
  24228. return t1;
  24229. },
  24230. _channelFromValue0(channel, value, clamp) {
  24231. return A.NullableExtension_andThen0(value, new A._channelFromValue_closure0(channel, clamp));
  24232. },
  24233. _isNone0(value) {
  24234. return value instanceof A.SassString0 && !value._string0$_hasQuotes && value._string0$_text.toLowerCase() === "none";
  24235. },
  24236. _channelFunction0($name, space, getter, global, unit) {
  24237. return A.BuiltInCallable$function0($name, "$color", new A._channelFunction_closure0(getter, unit, global, $name, space), "sass:color");
  24238. },
  24239. _suggestScaleAndAdjust0(original, adjustment, channelName) {
  24240. var t2, oldValue, newValue, factor, t3, suggestion,
  24241. channel = channelName === "alpha" ? B.LinearChannel_XL80 : type$.LinearChannel_2._as(B.JSArray_methods.firstWhere$1(B.List_oAL0, new A._suggestScaleAndAdjust_closure0(channelName))),
  24242. t1 = channel === B.LinearChannel_XL80;
  24243. if (t1) {
  24244. t2 = original.alphaOrNull;
  24245. oldValue = t2 == null ? 0 : t2;
  24246. } else
  24247. oldValue = original.toSpace$1(B.HslColorSpace_JQ20).channel$1(0, channelName);
  24248. newValue = oldValue + adjustment;
  24249. if (adjustment !== 0) {
  24250. factor = A._Cell$();
  24251. t2 = channel.max;
  24252. if (newValue > t2)
  24253. factor.__late_helper$_value = 1;
  24254. else {
  24255. t3 = channel.min;
  24256. if (newValue < t3)
  24257. factor.__late_helper$_value = -1;
  24258. else if (adjustment > 0)
  24259. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  24260. else
  24261. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  24262. }
  24263. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.serializeValue0(A.SassNumber_SassNumber0(factor._readLocal$0() * 100, "%"), false, true) + ")\n");
  24264. } else
  24265. suggestion = "Suggestion:\n\n";
  24266. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.serializeValue0(A.SassNumber_SassNumber0(adjustment, t1 ? null : "%"), false, true) + ")");
  24267. },
  24268. _missingChannelError0(color, channel) {
  24269. return A.throwExpression(A.SassScriptException$0(string$.Becaus + color.toCssString$0() + ").", channel));
  24270. },
  24271. _channelName0(value) {
  24272. var t1 = value.assertString$1("channel");
  24273. t1.assertQuoted$1("channel");
  24274. return t1._string0$_text;
  24275. },
  24276. _function12($name, $arguments, callback) {
  24277. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  24278. },
  24279. global_closure44: function global_closure44() {
  24280. },
  24281. global_closure45: function global_closure45() {
  24282. },
  24283. global_closure46: function global_closure46() {
  24284. },
  24285. global_closure47: function global_closure47() {
  24286. },
  24287. global_closure48: function global_closure48() {
  24288. },
  24289. global_closure49: function global_closure49() {
  24290. },
  24291. global_closure50: function global_closure50() {
  24292. },
  24293. global_closure51: function global_closure51() {
  24294. },
  24295. global_closure52: function global_closure52() {
  24296. },
  24297. global_closure53: function global_closure53() {
  24298. },
  24299. global_closure54: function global_closure54() {
  24300. },
  24301. global_closure55: function global_closure55() {
  24302. },
  24303. global_closure56: function global_closure56() {
  24304. },
  24305. global_closure57: function global_closure57() {
  24306. },
  24307. global_closure58: function global_closure58() {
  24308. },
  24309. global_closure59: function global_closure59() {
  24310. },
  24311. global_closure60: function global_closure60() {
  24312. },
  24313. global_closure61: function global_closure61() {
  24314. },
  24315. global_closure62: function global_closure62() {
  24316. },
  24317. global_closure63: function global_closure63() {
  24318. },
  24319. global_closure64: function global_closure64() {
  24320. },
  24321. global_closure65: function global_closure65() {
  24322. },
  24323. global_closure66: function global_closure66() {
  24324. },
  24325. global_closure67: function global_closure67() {
  24326. },
  24327. global_closure68: function global_closure68() {
  24328. },
  24329. global_closure69: function global_closure69() {
  24330. },
  24331. global_closure70: function global_closure70() {
  24332. },
  24333. global_closure71: function global_closure71() {
  24334. },
  24335. global_closure72: function global_closure72() {
  24336. },
  24337. global_closure73: function global_closure73() {
  24338. },
  24339. global_closure74: function global_closure74() {
  24340. },
  24341. global_closure75: function global_closure75() {
  24342. },
  24343. global_closure76: function global_closure76() {
  24344. },
  24345. global_closure77: function global_closure77() {
  24346. },
  24347. global_closure78: function global_closure78() {
  24348. },
  24349. global_closure79: function global_closure79() {
  24350. },
  24351. global__closure0: function global__closure0() {
  24352. },
  24353. global_closure80: function global_closure80() {
  24354. },
  24355. global_closure81: function global_closure81() {
  24356. },
  24357. global_closure82: function global_closure82() {
  24358. },
  24359. global_closure83: function global_closure83() {
  24360. },
  24361. global_closure84: function global_closure84() {
  24362. },
  24363. global_closure85: function global_closure85() {
  24364. },
  24365. global_closure86: function global_closure86() {
  24366. },
  24367. module_closure27: function module_closure27() {
  24368. },
  24369. module_closure28: function module_closure28() {
  24370. },
  24371. module_closure29: function module_closure29() {
  24372. },
  24373. module_closure30: function module_closure30() {
  24374. },
  24375. module_closure31: function module_closure31() {
  24376. },
  24377. module_closure32: function module_closure32() {
  24378. },
  24379. module_closure33: function module_closure33() {
  24380. },
  24381. module_closure34: function module_closure34() {
  24382. },
  24383. module_closure35: function module_closure35() {
  24384. },
  24385. module_closure36: function module_closure36() {
  24386. },
  24387. module_closure37: function module_closure37() {
  24388. },
  24389. module_closure38: function module_closure38() {
  24390. },
  24391. module_closure39: function module_closure39() {
  24392. },
  24393. module_closure40: function module_closure40() {
  24394. },
  24395. module__closure6: function module__closure6() {
  24396. },
  24397. module_closure41: function module_closure41() {
  24398. },
  24399. module_closure42: function module_closure42() {
  24400. },
  24401. module_closure43: function module_closure43() {
  24402. },
  24403. module_closure44: function module_closure44() {
  24404. },
  24405. module_closure45: function module_closure45() {
  24406. },
  24407. module_closure46: function module_closure46() {
  24408. },
  24409. module_closure47: function module_closure47() {
  24410. },
  24411. module_closure48: function module_closure48() {
  24412. },
  24413. module__closure5: function module__closure5(t0) {
  24414. this.channelName = t0;
  24415. },
  24416. module_closure49: function module_closure49() {
  24417. },
  24418. module_closure_toXyzNoMissing0: function module_closure_toXyzNoMissing0() {
  24419. },
  24420. module_closure50: function module_closure50() {
  24421. },
  24422. _mix_closure0: function _mix_closure0() {
  24423. },
  24424. _complement_closure0: function _complement_closure0() {
  24425. },
  24426. _adjust_closure0: function _adjust_closure0() {
  24427. },
  24428. _scale_closure0: function _scale_closure0() {
  24429. },
  24430. _change_closure0: function _change_closure0() {
  24431. },
  24432. _ieHexStr_closure0: function _ieHexStr_closure0() {
  24433. },
  24434. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  24435. },
  24436. _updateComponents_closure1: function _updateComponents_closure1(t0) {
  24437. this.originalColor = t0;
  24438. },
  24439. _updateComponents_closure2: function _updateComponents_closure2(t0) {
  24440. this._box_0 = t0;
  24441. },
  24442. _changeColor_closure0: function _changeColor_closure0(t0) {
  24443. this.alphaArg = t0;
  24444. },
  24445. _adjustColor_closure0: function _adjustColor_closure0() {
  24446. },
  24447. _functionString_closure0: function _functionString_closure0() {
  24448. },
  24449. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  24450. this.name = t0;
  24451. this.argument = t1;
  24452. this.negative = t2;
  24453. },
  24454. _rgb_closure0: function _rgb_closure0() {
  24455. },
  24456. _hsl_closure0: function _hsl_closure0() {
  24457. },
  24458. _parseChannels_closure1: function _parseChannels_closure1() {
  24459. },
  24460. _parseChannels_closure2: function _parseChannels_closure2() {
  24461. },
  24462. _colorFromChannels_closure1: function _colorFromChannels_closure1() {
  24463. },
  24464. _colorFromChannels_closure2: function _colorFromChannels_closure2() {
  24465. },
  24466. _channelFromValue_closure0: function _channelFromValue_closure0(t0, t1) {
  24467. this.channel = t0;
  24468. this.clamp = t1;
  24469. },
  24470. _channelFunction_closure0: function _channelFunction_closure0(t0, t1, t2, t3, t4) {
  24471. var _ = this;
  24472. _.getter = t0;
  24473. _.unit = t1;
  24474. _.global = t2;
  24475. _.name = t3;
  24476. _.space = t4;
  24477. },
  24478. _suggestScaleAndAdjust_closure0: function _suggestScaleAndAdjust_closure0(t0) {
  24479. this.channelName = t0;
  24480. },
  24481. _constructionSpace(options) {
  24482. var t1 = J.getInterceptor$x(options);
  24483. if (t1.get$space(options) != null) {
  24484. t1 = t1.get$space(options);
  24485. t1.toString;
  24486. return A.ColorSpace_fromName0(t1, null);
  24487. }
  24488. if (t1.get$red(options) != null)
  24489. return B.RgbColorSpace_i0P0;
  24490. if (t1.get$saturation(options) != null)
  24491. return B.HslColorSpace_JQ20;
  24492. if (t1.get$whiteness(options) != null)
  24493. return B.HwbColorSpace_guQ0;
  24494. throw A.wrapException("No color space found");
  24495. },
  24496. _toSpace($self, space) {
  24497. return $self.toSpace$1(A.ColorSpace_fromName0(space == null ? $self._color0$_space.name : space, null));
  24498. },
  24499. _checkNullAlphaDeprecation(options) {
  24500. var t1 = J.getInterceptor$x(options),
  24501. t2 = t1.get$alpha(options);
  24502. if (!A._asBool($.$get$_isUndefined().call$1(t2)) && t1.get$alpha(options) == null && t1.get$space(options) == null)
  24503. A.warnForDeprecationFromApi(string$.Passin_, B.Deprecation_l0m);
  24504. },
  24505. colorClass_closure: function colorClass_closure() {
  24506. },
  24507. colorClass__closure: function colorClass__closure() {
  24508. },
  24509. colorClass__closure0: function colorClass__closure0() {
  24510. },
  24511. colorClass__closure1: function colorClass__closure1() {
  24512. },
  24513. colorClass__closure2: function colorClass__closure2() {
  24514. },
  24515. colorClass__closure3: function colorClass__closure3() {
  24516. },
  24517. colorClass__closure4: function colorClass__closure4() {
  24518. },
  24519. colorClass__closure5: function colorClass__closure5() {
  24520. },
  24521. colorClass__closure6: function colorClass__closure6() {
  24522. },
  24523. colorClass__closure7: function colorClass__closure7() {
  24524. },
  24525. colorClass__closure8: function colorClass__closure8() {
  24526. },
  24527. colorClass___closure: function colorClass___closure(t0) {
  24528. this.key = t0;
  24529. },
  24530. colorClass__closure_changedValue: function colorClass__closure_changedValue(t0, t1) {
  24531. this.color = t0;
  24532. this.options = t1;
  24533. },
  24534. colorClass__closure9: function colorClass__closure9() {
  24535. },
  24536. colorClass__closure10: function colorClass__closure10() {
  24537. },
  24538. colorClass__closure11: function colorClass__closure11() {
  24539. },
  24540. colorClass__closure12: function colorClass__closure12() {
  24541. },
  24542. colorClass__closure13: function colorClass__closure13() {
  24543. },
  24544. colorClass__closure14: function colorClass__closure14() {
  24545. },
  24546. colorClass__closure15: function colorClass__closure15() {
  24547. },
  24548. colorClass__closure16: function colorClass__closure16() {
  24549. },
  24550. colorClass__closure17: function colorClass__closure17() {
  24551. },
  24552. colorClass__closure18: function colorClass__closure18() {
  24553. },
  24554. colorClass__closure19: function colorClass__closure19() {
  24555. },
  24556. colorClass__closure20: function colorClass__closure20() {
  24557. },
  24558. colorClass__closure21: function colorClass__closure21() {
  24559. },
  24560. colorClass__closure22: function colorClass__closure22() {
  24561. },
  24562. _Channels: function _Channels() {
  24563. },
  24564. _ConstructionOptions: function _ConstructionOptions() {
  24565. },
  24566. _ChannelOptions: function _ChannelOptions() {
  24567. },
  24568. _ToGamutOptions: function _ToGamutOptions() {
  24569. },
  24570. _InterpolationOptions: function _InterpolationOptions() {
  24571. },
  24572. _NodeSassColor: function _NodeSassColor() {
  24573. },
  24574. legacyColorClass_closure: function legacyColorClass_closure() {
  24575. },
  24576. legacyColorClass__closure: function legacyColorClass__closure() {
  24577. },
  24578. legacyColorClass_closure0: function legacyColorClass_closure0() {
  24579. },
  24580. legacyColorClass_closure1: function legacyColorClass_closure1() {
  24581. },
  24582. legacyColorClass_closure2: function legacyColorClass_closure2() {
  24583. },
  24584. legacyColorClass_closure3: function legacyColorClass_closure3() {
  24585. },
  24586. legacyColorClass_closure4: function legacyColorClass_closure4() {
  24587. },
  24588. legacyColorClass_closure5: function legacyColorClass_closure5() {
  24589. },
  24590. legacyColorClass_closure6: function legacyColorClass_closure6() {
  24591. },
  24592. legacyColorClass_closure7: function legacyColorClass_closure7() {
  24593. },
  24594. SassColor_SassColor$rgb0(red, green, blue, alpha) {
  24595. return A.SassColor_SassColor$rgbInternal0(red, green, blue, alpha, null);
  24596. },
  24597. SassColor_SassColor$rgbInternal0(red, green, blue, alpha, format) {
  24598. var _null = null,
  24599. t1 = red == null ? _null : red,
  24600. t2 = green == null ? _null : green,
  24601. t3 = blue == null ? _null : blue;
  24602. return A.SassColor$_forSpace0(B.RgbColorSpace_i0P0, t1, t2, t3, alpha == null ? _null : alpha, format);
  24603. },
  24604. SassColor_SassColor$hsl0(hue, saturation, lightness, alpha) {
  24605. var _null = null,
  24606. t1 = hue == null ? _null : hue,
  24607. t2 = saturation == null ? _null : saturation,
  24608. t3 = lightness == null ? _null : lightness;
  24609. return A.SassColor_SassColor$forSpaceInternal0(B.HslColorSpace_JQ20, t1, t2, t3, alpha == null ? _null : alpha);
  24610. },
  24611. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  24612. var _null = null,
  24613. t1 = hue == null ? _null : hue,
  24614. t2 = whiteness == null ? _null : whiteness,
  24615. t3 = blackness == null ? _null : blackness;
  24616. return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
  24617. },
  24618. SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
  24619. var t1, t2, _null = null;
  24620. $label0$0: {
  24621. if (B.HslColorSpace_JQ20 === space) {
  24622. t1 = channel1 == null;
  24623. t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
  24624. t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  24625. t1 = t2;
  24626. break $label0$0;
  24627. }
  24628. if (B.HwbColorSpace_guQ0 === space) {
  24629. t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
  24630. break $label0$0;
  24631. }
  24632. if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  24633. t1 = channel1 == null;
  24634. t2 = t1 ? _null : Math.abs(channel1);
  24635. t2 = A.SassColor$_forSpace0(space, channel0, t2, A.SassColor__normalizeHue0(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), alpha, _null);
  24636. t1 = t2;
  24637. break $label0$0;
  24638. }
  24639. t1 = A.SassColor$_forSpace0(space, channel0, channel1, channel2, alpha, _null);
  24640. break $label0$0;
  24641. }
  24642. return t1;
  24643. },
  24644. SassColor$_forSpace0(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  24645. return new A.SassColor0(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen0(alpha, new A.SassColor$_forSpace_closure0()));
  24646. },
  24647. SassColor__normalizeHue0(hue, invert) {
  24648. var t1, t2;
  24649. if (hue == null)
  24650. return hue;
  24651. t1 = B.JSNumber_methods.$mod(hue, 360);
  24652. t2 = invert ? 180 : 0;
  24653. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  24654. },
  24655. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
  24656. var _ = this;
  24657. _._color0$_space = t0;
  24658. _.channel0OrNull = t1;
  24659. _.channel1OrNull = t2;
  24660. _.channel2OrNull = t3;
  24661. _.format = t4;
  24662. _.alphaOrNull = t5;
  24663. },
  24664. SassColor$_forSpace_closure0: function SassColor$_forSpace_closure0() {
  24665. },
  24666. _ColorFormatEnum0: function _ColorFormatEnum0() {
  24667. },
  24668. SpanColorFormat0: function SpanColorFormat0(t0) {
  24669. this._color0$_span = t0;
  24670. },
  24671. Combinator0: function Combinator0(t0, t1) {
  24672. this._combinator0$_text = t0;
  24673. this._name = t1;
  24674. },
  24675. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  24676. var _ = this;
  24677. _.text = t0;
  24678. _.span = t1;
  24679. _._node$_indexInParent = _._node$_parent = null;
  24680. _.isGroupEnd = false;
  24681. },
  24682. compile0(path, options) {
  24683. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null;
  24684. if (!A.isNodeJs())
  24685. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  24686. t1 = options == null;
  24687. color0 = t1 ? _null : J.get$alertColor$x(options);
  24688. color = color0 == null ? A.hasTerminal0() : color0;
  24689. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  24690. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  24691. t2 = t1 ? _null : J.get$logger$x(options);
  24692. t3 = ascii;
  24693. if (t3 == null)
  24694. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24695. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24696. try {
  24697. t2 = t1 ? _null : J.get$loadPaths$x(options);
  24698. t3 = t1 ? _null : J.get$quietDeps$x(options);
  24699. if (t3 == null)
  24700. t3 = false;
  24701. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24702. t5 = t1 ? _null : J.get$verbose$x(options);
  24703. if (t5 == null)
  24704. t5 = false;
  24705. t6 = t1 ? _null : J.get$charset$x(options);
  24706. if (t6 == null)
  24707. t6 = true;
  24708. t7 = t1 ? _null : J.get$sourceMap$x(options);
  24709. if (t7 == null)
  24710. t7 = false;
  24711. if (t1)
  24712. t8 = _null;
  24713. else {
  24714. t8 = J.get$importers$x(options);
  24715. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  24716. }
  24717. t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24718. t10 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24719. t10 = A.parseDeprecations(logger, t10, true);
  24720. t11 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24721. t11 = A.parseDeprecations(logger, t11, false);
  24722. t12 = t1 ? _null : J.get$futureDeprecations$x(options);
  24723. 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);
  24724. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24725. if (t1 == null)
  24726. t1 = false;
  24727. t1 = A._convertResult(result, t1);
  24728. return t1;
  24729. } catch (exception) {
  24730. t1 = A.unwrapException(exception);
  24731. if (t1 instanceof A.SassException0) {
  24732. error = t1;
  24733. stackTrace = A.getTraceFromException(exception);
  24734. A.throwNodeException(error, ascii, color, stackTrace);
  24735. } else
  24736. throw exception;
  24737. }
  24738. },
  24739. compileString0(text, options) {
  24740. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null,
  24741. t1 = options == null,
  24742. color0 = t1 ? _null : J.get$alertColor$x(options),
  24743. color = color0 == null ? A.hasTerminal0() : color0,
  24744. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  24745. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  24746. t2 = t1 ? _null : J.get$logger$x(options),
  24747. t3 = ascii;
  24748. if (t3 == null)
  24749. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24750. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24751. try {
  24752. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  24753. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils3__jsToDartUrl$closure());
  24754. t4 = t1 ? _null : J.get$loadPaths$x(options);
  24755. t5 = t1 ? _null : J.get$quietDeps$x(options);
  24756. if (t5 == null)
  24757. t5 = false;
  24758. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24759. t7 = t1 ? _null : J.get$verbose$x(options);
  24760. if (t7 == null)
  24761. t7 = false;
  24762. t8 = t1 ? _null : J.get$charset$x(options);
  24763. if (t8 == null)
  24764. t8 = true;
  24765. t9 = t1 ? _null : J.get$sourceMap$x(options);
  24766. if (t9 == null)
  24767. t9 = false;
  24768. if (t1)
  24769. t10 = _null;
  24770. else {
  24771. t10 = J.get$importers$x(options);
  24772. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  24773. }
  24774. t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  24775. if (t11 == null)
  24776. t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  24777. t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24778. t13 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24779. t13 = A.parseDeprecations(logger, t13, true);
  24780. t14 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24781. t14 = A.parseDeprecations(logger, t14, false);
  24782. t15 = t1 ? _null : J.get$futureDeprecations$x(options);
  24783. 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);
  24784. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24785. if (t1 == null)
  24786. t1 = false;
  24787. t1 = A._convertResult(result, t1);
  24788. return t1;
  24789. } catch (exception) {
  24790. t1 = A.unwrapException(exception);
  24791. if (t1 instanceof A.SassException0) {
  24792. error = t1;
  24793. stackTrace = A.getTraceFromException(exception);
  24794. A.throwNodeException(error, ascii, color, stackTrace);
  24795. } else
  24796. throw exception;
  24797. }
  24798. },
  24799. compileAsync1(path, options) {
  24800. var t1, color, ascii;
  24801. if (!A.isNodeJs())
  24802. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  24803. t1 = options == null;
  24804. color = t1 ? null : J.get$alertColor$x(options);
  24805. if (color == null)
  24806. color = A.hasTerminal0();
  24807. ascii = t1 ? null : J.get$alertAscii$x(options);
  24808. if (ascii == null)
  24809. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24810. t1 = t1 ? null : J.get$logger$x(options);
  24811. 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);
  24812. },
  24813. compileStringAsync1(text, options) {
  24814. var ascii,
  24815. t1 = options == null,
  24816. color = t1 ? null : J.get$alertColor$x(options);
  24817. if (color == null)
  24818. color = A.hasTerminal0();
  24819. ascii = t1 ? null : J.get$alertAscii$x(options);
  24820. if (ascii == null)
  24821. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24822. t1 = t1 ? null : J.get$logger$x(options);
  24823. 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);
  24824. },
  24825. _convertResult(result, includeSourceContents) {
  24826. var loadedUrls,
  24827. t1 = result._compile_result$_serialize,
  24828. t2 = t1._1,
  24829. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  24830. if (type$.Map_dynamic_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  24831. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  24832. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils3__dartToJSUrl$closure(), type$.nullable_Object));
  24833. t1 = t1._0;
  24834. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  24835. },
  24836. _wrapAsyncSassExceptions(promise, ascii, color) {
  24837. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  24838. },
  24839. _parseOutputStyle0(style) {
  24840. var t1;
  24841. $label0$0: {
  24842. if (style == null || "expanded" === style) {
  24843. t1 = B.OutputStyle_00;
  24844. break $label0$0;
  24845. }
  24846. if ("compressed" === style) {
  24847. t1 = B.OutputStyle_10;
  24848. break $label0$0;
  24849. }
  24850. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  24851. }
  24852. return t1;
  24853. },
  24854. _parseAsyncImporter(importer) {
  24855. var t1, canonicalize, load, _0_0;
  24856. if (importer instanceof A.NodePackageImporter0)
  24857. return importer;
  24858. if (importer == null)
  24859. A.jsThrow(new self.Error("Importers may not be null."));
  24860. type$.JSImporter._as(importer);
  24861. t1 = J.getInterceptor$x(importer);
  24862. canonicalize = t1.get$canonicalize(importer);
  24863. load = t1.get$load(importer);
  24864. _0_0 = t1.get$findFileUrl(importer);
  24865. if (_0_0 != null)
  24866. if (canonicalize != null || load != null)
  24867. A.jsThrow(new self.Error(string$.An_impa));
  24868. else
  24869. return new A.JSToDartAsyncFileImporter(_0_0);
  24870. else if (canonicalize == null || load == null)
  24871. A.jsThrow(new self.Error(string$.An_impu));
  24872. else {
  24873. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24874. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  24875. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24876. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  24877. }
  24878. },
  24879. _parseImporter0(importer) {
  24880. var t1, canonicalize, load, _0_0;
  24881. if (importer instanceof A.NodePackageImporter0)
  24882. return importer;
  24883. if (importer == null)
  24884. A.jsThrow(new self.Error("Importers may not be null."));
  24885. type$.JSImporter._as(importer);
  24886. t1 = J.getInterceptor$x(importer);
  24887. canonicalize = t1.get$canonicalize(importer);
  24888. load = t1.get$load(importer);
  24889. _0_0 = t1.get$findFileUrl(importer);
  24890. if (_0_0 != null)
  24891. if (canonicalize != null || load != null)
  24892. A.jsThrow(new self.Error(string$.An_impa));
  24893. else
  24894. return new A.JSToDartFileImporter(_0_0);
  24895. else if (canonicalize == null || load == null)
  24896. A.jsThrow(new self.Error(string$.An_impu));
  24897. else {
  24898. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24899. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  24900. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24901. return new A.JSToDartImporter(canonicalize, load, t1);
  24902. }
  24903. },
  24904. _normalizeNonCanonicalSchemes(schemes) {
  24905. var t1;
  24906. $label0$0: {
  24907. if (typeof schemes == "string") {
  24908. t1 = A._setArrayType([schemes], type$.JSArray_String);
  24909. break $label0$0;
  24910. }
  24911. if (type$.List_dynamic._is(schemes)) {
  24912. t1 = J.cast$1$0$ax(schemes, type$.String);
  24913. break $label0$0;
  24914. }
  24915. if (schemes == null) {
  24916. t1 = null;
  24917. break $label0$0;
  24918. }
  24919. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  24920. }
  24921. return t1;
  24922. },
  24923. _simplifyValue(value) {
  24924. 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;
  24925. $label1$1: {
  24926. if (value instanceof A.SassCalculation0) {
  24927. _0_1 = value.name;
  24928. t1 = value.$arguments;
  24929. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  24930. _0_4 = A.List_List$_of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), t2._eval$1("ListIterable.E"));
  24931. $label0$0: {
  24932. _0_3 = "calc" === _0_1;
  24933. _0_5_isSet = _0_3;
  24934. if (_0_5_isSet) {
  24935. _0_5 = _0_4.length;
  24936. t1 = _0_5;
  24937. t1 = t1 === 1;
  24938. _0_40 = _0_4;
  24939. } else {
  24940. _0_40 = _null;
  24941. _0_5 = _0_40;
  24942. t1 = false;
  24943. }
  24944. if (t1) {
  24945. _0_8 = (_0_5_isSet ? _0_40 : _0_4)[0];
  24946. first = _0_8;
  24947. type$.Value_2._as(first);
  24948. t1 = first;
  24949. break $label0$0;
  24950. }
  24951. if (_0_3)
  24952. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  24953. _0_10 = "clamp" === _0_1;
  24954. t1 = _0_10;
  24955. if (t1) {
  24956. if (_0_5_isSet) {
  24957. t1 = _0_5;
  24958. _0_4_isSet = _0_5_isSet;
  24959. } else {
  24960. _0_5 = _0_4.length;
  24961. t1 = _0_5;
  24962. _0_40 = _0_4;
  24963. _0_4_isSet = true;
  24964. }
  24965. t1 = t1 === 3;
  24966. } else {
  24967. _0_4_isSet = _0_5_isSet;
  24968. t1 = false;
  24969. }
  24970. if (t1) {
  24971. if (_0_4_isSet)
  24972. t1 = _0_40;
  24973. else {
  24974. t1 = _0_4;
  24975. _0_40 = t1;
  24976. _0_4_isSet = true;
  24977. }
  24978. _0_8 = t1[0];
  24979. min = _0_8;
  24980. if (_0_4_isSet)
  24981. t1 = _0_40;
  24982. else {
  24983. t1 = _0_4;
  24984. _0_40 = t1;
  24985. _0_4_isSet = true;
  24986. }
  24987. value = t1[1];
  24988. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  24989. break $label0$0;
  24990. }
  24991. if (_0_10)
  24992. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  24993. if ("min" === _0_1) {
  24994. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  24995. break $label0$0;
  24996. }
  24997. if ("max" === _0_1) {
  24998. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  24999. break $label0$0;
  25000. }
  25001. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  25002. }
  25003. break $label1$1;
  25004. }
  25005. t1 = value;
  25006. break $label1$1;
  25007. }
  25008. return t1;
  25009. },
  25010. _simplifyCalcArg(value) {
  25011. var t1;
  25012. $label0$0: {
  25013. if (value instanceof A.SassCalculation0) {
  25014. t1 = A._simplifyValue(value);
  25015. break $label0$0;
  25016. }
  25017. if (value instanceof A.CalculationOperation0) {
  25018. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), null, true, null);
  25019. break $label0$0;
  25020. }
  25021. t1 = value;
  25022. break $label0$0;
  25023. }
  25024. return t1;
  25025. },
  25026. _parseFunctions0(functions, asynch) {
  25027. var result;
  25028. if (functions == null)
  25029. return B.List_empty28;
  25030. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25031. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  25032. return result;
  25033. },
  25034. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  25035. var _ = this;
  25036. _.path = t0;
  25037. _.color = t1;
  25038. _.options = t2;
  25039. _.logger = t3;
  25040. },
  25041. compileAsync__closure: function compileAsync__closure() {
  25042. },
  25043. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  25044. var _ = this;
  25045. _.text = t0;
  25046. _.options = t1;
  25047. _.color = t2;
  25048. _.logger = t3;
  25049. },
  25050. compileStringAsync__closure: function compileStringAsync__closure() {
  25051. },
  25052. compileStringAsync__closure0: function compileStringAsync__closure0() {
  25053. },
  25054. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  25055. this.color = t0;
  25056. this.ascii = t1;
  25057. },
  25058. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  25059. this.asynch = t0;
  25060. this.result = t1;
  25061. },
  25062. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  25063. this.callback = t0;
  25064. this.callable = t1;
  25065. },
  25066. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  25067. this.callback = t0;
  25068. this.$arguments = t1;
  25069. },
  25070. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  25071. this.callback = t0;
  25072. this.callable = t1;
  25073. },
  25074. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  25075. this.callback = t0;
  25076. this.$arguments = t1;
  25077. },
  25078. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  25079. },
  25080. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  25081. },
  25082. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  25083. var t3, t4, t0, stylesheet, result, _null = null,
  25084. t1 = type$.Deprecation_3,
  25085. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25086. if (silenceDeprecations != null)
  25087. t2.addAll$1(0, silenceDeprecations);
  25088. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25089. if (fatalDeprecations != null)
  25090. t3.addAll$1(0, fatalDeprecations);
  25091. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25092. if (futureDeprecations != null)
  25093. t4.addAll$1(0, futureDeprecations);
  25094. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25095. logger.validate$0();
  25096. t1 = nodeImporter == null;
  25097. if (t1)
  25098. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  25099. else
  25100. t2 = false;
  25101. if (t2) {
  25102. if (importCache == null)
  25103. importCache = A.ImportCache$none();
  25104. t2 = $.$get$FilesystemImporter_cwd0();
  25105. t3 = A.isNodeJs() ? self.process : _null;
  25106. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  25107. t3 = A.isNodeJs() ? self.process : _null;
  25108. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  25109. } else
  25110. t3 = true;
  25111. if (t3) {
  25112. t3 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  25113. t4 = $.$get$context();
  25114. t3 = A._realCasePath0(t4.normalize$1(t3));
  25115. } else {
  25116. t3 = $.$get$context();
  25117. t4 = t3.canonicalize$1(0, path);
  25118. t0 = t4;
  25119. t4 = t3;
  25120. t3 = t0;
  25121. }
  25122. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  25123. t4.toString;
  25124. stylesheet = t4;
  25125. } else {
  25126. t2 = A.readFile0(path);
  25127. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  25128. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  25129. }
  25130. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25131. logger.summarize$1$js(!t1);
  25132. return result;
  25133. },
  25134. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  25135. var t3, t4, stylesheet, _0_0, result,
  25136. t1 = type$.Deprecation_3,
  25137. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25138. if (silenceDeprecations != null)
  25139. t2.addAll$1(0, silenceDeprecations);
  25140. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25141. if (fatalDeprecations != null)
  25142. t3.addAll$1(0, fatalDeprecations);
  25143. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25144. if (futureDeprecations != null)
  25145. t4.addAll$1(0, futureDeprecations);
  25146. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25147. logger.validate$0();
  25148. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  25149. _0_0 = stylesheet.span.file.url;
  25150. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  25151. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  25152. if (importer == null)
  25153. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  25154. else
  25155. t1 = importer;
  25156. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25157. logger.summarize$1$js(nodeImporter != null);
  25158. return result;
  25159. },
  25160. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  25161. var evaluateResult, serializeResult, resultSourceMap;
  25162. if (nodeImporter != null)
  25163. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  25164. evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet);
  25165. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  25166. resultSourceMap = serializeResult._1;
  25167. if (resultSourceMap != null && importCache != null)
  25168. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  25169. return new A.CompileResult0(evaluateResult, serializeResult);
  25170. },
  25171. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  25172. this.stylesheet = t0;
  25173. this.importCache = t1;
  25174. },
  25175. CompileOptions: function CompileOptions() {
  25176. },
  25177. CompileStringOptions: function CompileStringOptions() {
  25178. },
  25179. NodeCompileResult: function NodeCompileResult() {
  25180. },
  25181. CompileResult0: function CompileResult0(t0, t1) {
  25182. this._evaluate = t0;
  25183. this._compile_result$_serialize = t1;
  25184. },
  25185. initCompiler() {
  25186. return new A.Compiler();
  25187. },
  25188. initAsyncCompiler() {
  25189. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  25190. },
  25191. Compiler: function Compiler() {
  25192. this._disposed = false;
  25193. },
  25194. AsyncCompiler: function AsyncCompiler(t0) {
  25195. this.compilations = t0;
  25196. this._disposed = false;
  25197. },
  25198. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  25199. },
  25200. compilerClass_closure: function compilerClass_closure() {
  25201. },
  25202. compilerClass__closure: function compilerClass__closure() {
  25203. },
  25204. compilerClass__closure0: function compilerClass__closure0() {
  25205. },
  25206. compilerClass__closure1: function compilerClass__closure1() {
  25207. },
  25208. compilerClass__closure2: function compilerClass__closure2() {
  25209. },
  25210. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  25211. },
  25212. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  25213. },
  25214. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  25215. },
  25216. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  25217. },
  25218. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  25219. },
  25220. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  25221. this.self = t0;
  25222. },
  25223. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  25224. },
  25225. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  25226. var _ = this;
  25227. _._complex0$_numeratorUnits = t0;
  25228. _._complex0$_denominatorUnits = t1;
  25229. _._number1$_value = t2;
  25230. _.hashCache = null;
  25231. _.asSlash = t3;
  25232. },
  25233. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  25234. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  25235. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  25236. if (t1.length === 0 && t2.length === 0)
  25237. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  25238. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  25239. },
  25240. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  25241. var _ = this;
  25242. _.leadingCombinators = t0;
  25243. _.components = t1;
  25244. _.lineBreak = t2;
  25245. _._complex$__ComplexSelector_specificity_FI = $;
  25246. _.span = t3;
  25247. },
  25248. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  25249. },
  25250. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  25251. this.selector = t0;
  25252. this.combinators = t1;
  25253. this.span = t2;
  25254. },
  25255. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  25256. },
  25257. CompoundSelector$0(components, span) {
  25258. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  25259. if (t1.length === 0)
  25260. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25261. return new A.CompoundSelector0(t1, span);
  25262. },
  25263. CompoundSelector0: function CompoundSelector0(t0, t1) {
  25264. var _ = this;
  25265. _.components = t0;
  25266. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  25267. _.span = t1;
  25268. },
  25269. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  25270. },
  25271. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  25272. },
  25273. Configuration0: function Configuration0(t0, t1) {
  25274. this._configuration0$_values = t0;
  25275. this._configuration0$__originalConfiguration = t1;
  25276. },
  25277. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  25278. this.nodeWithSpan = t0;
  25279. this._configuration0$_values = t1;
  25280. this._configuration0$__originalConfiguration = t2;
  25281. },
  25282. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  25283. this.value = t0;
  25284. this.configurationSpan = t1;
  25285. this.assignmentNode = t2;
  25286. },
  25287. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  25288. var _ = this;
  25289. _.name = t0;
  25290. _.expression = t1;
  25291. _.isGuarded = t2;
  25292. _.span = t3;
  25293. },
  25294. ContentBlock$0(parameters, children, span) {
  25295. var _s8_ = "@content",
  25296. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  25297. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25298. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25299. return new A.ContentBlock0(t1, _s8_, parameters, span, t2, t3);
  25300. },
  25301. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  25302. var _ = this;
  25303. _.name = t0;
  25304. _.originalName = t1;
  25305. _.parameters = t2;
  25306. _.span = t3;
  25307. _.children = t4;
  25308. _.hasDeclarations = t5;
  25309. },
  25310. ContentRule0: function ContentRule0(t0, t1) {
  25311. this.$arguments = t0;
  25312. this.span = t1;
  25313. },
  25314. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  25315. },
  25316. CssParser0: function CssParser0(t0, t1, t2, t3) {
  25317. var _ = this;
  25318. _._stylesheet0$_isUseAllowed = true;
  25319. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  25320. _._stylesheet0$_globalVariables = t0;
  25321. _.warnings = t1;
  25322. _.lastSilentComment = null;
  25323. _.scanner = t2;
  25324. _._parser1$_interpolationMap = t3;
  25325. },
  25326. DebugRule0: function DebugRule0(t0, t1) {
  25327. this.expression = t0;
  25328. this.span = t1;
  25329. },
  25330. ModifiableCssDeclaration$0($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  25331. var t3,
  25332. t1 = interleavedRules == null ? B.List_empty25 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule_2),
  25333. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  25334. if (parsedAsCustomProperty)
  25335. if (!B.JSString_methods.startsWith$1($name.value, "--"))
  25336. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  25337. else {
  25338. t3 = value.value;
  25339. if (!(t3 instanceof A.SassString0))
  25340. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  25341. }
  25342. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  25343. },
  25344. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4, t5, t6) {
  25345. var _ = this;
  25346. _.name = t0;
  25347. _.value = t1;
  25348. _.parsedAsCustomProperty = t2;
  25349. _.interleavedRules = t3;
  25350. _.trace = t4;
  25351. _.valueSpanForMap = t5;
  25352. _.span = t6;
  25353. _._node$_indexInParent = _._node$_parent = null;
  25354. _.isGroupEnd = false;
  25355. },
  25356. Declaration$0($name, value, span) {
  25357. return new A.Declaration0($name, value, span, null, false);
  25358. },
  25359. Declaration$nested0($name, children, span, value) {
  25360. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25361. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25362. return new A.Declaration0($name, value, span, t1, t2);
  25363. },
  25364. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  25365. var _ = this;
  25366. _.name = t0;
  25367. _.value = t1;
  25368. _.span = t2;
  25369. _.children = t3;
  25370. _.hasDeclarations = t4;
  25371. },
  25372. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  25373. this.name = t0;
  25374. this.value = t1;
  25375. this.span = t2;
  25376. },
  25377. Deprecation_fromId0(id) {
  25378. return A.IterableExtension_firstWhereOrNull(B.List_deK, new A.Deprecation_fromId_closure0(id));
  25379. },
  25380. Deprecation_forVersion0(version) {
  25381. var t2, _i, deprecation, $self, t3,
  25382. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  25383. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 27; ++_i) {
  25384. deprecation = B.List_deK[_i];
  25385. $self = deprecation._deprecation$_deprecatedIn;
  25386. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  25387. t3 = t3 == null ? null : t2.call$1(t3);
  25388. if (t3 == null ? false : t3)
  25389. t1.add$1(0, deprecation);
  25390. }
  25391. return t1;
  25392. },
  25393. Deprecation0: function Deprecation0(t0, t1, t2, t3) {
  25394. var _ = this;
  25395. _.id = t0;
  25396. _._deprecation$_deprecatedIn = t1;
  25397. _.description = t2;
  25398. _._name = t3;
  25399. },
  25400. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  25401. this.id = t0;
  25402. },
  25403. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  25404. var _ = this;
  25405. _._deprecation_processing$_warningCounts = t0;
  25406. _._deprecation_processing$_inner = t1;
  25407. _.silenceDeprecations = t2;
  25408. _.fatalDeprecations = t3;
  25409. _.futureDeprecations = t4;
  25410. _.limitRepetition = t5;
  25411. },
  25412. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  25413. },
  25414. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  25415. },
  25416. parseDeprecations(logger, deprecations, supportVersions) {
  25417. if (deprecations == null)
  25418. return null;
  25419. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  25420. },
  25421. Deprecation1: function Deprecation1() {
  25422. },
  25423. deprecations_closure: function deprecations_closure(t0) {
  25424. this.deprecation = t0;
  25425. },
  25426. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  25427. this.deprecations = t0;
  25428. this.logger = t1;
  25429. this.supportVersions = t2;
  25430. },
  25431. versionClass_closure: function versionClass_closure() {
  25432. },
  25433. versionClass__closure: function versionClass__closure() {
  25434. },
  25435. versionClass__closure0: function versionClass__closure0() {
  25436. },
  25437. DisplayP3ColorSpace0: function DisplayP3ColorSpace0(t0, t1) {
  25438. this.name = t0;
  25439. this._space$_channels = t1;
  25440. },
  25441. DynamicImport0: function DynamicImport0(t0, t1) {
  25442. this.urlString = t0;
  25443. this.span = t1;
  25444. },
  25445. EachRule$0(variables, list, children, span) {
  25446. var t1 = A.List_List$unmodifiable(variables, type$.String),
  25447. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25448. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25449. return new A.EachRule0(t1, list, span, t2, t3);
  25450. },
  25451. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  25452. var _ = this;
  25453. _.variables = t0;
  25454. _.list = t1;
  25455. _.span = t2;
  25456. _.children = t3;
  25457. _.hasDeclarations = t4;
  25458. },
  25459. EachRule_toString_closure0: function EachRule_toString_closure0() {
  25460. },
  25461. EmptyExtensionStore0: function EmptyExtensionStore0() {
  25462. },
  25463. Environment$0() {
  25464. var t1 = type$.String,
  25465. t2 = type$.Module_Callable_2,
  25466. t3 = type$.AstNode_2,
  25467. t4 = type$.int,
  25468. t5 = type$.Callable_2,
  25469. t6 = type$.JSArray_Map_String_Callable_2;
  25470. 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));
  25471. },
  25472. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  25473. var t1 = type$.String,
  25474. t2 = type$.int;
  25475. 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);
  25476. },
  25477. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  25478. var t1, t2, t3, t4, t5, t6, module, result, t7;
  25479. if (forwarded == null)
  25480. forwarded = B.Set_empty5;
  25481. t1 = type$.dynamic;
  25482. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  25483. 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();) {
  25484. t6 = t4.get$current(t4);
  25485. module = t6._0;
  25486. result = A.List_List$from(t6._1, false, t5);
  25487. result.$flags = 3;
  25488. t1.$indexSet(0, module, result);
  25489. }
  25490. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  25491. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  25492. 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);
  25493. 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);
  25494. t5 = type$.Map_String_Callable_2;
  25495. t6 = type$.Callable_2;
  25496. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  25497. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  25498. 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());
  25499. 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()));
  25500. },
  25501. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  25502. var modulesByVariable, t1, t2, t3, t4, t5;
  25503. if (forwarded.get$isEmpty(forwarded))
  25504. return B.Map_empty11;
  25505. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  25506. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  25507. t2 = t1.get$current(t1);
  25508. if (t2 instanceof A._EnvironmentModule1) {
  25509. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  25510. t4 = t3.get$current(t3);
  25511. t5 = t4.get$variables();
  25512. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  25513. }
  25514. t3 = B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables);
  25515. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25516. } else {
  25517. t3 = t2.get$variables();
  25518. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25519. }
  25520. }
  25521. return modulesByVariable;
  25522. },
  25523. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  25524. var t1, t2, t3;
  25525. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  25526. if (otherMaps.get$isEmpty(otherMaps))
  25527. return localMap;
  25528. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  25529. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  25530. t3 = t2.get$current(t2);
  25531. if (t3.get$isNotEmpty(t3))
  25532. t1.push(t3);
  25533. }
  25534. t1.push(localMap);
  25535. if (t1.length === 1)
  25536. return localMap;
  25537. return A.MergedMapView$0(t1, type$.String, $V);
  25538. },
  25539. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  25540. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  25541. },
  25542. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  25543. var _ = this;
  25544. _._environment0$_modules = t0;
  25545. _._environment0$_namespaceNodes = t1;
  25546. _._environment0$_globalModules = t2;
  25547. _._environment0$_importedModules = t3;
  25548. _._environment0$_forwardedModules = t4;
  25549. _._environment0$_nestedForwardedModules = t5;
  25550. _._environment0$_allModules = t6;
  25551. _._environment0$_variables = t7;
  25552. _._environment0$_variableNodes = t8;
  25553. _._environment0$_variableIndices = t9;
  25554. _._environment0$_functions = t10;
  25555. _._environment0$_functionIndices = t11;
  25556. _._environment0$_mixins = t12;
  25557. _._environment0$_mixinIndices = t13;
  25558. _._environment0$_content = t14;
  25559. _._environment0$_configurableVariables = t15;
  25560. _._environment0$_inMixin = false;
  25561. _._environment0$_inSemiGlobalScope = true;
  25562. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  25563. },
  25564. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  25565. this.name = t0;
  25566. },
  25567. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  25568. this.$this = t0;
  25569. this.name = t1;
  25570. },
  25571. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  25572. this.name = t0;
  25573. },
  25574. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  25575. this.$this = t0;
  25576. this.name = t1;
  25577. },
  25578. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  25579. this.name = t0;
  25580. },
  25581. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  25582. this.name = t0;
  25583. },
  25584. Environment_toModule_closure0: function Environment_toModule_closure0() {
  25585. },
  25586. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  25587. },
  25588. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  25589. var _ = this;
  25590. _.upstream = t0;
  25591. _.variables = t1;
  25592. _.variableNodes = t2;
  25593. _.functions = t3;
  25594. _.mixins = t4;
  25595. _.extensionStore = t5;
  25596. _.css = t6;
  25597. _.preModuleComments = t7;
  25598. _.transitivelyContainsCss = t8;
  25599. _.transitivelyContainsExtensions = t9;
  25600. _._environment0$_environment = t10;
  25601. _._environment0$_modulesByVariable = t11;
  25602. },
  25603. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  25604. },
  25605. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  25606. },
  25607. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  25608. },
  25609. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  25610. },
  25611. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  25612. },
  25613. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  25614. },
  25615. _EnvironmentModule_couldHaveBeenConfigured_closure1: function _EnvironmentModule_couldHaveBeenConfigured_closure1(t0) {
  25616. this.variables = t0;
  25617. },
  25618. ErrorRule0: function ErrorRule0(t0, t1) {
  25619. this.expression = t0;
  25620. this.span = t1;
  25621. },
  25622. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  25623. var t4,
  25624. t1 = type$.Uri,
  25625. t2 = type$.Module_Callable_2,
  25626. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  25627. if (importCache == null)
  25628. t4 = nodeImporter == null ? A.ImportCache$none() : null;
  25629. else
  25630. t4 = importCache;
  25631. 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);
  25632. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  25633. return t1;
  25634. },
  25635. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  25636. var _ = this;
  25637. _._evaluate0$_importCache = t0;
  25638. _._nodeImporter = t1;
  25639. _._evaluate0$_builtInFunctions = t2;
  25640. _._evaluate0$_builtInModules = t3;
  25641. _._evaluate0$_modules = t4;
  25642. _._evaluate0$_moduleConfigurations = t5;
  25643. _._evaluate0$_moduleNodes = t6;
  25644. _._evaluate0$_logger = t7;
  25645. _._evaluate0$_warningsEmitted = t8;
  25646. _._evaluate0$_quietDeps = t9;
  25647. _._evaluate0$_sourceMap = t10;
  25648. _._evaluate0$_compileContext = t11;
  25649. _._evaluate0$_environment = t12;
  25650. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  25651. _._evaluate0$_member = "root stylesheet";
  25652. _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
  25653. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  25654. _._evaluate0$_loadedUrls = t13;
  25655. _._evaluate0$_activeModules = t14;
  25656. _._evaluate0$_stack = t15;
  25657. _._evaluate0$_importer = null;
  25658. _._evaluate0$_inDependency = false;
  25659. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  25660. _._evaluate0$_configuration = t16;
  25661. },
  25662. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  25663. this.$this = t0;
  25664. },
  25665. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  25666. this.$this = t0;
  25667. },
  25668. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  25669. this.$this = t0;
  25670. },
  25671. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  25672. this.$this = t0;
  25673. },
  25674. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  25675. this.$this = t0;
  25676. },
  25677. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  25678. this.$this = t0;
  25679. },
  25680. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  25681. this.$this = t0;
  25682. },
  25683. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  25684. this.$this = t0;
  25685. },
  25686. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  25687. this.$this = t0;
  25688. },
  25689. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  25690. this.$this = t0;
  25691. this.name = t1;
  25692. this.module = t2;
  25693. },
  25694. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  25695. this.$this = t0;
  25696. },
  25697. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  25698. this.$this = t0;
  25699. this.name = t1;
  25700. this.module = t2;
  25701. },
  25702. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  25703. this.$this = t0;
  25704. },
  25705. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  25706. this.$this = t0;
  25707. },
  25708. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  25709. this.values = t0;
  25710. this.span = t1;
  25711. this.callableNode = t2;
  25712. },
  25713. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  25714. this.$this = t0;
  25715. },
  25716. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  25717. this.$this = t0;
  25718. },
  25719. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  25720. this.$this = t0;
  25721. this.node = t1;
  25722. this.importer = t2;
  25723. },
  25724. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  25725. this.$this = t0;
  25726. this.importer = t1;
  25727. this.node = t2;
  25728. },
  25729. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  25730. this._box_0 = t0;
  25731. this.callback = t1;
  25732. },
  25733. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  25734. var _ = this;
  25735. _.$this = t0;
  25736. _.url = t1;
  25737. _.nodeWithSpan = t2;
  25738. _.baseUrl = t3;
  25739. _.namesInErrors = t4;
  25740. _.configuration = t5;
  25741. _.callback = t6;
  25742. },
  25743. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  25744. this.$this = t0;
  25745. this.message = t1;
  25746. },
  25747. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  25748. this._box_1 = t0;
  25749. this.callback = t1;
  25750. this.firstLoad = t2;
  25751. },
  25752. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  25753. var _ = this;
  25754. _.$this = t0;
  25755. _.importer = t1;
  25756. _.stylesheet = t2;
  25757. _.extensionStore = t3;
  25758. _.configuration = t4;
  25759. _.css = t5;
  25760. _.preModuleComments = t6;
  25761. },
  25762. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  25763. },
  25764. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  25765. this.selectors = t0;
  25766. },
  25767. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  25768. var _ = this;
  25769. _.$this = t0;
  25770. _.seen = t1;
  25771. _.clone = t2;
  25772. _.css = t3;
  25773. _.imports = t4;
  25774. _.sorted = t5;
  25775. },
  25776. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  25777. this.originalSelectors = t0;
  25778. },
  25779. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  25780. },
  25781. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  25782. this.$this = t0;
  25783. this.node = t1;
  25784. },
  25785. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  25786. this.$this = t0;
  25787. this.node = t1;
  25788. },
  25789. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  25790. this.$this = t0;
  25791. this.newParent = t1;
  25792. this.node = t2;
  25793. },
  25794. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  25795. this.$this = t0;
  25796. this.innerScope = t1;
  25797. },
  25798. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  25799. this.$this = t0;
  25800. this.innerScope = t1;
  25801. },
  25802. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  25803. this.innerScope = t0;
  25804. this.callback = t1;
  25805. },
  25806. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  25807. this.$this = t0;
  25808. this.innerScope = t1;
  25809. },
  25810. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  25811. },
  25812. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  25813. this.$this = t0;
  25814. this.innerScope = t1;
  25815. },
  25816. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  25817. this.$this = t0;
  25818. this.content = t1;
  25819. },
  25820. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  25821. this._box_0 = t0;
  25822. this.$this = t1;
  25823. },
  25824. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  25825. this._box_0 = t0;
  25826. this.$this = t1;
  25827. this.nodeWithSpan = t2;
  25828. },
  25829. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  25830. this._box_1 = t0;
  25831. this.$this = t1;
  25832. this.nodeWithSpan = t2;
  25833. },
  25834. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  25835. var _ = this;
  25836. _.$this = t0;
  25837. _.list = t1;
  25838. _.setVariables = t2;
  25839. _.node = t3;
  25840. },
  25841. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  25842. this.$this = t0;
  25843. this.setVariables = t1;
  25844. this.node = t2;
  25845. },
  25846. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  25847. this.$this = t0;
  25848. },
  25849. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  25850. this.$this = t0;
  25851. },
  25852. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  25853. this.$this = t0;
  25854. this.name = t1;
  25855. this.children = t2;
  25856. },
  25857. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  25858. this.$this = t0;
  25859. this.children = t1;
  25860. },
  25861. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  25862. },
  25863. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  25864. this.$this = t0;
  25865. this.node = t1;
  25866. },
  25867. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  25868. this.$this = t0;
  25869. this.node = t1;
  25870. },
  25871. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  25872. this.fromNumber = t0;
  25873. },
  25874. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  25875. this.toNumber = t0;
  25876. this.fromNumber = t1;
  25877. },
  25878. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  25879. var _ = this;
  25880. _._box_0 = t0;
  25881. _.$this = t1;
  25882. _.node = t2;
  25883. _.from = t3;
  25884. _.direction = t4;
  25885. _.fromNumber = t5;
  25886. },
  25887. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  25888. this.$this = t0;
  25889. },
  25890. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  25891. this.$this = t0;
  25892. this.node = t1;
  25893. },
  25894. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  25895. this.$this = t0;
  25896. this.node = t1;
  25897. },
  25898. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  25899. },
  25900. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  25901. this.$this = t0;
  25902. },
  25903. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  25904. this.$this = t0;
  25905. this.clause = t1;
  25906. },
  25907. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  25908. this.$this = t0;
  25909. },
  25910. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  25911. this.$this = t0;
  25912. this.$import = t1;
  25913. },
  25914. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  25915. this.$this = t0;
  25916. },
  25917. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  25918. },
  25919. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  25920. },
  25921. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  25922. var _ = this;
  25923. _._box_0 = t0;
  25924. _.$this = t1;
  25925. _.loadsUserDefinedModules = t2;
  25926. _.environment = t3;
  25927. _.children = t4;
  25928. },
  25929. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  25930. var _ = this;
  25931. _.$this = t0;
  25932. _.$arguments = t1;
  25933. _.mixin = t2;
  25934. _.nodeWithSpanWithoutContent = t3;
  25935. },
  25936. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  25937. var _ = this;
  25938. _.$this = t0;
  25939. _.$arguments = t1;
  25940. _.mixin = t2;
  25941. _.nodeWithSpanWithoutContent = t3;
  25942. },
  25943. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  25944. var _ = this;
  25945. _.$this = t0;
  25946. _.contentCallable = t1;
  25947. _.mixin = t2;
  25948. _.nodeWithSpanWithoutContent = t3;
  25949. },
  25950. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  25951. this.$this = t0;
  25952. this.mixin = t1;
  25953. this.nodeWithSpanWithoutContent = t2;
  25954. },
  25955. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  25956. this.$this = t0;
  25957. this.mixin = t1;
  25958. this.nodeWithSpanWithoutContent = t2;
  25959. },
  25960. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  25961. this.$this = t0;
  25962. this.statement = t1;
  25963. },
  25964. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  25965. this.$this = t0;
  25966. this.node = t1;
  25967. },
  25968. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  25969. this.$this = t0;
  25970. },
  25971. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  25972. this.node = t0;
  25973. },
  25974. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  25975. this.$this = t0;
  25976. this.queries = t1;
  25977. },
  25978. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  25979. var _ = this;
  25980. _.$this = t0;
  25981. _.mergedQueries = t1;
  25982. _.queries = t2;
  25983. _.mergedSources = t3;
  25984. _.node = t4;
  25985. },
  25986. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  25987. this.$this = t0;
  25988. this.node = t1;
  25989. },
  25990. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  25991. this.$this = t0;
  25992. this.node = t1;
  25993. },
  25994. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  25995. this.mergedSources = t0;
  25996. },
  25997. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  25998. this.$this = t0;
  25999. this.node = t1;
  26000. },
  26001. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  26002. },
  26003. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  26004. this.$this = t0;
  26005. this.rule = t1;
  26006. this.node = t2;
  26007. },
  26008. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  26009. this.$this = t0;
  26010. this.node = t1;
  26011. },
  26012. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  26013. },
  26014. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  26015. },
  26016. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  26017. this.$this = t0;
  26018. this.node = t1;
  26019. },
  26020. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  26021. this.$this = t0;
  26022. this.node = t1;
  26023. },
  26024. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  26025. },
  26026. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  26027. this._box_0 = t0;
  26028. this.$this = t1;
  26029. },
  26030. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  26031. this._box_0 = t0;
  26032. this.$this = t1;
  26033. this.node = t2;
  26034. },
  26035. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  26036. this.$this = t0;
  26037. this.node = t1;
  26038. },
  26039. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  26040. this.$this = t0;
  26041. this.node = t1;
  26042. this.value = t2;
  26043. },
  26044. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  26045. this.$this = t0;
  26046. this.node = t1;
  26047. },
  26048. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  26049. this.$this = t0;
  26050. this.node = t1;
  26051. },
  26052. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  26053. this.$this = t0;
  26054. this.node = t1;
  26055. },
  26056. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  26057. this.$this = t0;
  26058. },
  26059. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  26060. this.$this = t0;
  26061. this.node = t1;
  26062. },
  26063. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  26064. },
  26065. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  26066. this.$this = t0;
  26067. this.node = t1;
  26068. },
  26069. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  26070. this.node = t0;
  26071. this.operand = t1;
  26072. },
  26073. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  26074. this.$this = t0;
  26075. },
  26076. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  26077. this.$this = t0;
  26078. this.node = t1;
  26079. },
  26080. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  26081. },
  26082. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  26083. this._box_0 = t0;
  26084. this.$this = t1;
  26085. this.node = t2;
  26086. },
  26087. _EvaluateVisitor__visitCalculation_closure1: function _EvaluateVisitor__visitCalculation_closure1(t0, t1) {
  26088. this.$this = t0;
  26089. this.node = t1;
  26090. },
  26091. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  26092. this.$this = t0;
  26093. this.node = t1;
  26094. },
  26095. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  26096. var _ = this;
  26097. _._box_0 = t0;
  26098. _.$this = t1;
  26099. _.node = t2;
  26100. _.inLegacySassFunction = t3;
  26101. },
  26102. _EvaluateVisitor__visitCalculationExpression__closure1: function _EvaluateVisitor__visitCalculationExpression__closure1(t0, t1) {
  26103. this.$this = t0;
  26104. this.node = t1;
  26105. },
  26106. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  26107. this.$this = t0;
  26108. this.node = t1;
  26109. this.$function = t2;
  26110. },
  26111. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  26112. var _ = this;
  26113. _.$this = t0;
  26114. _.callable = t1;
  26115. _.evaluated = t2;
  26116. _.nodeWithSpan = t3;
  26117. _.run = t4;
  26118. _.V = t5;
  26119. },
  26120. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  26121. var _ = this;
  26122. _.$this = t0;
  26123. _.evaluated = t1;
  26124. _.callable = t2;
  26125. _.nodeWithSpan = t3;
  26126. _.run = t4;
  26127. _.V = t5;
  26128. },
  26129. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  26130. var _ = this;
  26131. _.$this = t0;
  26132. _.evaluated = t1;
  26133. _.callable = t2;
  26134. _.nodeWithSpan = t3;
  26135. _.run = t4;
  26136. _.V = t5;
  26137. },
  26138. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  26139. },
  26140. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  26141. this.$this = t0;
  26142. this.callable = t1;
  26143. },
  26144. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  26145. this._box_0 = t0;
  26146. this.evaluated = t1;
  26147. this.namedSet = t2;
  26148. },
  26149. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  26150. this._box_0 = t0;
  26151. this.evaluated = t1;
  26152. },
  26153. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  26154. },
  26155. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  26156. },
  26157. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  26158. this.$this = t0;
  26159. this.restNodeForSpan = t1;
  26160. },
  26161. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  26162. var _ = this;
  26163. _.$this = t0;
  26164. _.named = t1;
  26165. _.restNodeForSpan = t2;
  26166. _.namedNodes = t3;
  26167. },
  26168. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  26169. },
  26170. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  26171. this.restArgs = t0;
  26172. },
  26173. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  26174. this.$this = t0;
  26175. this.restNodeForSpan = t1;
  26176. this.restArgs = t2;
  26177. },
  26178. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  26179. var _ = this;
  26180. _.$this = t0;
  26181. _.named = t1;
  26182. _.restNodeForSpan = t2;
  26183. _.restArgs = t3;
  26184. },
  26185. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  26186. this.$this = t0;
  26187. this.keywordRestNodeForSpan = t1;
  26188. this.keywordRestArgs = t2;
  26189. },
  26190. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  26191. var _ = this;
  26192. _.$this = t0;
  26193. _.values = t1;
  26194. _.convert = t2;
  26195. _.expressionNode = t3;
  26196. _.map = t4;
  26197. _.nodeWithSpan = t5;
  26198. },
  26199. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  26200. this.parameters = t0;
  26201. this.positional = t1;
  26202. this.named = t2;
  26203. },
  26204. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  26205. this.$this = t0;
  26206. this.node = t1;
  26207. },
  26208. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  26209. },
  26210. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  26211. this.$this = t0;
  26212. this.node = t1;
  26213. },
  26214. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  26215. },
  26216. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  26217. this.$this = t0;
  26218. this.node = t1;
  26219. },
  26220. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  26221. var _ = this;
  26222. _.$this = t0;
  26223. _.mergedQueries = t1;
  26224. _.node = t2;
  26225. _.mergedSources = t3;
  26226. },
  26227. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  26228. this.$this = t0;
  26229. this.node = t1;
  26230. },
  26231. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  26232. this.$this = t0;
  26233. this.node = t1;
  26234. },
  26235. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  26236. this.mergedSources = t0;
  26237. },
  26238. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  26239. this.$this = t0;
  26240. this.rule = t1;
  26241. this.node = t2;
  26242. },
  26243. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  26244. this.$this = t0;
  26245. this.node = t1;
  26246. },
  26247. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  26248. },
  26249. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  26250. this.$this = t0;
  26251. this.node = t1;
  26252. },
  26253. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  26254. this.$this = t0;
  26255. this.node = t1;
  26256. },
  26257. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  26258. },
  26259. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  26260. this.interpolation = t0;
  26261. },
  26262. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  26263. this.value = t0;
  26264. this.quote = t1;
  26265. },
  26266. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  26267. this.$this = t0;
  26268. this.expression = t1;
  26269. },
  26270. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  26271. },
  26272. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  26273. this.$this = t0;
  26274. },
  26275. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  26276. this._evaluate0$_visitor = t0;
  26277. },
  26278. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  26279. },
  26280. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  26281. this.hasBeenMerged = t0;
  26282. },
  26283. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  26284. },
  26285. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  26286. },
  26287. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  26288. this._evaluate0$_visitor = t0;
  26289. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  26290. },
  26291. EveryCssVisitor0: function EveryCssVisitor0() {
  26292. },
  26293. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  26294. this.$this = t0;
  26295. },
  26296. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  26297. this.$this = t0;
  26298. },
  26299. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  26300. this.$this = t0;
  26301. },
  26302. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  26303. this.$this = t0;
  26304. },
  26305. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  26306. this.$this = t0;
  26307. },
  26308. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  26309. this.$this = t0;
  26310. },
  26311. throwNodeException(exception, ascii, color, trace) {
  26312. var wasAscii, jsException, t1, trace0;
  26313. trace = trace;
  26314. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  26315. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26316. try {
  26317. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  26318. jsException = type$._NodeException._as(t1);
  26319. trace0 = A.getTrace0(exception);
  26320. trace = trace0 == null ? trace : trace0;
  26321. if (trace != null)
  26322. A.attachJsStack(jsException, trace);
  26323. A.jsThrow(jsException);
  26324. } finally {
  26325. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26326. }
  26327. },
  26328. _NodeException: function _NodeException() {
  26329. },
  26330. exceptionClass_closure: function exceptionClass_closure() {
  26331. },
  26332. exceptionClass__closure: function exceptionClass__closure() {
  26333. },
  26334. exceptionClass__closure0: function exceptionClass__closure0() {
  26335. },
  26336. exceptionClass__closure1: function exceptionClass__closure1() {
  26337. },
  26338. SassException$0(message, span, loadedUrls) {
  26339. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26340. },
  26341. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26342. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26343. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26344. },
  26345. SassRuntimeException$0(message, span, trace, loadedUrls) {
  26346. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26347. },
  26348. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  26349. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26350. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26351. },
  26352. SassFormatException$0(message, span, loadedUrls) {
  26353. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26354. },
  26355. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26356. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26357. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26358. },
  26359. SassScriptException$0(message, argumentName) {
  26360. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  26361. },
  26362. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  26363. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26364. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  26365. },
  26366. SassException0: function SassException0(t0, t1, t2) {
  26367. this.loadedUrls = t0;
  26368. this._span_exception$_message = t1;
  26369. this._span = t2;
  26370. },
  26371. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  26372. var _ = this;
  26373. _.primaryLabel = t0;
  26374. _.secondarySpans = t1;
  26375. _.loadedUrls = t2;
  26376. _._span_exception$_message = t3;
  26377. _._span = t4;
  26378. },
  26379. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  26380. var _ = this;
  26381. _.trace = t0;
  26382. _.loadedUrls = t1;
  26383. _._span_exception$_message = t2;
  26384. _._span = t3;
  26385. },
  26386. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  26387. var _ = this;
  26388. _.trace = t0;
  26389. _.primaryLabel = t1;
  26390. _.secondarySpans = t2;
  26391. _.loadedUrls = t3;
  26392. _._span_exception$_message = t4;
  26393. _._span = t5;
  26394. },
  26395. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  26396. this.loadedUrls = t0;
  26397. this._span_exception$_message = t1;
  26398. this._span = t2;
  26399. },
  26400. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  26401. var _ = this;
  26402. _.primaryLabel = t0;
  26403. _.secondarySpans = t1;
  26404. _.loadedUrls = t2;
  26405. _._span_exception$_message = t3;
  26406. _._span = t4;
  26407. },
  26408. SassScriptException0: function SassScriptException0(t0) {
  26409. this.message = t0;
  26410. },
  26411. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  26412. this.primaryLabel = t0;
  26413. this.secondarySpans = t1;
  26414. this.message = t2;
  26415. },
  26416. Exports: function Exports() {
  26417. },
  26418. LoggerNamespace: function LoggerNamespace() {
  26419. },
  26420. Expression0: function Expression0() {
  26421. },
  26422. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  26423. this._expression$_inner = t0;
  26424. },
  26425. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  26426. },
  26427. expressionToCalc0(expression) {
  26428. var t4,
  26429. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  26430. t2 = expression.get$span(0),
  26431. t3 = type$.Expression_2;
  26432. t1 = A.List_List$unmodifiable(t1, t3);
  26433. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  26434. t4 = expression.get$span(0);
  26435. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  26436. },
  26437. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  26438. },
  26439. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  26440. },
  26441. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  26442. this.selector = t0;
  26443. this.isOptional = t1;
  26444. this.span = t2;
  26445. },
  26446. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  26447. var _ = this;
  26448. _.extender = t0;
  26449. _.target = t1;
  26450. _.mediaContext = t2;
  26451. _.isOptional = t3;
  26452. _.span = t4;
  26453. },
  26454. Extender0: function Extender0(t0, t1) {
  26455. this.selector = t0;
  26456. this.isOriginal = t1;
  26457. this._extension$_extension = null;
  26458. },
  26459. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  26460. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  26461. extender = A.ExtensionStore$_mode0(mode);
  26462. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  26463. extender._extension_store$_originals.addAll$1(0, selector.components);
  26464. 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) {
  26465. complex = t1[_i];
  26466. compound = complex.get$singleCompound();
  26467. if (compound == null)
  26468. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  26469. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  26470. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  26471. simple = t10[_i0];
  26472. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  26473. for (_i1 = 0; _i1 < t4; ++_i1) {
  26474. complex = t3[_i1];
  26475. complex.get$specificity();
  26476. t13 = new A.Extender0(complex, false);
  26477. t14 = new A.Extension0(t13, simple, null, true, span);
  26478. t13._extension$_extension = t14;
  26479. t12.$indexSet(0, complex, t14);
  26480. }
  26481. t9.$indexSet(0, simple, t12);
  26482. }
  26483. selector = extender._extension_store$_extendList$2(selector, t9);
  26484. }
  26485. return selector;
  26486. },
  26487. ExtensionStore$0() {
  26488. var t1 = type$.SimpleSelector_2;
  26489. 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);
  26490. },
  26491. ExtensionStore$_mode0(_mode) {
  26492. var t1 = type$.SimpleSelector_2;
  26493. 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);
  26494. },
  26495. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  26496. var _ = this;
  26497. _._extension_store$_selectors = t0;
  26498. _._extension_store$_extensions = t1;
  26499. _._extension_store$_extensionsByExtender = t2;
  26500. _._extension_store$_mediaContexts = t3;
  26501. _._extension_store$_sourceSpecificity = t4;
  26502. _._extension_store$_originals = t5;
  26503. _._extension_store$_mode = t6;
  26504. },
  26505. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  26506. },
  26507. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  26508. },
  26509. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  26510. },
  26511. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  26512. },
  26513. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  26514. this.complex = t0;
  26515. },
  26516. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  26517. },
  26518. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  26519. },
  26520. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  26521. },
  26522. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  26523. this._box_0 = t0;
  26524. this.$this = t1;
  26525. this.complex = t2;
  26526. },
  26527. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  26528. this._box_0 = t0;
  26529. this.$this = t1;
  26530. this.complex = t2;
  26531. },
  26532. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  26533. },
  26534. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  26535. },
  26536. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  26537. this.original = t0;
  26538. },
  26539. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  26540. this.$this = t0;
  26541. this.extensions = t1;
  26542. this.targetsUsed = t2;
  26543. },
  26544. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  26545. this.$this = t0;
  26546. this.withoutPseudo = t1;
  26547. },
  26548. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  26549. },
  26550. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  26551. },
  26552. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  26553. },
  26554. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  26555. },
  26556. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  26557. this.pseudo = t0;
  26558. },
  26559. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  26560. this.pseudo = t0;
  26561. this.selector = t1;
  26562. },
  26563. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  26564. this._box_0 = t0;
  26565. this.complex1 = t1;
  26566. },
  26567. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  26568. this._box_0 = t0;
  26569. this.complex1 = t1;
  26570. },
  26571. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  26572. var _ = this;
  26573. _.$this = t0;
  26574. _.newSelectors = t1;
  26575. _.oldToNewSelectors = t2;
  26576. _.newMediaContexts = t3;
  26577. },
  26578. FiberClass: function FiberClass() {
  26579. },
  26580. Fiber: function Fiber() {
  26581. },
  26582. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  26583. this._file0$_findFileUrl = t0;
  26584. },
  26585. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  26586. this.$this = t0;
  26587. this.url = t1;
  26588. },
  26589. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  26590. this._filesystem$_loadPath = t0;
  26591. this._filesystem$_loadPathDeprecated = t1;
  26592. },
  26593. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  26594. },
  26595. ForRule$0(variable, from, to, children, span, exclusive) {
  26596. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26597. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26598. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  26599. },
  26600. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  26601. var _ = this;
  26602. _.variable = t0;
  26603. _.from = t1;
  26604. _.to = t2;
  26605. _.isExclusive = t3;
  26606. _.span = t4;
  26607. _.children = t5;
  26608. _.hasDeclarations = t6;
  26609. },
  26610. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  26611. var _ = this;
  26612. _.url = t0;
  26613. _.shownMixinsAndFunctions = t1;
  26614. _.shownVariables = t2;
  26615. _.hiddenMixinsAndFunctions = t3;
  26616. _.hiddenVariables = t4;
  26617. _.prefix = t5;
  26618. _.configuration = t6;
  26619. _.span = t7;
  26620. },
  26621. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  26622. var t2,
  26623. t1 = false;
  26624. if (rule.prefix == null)
  26625. if (rule.shownMixinsAndFunctions == null)
  26626. if (rule.shownVariables == null) {
  26627. t2 = rule.hiddenMixinsAndFunctions;
  26628. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  26629. if (t2 === true) {
  26630. t1 = rule.hiddenVariables;
  26631. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  26632. t1 = t1 === true;
  26633. }
  26634. }
  26635. if (t1)
  26636. return inner;
  26637. else
  26638. return A.ForwardedModuleView$0(inner, rule, $T);
  26639. },
  26640. ForwardedModuleView$0(_inner, _rule, $T) {
  26641. var t1 = _rule.prefix,
  26642. t2 = _rule.shownVariables,
  26643. t3 = _rule.hiddenVariables,
  26644. t4 = _rule.shownMixinsAndFunctions,
  26645. t5 = _rule.hiddenMixinsAndFunctions;
  26646. 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>"));
  26647. },
  26648. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  26649. var t1 = prefix == null,
  26650. t2 = false;
  26651. if (t1)
  26652. if (safelist == null)
  26653. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  26654. if (t2)
  26655. return map;
  26656. if (!t1)
  26657. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  26658. if (safelist != null)
  26659. 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>"));
  26660. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  26661. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  26662. return map;
  26663. },
  26664. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  26665. var _ = this;
  26666. _._forwarded_view0$_inner = t0;
  26667. _._forwarded_view0$_rule = t1;
  26668. _.variables = t2;
  26669. _.variableNodes = t3;
  26670. _.functions = t4;
  26671. _.mixins = t5;
  26672. _.$ti = t6;
  26673. },
  26674. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  26675. var _ = this;
  26676. _.namespace = t0;
  26677. _.name = t1;
  26678. _.originalName = t2;
  26679. _.$arguments = t3;
  26680. _.span = t4;
  26681. },
  26682. JSFunction0: function JSFunction0() {
  26683. },
  26684. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  26685. this.name = t0;
  26686. this.$arguments = t1;
  26687. this.span = t2;
  26688. },
  26689. functionClass_closure: function functionClass_closure() {
  26690. },
  26691. functionClass__closure: function functionClass__closure() {
  26692. },
  26693. functionClass__closure0: function functionClass__closure0() {
  26694. },
  26695. SassFunction0: function SassFunction0(t0, t1) {
  26696. this.callable = t0;
  26697. this._function0$_compileContext = t1;
  26698. },
  26699. FunctionRule$0($name, parameters, children, span, comment) {
  26700. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  26701. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  26702. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  26703. return new A.FunctionRule0(t1, $name, parameters, span, t2, t3);
  26704. },
  26705. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  26706. var _ = this;
  26707. _.name = t0;
  26708. _.originalName = t1;
  26709. _.parameters = t2;
  26710. _.span = t3;
  26711. _.children = t4;
  26712. _.hasDeclarations = t5;
  26713. },
  26714. unifyComplex0(complexes, span) {
  26715. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  26716. t1 = J.getInterceptor$asx(complexes);
  26717. if (t1.get$length(complexes) === 1)
  26718. return complexes;
  26719. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  26720. t3 = t2.get$current(t2);
  26721. if (t3.accept$1(B.C__IsUselessVisitor0))
  26722. return _null;
  26723. t4 = t3.components;
  26724. _0_6_isSet = t4.length === 1;
  26725. if (_0_6_isSet) {
  26726. _0_6 = t3.leadingCombinators;
  26727. t5 = _0_6.length === 1;
  26728. } else {
  26729. _0_6 = _null;
  26730. t5 = false;
  26731. }
  26732. if (t5) {
  26733. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  26734. if (leadingCombinator == null)
  26735. leadingCombinator = newLeadingCombinator;
  26736. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  26737. return _null;
  26738. }
  26739. base = B.JSArray_methods.get$last(t4);
  26740. _1_1 = base.combinators;
  26741. if (_1_1.length === 1) {
  26742. newTrailingCombinator = _1_1[0];
  26743. if (trailingCombinator != null)
  26744. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  26745. else
  26746. t3 = false;
  26747. if (t3)
  26748. return _null;
  26749. trailingCombinator = newTrailingCombinator;
  26750. }
  26751. unifiedBase0 = base.selector;
  26752. if (unifiedBase == null)
  26753. unifiedBase = unifiedBase0;
  26754. else {
  26755. unifiedBase = A.unifyCompound0(unifiedBase, unifiedBase0);
  26756. if (unifiedBase == null)
  26757. return _null;
  26758. }
  26759. }
  26760. t2 = type$.JSArray_ComplexSelector_2;
  26761. t3 = A._setArrayType([], t2);
  26762. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  26763. t5 = t4.get$current(t4);
  26764. t6 = t5.components;
  26765. t7 = t6.length;
  26766. if (t7 > 1) {
  26767. t8 = t5.leadingCombinators;
  26768. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  26769. }
  26770. }
  26771. t4 = leadingCombinator == null ? B.List_empty16 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  26772. unifiedBase.toString;
  26773. t5 = trailingCombinator == null ? B.List_empty16 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  26774. 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()));
  26775. if (t3.length === 0)
  26776. t1 = A._setArrayType([base], t2);
  26777. else {
  26778. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t3), type$.ComplexSelector_2);
  26779. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  26780. }
  26781. return A.weave0(t1, span, false);
  26782. },
  26783. unifyCompound0(compound1, compound2) {
  26784. var t1, t2, pseudoElementFound, _i, simple, unified,
  26785. result = compound1.components,
  26786. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  26787. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  26788. simple = t1[_i];
  26789. if (pseudoElementFound && simple instanceof A.PseudoSelector0) {
  26790. unified = simple.unify$1(pseudoResult);
  26791. if (unified == null)
  26792. return null;
  26793. pseudoResult = unified;
  26794. } else {
  26795. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector0 && !simple.isClass);
  26796. unified = simple.unify$1(result);
  26797. if (unified == null)
  26798. return null;
  26799. result = unified;
  26800. }
  26801. }
  26802. t1 = A.List_List$_of(result, type$.SimpleSelector_2);
  26803. B.JSArray_methods.addAll$1(t1, pseudoResult);
  26804. return A.CompoundSelector$0(t1, compound1.span);
  26805. },
  26806. unifyUniversalAndElement0(selector1, selector2) {
  26807. var namespace, $name, t1,
  26808. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  26809. namespace1 = _0_0._0,
  26810. name1 = _0_0._1,
  26811. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  26812. namespace2 = _1_0._0,
  26813. name2 = _1_0._1;
  26814. if (namespace1 == namespace2 || namespace2 === "*")
  26815. namespace = namespace1;
  26816. else {
  26817. if (namespace1 !== "*")
  26818. return null;
  26819. namespace = namespace2;
  26820. }
  26821. if (name1 == name2 || name2 == null)
  26822. $name = name1;
  26823. else {
  26824. if (!(name1 == null || name1 === "*"))
  26825. return null;
  26826. $name = name2;
  26827. }
  26828. t1 = selector1.span;
  26829. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  26830. },
  26831. _namespaceAndName0(selector, $name) {
  26832. var t1, _0_4;
  26833. $label0$0: {
  26834. if (selector instanceof A.UniversalSelector0) {
  26835. t1 = new A._Record_2(selector.namespace, null);
  26836. break $label0$0;
  26837. }
  26838. if (selector instanceof A.TypeSelector0) {
  26839. _0_4 = selector.name;
  26840. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  26841. break $label0$0;
  26842. }
  26843. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  26844. }
  26845. return t1;
  26846. },
  26847. weave0(complexes, span, forceLineBreak) {
  26848. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  26849. t1 = J.getInterceptor$asx(complexes);
  26850. if (t1.get$length(complexes) === 1) {
  26851. complex = t1.$index(complexes, 0);
  26852. if (!forceLineBreak || complex.lineBreak)
  26853. return complexes;
  26854. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  26855. }
  26856. t2 = type$.JSArray_ComplexSelector_2;
  26857. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  26858. 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();) {
  26859. t5 = t1.__internal$_current;
  26860. if (t5 == null)
  26861. t5 = t3._as(t5);
  26862. t6 = t5.components;
  26863. if (t6.length === 1) {
  26864. for (i = 0; i < prefixes.length; ++i)
  26865. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  26866. continue;
  26867. }
  26868. t7 = A._setArrayType([], t2);
  26869. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  26870. t9 = A._weaveParents0(prefixes[_i], t5, span);
  26871. if (t9 == null)
  26872. t9 = B.List_empty17;
  26873. t10 = t9.length;
  26874. _i0 = 0;
  26875. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  26876. parentPrefix = t9[_i0];
  26877. t11 = B.JSArray_methods.get$last(t6);
  26878. t12 = A.List_List$_of(parentPrefix.components, t4);
  26879. t12.push(t11);
  26880. t11 = parentPrefix.lineBreak || forceLineBreak;
  26881. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  26882. }
  26883. }
  26884. prefixes = t7;
  26885. }
  26886. return prefixes;
  26887. },
  26888. _weaveParents0(prefix, base, span) {
  26889. var t1, queue1, queue2, trailingCombinators, _0_1, _0_3, _0_3_isSet, rootish2, t2, rootish1, _0_30, rootish, t3, t0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  26890. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  26891. if (leadingCombinators == null)
  26892. return _null;
  26893. t1 = type$.ComplexSelectorComponent_2;
  26894. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  26895. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  26896. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  26897. if (trailingCombinators == null)
  26898. return _null;
  26899. $label0$0: {
  26900. _0_1 = A._firstIfRootish0(queue1);
  26901. _0_3 = A._firstIfRootish0(queue2);
  26902. _0_3_isSet = _0_1 != null;
  26903. rootish2 = _null;
  26904. t2 = false;
  26905. if (_0_3_isSet) {
  26906. t2 = _0_3 != null;
  26907. if (t2)
  26908. rootish2 = _0_3;
  26909. rootish1 = _0_1;
  26910. _0_30 = _0_3;
  26911. } else {
  26912. rootish1 = _null;
  26913. _0_30 = rootish1;
  26914. }
  26915. if (t2) {
  26916. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  26917. if (rootish == null)
  26918. return _null;
  26919. t1 = rootish1.combinators;
  26920. t2 = rootish1.span;
  26921. t3 = type$.CssValue_Combinator_2;
  26922. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  26923. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  26924. break $label0$0;
  26925. }
  26926. t2 = _null;
  26927. t3 = false;
  26928. if (_0_1 != null) {
  26929. if (_0_3_isSet)
  26930. t2 = _0_30;
  26931. else {
  26932. t2 = _0_3;
  26933. _0_30 = t2;
  26934. _0_3_isSet = true;
  26935. }
  26936. t2 = t2 == null;
  26937. t3 = t2 ? _0_1 : _null;
  26938. t0 = t3;
  26939. t3 = t2;
  26940. t2 = t0;
  26941. }
  26942. if (!t3)
  26943. if (_0_1 == null) {
  26944. if (_0_3_isSet)
  26945. t3 = _0_30;
  26946. else {
  26947. t3 = _0_3;
  26948. _0_30 = t3;
  26949. _0_3_isSet = true;
  26950. }
  26951. t3 = t3 != null;
  26952. if (t3) {
  26953. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  26954. if (rootish_case_1 == null)
  26955. rootish_case_1 = t1._as(rootish_case_1);
  26956. t1 = rootish_case_1;
  26957. } else
  26958. t1 = t2;
  26959. t2 = t3;
  26960. } else {
  26961. t1 = t2;
  26962. t2 = false;
  26963. }
  26964. else {
  26965. t1 = t2;
  26966. t2 = true;
  26967. }
  26968. if (t2) {
  26969. queue1.addFirst$1(t1);
  26970. queue2.addFirst$1(t1);
  26971. }
  26972. }
  26973. groups1 = A._groupSelectors0(queue1);
  26974. groups2 = A._groupSelectors0(queue2);
  26975. t1 = type$.List_ComplexSelectorComponent_2;
  26976. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  26977. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  26978. 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) {
  26979. group = lcs[_i];
  26980. t5 = A._setArrayType([], t3);
  26981. 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) {
  26982. chunk = t6[_i0];
  26983. t8 = A._setArrayType([], t4);
  26984. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  26985. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  26986. t5.push(t8);
  26987. }
  26988. choices.push(t5);
  26989. choices.push(A._setArrayType([group], t3));
  26990. groups1.removeFirst$0();
  26991. groups2.removeFirst$0();
  26992. }
  26993. t2 = A._setArrayType([], t3);
  26994. 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) {
  26995. chunk = t1[_i];
  26996. t5 = A._setArrayType([], t4);
  26997. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  26998. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  26999. t2.push(t5);
  27000. }
  27001. choices.push(t2);
  27002. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  27003. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  27004. 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();) {
  27005. t6 = t2.get$current(t2);
  27006. t7 = A._setArrayType([], t4);
  27007. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  27008. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  27009. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  27010. }
  27011. return t1;
  27012. },
  27013. _firstIfRootish0(queue) {
  27014. var first, t1, t2, _i, simple, t3;
  27015. if (queue.get$length(0) >= 1) {
  27016. first = queue.$index(0, 0);
  27017. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  27018. simple = t1[_i];
  27019. t3 = false;
  27020. if (simple instanceof A.PseudoSelector0)
  27021. if (simple.isClass)
  27022. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  27023. if (t3) {
  27024. queue.removeFirst$0();
  27025. return first;
  27026. }
  27027. }
  27028. }
  27029. return null;
  27030. },
  27031. _mergeLeadingCombinators0(combinators1, combinators2) {
  27032. var t1, _0_7, t2, _0_11_isSet, _0_11, combinators, _null = null;
  27033. $label0$0: {
  27034. t1 = _null;
  27035. _0_7 = combinators1.length;
  27036. t2 = _0_7;
  27037. t2 = t2 > 1;
  27038. _0_11_isSet = !t2;
  27039. _0_11 = _null;
  27040. if (_0_11_isSet) {
  27041. _0_11 = combinators2.length;
  27042. t2 = _0_11;
  27043. t2 = t2 > 1;
  27044. } else
  27045. t2 = true;
  27046. if (t2)
  27047. break $label0$0;
  27048. t2 = _0_7;
  27049. t2 = t2 <= 0;
  27050. if (t2)
  27051. combinators = combinators2;
  27052. else
  27053. combinators = t1;
  27054. t1 = t2;
  27055. if (!t1) {
  27056. t1 = false;
  27057. if (_0_11_isSet)
  27058. t1 = _0_11;
  27059. else {
  27060. _0_11 = combinators2.length;
  27061. t1 = _0_11;
  27062. }
  27063. t1 = t1 <= 0;
  27064. combinators = combinators1;
  27065. } else
  27066. t1 = true;
  27067. if (t1) {
  27068. t1 = combinators;
  27069. break $label0$0;
  27070. }
  27071. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  27072. break $label0$0;
  27073. }
  27074. return t1;
  27075. },
  27076. _mergeTrailingCombinators0(components1, components2, span, result) {
  27077. 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;
  27078. if (result == null)
  27079. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  27080. $label0$0: {
  27081. _0_1 = components1.get$length(0);
  27082. if (_0_1 >= 1) {
  27083. t1 = components1.$index(0, _0_1 - 1).combinators;
  27084. break $label0$0;
  27085. }
  27086. t1 = B.List_empty16;
  27087. break $label0$0;
  27088. }
  27089. $label1$1: {
  27090. _1_1 = components2.get$length(0);
  27091. if (_1_1 >= 1) {
  27092. t2 = components2.$index(0, _1_1 - 1).combinators;
  27093. break $label1$1;
  27094. }
  27095. t2 = B.List_empty16;
  27096. break $label1$1;
  27097. }
  27098. t3 = t1.length;
  27099. if (t3 === 0 && t2.length === 0)
  27100. return result;
  27101. if (t3 > 1 || t2.length > 1)
  27102. return _null;
  27103. $label2$2: {
  27104. t3 = A.IterableExtension_get_firstOrNull(t1);
  27105. t3 = t3 == null ? _null : t3.value;
  27106. t2 = A.IterableExtension_get_firstOrNull(t2);
  27107. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  27108. _4_1 = t2[0];
  27109. _4_3 = B.Combinator_55N0 === _4_1;
  27110. _4_5_isSet = _4_3;
  27111. if (_4_5_isSet) {
  27112. _4_4 = t2[1];
  27113. _4_5 = B.Combinator_55N0 === _4_4;
  27114. t3 = _4_5;
  27115. } else {
  27116. _4_4 = _null;
  27117. _4_5 = _4_4;
  27118. t3 = false;
  27119. }
  27120. if (t3) {
  27121. component1 = components1.removeLast$0(0);
  27122. component2 = components2.removeLast$0(0);
  27123. t2 = component1.selector;
  27124. t3 = component2.selector;
  27125. if (A.compoundIsSuperselector0(t2, t3, _null))
  27126. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27127. else {
  27128. t4 = type$.JSArray_ComplexSelectorComponent_2;
  27129. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  27130. if (A.compoundIsSuperselector0(t3, t2, _null))
  27131. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  27132. else {
  27133. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  27134. _2_0 = A.unifyCompound0(t2, t3);
  27135. if (_2_0 != null)
  27136. 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));
  27137. result.addFirst$1(choices);
  27138. }
  27139. }
  27140. break $label2$2;
  27141. }
  27142. _4_6 = _null;
  27143. _4_7 = _null;
  27144. followingComponents = _null;
  27145. nextComponents = _null;
  27146. if (_4_3) {
  27147. if (_4_5_isSet) {
  27148. t3 = _4_4;
  27149. _4_4_isSet = _4_5_isSet;
  27150. } else {
  27151. _4_4 = t2[1];
  27152. t3 = _4_4;
  27153. _4_4_isSet = true;
  27154. }
  27155. _4_9 = B.Combinator_bOP0 === t3;
  27156. _4_6_isSet = _4_9;
  27157. if (_4_6_isSet) {
  27158. _4_6 = t2[2];
  27159. _4_7 = t2[3];
  27160. nextComponents = _4_7;
  27161. followingComponents = _4_6;
  27162. }
  27163. t3 = _4_6_isSet;
  27164. _4_7_isSet = t3;
  27165. } else {
  27166. _4_9 = _null;
  27167. _4_4_isSet = _4_5_isSet;
  27168. _4_6_isSet = false;
  27169. _4_7_isSet = false;
  27170. t3 = false;
  27171. }
  27172. _4_10_isSet = !t3;
  27173. if (_4_10_isSet) {
  27174. _4_10 = B.Combinator_bOP0 === _4_1;
  27175. t3 = _4_10;
  27176. if (t3) {
  27177. if (_4_5_isSet)
  27178. t3 = _4_5;
  27179. else {
  27180. if (_4_4_isSet)
  27181. t3 = _4_4;
  27182. else {
  27183. _4_4 = t2[1];
  27184. t3 = _4_4;
  27185. _4_4_isSet = true;
  27186. }
  27187. _4_5 = B.Combinator_55N0 === t3;
  27188. t3 = _4_5;
  27189. _4_5_isSet = true;
  27190. }
  27191. if (t3) {
  27192. if (_4_6_isSet)
  27193. nextComponents = _4_6;
  27194. else {
  27195. _4_6 = t2[2];
  27196. nextComponents = _4_6;
  27197. _4_6_isSet = true;
  27198. }
  27199. if (_4_7_isSet)
  27200. followingComponents = _4_7;
  27201. else {
  27202. _4_7 = t2[3];
  27203. followingComponents = _4_7;
  27204. _4_7_isSet = true;
  27205. }
  27206. }
  27207. } else
  27208. t3 = false;
  27209. } else {
  27210. _4_10 = _null;
  27211. t3 = true;
  27212. }
  27213. if (t3) {
  27214. next = nextComponents.removeLast$0(0);
  27215. following = followingComponents.removeLast$0(0);
  27216. t1 = following.selector;
  27217. t2 = next.selector;
  27218. t3 = type$.JSArray_ComplexSelectorComponent_2;
  27219. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  27220. if (A.compoundIsSuperselector0(t1, t2, _null))
  27221. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  27222. else {
  27223. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  27224. _3_0 = A.unifyCompound0(t1, t2);
  27225. if (_3_0 != null)
  27226. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  27227. result.addFirst$1(t4);
  27228. }
  27229. break $label2$2;
  27230. }
  27231. t3 = _null;
  27232. if (B.Combinator_0mp0 === _4_1) {
  27233. _4_4_isSet0 = true;
  27234. if (_4_3)
  27235. t4 = _4_9;
  27236. else {
  27237. if (_4_4_isSet)
  27238. t4 = _4_4;
  27239. else {
  27240. _4_4 = t2[1];
  27241. t4 = _4_4;
  27242. _4_4_isSet = _4_4_isSet0;
  27243. }
  27244. _4_9 = B.Combinator_bOP0 === t4;
  27245. t4 = _4_9;
  27246. }
  27247. if (!t4)
  27248. if (_4_5_isSet)
  27249. t4 = _4_5;
  27250. else {
  27251. if (_4_4_isSet)
  27252. t4 = _4_4;
  27253. else {
  27254. _4_4 = t2[1];
  27255. t4 = _4_4;
  27256. _4_4_isSet = _4_4_isSet0;
  27257. }
  27258. _4_5 = B.Combinator_55N0 === t4;
  27259. t4 = _4_5;
  27260. }
  27261. else
  27262. t4 = true;
  27263. if (t4) {
  27264. if (_4_7_isSet)
  27265. siblingComponents_case_0 = _4_7;
  27266. else {
  27267. _4_7 = t2[3];
  27268. siblingComponents_case_0 = _4_7;
  27269. _4_7_isSet = true;
  27270. }
  27271. t3 = siblingComponents_case_0;
  27272. }
  27273. } else
  27274. t4 = false;
  27275. if (!t4) {
  27276. if (_4_10_isSet)
  27277. t4 = _4_10;
  27278. else {
  27279. _4_10 = B.Combinator_bOP0 === _4_1;
  27280. t4 = _4_10;
  27281. }
  27282. if (!t4)
  27283. t4 = _4_3;
  27284. else
  27285. t4 = true;
  27286. if (t4) {
  27287. if (_4_4_isSet)
  27288. t4 = _4_4;
  27289. else {
  27290. _4_4 = t2[1];
  27291. t4 = _4_4;
  27292. _4_4_isSet = true;
  27293. }
  27294. t4 = B.Combinator_0mp0 === t4;
  27295. if (t4) {
  27296. if (_4_6_isSet)
  27297. siblingComponents_case_1 = _4_6;
  27298. else {
  27299. _4_6 = t2[2];
  27300. siblingComponents_case_1 = _4_6;
  27301. _4_6_isSet = true;
  27302. }
  27303. t3 = siblingComponents_case_1;
  27304. }
  27305. } else
  27306. t4 = false;
  27307. } else
  27308. t4 = true;
  27309. if (t4) {
  27310. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27311. break $label2$2;
  27312. }
  27313. t3 = _4_1 == null;
  27314. t4 = !t3;
  27315. t5 = false;
  27316. if (t4) {
  27317. _4_4_isSet0 = true;
  27318. if (_4_4_isSet)
  27319. t6 = _4_4;
  27320. else {
  27321. _4_4 = t2[1];
  27322. t6 = _4_4;
  27323. _4_4_isSet = _4_4_isSet0;
  27324. }
  27325. if (t6 != null) {
  27326. if (_4_4_isSet)
  27327. combinator2 = _4_4;
  27328. else {
  27329. _4_4 = t2[1];
  27330. combinator2 = _4_4;
  27331. _4_4_isSet = _4_4_isSet0;
  27332. }
  27333. t5 = _4_1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  27334. }
  27335. }
  27336. if (t5) {
  27337. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  27338. if (unified == null)
  27339. return _null;
  27340. 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));
  27341. break $label2$2;
  27342. }
  27343. t1 = _null;
  27344. t5 = _null;
  27345. t6 = _null;
  27346. t7 = false;
  27347. if (t4) {
  27348. if (_4_4_isSet)
  27349. t4 = _4_4;
  27350. else {
  27351. _4_4 = t2[1];
  27352. t4 = _4_4;
  27353. _4_4_isSet = true;
  27354. }
  27355. t4 = t4 == null;
  27356. if (t4) {
  27357. if (_4_6_isSet)
  27358. combinatorComponents_case_0 = _4_6;
  27359. else {
  27360. _4_6 = t2[2];
  27361. combinatorComponents_case_0 = _4_6;
  27362. _4_6_isSet = true;
  27363. }
  27364. if (_4_7_isSet)
  27365. descendantComponents_case_0 = _4_7;
  27366. else {
  27367. _4_7 = t2[3];
  27368. descendantComponents_case_0 = _4_7;
  27369. _4_7_isSet = true;
  27370. }
  27371. t1 = descendantComponents_case_0;
  27372. t6 = t1;
  27373. t1 = _4_1;
  27374. t5 = combinatorComponents_case_0;
  27375. }
  27376. t0 = t6;
  27377. t6 = t4;
  27378. t4 = t5;
  27379. t5 = t0;
  27380. } else {
  27381. t4 = t5;
  27382. t5 = t6;
  27383. t6 = t7;
  27384. }
  27385. if (!t6)
  27386. if (t3) {
  27387. if (_4_4_isSet)
  27388. t3 = _4_4;
  27389. else {
  27390. _4_4 = t2[1];
  27391. t3 = _4_4;
  27392. _4_4_isSet = true;
  27393. }
  27394. t3 = t3 != null;
  27395. if (t3) {
  27396. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  27397. if (combinator_case_1 == null)
  27398. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  27399. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  27400. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  27401. t1 = combinatorComponents_case_1;
  27402. t2 = descendantComponents_case_1;
  27403. t4 = t2;
  27404. t2 = t1;
  27405. t1 = combinator_case_1;
  27406. } else {
  27407. t2 = t4;
  27408. t4 = t5;
  27409. }
  27410. t0 = t4;
  27411. t4 = t3;
  27412. t3 = t0;
  27413. } else {
  27414. t3 = t5;
  27415. t2 = t4;
  27416. t4 = false;
  27417. }
  27418. else {
  27419. t3 = t5;
  27420. t2 = t4;
  27421. t4 = true;
  27422. }
  27423. if (t4) {
  27424. if (t1 === B.Combinator_0mp0) {
  27425. t1 = A.IterableExtension_get_lastOrNull(t3);
  27426. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  27427. t1 = t1 === true;
  27428. } else
  27429. t1 = false;
  27430. if (t1)
  27431. t3.removeLast$0(0);
  27432. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27433. break $label2$2;
  27434. }
  27435. return _null;
  27436. }
  27437. return A._mergeTrailingCombinators0(components1, components2, span, result);
  27438. },
  27439. _mustUnify0(complex1, complex2) {
  27440. var t2, t3, t4,
  27441. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  27442. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  27443. 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();)
  27444. t1.add$1(0, t3.get$current(0));
  27445. if (t1._collection$_length === 0)
  27446. return false;
  27447. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  27448. },
  27449. _isUnique0(simple) {
  27450. var t1;
  27451. if (!(simple instanceof A.IDSelector0))
  27452. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  27453. else
  27454. t1 = true;
  27455. return t1;
  27456. },
  27457. _chunks0(queue1, queue2, done, $T) {
  27458. var chunk2, _0_4, _0_7_isSet, _0_7, _0_5, chunk, _0_5_isSet, t2,
  27459. t1 = $T._eval$1("JSArray<0>"),
  27460. chunk1 = A._setArrayType([], t1);
  27461. for (; !done.call$1(queue1);)
  27462. chunk1.push(queue1.removeFirst$0());
  27463. chunk2 = A._setArrayType([], t1);
  27464. for (; !done.call$1(queue2);)
  27465. chunk2.push(queue2.removeFirst$0());
  27466. $label0$0: {
  27467. _0_4 = chunk1.length <= 0;
  27468. _0_7_isSet = _0_4;
  27469. if (_0_7_isSet) {
  27470. _0_7 = chunk2.length <= 0;
  27471. t1 = _0_7;
  27472. _0_5 = chunk2;
  27473. } else {
  27474. _0_7 = null;
  27475. _0_5 = null;
  27476. t1 = false;
  27477. }
  27478. if (t1) {
  27479. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  27480. break $label0$0;
  27481. }
  27482. if (_0_4)
  27483. if (_0_7_isSet) {
  27484. chunk = _0_5;
  27485. _0_5_isSet = _0_7_isSet;
  27486. } else {
  27487. chunk = chunk2;
  27488. _0_5 = chunk;
  27489. _0_5_isSet = true;
  27490. }
  27491. else {
  27492. _0_5_isSet = _0_7_isSet;
  27493. chunk = null;
  27494. }
  27495. if (!_0_4) {
  27496. if (_0_7_isSet)
  27497. t1 = _0_7;
  27498. else {
  27499. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  27500. t1 = _0_7;
  27501. }
  27502. chunk = chunk1;
  27503. } else
  27504. t1 = true;
  27505. if (t1) {
  27506. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  27507. break $label0$0;
  27508. }
  27509. t1 = A.List_List$_of(chunk1, $T);
  27510. B.JSArray_methods.addAll$1(t1, chunk2);
  27511. t2 = A.List_List$_of(chunk2, $T);
  27512. B.JSArray_methods.addAll$1(t2, chunk1);
  27513. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  27514. break $label0$0;
  27515. }
  27516. return t1;
  27517. },
  27518. paths0(choices, $T) {
  27519. 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));
  27520. },
  27521. _groupSelectors0(complex) {
  27522. var t2, t3, t4,
  27523. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  27524. t1 = type$.JSArray_ComplexSelectorComponent_2,
  27525. group = A._setArrayType([], t1);
  27526. 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();) {
  27527. t4 = t3.__internal$_current;
  27528. if (t4 == null)
  27529. t4 = t2._as(t4);
  27530. group.push(t4);
  27531. if (t4.combinators.length === 0) {
  27532. groups._queue_list$_add$1(group);
  27533. group = A._setArrayType([], t1);
  27534. }
  27535. }
  27536. if (group.length !== 0)
  27537. groups._queue_list$_add$1(group);
  27538. return groups;
  27539. },
  27540. listIsSuperselector0(list1, list2) {
  27541. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  27542. },
  27543. _complexIsParentSuperselector0(complex1, complex2) {
  27544. var t1, base, t2;
  27545. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  27546. return false;
  27547. t1 = $.$get$bogusSpan0();
  27548. 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);
  27549. t1 = type$.ComplexSelectorComponent_2;
  27550. t2 = A.List_List$_of(complex1, t1);
  27551. t2.push(base);
  27552. t1 = A.List_List$_of(complex2, t1);
  27553. t1.push(base);
  27554. return A.complexIsSuperselector0(t2, t1);
  27555. },
  27556. complexIsSuperselector0(complex1, complex2) {
  27557. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  27558. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  27559. return false;
  27560. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  27561. return false;
  27562. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  27563. remaining1 = complex1.length - i1;
  27564. remaining2 = complex2.length - i2;
  27565. if (remaining1 === 0 || remaining2 === 0)
  27566. return false;
  27567. if (remaining1 > remaining2)
  27568. return false;
  27569. component1 = complex1[i1];
  27570. t3 = component1.combinators;
  27571. if (t3.length > 1)
  27572. return false;
  27573. if (remaining1 === 1)
  27574. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  27575. return false;
  27576. else {
  27577. t1 = component1.selector;
  27578. t2 = B.JSArray_methods.get$last(complex2);
  27579. t3 = t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null;
  27580. return A.compoundIsSuperselector0(t1, t2.selector, t3);
  27581. }
  27582. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  27583. component2 = complex2[endOfSubselector];
  27584. if (component2.combinators.length > 1)
  27585. return false;
  27586. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  27587. if (A.compoundIsSuperselector0(t4, component2.selector, t5))
  27588. break;
  27589. ++endOfSubselector;
  27590. if (endOfSubselector === complex2.length - 1)
  27591. return false;
  27592. }
  27593. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  27594. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  27595. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  27596. return false;
  27597. component2 = complex2[endOfSubselector];
  27598. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  27599. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  27600. return false;
  27601. ++i1;
  27602. i2 = endOfSubselector + 1;
  27603. if (complex1.length - i1 === 1) {
  27604. t3 = combinator1 == null;
  27605. if ((t3 ? _null : combinator1.value) === B.Combinator_55N0) {
  27606. t3 = complex2.length - 1;
  27607. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  27608. t4.SubListIterable$3(complex2, 0, t3, t2);
  27609. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  27610. return false;
  27611. } else if (!t3)
  27612. if (complex2.length - i2 > 1)
  27613. return false;
  27614. }
  27615. }
  27616. },
  27617. _compatibleWithPreviousCombinator0(previous, parents) {
  27618. if (parents.get$isEmpty(parents))
  27619. return true;
  27620. if (previous == null)
  27621. return true;
  27622. if (previous.value !== B.Combinator_55N0)
  27623. return false;
  27624. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  27625. },
  27626. _isSupercombinator0(combinator1, combinator2) {
  27627. var t2, t3,
  27628. t1 = true;
  27629. if (!J.$eq$(combinator1, combinator2)) {
  27630. t2 = combinator1 == null;
  27631. if (t2)
  27632. t3 = (combinator2 == null ? null : combinator2.value) === B.Combinator_0mp0;
  27633. else
  27634. t3 = false;
  27635. if (!t3)
  27636. if ((t2 ? null : combinator1.value) === B.Combinator_55N0)
  27637. t1 = (combinator2 == null ? null : combinator2.value) === B.Combinator_bOP0;
  27638. else
  27639. t1 = false;
  27640. }
  27641. return t1;
  27642. },
  27643. compoundIsSuperselector0(compound1, compound2, parents) {
  27644. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, pseudo1, t3, t4, t5, _i, simple1, _null = null;
  27645. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  27646. t1 = compound1.components;
  27647. if (t1.length > compound2.components.length)
  27648. return false;
  27649. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  27650. }
  27651. _0_1 = A._findPseudoElementIndexed0(compound1);
  27652. _0_5 = A._findPseudoElementIndexed0(compound2);
  27653. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  27654. _0_5_isSet = t1._is(_0_1);
  27655. _0_50 = _null;
  27656. index1 = _null;
  27657. pseudo2 = _null;
  27658. index2 = _null;
  27659. t2 = false;
  27660. if (_0_5_isSet) {
  27661. pseudo1 = _0_1._0;
  27662. index1 = _0_1._1;
  27663. t1 = t1._is(_0_5);
  27664. if (t1) {
  27665. pseudo2 = _0_5._0;
  27666. index2 = _0_5._1;
  27667. }
  27668. _0_50 = _0_5;
  27669. } else {
  27670. t1 = t2;
  27671. pseudo1 = _null;
  27672. }
  27673. if (t1) {
  27674. if (pseudo1.isSuperselector$1(pseudo2)) {
  27675. t1 = compound1.components;
  27676. t2 = type$.int;
  27677. t3 = A._arrayInstanceType(t1)._precomputed1;
  27678. t4 = compound2.components;
  27679. t5 = A._arrayInstanceType(t4)._precomputed1;
  27680. 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);
  27681. } else
  27682. t1 = false;
  27683. return t1;
  27684. }
  27685. if (_0_1 == null)
  27686. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  27687. else
  27688. t1 = true;
  27689. if (t1)
  27690. return false;
  27691. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  27692. simple1 = t1[_i];
  27693. if (simple1 instanceof A.PseudoSelector0)
  27694. t4 = simple1.selector != null;
  27695. else
  27696. t4 = false;
  27697. if (t4) {
  27698. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  27699. return false;
  27700. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  27701. return false;
  27702. }
  27703. return true;
  27704. },
  27705. _findPseudoElementIndexed0(compound) {
  27706. var t1, t2, i, simple;
  27707. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  27708. simple = t1[i];
  27709. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  27710. return new A._Record_2(simple, i);
  27711. }
  27712. return null;
  27713. },
  27714. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  27715. var t1;
  27716. if (compound1.get$length(0) === 0)
  27717. return true;
  27718. if (compound2.get$length(0) === 0)
  27719. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  27720. t1 = $.$get$bogusSpan0();
  27721. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  27722. },
  27723. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  27724. var selector1 = pseudo1.selector;
  27725. if (selector1 == null)
  27726. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  27727. switch (pseudo1.normalizedName) {
  27728. case "is":
  27729. case "matches":
  27730. case "any":
  27731. case "where":
  27732. 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));
  27733. case "has":
  27734. case "host":
  27735. case "host-context":
  27736. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  27737. case "slotted":
  27738. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  27739. case "not":
  27740. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  27741. case "current":
  27742. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  27743. case "nth-child":
  27744. case "nth-last-child":
  27745. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  27746. default:
  27747. throw A.wrapException("unreachable");
  27748. }
  27749. },
  27750. _selectorPseudoArgs0(compound, $name, isClass) {
  27751. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  27752. 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);
  27753. },
  27754. unifyComplex_closure0: function unifyComplex_closure0() {
  27755. },
  27756. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  27757. this.span = t0;
  27758. },
  27759. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  27760. this.group = t0;
  27761. },
  27762. _weaveParents_closure5: function _weaveParents_closure5() {
  27763. },
  27764. _weaveParents_closure6: function _weaveParents_closure6() {
  27765. },
  27766. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  27767. this.uniqueSelectors = t0;
  27768. },
  27769. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  27770. this.uniqueSelectors = t0;
  27771. },
  27772. paths_closure0: function paths_closure0(t0) {
  27773. this.T = t0;
  27774. },
  27775. paths__closure0: function paths__closure0(t0, t1) {
  27776. this.paths = t0;
  27777. this.T = t1;
  27778. },
  27779. paths___closure0: function paths___closure0(t0, t1) {
  27780. this.option = t0;
  27781. this.T = t1;
  27782. },
  27783. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  27784. this.list1 = t0;
  27785. },
  27786. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  27787. this.complex1 = t0;
  27788. },
  27789. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  27790. },
  27791. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  27792. this.combinator1 = t0;
  27793. },
  27794. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  27795. },
  27796. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  27797. this.compound2 = t0;
  27798. },
  27799. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  27800. this.selector1 = t0;
  27801. },
  27802. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  27803. this.parents = t0;
  27804. this.compound2 = t1;
  27805. },
  27806. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  27807. this.selector1 = t0;
  27808. },
  27809. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  27810. this.selector1 = t0;
  27811. },
  27812. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  27813. this.compound2 = t0;
  27814. this.pseudo1 = t1;
  27815. },
  27816. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  27817. this.complex = t0;
  27818. this.pseudo1 = t1;
  27819. },
  27820. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  27821. this.simple2 = t0;
  27822. },
  27823. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  27824. this.simple2 = t0;
  27825. },
  27826. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  27827. this.selector1 = t0;
  27828. },
  27829. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  27830. this.pseudo1 = t0;
  27831. this.selector1 = t1;
  27832. },
  27833. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  27834. this.isClass = t0;
  27835. this.name = t1;
  27836. },
  27837. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  27838. },
  27839. globalFunctions_closure0: function globalFunctions_closure0() {
  27840. },
  27841. GamutMapMethod_GamutMapMethod$fromName0($name) {
  27842. var t1;
  27843. $label0$0: {
  27844. if ("clip" === $name) {
  27845. t1 = B.ClipGamutMap_clip0;
  27846. break $label0$0;
  27847. }
  27848. if ("local-minde" === $name) {
  27849. t1 = B.LocalMindeGamutMap_A2x0;
  27850. break $label0$0;
  27851. }
  27852. t1 = A.throwExpression(A.SassScriptException$0('Unknown gamut map method "' + $name + '".', null));
  27853. }
  27854. return t1;
  27855. },
  27856. GamutMapMethod0: function GamutMapMethod0() {
  27857. },
  27858. HslColorSpace0: function HslColorSpace0(t0, t1) {
  27859. this.name = t0;
  27860. this._space$_channels = t1;
  27861. },
  27862. HwbColorSpace0: function HwbColorSpace0(t0, t1) {
  27863. this.name = t0;
  27864. this._space$_channels = t1;
  27865. },
  27866. HwbColorSpace_convert_toRgb0: function HwbColorSpace_convert_toRgb0(t0, t1) {
  27867. this._box_0 = t0;
  27868. this.factor = t1;
  27869. },
  27870. IDSelector0: function IDSelector0(t0, t1) {
  27871. this.name = t0;
  27872. this.span = t1;
  27873. },
  27874. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  27875. this.$this = t0;
  27876. },
  27877. IfExpression0: function IfExpression0(t0, t1) {
  27878. this.$arguments = t0;
  27879. this.span = t1;
  27880. },
  27881. IfClause$0(expression, children) {
  27882. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27883. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27884. },
  27885. ElseClause$0(children) {
  27886. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27887. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27888. },
  27889. IfRule0: function IfRule0(t0, t1, t2) {
  27890. this.clauses = t0;
  27891. this.lastClause = t1;
  27892. this.span = t2;
  27893. },
  27894. IfRule_toString_closure0: function IfRule_toString_closure0() {
  27895. },
  27896. IfRuleClause0: function IfRuleClause0() {
  27897. },
  27898. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  27899. },
  27900. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  27901. },
  27902. IfClause0: function IfClause0(t0, t1, t2) {
  27903. this.expression = t0;
  27904. this.children = t1;
  27905. this.hasDeclarations = t2;
  27906. },
  27907. ElseClause0: function ElseClause0(t0, t1) {
  27908. this.children = t0;
  27909. this.hasDeclarations = t1;
  27910. },
  27911. jsToDartList(list) {
  27912. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  27913. },
  27914. dartMapToImmutableMap(dartMap) {
  27915. var t1, t2,
  27916. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  27917. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  27918. t2 = t1.get$current(t1);
  27919. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  27920. }
  27921. return J.asImmutable$0$x(immutableMap);
  27922. },
  27923. immutableMapToDartMap(immutableMap) {
  27924. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  27925. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  27926. return dartMap;
  27927. },
  27928. ImmutableList0: function ImmutableList0() {
  27929. },
  27930. ImmutableMap0: function ImmutableMap0() {
  27931. },
  27932. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  27933. this.dartMap = t0;
  27934. },
  27935. NodeImporter__addSassPath(includePaths) {
  27936. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  27937. },
  27938. NodeImporter__addSassPath$body($async$includePaths) {
  27939. return function() {
  27940. var includePaths = $async$includePaths;
  27941. var $async$goto = 0, $async$handler = 2, $async$errorStack = [], sassPath, t1;
  27942. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  27943. if ($async$errorCode === 1) {
  27944. $async$errorStack.push($async$result);
  27945. $async$goto = $async$handler;
  27946. }
  27947. while (true)
  27948. switch ($async$goto) {
  27949. case 0:
  27950. // Function start
  27951. $async$goto = 3;
  27952. return $async$iterator._yieldStar$1(includePaths);
  27953. case 3:
  27954. // after yield
  27955. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  27956. if (sassPath == null) {
  27957. // goto return
  27958. $async$goto = 1;
  27959. break;
  27960. }
  27961. t1 = A.isNodeJs() ? self.process : null;
  27962. $async$goto = 4;
  27963. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  27964. case 4:
  27965. // after yield
  27966. case 1:
  27967. // return
  27968. return 0;
  27969. case 2:
  27970. // rethrow
  27971. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  27972. }
  27973. };
  27974. };
  27975. },
  27976. NodeImporter: function NodeImporter(t0, t1, t2) {
  27977. this._implementation$_options = t0;
  27978. this._includePaths = t1;
  27979. this._implementation$_importers = t2;
  27980. },
  27981. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  27982. var _ = this;
  27983. _.$this = t0;
  27984. _.importer = t1;
  27985. _.forImport = t2;
  27986. _.url = t3;
  27987. _.previousString = t4;
  27988. },
  27989. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  27990. this.path = t0;
  27991. },
  27992. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  27993. },
  27994. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  27995. var _ = this;
  27996. _.$this = t0;
  27997. _.importer = t1;
  27998. _.forImport = t2;
  27999. _.url = t3;
  28000. _.previousString = t4;
  28001. _.completer = t5;
  28002. },
  28003. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  28004. var _ = this;
  28005. _.url = t0;
  28006. _.modifiers = t1;
  28007. _.span = t2;
  28008. _._node$_indexInParent = _._node$_parent = null;
  28009. _.isGroupEnd = false;
  28010. },
  28011. ImportCache$0(importers, loadPaths, packageConfig) {
  28012. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28013. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28014. t3 = type$.Uri;
  28015. 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));
  28016. },
  28017. ImportCache$none() {
  28018. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28019. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28020. t3 = type$.Uri;
  28021. 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));
  28022. },
  28023. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  28024. var t1, t2, t3, t4, _i, path, _null = null,
  28025. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28026. if (A.isBrowser()) {
  28027. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28028. if (importers != null)
  28029. B.JSArray_methods.addAll$1(t1, importers);
  28030. return t1;
  28031. }
  28032. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28033. if (importers != null)
  28034. B.JSArray_methods.addAll$1(t1, importers);
  28035. if (loadPaths != null)
  28036. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  28037. t3 = t2.get$current(t2);
  28038. 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));
  28039. }
  28040. if (sassPath != null) {
  28041. t2 = A.isNodeJs() ? self.process : _null;
  28042. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  28043. t4 = t3.length;
  28044. _i = 0;
  28045. for (; _i < t4; ++_i) {
  28046. path = t3[_i];
  28047. 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));
  28048. }
  28049. }
  28050. return t1;
  28051. },
  28052. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  28053. var _ = this;
  28054. _._import_cache$_importers = t0;
  28055. _._import_cache$_canonicalizeCache = t1;
  28056. _._import_cache$_perImporterCanonicalizeCache = t2;
  28057. _._import_cache$_nonCanonicalRelativeUrls = t3;
  28058. _._import_cache$_importCache = t4;
  28059. _._import_cache$_resultsCache = t5;
  28060. _._import_cache$_loadTimes = t6;
  28061. },
  28062. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  28063. var _ = this;
  28064. _.$this = t0;
  28065. _.baseImporter = t1;
  28066. _.resolvedUrl = t2;
  28067. _.baseUrl = t3;
  28068. _.forImport = t4;
  28069. _.key = t5;
  28070. _.url = t6;
  28071. },
  28072. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  28073. this.importer = t0;
  28074. this.url = t1;
  28075. },
  28076. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  28077. var _ = this;
  28078. _.$this = t0;
  28079. _.importer = t1;
  28080. _.canonicalUrl = t2;
  28081. _.originalUrl = t3;
  28082. },
  28083. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  28084. this.canonicalUrl = t0;
  28085. },
  28086. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  28087. },
  28088. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  28089. },
  28090. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  28091. this.canonicalUrl = t0;
  28092. },
  28093. ImportRule0: function ImportRule0(t0, t1) {
  28094. this.imports = t0;
  28095. this.span = t1;
  28096. },
  28097. JSImporter: function JSImporter() {
  28098. },
  28099. JSImporterResult: function JSImporterResult() {
  28100. },
  28101. Importer0: function Importer0() {
  28102. },
  28103. NodeImporterResult0: function NodeImporterResult0() {
  28104. },
  28105. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  28106. var _ = this;
  28107. _.namespace = t0;
  28108. _.name = t1;
  28109. _.originalName = t2;
  28110. _.$arguments = t3;
  28111. _.content = t4;
  28112. _.span = t5;
  28113. },
  28114. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  28115. this.name = t0;
  28116. this.$arguments = t1;
  28117. this.span = t2;
  28118. },
  28119. Interpolation$0(contents, spans, span) {
  28120. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  28121. t1.Interpolation$30(contents, spans, span);
  28122. return t1;
  28123. },
  28124. Interpolation0: function Interpolation0(t0, t1, t2) {
  28125. this.contents = t0;
  28126. this.spans = t1;
  28127. this.span = t2;
  28128. },
  28129. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  28130. },
  28131. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  28132. this.expression = t0;
  28133. this.span = t1;
  28134. },
  28135. InterpolationBuffer0: function InterpolationBuffer0(t0, t1, t2) {
  28136. this._interpolation_buffer0$_text = t0;
  28137. this._interpolation_buffer0$_contents = t1;
  28138. this._interpolation_buffer0$_spans = t2;
  28139. },
  28140. InterpolationMap$0(_interpolation, targetLocations) {
  28141. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  28142. t2 = _interpolation.contents.length,
  28143. expectedLocations = Math.max(0, t2 - 1);
  28144. if (t1.length !== expectedLocations)
  28145. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  28146. return new A.InterpolationMap0(_interpolation, t1);
  28147. },
  28148. InterpolationMap0: function InterpolationMap0(t0, t1) {
  28149. this._interpolation_map$_interpolation = t0;
  28150. this._interpolation_map$_targetLocations = t1;
  28151. },
  28152. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  28153. },
  28154. InterpolationMethod$0(space, hue) {
  28155. var t1;
  28156. if (space.get$isPolarInternal())
  28157. t1 = hue == null ? B.HueInterpolationMethod_00 : hue;
  28158. else
  28159. t1 = null;
  28160. if (!space.get$isPolarInternal() && hue != null)
  28161. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  28162. return new A.InterpolationMethod0(space, t1);
  28163. },
  28164. InterpolationMethod_InterpolationMethod$fromValue0(value, $name) {
  28165. var t1, space, hueMethod,
  28166. list = value.assertCommonListStyle$2$allowSlash($name, false);
  28167. if (list.length === 0)
  28168. throw A.wrapException(A.SassScriptException$0(string$.Expecta, $name));
  28169. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  28170. t1.assertUnquoted$1($name);
  28171. space = A.ColorSpace_fromName0(t1._string0$_text, $name);
  28172. if (list.length === 1)
  28173. return A.InterpolationMethod$0(space, null);
  28174. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(list[1], $name);
  28175. if (list.length === 2)
  28176. throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  28177. else {
  28178. t1 = list[2].assertString$1($name);
  28179. t1.assertUnquoted$1($name);
  28180. if (t1._string0$_text.toLowerCase() !== "hue")
  28181. throw A.wrapException(A.SassScriptException$0(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  28182. else if (list.length > 3)
  28183. throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  28184. else if (!space.get$isPolarInternal())
  28185. throw A.wrapException(A.SassScriptException$0('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  28186. }
  28187. return A.InterpolationMethod$0(space, hueMethod);
  28188. },
  28189. HueInterpolationMethod_HueInterpolationMethod$_fromValue0(value, $name) {
  28190. var _0_0,
  28191. t1 = value.assertString$1($name);
  28192. t1.assertUnquoted$0();
  28193. _0_0 = t1._string0$_text.toLowerCase();
  28194. $label0$0: {
  28195. if ("shorter" === _0_0) {
  28196. t1 = B.HueInterpolationMethod_00;
  28197. break $label0$0;
  28198. }
  28199. if ("longer" === _0_0) {
  28200. t1 = B.HueInterpolationMethod_10;
  28201. break $label0$0;
  28202. }
  28203. if ("increasing" === _0_0) {
  28204. t1 = B.HueInterpolationMethod_20;
  28205. break $label0$0;
  28206. }
  28207. if ("decreasing" === _0_0) {
  28208. t1 = B.HueInterpolationMethod_30;
  28209. break $label0$0;
  28210. }
  28211. t1 = A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  28212. }
  28213. return t1;
  28214. },
  28215. InterpolationMethod0: function InterpolationMethod0(t0, t1) {
  28216. this.space = t0;
  28217. this.hue = t1;
  28218. },
  28219. HueInterpolationMethod0: function HueInterpolationMethod0(t0) {
  28220. this._name = t0;
  28221. },
  28222. _realCasePath0(path) {
  28223. var prefix, _null = null,
  28224. t1 = A.isNodeJs() ? self.process : _null;
  28225. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28226. t1 = A.isNodeJs() ? self.process : _null;
  28227. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  28228. } else
  28229. t1 = true;
  28230. if (!t1)
  28231. return path;
  28232. t1 = A.isNodeJs() ? self.process : _null;
  28233. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28234. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  28235. t1 = prefix.length;
  28236. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  28237. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  28238. }
  28239. return new A._realCasePath_helper0().call$1(path);
  28240. },
  28241. _realCasePath_helper0: function _realCasePath_helper0() {
  28242. },
  28243. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2, t3) {
  28244. var _ = this;
  28245. _.path = t0;
  28246. _.realPath = t1;
  28247. _.helper = t2;
  28248. _.dirname = t3;
  28249. },
  28250. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  28251. this.basename = t0;
  28252. },
  28253. IsCalculationSafeVisitor0: function IsCalculationSafeVisitor0() {
  28254. },
  28255. IsCalculationSafeVisitor_visitListExpression_closure0: function IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  28256. this.$this = t0;
  28257. },
  28258. printError0(message) {
  28259. var t1 = A.isNodeJs() ? self.process : null;
  28260. if (t1 != null) {
  28261. t1 = J.get$stderr$x(t1);
  28262. J.write$1$x(t1, A.S(message) + "\n");
  28263. } else {
  28264. t1 = self.console;
  28265. J.error$1$x(t1, message);
  28266. }
  28267. },
  28268. readFile0(path) {
  28269. var contents, sourceFile, t1, i;
  28270. if (!A.isNodeJs())
  28271. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  28272. contents = A._asString(A._readFile0(path, "utf8"));
  28273. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  28274. return contents;
  28275. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  28276. for (t1 = contents.length, i = 0; i < t1; ++i) {
  28277. if (contents.charCodeAt(i) !== 65533)
  28278. continue;
  28279. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  28280. }
  28281. return contents;
  28282. },
  28283. _readFile0(path, encoding) {
  28284. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  28285. },
  28286. fileExists0(path) {
  28287. if (!A.isNodeJs())
  28288. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  28289. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  28290. },
  28291. dirExists0(path) {
  28292. if (!A.isNodeJs())
  28293. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  28294. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  28295. },
  28296. linkExists0(path) {
  28297. if (!A.isNodeJs())
  28298. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  28299. return A._systemErrorToFileSystemException0(new A.linkExists_closure0(path));
  28300. },
  28301. listDir0(path) {
  28302. if (!A.isNodeJs())
  28303. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28304. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  28305. },
  28306. realpath0(path) {
  28307. if (!A.isNodeJs())
  28308. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28309. return A._systemErrorToFileSystemException0(new A.realpath_closure0(path));
  28310. },
  28311. getEnvironmentVariable0($name) {
  28312. var t1 = A.isNodeJs() ? self.process : null,
  28313. env = t1 == null ? null : J.get$env$x(t1);
  28314. if (env == null)
  28315. t1 = null;
  28316. else
  28317. t1 = A._asStringQ(env[$name]);
  28318. return t1;
  28319. },
  28320. _systemErrorToFileSystemException0(callback) {
  28321. var error, t1, exception, t2;
  28322. try {
  28323. t1 = callback.call$0();
  28324. return t1;
  28325. } catch (exception) {
  28326. error = A.unwrapException(exception);
  28327. if (!type$.JsSystemError._is(error))
  28328. throw exception;
  28329. t1 = error;
  28330. t2 = J.getInterceptor$x(t1);
  28331. 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)));
  28332. }
  28333. },
  28334. hasTerminal0() {
  28335. var t1 = A.isNodeJs() ? self.process : null;
  28336. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  28337. },
  28338. FileSystemException0: function FileSystemException0(t0, t1) {
  28339. this.message = t0;
  28340. this.path = t1;
  28341. },
  28342. _readFile_closure0: function _readFile_closure0(t0, t1) {
  28343. this.path = t0;
  28344. this.encoding = t1;
  28345. },
  28346. fileExists_closure0: function fileExists_closure0(t0) {
  28347. this.path = t0;
  28348. },
  28349. dirExists_closure0: function dirExists_closure0(t0) {
  28350. this.path = t0;
  28351. },
  28352. linkExists_closure0: function linkExists_closure0(t0) {
  28353. this.path = t0;
  28354. },
  28355. listDir_closure0: function listDir_closure0(t0, t1) {
  28356. this.recursive = t0;
  28357. this.path = t1;
  28358. },
  28359. listDir__closure1: function listDir__closure1(t0) {
  28360. this.path = t0;
  28361. },
  28362. listDir__closure2: function listDir__closure2() {
  28363. },
  28364. listDir_closure_list0: function listDir_closure_list0() {
  28365. },
  28366. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  28367. this.parent = t0;
  28368. this.list = t1;
  28369. },
  28370. realpath_closure0: function realpath_closure0(t0) {
  28371. this.path = t0;
  28372. },
  28373. main() {
  28374. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  28375. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  28376. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  28377. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  28378. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  28379. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  28380. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  28381. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  28382. J.set$Value$x(self.exports, $.$get$valueClass());
  28383. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  28384. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  28385. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  28386. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  28387. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  28388. J.set$SassColor$x(self.exports, $.$get$colorClass());
  28389. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  28390. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  28391. J.set$SassList$x(self.exports, $.$get$listClass());
  28392. J.set$SassMap$x(self.exports, $.$get$mapClass());
  28393. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  28394. J.set$SassString$x(self.exports, $.$get$stringClass());
  28395. J.set$sassNull$x(self.exports, B.C__SassNull0);
  28396. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  28397. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  28398. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  28399. 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())}});
  28400. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  28401. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  28402. J.set$Version$x(self.exports, $.$get$versionClass());
  28403. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  28404. J.set$info$x(self.exports, "dart-sass\t1.91.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.9.1\t(Dart Compiler)\t[Dart]");
  28405. A.updateCanonicalizeContextPrototype();
  28406. A.updateSourceSpanPrototype();
  28407. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  28408. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  28409. 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});
  28410. J.set$NULL$x(self.exports, B.C__SassNull0);
  28411. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  28412. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  28413. },
  28414. main_closure: function main_closure() {
  28415. },
  28416. main_closure0: function main_closure0() {
  28417. },
  28418. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  28419. this._node = t0;
  28420. this._fallback = t1;
  28421. this._ascii = t2;
  28422. },
  28423. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  28424. var _ = this;
  28425. _.$this = t0;
  28426. _.message = t1;
  28427. _.span = t2;
  28428. _.trace = t3;
  28429. _.deprecation = t4;
  28430. },
  28431. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  28432. this.$this = t0;
  28433. this.message = t1;
  28434. this.span = t2;
  28435. },
  28436. ModifiableCssKeyframeBlock$0(selector, span) {
  28437. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28438. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28439. },
  28440. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  28441. var _ = this;
  28442. _.selector = t0;
  28443. _.span = t1;
  28444. _.children = t2;
  28445. _._node$_children = t3;
  28446. _._node$_indexInParent = _._node$_parent = null;
  28447. _.isGroupEnd = false;
  28448. },
  28449. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  28450. this.scanner = t0;
  28451. this._parser1$_interpolationMap = t1;
  28452. },
  28453. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  28454. this.$this = t0;
  28455. },
  28456. LabColorSpace0: function LabColorSpace0(t0, t1) {
  28457. this.name = t0;
  28458. this._space$_channels = t1;
  28459. },
  28460. LazyFileSpan0: function LazyFileSpan0(t0) {
  28461. this._lazy_file_span0$_builder = t0;
  28462. this._lazy_file_span0$_span = null;
  28463. },
  28464. LchColorSpace0: function LchColorSpace0(t0, t1) {
  28465. this.name = t0;
  28466. this._space$_channels = t1;
  28467. },
  28468. render(options, callback) {
  28469. var _0_0;
  28470. if (!A.isNodeJs())
  28471. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  28472. _0_0 = J.get$fiber$x(options);
  28473. if (_0_0 != null)
  28474. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  28475. else
  28476. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  28477. },
  28478. _renderAsync(options) {
  28479. var $async$goto = 0,
  28480. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  28481. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  28482. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28483. if ($async$errorCode === 1)
  28484. return A._asyncRethrow($async$result, $async$completer);
  28485. while (true)
  28486. switch ($async$goto) {
  28487. case 0:
  28488. // Function start
  28489. start = new A.DateTime(Date.now(), 0, false);
  28490. t1 = J.getInterceptor$x(options);
  28491. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28492. t2 = t1.get$logger(options);
  28493. t3 = A.hasTerminal0();
  28494. t4 = $._glyphs;
  28495. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28496. _0_0 = t1.get$data(options);
  28497. $async$goto = _0_0 != null ? 3 : 5;
  28498. break;
  28499. case 3:
  28500. // then
  28501. t2 = A._parseImporter(options, start);
  28502. t3 = A._parsePackageImportersAsync(options, start);
  28503. t4 = A._parseFunctions(options, start, true);
  28504. t5 = t1.get$indentedSyntax(options);
  28505. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28506. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28507. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28508. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28509. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28510. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28511. t11 = t1.get$quietDeps(options);
  28512. if (t11 == null)
  28513. t11 = false;
  28514. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28515. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28516. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28517. t15 = t1.get$verbose(options);
  28518. if (t15 == null)
  28519. t15 = false;
  28520. t1 = t1.get$charset(options);
  28521. if (t1 == null)
  28522. t1 = true;
  28523. $async$goto = 6;
  28524. 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);
  28525. case 6:
  28526. // returning from await.
  28527. result = $async$result;
  28528. // goto join
  28529. $async$goto = 4;
  28530. break;
  28531. case 5:
  28532. // else
  28533. $async$goto = file != null ? 7 : 9;
  28534. break;
  28535. case 7:
  28536. // then
  28537. t2 = A._parseImporter(options, start);
  28538. t3 = A._parsePackageImportersAsync(options, start);
  28539. t4 = A._parseFunctions(options, start, true);
  28540. t5 = t1.get$indentedSyntax(options);
  28541. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28542. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28543. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28544. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28545. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28546. t10 = t1.get$quietDeps(options);
  28547. if (t10 == null)
  28548. t10 = false;
  28549. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28550. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28551. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28552. t14 = t1.get$verbose(options);
  28553. if (t14 == null)
  28554. t14 = false;
  28555. t1 = t1.get$charset(options);
  28556. if (t1 == null)
  28557. t1 = true;
  28558. $async$goto = 10;
  28559. 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);
  28560. case 10:
  28561. // returning from await.
  28562. result = $async$result;
  28563. // goto join
  28564. $async$goto = 8;
  28565. break;
  28566. case 9:
  28567. // else
  28568. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  28569. case 8:
  28570. // join
  28571. case 4:
  28572. // join
  28573. $async$returnValue = A._newRenderResult(options, result, start);
  28574. // goto return
  28575. $async$goto = 1;
  28576. break;
  28577. case 1:
  28578. // return
  28579. return A._asyncReturn($async$returnValue, $async$completer);
  28580. }
  28581. });
  28582. return A._asyncStartSync($async$_renderAsync, $async$completer);
  28583. },
  28584. renderSync(options) {
  28585. 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;
  28586. if (!A.isNodeJs())
  28587. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  28588. try {
  28589. start = new A.DateTime(Date.now(), 0, false);
  28590. result = null;
  28591. t1 = J.getInterceptor$x(options);
  28592. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28593. t2 = t1.get$logger(options);
  28594. t3 = A.hasTerminal0();
  28595. t4 = $._glyphs;
  28596. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28597. _0_0 = t1.get$data(options);
  28598. data = null;
  28599. if (_0_0 != null) {
  28600. data = _0_0;
  28601. t2 = data;
  28602. t3 = A._parseImporter(options, start);
  28603. t4 = A._parsePackageImporters(options, start);
  28604. t5 = A._parseFunctions(options, start, false);
  28605. t6 = t1.get$indentedSyntax(options);
  28606. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  28607. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  28608. t8 = J.$eq$(t1.get$indentType(options), "tab");
  28609. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  28610. t10 = A._parseLineFeed(t1.get$linefeed(options));
  28611. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28612. t12 = t1.get$quietDeps(options);
  28613. if (t12 == null)
  28614. t12 = false;
  28615. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28616. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28617. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28618. t16 = t1.get$verbose(options);
  28619. if (t16 == null)
  28620. t16 = false;
  28621. t1 = t1.get$charset(options);
  28622. if (t1 == null)
  28623. t1 = true;
  28624. 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);
  28625. } else if (file != null) {
  28626. t2 = A._parseImporter(options, start);
  28627. t3 = A._parsePackageImporters(options, start);
  28628. t4 = A._parseFunctions(options, start, false);
  28629. t5 = t1.get$indentedSyntax(options);
  28630. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  28631. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28632. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28633. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28634. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28635. t10 = t1.get$quietDeps(options);
  28636. if (t10 == null)
  28637. t10 = false;
  28638. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28639. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28640. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28641. t14 = t1.get$verbose(options);
  28642. if (t14 == null)
  28643. t14 = false;
  28644. t1 = t1.get$charset(options);
  28645. if (t1 == null)
  28646. t1 = true;
  28647. 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);
  28648. } else {
  28649. t1 = A.ArgumentError$(string$.Either, _null);
  28650. throw A.wrapException(t1);
  28651. }
  28652. t1 = A._newRenderResult(options, result, start);
  28653. return t1;
  28654. } catch (exception) {
  28655. t1 = A.unwrapException(exception);
  28656. if (t1 instanceof A.SassException0) {
  28657. error = t1;
  28658. stackTrace = A.getTraceFromException(exception);
  28659. A.jsThrow(A._wrapException(error, stackTrace));
  28660. } else {
  28661. error0 = t1;
  28662. stackTrace0 = A.getTraceFromException(exception);
  28663. t1 = J.toString$0$(error0);
  28664. t2 = A.getTrace0(error0);
  28665. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  28666. }
  28667. }
  28668. },
  28669. _wrapException(exception, stackTrace) {
  28670. var t2, t3, t4, t5,
  28671. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  28672. _0_0 = t1.get$sourceUrl(t1);
  28673. $label0$0: {
  28674. if (_0_0 == null) {
  28675. t1 = "stdin";
  28676. break $label0$0;
  28677. }
  28678. if ("file" === _0_0.get$scheme()) {
  28679. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  28680. break $label0$0;
  28681. }
  28682. t1 = _0_0.toString$0(0);
  28683. break $label0$0;
  28684. }
  28685. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  28686. t3 = A.getTrace0(exception);
  28687. if (t3 == null)
  28688. t3 = stackTrace;
  28689. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28690. t4 = t4.get$start(t4);
  28691. t4 = t4.file.getLine$1(t4.offset);
  28692. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28693. t5 = t5.get$start(t5);
  28694. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  28695. },
  28696. _parseFunctions(options, start, asynch) {
  28697. var result,
  28698. functions = J.get$functions$x(options);
  28699. if (functions == null)
  28700. return B.List_empty28;
  28701. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  28702. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  28703. return result;
  28704. },
  28705. _parseImporter(options, start) {
  28706. var t2, t3, contextOptions, _1_0, t4, importers,
  28707. t1 = J.getInterceptor$x(options),
  28708. _0_0 = t1.get$importer(options);
  28709. $label0$0: {
  28710. if (_0_0 == null) {
  28711. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  28712. break $label0$0;
  28713. }
  28714. if (type$.List_dynamic._is(_0_0)) {
  28715. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  28716. break $label0$0;
  28717. }
  28718. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  28719. break $label0$0;
  28720. }
  28721. t3 = J.getInterceptor$asx(t2);
  28722. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  28723. _1_0 = t1.get$fiber(options);
  28724. t4 = {};
  28725. t4.fiber = null;
  28726. if (_1_0 != null) {
  28727. t4.fiber = _1_0;
  28728. t2 = t3.map$1$1(t2, new A._parseImporter_closure(t4), type$.JSFunction);
  28729. importers = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  28730. } else
  28731. importers = t2;
  28732. t1 = t1.get$includePaths(options);
  28733. if (t1 == null)
  28734. t1 = [];
  28735. t2 = type$.String;
  28736. 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));
  28737. },
  28738. _parsePackageImportersAsync(options, start) {
  28739. var t2, t3, t4,
  28740. t1 = J.getInterceptor$x(options);
  28741. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28742. t1 = t1.get$pkgImporter(options);
  28743. t1.toString;
  28744. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  28745. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  28746. t4 = type$.Uri;
  28747. 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));
  28748. }
  28749. return null;
  28750. },
  28751. _parsePackageImporters(options, start) {
  28752. var t2, t3, t4,
  28753. t1 = J.getInterceptor$x(options);
  28754. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28755. t1 = t1.get$pkgImporter(options);
  28756. t1.toString;
  28757. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  28758. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  28759. t4 = type$.Uri;
  28760. 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));
  28761. }
  28762. return null;
  28763. },
  28764. _contextOptions(options, start) {
  28765. var includePaths, t3, t4, t5, t6, t7,
  28766. t1 = J.getInterceptor$x(options),
  28767. t2 = t1.get$includePaths(options);
  28768. if (t2 == null)
  28769. t2 = [];
  28770. includePaths = A.List_List$from(t2, true, type$.String);
  28771. t2 = t1.get$file(options);
  28772. t3 = t1.get$data(options);
  28773. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  28774. B.JSArray_methods.addAll$1(t4, includePaths);
  28775. t5 = A.isNodeJs() ? self.process : null;
  28776. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  28777. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  28778. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  28779. if (t6 == null)
  28780. t6 = 2;
  28781. t7 = A._parseLineFeed(t1.get$linefeed(options));
  28782. t1 = t1.get$file(options);
  28783. if (t1 == null)
  28784. t1 = "data";
  28785. 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}}};
  28786. },
  28787. _parseOutputStyle(style) {
  28788. var t1;
  28789. $label0$0: {
  28790. if (style == null || "expanded" === style) {
  28791. t1 = B.OutputStyle_00;
  28792. break $label0$0;
  28793. }
  28794. if ("compressed" === style) {
  28795. t1 = B.OutputStyle_10;
  28796. break $label0$0;
  28797. }
  28798. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  28799. }
  28800. return t1;
  28801. },
  28802. _parseIndentWidth(width) {
  28803. var t1;
  28804. $label0$0: {
  28805. if (width == null) {
  28806. t1 = null;
  28807. break $label0$0;
  28808. }
  28809. if (A._isInt(width)) {
  28810. t1 = width;
  28811. break $label0$0;
  28812. }
  28813. t1 = A.int_parse(J.toString$0$(width), null);
  28814. break $label0$0;
  28815. }
  28816. return t1;
  28817. },
  28818. _parseLineFeed(str) {
  28819. var t1;
  28820. $label0$0: {
  28821. if ("cr" === str) {
  28822. t1 = B.LineFeed_ybQ;
  28823. break $label0$0;
  28824. }
  28825. if ("crlf" === str) {
  28826. t1 = B.LineFeed_Pcs;
  28827. break $label0$0;
  28828. }
  28829. if ("lfcr" === str) {
  28830. t1 = B.LineFeed_G7N;
  28831. break $label0$0;
  28832. }
  28833. t1 = B.LineFeed_9HY;
  28834. break $label0$0;
  28835. }
  28836. return t1;
  28837. },
  28838. _newRenderResult(options, result, start) {
  28839. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, t5, _0_0, t6, sourceMapDirUrl, i, source, t7, buffer, indices, url, t8, _null = null,
  28840. t1 = Date.now(),
  28841. t2 = result._compile_result$_serialize,
  28842. css = t2._0,
  28843. sourceMapBytes = self.undefined;
  28844. if (A._enableSourceMaps(options)) {
  28845. t3 = J.getInterceptor$x(options);
  28846. sourceMapOption = t3.get$sourceMap(options);
  28847. if (typeof sourceMapOption == "string")
  28848. sourceMapPath = sourceMapOption;
  28849. else {
  28850. t4 = t3.get$outFile(options);
  28851. t4.toString;
  28852. sourceMapPath = J.$add$ansx(t4, ".map");
  28853. }
  28854. t4 = $.$get$context();
  28855. sourceMapDir = t4.dirname$1(sourceMapPath);
  28856. t2 = t2._1;
  28857. t2.toString;
  28858. t2.sourceRoot = t3.get$sourceMapRoot(options);
  28859. outFile = t3.get$outFile(options);
  28860. t5 = outFile == null;
  28861. if (t5) {
  28862. _0_0 = t3.get$file(options);
  28863. $label0$0: {
  28864. if (_0_0 != null) {
  28865. t6 = t4.toUri$1(t4.withoutExtension$1(_0_0) + ".css").toString$0(0);
  28866. break $label0$0;
  28867. }
  28868. t6 = t2.targetUrl = "stdin.css";
  28869. break $label0$0;
  28870. }
  28871. t2.targetUrl = t6;
  28872. } else
  28873. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  28874. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  28875. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  28876. source = t4[i];
  28877. if (source === "stdin")
  28878. continue;
  28879. t6 = $.$get$url();
  28880. t7 = t6.style;
  28881. if (t7.rootLength$1(source) <= 0 || t7.isRootRelative$1(source))
  28882. continue;
  28883. t4[i] = t6.relative$2$from(source, sourceMapDirUrl);
  28884. }
  28885. t4 = t3.get$sourceMapContents(options);
  28886. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  28887. t2 = t3.get$omitSourceMapUrl(options);
  28888. if (!(!J.$eq$(t2, false) && t2 != null)) {
  28889. t2 = t3.get$sourceMapEmbed(options);
  28890. if (!J.$eq$(t2, false) && t2 != null) {
  28891. buffer = new A.StringBuffer("");
  28892. indices = A._setArrayType([-1], type$.JSArray_int);
  28893. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  28894. indices.push(buffer._contents.length);
  28895. indices.push((buffer._contents += ";base64,").length - 1);
  28896. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  28897. t3 = sourceMapBytes.length;
  28898. A.RangeError_checkValidRange(0, t3, t3);
  28899. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  28900. t2 = buffer._contents;
  28901. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  28902. } else {
  28903. if (t5)
  28904. t2 = sourceMapPath;
  28905. else {
  28906. t2 = $.$get$context();
  28907. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  28908. }
  28909. url = $.$get$context().toUri$1(t2);
  28910. }
  28911. t2 = url.toString$0(0);
  28912. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  28913. }
  28914. }
  28915. t2 = self.Buffer.from(css, "utf8");
  28916. t3 = J.get$file$x(options);
  28917. if (t3 == null)
  28918. t3 = "data";
  28919. t4 = start._value;
  28920. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(0 - start._microsecond, t1 - t4)._duration, 1000);
  28921. t6 = A._setArrayType([], type$.JSArray_String);
  28922. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  28923. t8 = t7.get$current(t7);
  28924. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  28925. }
  28926. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  28927. },
  28928. _enableSourceMaps(options) {
  28929. var t2,
  28930. t1 = J.getInterceptor$x(options);
  28931. if (typeof t1.get$sourceMap(options) != "string") {
  28932. t2 = t1.get$sourceMap(options);
  28933. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  28934. } else
  28935. t1 = true;
  28936. return t1;
  28937. },
  28938. _newRenderError(message, stackTrace, column, file, line, $status) {
  28939. var error = new self.Error(message);
  28940. error.formatted = "Error: " + message;
  28941. if (line != null)
  28942. error.line = line;
  28943. if (column != null)
  28944. error.column = column;
  28945. if (file != null)
  28946. error.file = file;
  28947. error.status = $status;
  28948. A.attachJsStack(error, stackTrace);
  28949. return error;
  28950. },
  28951. render_closure: function render_closure(t0, t1) {
  28952. this.callback = t0;
  28953. this.options = t1;
  28954. },
  28955. render_closure0: function render_closure0(t0) {
  28956. this.callback = t0;
  28957. },
  28958. render_closure1: function render_closure1(t0) {
  28959. this.callback = t0;
  28960. },
  28961. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  28962. var _ = this;
  28963. _.options = t0;
  28964. _.start = t1;
  28965. _.result = t2;
  28966. _.asynch = t3;
  28967. },
  28968. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  28969. this._box_0 = t0;
  28970. this.callback = t1;
  28971. this.context = t2;
  28972. },
  28973. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  28974. this.currentFiber = t0;
  28975. },
  28976. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  28977. this.currentFiber = t0;
  28978. this.result = t1;
  28979. },
  28980. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  28981. this.callback = t0;
  28982. this.context = t1;
  28983. this.jsArguments = t2;
  28984. },
  28985. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  28986. this._box_0 = t0;
  28987. },
  28988. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  28989. this.callback = t0;
  28990. this.context = t1;
  28991. },
  28992. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  28993. this.callback = t0;
  28994. this.context = t1;
  28995. this.$arguments = t2;
  28996. },
  28997. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  28998. this.callback = t0;
  28999. this.context = t1;
  29000. },
  29001. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  29002. this.completer = t0;
  29003. },
  29004. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  29005. this.callback = t0;
  29006. this.context = t1;
  29007. this.jsArguments = t2;
  29008. },
  29009. _parseImporter_closure: function _parseImporter_closure(t0) {
  29010. this._box_0 = t0;
  29011. },
  29012. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  29013. this._box_0 = t0;
  29014. this.importer = t1;
  29015. },
  29016. _parseImporter___closure: function _parseImporter___closure(t0) {
  29017. this.currentFiber = t0;
  29018. },
  29019. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  29020. this.currentFiber = t0;
  29021. this.result = t1;
  29022. },
  29023. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  29024. this._box_0 = t0;
  29025. },
  29026. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  29027. var t2, key,
  29028. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  29029. for (t2 = _map.get$keys(_map), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  29030. key = t2.get$current(t2);
  29031. if (!blocklist.contains$1(0, key))
  29032. t1.add$1(0, key);
  29033. }
  29034. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  29035. },
  29036. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  29037. this._limited_map_view0$_map = t0;
  29038. this._limited_map_view0$_keys = t1;
  29039. this.$ti = t2;
  29040. },
  29041. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  29042. var _ = this;
  29043. _.contents = t0;
  29044. _.separator = t1;
  29045. _.hasBrackets = t2;
  29046. _.span = t3;
  29047. },
  29048. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  29049. this.$this = t0;
  29050. },
  29051. _function11($name, $arguments, callback) {
  29052. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  29053. },
  29054. _length_closure2: function _length_closure2() {
  29055. },
  29056. _nth_closure0: function _nth_closure0() {
  29057. },
  29058. _setNth_closure0: function _setNth_closure0() {
  29059. },
  29060. _join_closure0: function _join_closure0() {
  29061. },
  29062. _append_closure2: function _append_closure2() {
  29063. },
  29064. _zip_closure0: function _zip_closure0() {
  29065. },
  29066. _zip__closure2: function _zip__closure2() {
  29067. },
  29068. _zip__closure3: function _zip__closure3(t0) {
  29069. this._box_0 = t0;
  29070. },
  29071. _zip__closure4: function _zip__closure4(t0) {
  29072. this._box_0 = t0;
  29073. },
  29074. _index_closure2: function _index_closure2() {
  29075. },
  29076. _separator_closure0: function _separator_closure0() {
  29077. },
  29078. _isBracketed_closure0: function _isBracketed_closure0() {
  29079. },
  29080. _slash_closure0: function _slash_closure0() {
  29081. },
  29082. SelectorList$0(components, span) {
  29083. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  29084. if (t1.length === 0)
  29085. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29086. return new A.SelectorList0(t1, span);
  29087. },
  29088. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, plainCss) {
  29089. return new A.SelectorParser0(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  29090. },
  29091. SelectorList0: function SelectorList0(t0, t1) {
  29092. this.components = t0;
  29093. this.span = t1;
  29094. },
  29095. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  29096. },
  29097. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  29098. var _ = this;
  29099. _.$this = t0;
  29100. _.preserveParentSelectors = t1;
  29101. _.implicitParent = t2;
  29102. _.parent = t3;
  29103. },
  29104. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  29105. this.complex = t0;
  29106. },
  29107. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  29108. this.complex = t0;
  29109. },
  29110. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  29111. },
  29112. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  29113. this.parent = t0;
  29114. },
  29115. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  29116. this.parentSelector = t0;
  29117. this.resolvedSimples = t1;
  29118. this.component = t2;
  29119. },
  29120. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  29121. this.combinators = t0;
  29122. },
  29123. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  29124. },
  29125. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  29126. },
  29127. listClass_closure: function listClass_closure() {
  29128. },
  29129. listClass__closure: function listClass__closure() {
  29130. },
  29131. listClass__closure0: function listClass__closure0() {
  29132. },
  29133. _ConstructorOptions: function _ConstructorOptions() {
  29134. },
  29135. _NodeSassList: function _NodeSassList() {
  29136. },
  29137. legacyListClass_closure: function legacyListClass_closure() {
  29138. },
  29139. legacyListClass__closure: function legacyListClass__closure() {
  29140. },
  29141. legacyListClass_closure0: function legacyListClass_closure0() {
  29142. },
  29143. legacyListClass_closure1: function legacyListClass_closure1() {
  29144. },
  29145. legacyListClass_closure2: function legacyListClass_closure2() {
  29146. },
  29147. legacyListClass_closure3: function legacyListClass_closure3() {
  29148. },
  29149. legacyListClass_closure4: function legacyListClass_closure4() {
  29150. },
  29151. SassList$0(contents, _separator, brackets) {
  29152. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  29153. t1.SassList$3$brackets0(contents, _separator, brackets);
  29154. return t1;
  29155. },
  29156. SassList0: function SassList0(t0, t1, t2) {
  29157. this._list1$_contents = t0;
  29158. this._list1$_separator = t1;
  29159. this._list1$_hasBrackets = t2;
  29160. },
  29161. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  29162. },
  29163. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  29164. this._list1$_name = t0;
  29165. this.separator = t1;
  29166. this._name = t2;
  29167. },
  29168. LmsColorSpace0: function LmsColorSpace0(t0, t1) {
  29169. this.name = t0;
  29170. this._space$_channels = t1;
  29171. },
  29172. LocalMindeGamutMap0: function LocalMindeGamutMap0(t0) {
  29173. this.name = t0;
  29174. },
  29175. JSLogger: function JSLogger() {
  29176. },
  29177. WarnOptions: function WarnOptions() {
  29178. },
  29179. DebugOptions: function DebugOptions() {
  29180. },
  29181. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  29182. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  29183. },
  29184. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  29185. },
  29186. LoudComment0: function LoudComment0(t0) {
  29187. this.text = t0;
  29188. },
  29189. MapExpression0: function MapExpression0(t0, t1) {
  29190. this.pairs = t0;
  29191. this.span = t1;
  29192. },
  29193. _modify0(map, keys, modify, addNesting) {
  29194. var keyIterator = J.get$iterator$ax(keys);
  29195. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  29196. },
  29197. _deepMergeImpl0(map1, map2) {
  29198. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, resultMap, _1_30, valueMap, merged,
  29199. t1 = map1._map0$_contents;
  29200. if (t1.get$isEmpty(t1))
  29201. return map2;
  29202. t2 = map2._map0$_contents;
  29203. if (t2.get$isEmpty(t2))
  29204. return map1;
  29205. t3 = type$.Value_2;
  29206. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  29207. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  29208. t4 = t1.get$current(t1);
  29209. key = t4._0;
  29210. value = t4._1;
  29211. t4 = result.$index(0, key);
  29212. _1_1 = t4 == null ? null : t4.tryMap$0();
  29213. _1_3 = value.tryMap$0();
  29214. _1_3_isSet = _1_1 != null;
  29215. t4 = false;
  29216. if (_1_3_isSet) {
  29217. t4 = _1_3 != null;
  29218. resultMap = _1_1;
  29219. _1_30 = _1_3;
  29220. } else {
  29221. _1_30 = null;
  29222. resultMap = null;
  29223. }
  29224. if (t4) {
  29225. valueMap = _1_3_isSet ? _1_30 : _1_3;
  29226. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  29227. if (merged === resultMap)
  29228. continue;
  29229. result.$indexSet(0, key, merged);
  29230. } else
  29231. result.$indexSet(0, key, value);
  29232. }
  29233. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  29234. },
  29235. _function10($name, $arguments, callback) {
  29236. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  29237. },
  29238. _get_closure0: function _get_closure0() {
  29239. },
  29240. _set_closure1: function _set_closure1() {
  29241. },
  29242. _set__closure2: function _set__closure2(t0) {
  29243. this.$arguments = t0;
  29244. },
  29245. _set_closure2: function _set_closure2() {
  29246. },
  29247. _set__closure1: function _set__closure1(t0) {
  29248. this._box_0 = t0;
  29249. },
  29250. _merge_closure1: function _merge_closure1() {
  29251. },
  29252. _merge_closure2: function _merge_closure2() {
  29253. },
  29254. _merge__closure0: function _merge__closure0(t0) {
  29255. this.map2 = t0;
  29256. },
  29257. _deepMerge_closure0: function _deepMerge_closure0() {
  29258. },
  29259. _deepRemove_closure0: function _deepRemove_closure0() {
  29260. },
  29261. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  29262. this.keys = t0;
  29263. },
  29264. _remove_closure1: function _remove_closure1() {
  29265. },
  29266. _remove_closure2: function _remove_closure2() {
  29267. },
  29268. _keys_closure0: function _keys_closure0() {
  29269. },
  29270. _values_closure0: function _values_closure0() {
  29271. },
  29272. _hasKey_closure0: function _hasKey_closure0() {
  29273. },
  29274. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  29275. this.keyIterator = t0;
  29276. this.modify = t1;
  29277. this.addNesting = t2;
  29278. },
  29279. MapExtensions_get_pairs0(_this, $K, $V) {
  29280. var t1 = _this.get$entries(_this);
  29281. 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)"));
  29282. },
  29283. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  29284. this.K = t0;
  29285. this.V = t1;
  29286. },
  29287. mapClass_closure: function mapClass_closure() {
  29288. },
  29289. mapClass__closure: function mapClass__closure() {
  29290. },
  29291. mapClass__closure0: function mapClass__closure0() {
  29292. },
  29293. mapClass__closure1: function mapClass__closure1() {
  29294. },
  29295. _NodeSassMap: function _NodeSassMap() {
  29296. },
  29297. legacyMapClass_closure: function legacyMapClass_closure() {
  29298. },
  29299. legacyMapClass__closure: function legacyMapClass__closure() {
  29300. },
  29301. legacyMapClass__closure0: function legacyMapClass__closure0() {
  29302. },
  29303. legacyMapClass_closure0: function legacyMapClass_closure0() {
  29304. },
  29305. legacyMapClass_closure1: function legacyMapClass_closure1() {
  29306. },
  29307. legacyMapClass_closure2: function legacyMapClass_closure2() {
  29308. },
  29309. legacyMapClass_closure3: function legacyMapClass_closure3() {
  29310. },
  29311. legacyMapClass_closure4: function legacyMapClass_closure4() {
  29312. },
  29313. SassMap0: function SassMap0(t0) {
  29314. this._map0$_contents = t0;
  29315. },
  29316. _singleArgumentMathFunc0($name, mathFunc) {
  29317. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  29318. },
  29319. _numberFunction0($name, transform) {
  29320. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  29321. },
  29322. _function9($name, $arguments, callback) {
  29323. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  29324. },
  29325. global_closure43: function global_closure43() {
  29326. },
  29327. module_closure26: function module_closure26() {
  29328. },
  29329. _ceil_closure0: function _ceil_closure0() {
  29330. },
  29331. _clamp_closure0: function _clamp_closure0() {
  29332. },
  29333. _floor_closure0: function _floor_closure0() {
  29334. },
  29335. _max_closure0: function _max_closure0() {
  29336. },
  29337. _min_closure0: function _min_closure0() {
  29338. },
  29339. _round_closure0: function _round_closure0() {
  29340. },
  29341. _hypot_closure0: function _hypot_closure0() {
  29342. },
  29343. _hypot__closure0: function _hypot__closure0() {
  29344. },
  29345. _log_closure0: function _log_closure0() {
  29346. },
  29347. _pow_closure0: function _pow_closure0() {
  29348. },
  29349. _atan2_closure0: function _atan2_closure0() {
  29350. },
  29351. _compatible_closure0: function _compatible_closure0() {
  29352. },
  29353. _isUnitless_closure0: function _isUnitless_closure0() {
  29354. },
  29355. _unit_closure0: function _unit_closure0() {
  29356. },
  29357. _percentage_closure0: function _percentage_closure0() {
  29358. },
  29359. _randomFunction_closure0: function _randomFunction_closure0() {
  29360. },
  29361. _div_closure0: function _div_closure0() {
  29362. },
  29363. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  29364. this.mathFunc = t0;
  29365. },
  29366. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  29367. this.transform = t0;
  29368. },
  29369. CssMediaQuery$type0(type, conditions, modifier) {
  29370. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  29371. },
  29372. CssMediaQuery$condition0(conditions, conjunction) {
  29373. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  29374. if (t1.length > 1 && conjunction == null)
  29375. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  29376. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  29377. },
  29378. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  29379. var _ = this;
  29380. _.modifier = t0;
  29381. _.type = t1;
  29382. _.conjunction = t2;
  29383. _.conditions = t3;
  29384. },
  29385. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  29386. this._name = t0;
  29387. },
  29388. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  29389. this.query = t0;
  29390. },
  29391. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  29392. this.scanner = t0;
  29393. this._parser1$_interpolationMap = t1;
  29394. },
  29395. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  29396. this.$this = t0;
  29397. },
  29398. ModifiableCssMediaRule$0(queries, span) {
  29399. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  29400. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29401. if (J.get$isEmpty$asx(queries))
  29402. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  29403. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  29404. },
  29405. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  29406. var _ = this;
  29407. _.queries = t0;
  29408. _.span = t1;
  29409. _.children = t2;
  29410. _._node$_children = t3;
  29411. _._node$_indexInParent = _._node$_parent = null;
  29412. _.isGroupEnd = false;
  29413. },
  29414. MediaRule$0(query, children, span) {
  29415. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29416. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29417. return new A.MediaRule0(query, span, t1, t2);
  29418. },
  29419. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  29420. var _ = this;
  29421. _.query = t0;
  29422. _.span = t1;
  29423. _.children = t2;
  29424. _.hasDeclarations = t3;
  29425. },
  29426. MergedExtension_merge0(left, right) {
  29427. var t2, t3, t4,
  29428. t1 = left.extender.selector;
  29429. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  29430. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  29431. t2 = left.mediaContext;
  29432. t3 = t2 == null;
  29433. if (!t3) {
  29434. t4 = right.mediaContext;
  29435. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  29436. } else
  29437. t4 = false;
  29438. if (t4)
  29439. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  29440. if (right.isOptional && right.mediaContext == null)
  29441. return left;
  29442. if (left.isOptional && t3)
  29443. return right;
  29444. if (t3)
  29445. t2 = right.mediaContext;
  29446. t1.get$specificity();
  29447. t1 = new A.Extender0(t1, false);
  29448. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  29449. },
  29450. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  29451. var _ = this;
  29452. _.left = t0;
  29453. _.right = t1;
  29454. _.extender = t2;
  29455. _.target = t3;
  29456. _.mediaContext = t4;
  29457. _.isOptional = t5;
  29458. _.span = t6;
  29459. },
  29460. MergedMapView$0(maps, $K, $V) {
  29461. var t1 = $K._eval$1("@<0>")._bind$1($V);
  29462. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  29463. t1.MergedMapView$10(maps, $K, $V);
  29464. return t1;
  29465. },
  29466. MergedMapView0: function MergedMapView0(t0, t1) {
  29467. this._merged_map_view$_mapsByKey = t0;
  29468. this.$ti = t1;
  29469. },
  29470. _function6($name, $arguments, callback) {
  29471. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  29472. },
  29473. _shared_closure3: function _shared_closure3() {
  29474. },
  29475. _shared_closure4: function _shared_closure4() {
  29476. },
  29477. _shared_closure5: function _shared_closure5() {
  29478. },
  29479. _shared_closure6: function _shared_closure6() {
  29480. },
  29481. moduleFunctions_closure2: function moduleFunctions_closure2() {
  29482. },
  29483. moduleFunctions_closure3: function moduleFunctions_closure3() {
  29484. },
  29485. moduleFunctions__closure0: function moduleFunctions__closure0() {
  29486. },
  29487. moduleFunctions_closure4: function moduleFunctions_closure4() {
  29488. },
  29489. mixinClass_closure: function mixinClass_closure() {
  29490. },
  29491. mixinClass__closure: function mixinClass__closure() {
  29492. },
  29493. mixinClass__closure0: function mixinClass__closure0() {
  29494. },
  29495. SassMixin0: function SassMixin0(t0, t1) {
  29496. this.callable = t0;
  29497. this._mixin0$_compileContext = t1;
  29498. },
  29499. MixinRule$0($name, parameters, children, span, comment) {
  29500. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  29501. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  29502. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  29503. return new A.MixinRule0(t1, $name, parameters, span, t2, t3);
  29504. },
  29505. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  29506. var _ = this;
  29507. _._mixin_rule$__MixinRule_hasContent_FI = $;
  29508. _.name = t0;
  29509. _.originalName = t1;
  29510. _.parameters = t2;
  29511. _.span = t3;
  29512. _.children = t4;
  29513. _.hasDeclarations = t5;
  29514. },
  29515. _HasContentVisitor0: function _HasContentVisitor0() {
  29516. },
  29517. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  29518. },
  29519. ExtendMode0: function ExtendMode0(t0, t1) {
  29520. this.name = t0;
  29521. this._name = t1;
  29522. },
  29523. JSModule0: function JSModule0() {
  29524. },
  29525. JSModuleRequire0: function JSModuleRequire0() {
  29526. },
  29527. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  29528. this._multi_span0$_primary = t0;
  29529. this.primaryLabel = t1;
  29530. this.secondarySpans = t2;
  29531. },
  29532. SupportsNegation0: function SupportsNegation0(t0, t1) {
  29533. this.condition = t0;
  29534. this.span = t1;
  29535. },
  29536. NoOpImporter0: function NoOpImporter0() {
  29537. },
  29538. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  29539. this._no_source_map_buffer0$_buffer = t0;
  29540. },
  29541. _FakeAstNode0: function _FakeAstNode0(t0) {
  29542. this._node0$_callback = t0;
  29543. },
  29544. CssNode0: function CssNode0() {
  29545. },
  29546. CssParentNode0: function CssParentNode0() {
  29547. },
  29548. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  29549. this.includeBogus = t0;
  29550. this.includeComments = t1;
  29551. },
  29552. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  29553. },
  29554. ModifiableCssNode0: function ModifiableCssNode0() {
  29555. },
  29556. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  29557. },
  29558. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  29559. },
  29560. NodePackageImporter0: function NodePackageImporter0() {
  29561. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  29562. },
  29563. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  29564. },
  29565. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  29566. },
  29567. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  29568. },
  29569. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  29570. this.$this = t0;
  29571. this.exports = t1;
  29572. this.packageRoot = t2;
  29573. },
  29574. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  29575. this.$this = t0;
  29576. this.variant = t1;
  29577. this.packageRoot = t2;
  29578. },
  29579. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  29580. },
  29581. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  29582. },
  29583. NullExpression$(span) {
  29584. return new A.NullExpression0(span);
  29585. },
  29586. NullExpression0: function NullExpression0(t0) {
  29587. this.span = t0;
  29588. },
  29589. legacyNullClass_closure: function legacyNullClass_closure() {
  29590. },
  29591. legacyNullClass__closure: function legacyNullClass__closure() {
  29592. },
  29593. _SassNull0: function _SassNull0() {
  29594. },
  29595. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  29596. this.value = t0;
  29597. this.unit = t1;
  29598. this.span = t2;
  29599. },
  29600. numberClass_closure: function numberClass_closure() {
  29601. },
  29602. numberClass__closure: function numberClass__closure() {
  29603. },
  29604. numberClass__closure0: function numberClass__closure0() {
  29605. },
  29606. numberClass__closure1: function numberClass__closure1() {
  29607. },
  29608. numberClass__closure2: function numberClass__closure2() {
  29609. },
  29610. numberClass__closure3: function numberClass__closure3() {
  29611. },
  29612. numberClass__closure4: function numberClass__closure4() {
  29613. },
  29614. numberClass__closure5: function numberClass__closure5() {
  29615. },
  29616. numberClass__closure6: function numberClass__closure6() {
  29617. },
  29618. numberClass__closure7: function numberClass__closure7() {
  29619. },
  29620. numberClass__closure8: function numberClass__closure8() {
  29621. },
  29622. numberClass__closure9: function numberClass__closure9() {
  29623. },
  29624. numberClass__closure10: function numberClass__closure10() {
  29625. },
  29626. numberClass__closure11: function numberClass__closure11() {
  29627. },
  29628. numberClass__closure12: function numberClass__closure12() {
  29629. },
  29630. numberClass__closure13: function numberClass__closure13() {
  29631. },
  29632. numberClass__closure14: function numberClass__closure14() {
  29633. },
  29634. numberClass__closure15: function numberClass__closure15() {
  29635. },
  29636. numberClass__closure16: function numberClass__closure16() {
  29637. },
  29638. numberClass__closure17: function numberClass__closure17() {
  29639. },
  29640. numberClass__closure18: function numberClass__closure18() {
  29641. },
  29642. numberClass__closure19: function numberClass__closure19() {
  29643. },
  29644. _ConstructorOptions0: function _ConstructorOptions0() {
  29645. },
  29646. _parseNumber(value, unit) {
  29647. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  29648. if (unit == null || unit.length === 0)
  29649. return A.SassNumber_SassNumber0(value, null);
  29650. if (!B.JSString_methods.contains$1(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  29651. return A.SassNumber_SassNumber0(value, unit);
  29652. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  29653. operands = unit.split("/");
  29654. t1 = operands.length;
  29655. if (t1 > 2)
  29656. throw A.wrapException(invalidUnit);
  29657. numerator = operands[0];
  29658. denominator = t1 === 1 ? null : operands[1];
  29659. t1 = type$.JSArray_String;
  29660. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  29661. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  29662. throw A.wrapException(invalidUnit);
  29663. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  29664. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  29665. throw A.wrapException(invalidUnit);
  29666. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  29667. },
  29668. _NodeSassNumber: function _NodeSassNumber() {
  29669. },
  29670. legacyNumberClass_closure: function legacyNumberClass_closure() {
  29671. },
  29672. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  29673. },
  29674. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  29675. },
  29676. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  29677. },
  29678. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  29679. },
  29680. _parseNumber_closure: function _parseNumber_closure() {
  29681. },
  29682. _parseNumber_closure0: function _parseNumber_closure0() {
  29683. },
  29684. conversionFactor0(unit1, unit2) {
  29685. var _0_0;
  29686. if (unit1 === unit2)
  29687. return 1;
  29688. _0_0 = B.Map_NtHoP.$index(0, unit1);
  29689. if (_0_0 != null)
  29690. return _0_0.$index(0, unit2);
  29691. return null;
  29692. },
  29693. SassNumber_SassNumber0(value, unit) {
  29694. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  29695. },
  29696. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  29697. 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,
  29698. _0_3 = numeratorUnits == null,
  29699. t1 = _0_3,
  29700. _0_6_isSet = !t1;
  29701. if (_0_6_isSet) {
  29702. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29703. t1 = _0_4;
  29704. _0_6 = t1 <= 0;
  29705. _0_8_isSet = _0_6;
  29706. } else {
  29707. _0_4 = _null;
  29708. _0_6 = _0_4;
  29709. _0_8_isSet = true;
  29710. }
  29711. _0_10 = _null;
  29712. if (_0_8_isSet) {
  29713. _0_8 = denominatorUnits == null;
  29714. t1 = _0_8;
  29715. _0_10_isSet = !t1;
  29716. if (_0_10_isSet) {
  29717. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  29718. t1 = _0_10;
  29719. } else
  29720. t1 = true;
  29721. _0_7 = denominatorUnits;
  29722. } else {
  29723. _0_7 = _null;
  29724. _0_8 = _0_7;
  29725. _0_10_isSet = false;
  29726. t1 = false;
  29727. }
  29728. if (t1)
  29729. return new A.UnitlessSassNumber0(value, _null);
  29730. unit = _null;
  29731. t1 = false;
  29732. if (type$.List_dynamic._is(numeratorUnits)) {
  29733. _0_7_isSet = true;
  29734. if (_0_6_isSet) {
  29735. t2 = _0_4;
  29736. _0_4_isSet = _0_6_isSet;
  29737. } else {
  29738. _0_4 = J.get$length$asx(numeratorUnits);
  29739. t2 = _0_4;
  29740. _0_4_isSet = true;
  29741. }
  29742. if (t2 === 1) {
  29743. unit = J.$index$asx(numeratorUnits, 0);
  29744. if (_0_8_isSet) {
  29745. t1 = _0_8;
  29746. _0_7_isSet0 = _0_8_isSet;
  29747. } else {
  29748. _0_8 = denominatorUnits == null;
  29749. t1 = _0_8;
  29750. _0_7_isSet0 = _0_7_isSet;
  29751. _0_7 = denominatorUnits;
  29752. _0_8_isSet = true;
  29753. }
  29754. if (!t1)
  29755. if (_0_10_isSet) {
  29756. t1 = _0_10;
  29757. _0_7_isSet = _0_7_isSet0;
  29758. } else {
  29759. if (_0_7_isSet0) {
  29760. t1 = _0_7;
  29761. _0_7_isSet = _0_7_isSet0;
  29762. } else {
  29763. t1 = denominatorUnits;
  29764. _0_7 = t1;
  29765. }
  29766. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  29767. t1 = _0_10;
  29768. _0_10_isSet = true;
  29769. }
  29770. else {
  29771. _0_7_isSet = _0_7_isSet0;
  29772. t1 = true;
  29773. }
  29774. } else
  29775. _0_7_isSet = _0_8_isSet;
  29776. } else {
  29777. _0_7_isSet = _0_8_isSet;
  29778. _0_4_isSet = _0_6_isSet;
  29779. }
  29780. if (t1)
  29781. return new A.SingleUnitSassNumber0(unit, value, _null);
  29782. t1 = false;
  29783. if (numeratorUnits != null) {
  29784. _0_7_isSet0 = true;
  29785. if (_0_8_isSet)
  29786. t1 = _0_8;
  29787. else {
  29788. if (_0_7_isSet)
  29789. t1 = _0_7;
  29790. else {
  29791. t1 = denominatorUnits;
  29792. _0_7_isSet = _0_7_isSet0;
  29793. _0_7 = t1;
  29794. }
  29795. _0_8 = t1 == null;
  29796. t1 = _0_8;
  29797. }
  29798. if (!t1)
  29799. if (_0_10_isSet)
  29800. t1 = _0_10;
  29801. else {
  29802. if (_0_7_isSet)
  29803. t1 = _0_7;
  29804. else {
  29805. t1 = denominatorUnits;
  29806. _0_7_isSet = _0_7_isSet0;
  29807. _0_7 = t1;
  29808. }
  29809. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  29810. t1 = _0_10;
  29811. }
  29812. else
  29813. t1 = true;
  29814. numerators = numeratorUnits;
  29815. } else
  29816. numerators = _null;
  29817. if (t1)
  29818. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  29819. if (!_0_3)
  29820. if (_0_6_isSet)
  29821. t1 = _0_6;
  29822. else {
  29823. if (_0_4_isSet)
  29824. t1 = _0_4;
  29825. else {
  29826. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29827. t1 = _0_4;
  29828. }
  29829. _0_6 = t1 <= 0;
  29830. t1 = _0_6;
  29831. }
  29832. else
  29833. t1 = true;
  29834. denominators = _null;
  29835. if (t1) {
  29836. if (_0_7_isSet)
  29837. t1 = _0_7;
  29838. else {
  29839. t1 = denominatorUnits;
  29840. _0_7 = t1;
  29841. _0_7_isSet = true;
  29842. }
  29843. t1 = t1 != null;
  29844. if (t1) {
  29845. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  29846. if (denominators == null)
  29847. denominators = type$.List_String._as(denominators);
  29848. }
  29849. } else
  29850. t1 = false;
  29851. if (t1)
  29852. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  29853. numeratorUnits.toString;
  29854. numerators = J.toList$0$ax(numeratorUnits);
  29855. denominatorUnits.toString;
  29856. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  29857. denominators = A._setArrayType([], type$.JSArray_String);
  29858. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  29859. denominator = unsimplifiedDenominators[_i];
  29860. i = 0;
  29861. while (true) {
  29862. if (!(i < numerators.length)) {
  29863. simplifiedAway = false;
  29864. break;
  29865. }
  29866. c$0: {
  29867. factor = A.conversionFactor0(denominator, numerators[i]);
  29868. if (factor == null)
  29869. break c$0;
  29870. valueDouble *= factor;
  29871. B.JSArray_methods.removeAt$1(numerators, i);
  29872. simplifiedAway = true;
  29873. break;
  29874. }
  29875. ++i;
  29876. }
  29877. if (!simplifiedAway)
  29878. denominators.push(denominator);
  29879. }
  29880. $label0$1: {
  29881. _1_2 = numerators.length;
  29882. t1 = _1_2;
  29883. _1_7_isSet = t1 <= 0;
  29884. if (_1_7_isSet) {
  29885. _1_7 = denominators.length <= 0;
  29886. t1 = _1_7;
  29887. } else {
  29888. _1_7 = _null;
  29889. t1 = false;
  29890. }
  29891. if (t1) {
  29892. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  29893. break $label0$1;
  29894. }
  29895. t1 = false;
  29896. if (_1_2 === 1) {
  29897. unit = numerators[0];
  29898. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  29899. } else
  29900. unit = _null;
  29901. if (t1) {
  29902. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  29903. break $label0$1;
  29904. }
  29905. t1 = type$.String;
  29906. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  29907. break $label0$1;
  29908. }
  29909. return t1;
  29910. },
  29911. SassNumber0: function SassNumber0() {
  29912. },
  29913. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  29914. var _ = this;
  29915. _.$this = t0;
  29916. _.other = t1;
  29917. _.otherName = t2;
  29918. _.otherHasUnits = t3;
  29919. _.name = t4;
  29920. _.newNumerators = t5;
  29921. _.newDenominators = t6;
  29922. },
  29923. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  29924. this._box_0 = t0;
  29925. this.newNumerator = t1;
  29926. },
  29927. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  29928. this.compatibilityException = t0;
  29929. },
  29930. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  29931. this._box_0 = t0;
  29932. this.newDenominator = t1;
  29933. },
  29934. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  29935. this.compatibilityException = t0;
  29936. },
  29937. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  29938. },
  29939. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  29940. },
  29941. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  29942. this._box_0 = t0;
  29943. this.numerator = t1;
  29944. },
  29945. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  29946. this.newNumerators = t0;
  29947. this.numerator = t1;
  29948. },
  29949. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  29950. this._box_0 = t0;
  29951. this.numerator = t1;
  29952. },
  29953. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  29954. this.newNumerators = t0;
  29955. this.numerator = t1;
  29956. },
  29957. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  29958. this.units2 = t0;
  29959. },
  29960. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  29961. },
  29962. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  29963. this.$this = t0;
  29964. },
  29965. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  29966. },
  29967. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  29968. },
  29969. OklabColorSpace0: function OklabColorSpace0(t0, t1) {
  29970. this.name = t0;
  29971. this._space$_channels = t1;
  29972. },
  29973. OklchColorSpace0: function OklchColorSpace0(t0, t1) {
  29974. this.name = t0;
  29975. this._space$_channels = t1;
  29976. },
  29977. SupportsOperation$0(left, right, operator, span) {
  29978. var lowerOperator = operator.toLowerCase();
  29979. if (lowerOperator !== "and" && lowerOperator !== "or")
  29980. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  29981. return new A.SupportsOperation0(left, right, operator, span);
  29982. },
  29983. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  29984. var _ = this;
  29985. _.left = t0;
  29986. _.right = t1;
  29987. _.operator = t2;
  29988. _.span = t3;
  29989. },
  29990. Parameter0: function Parameter0(t0, t1, t2) {
  29991. this.name = t0;
  29992. this.defaultValue = t1;
  29993. this.span = t2;
  29994. },
  29995. ParameterList_ParameterList$parse0(contents, url) {
  29996. return A.ScssParser$0(contents, url).parseParameterList$0();
  29997. },
  29998. ParameterList0: function ParameterList0(t0, t1, t2) {
  29999. this.parameters = t0;
  30000. this.restParameter = t1;
  30001. this.span = t2;
  30002. },
  30003. ParameterList_verify_closure1: function ParameterList_verify_closure1() {
  30004. },
  30005. ParameterList_verify_closure2: function ParameterList_verify_closure2() {
  30006. },
  30007. ParentSelector0: function ParentSelector0(t0, t1) {
  30008. this.suffix = t0;
  30009. this.span = t1;
  30010. },
  30011. ParentStatement0: function ParentStatement0() {
  30012. },
  30013. ParentStatement_closure0: function ParentStatement_closure0() {
  30014. },
  30015. ParentStatement__closure0: function ParentStatement__closure0() {
  30016. },
  30017. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  30018. this.expression = t0;
  30019. this.span = t1;
  30020. },
  30021. loadParserExports() {
  30022. A._updateAstPrototypes();
  30023. 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())};
  30024. },
  30025. _updateAstPrototypes() {
  30026. var t2, t3, string, t4, t5, $arguments, _i, _null = null,
  30027. _s9_ = "arguments",
  30028. file = A.SourceFile$fromString("", _null),
  30029. t1 = type$.JSClass;
  30030. J.get$$prototype$x(t1._as(file.constructor)).getText = A.allowInteropCaptureThisNamed("getText", new A._updateAstPrototypes_closure());
  30031. A.defineGetter(J.get$$prototype$x(t1._as(file.constructor)), "codeUnits", new A._updateAstPrototypes_closure0(), _null);
  30032. t2 = $.$get$_interpolation();
  30033. A.defineGetter(J.get$$prototype$x(t1._as(t2.constructor)), "asPlain", new A._updateAstPrototypes_closure1(), _null);
  30034. t3 = $.$get$bogusSpan0();
  30035. 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());
  30036. string = new A.StringExpression0(t2, false);
  30037. 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());
  30038. t4 = type$.String;
  30039. t5 = type$.Expression_2;
  30040. $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);
  30041. 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);
  30042. A.defineGetter(J.get$$prototype$x(t1._as(new A.ContentRule0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure5(), _null);
  30043. 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);
  30044. A.defineGetter(J.get$$prototype$x(t1._as(new A.IfExpression0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure7(), _null);
  30045. A.defineGetter(J.get$$prototype$x(t1._as(new A.InterpolatedFunctionExpression0(t2, $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure8(), _null);
  30046. A._addSupportsConditionToInterpolation();
  30047. 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) {
  30048. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30049. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure9()), enumerable: false};
  30050. self.Object.defineProperty(t3, "span", t4);
  30051. }
  30052. },
  30053. _addSupportsConditionToInterpolation() {
  30054. var t3, _i, $function, t4,
  30055. t1 = $.$get$_interpolation(),
  30056. t2 = $.$get$bogusSpan0(),
  30057. anything = new A.SupportsAnything0(t1, t2);
  30058. 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) {
  30059. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30060. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30061. t4 = {value: "toInterpolation", enumerable: false};
  30062. self.Object.defineProperty($function, "name", t4);
  30063. A._hideDartProperties($function);
  30064. t1.toInterpolation = $function;
  30065. }
  30066. },
  30067. _parse(css, syntax, path) {
  30068. var t1;
  30069. $label0$0: {
  30070. if ("scss" === syntax) {
  30071. t1 = B.Syntax_SCSS_scss0;
  30072. break $label0$0;
  30073. }
  30074. if ("sass" === syntax) {
  30075. t1 = B.Syntax_Sass_sass0;
  30076. break $label0$0;
  30077. }
  30078. if ("css" === syntax) {
  30079. t1 = B.Syntax_CSS_css0;
  30080. break $label0$0;
  30081. }
  30082. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30083. }
  30084. return A.Stylesheet_Stylesheet$parse0(css, t1, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30085. },
  30086. _parseIdentifier(identifier) {
  30087. var t1, exception;
  30088. try {
  30089. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30090. return t1;
  30091. } catch (exception) {
  30092. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30093. return null;
  30094. else
  30095. throw exception;
  30096. }
  30097. },
  30098. _toCssIdentifier(text) {
  30099. return A.StringExtension_toCssIdentifier(text);
  30100. },
  30101. ParserExports: function ParserExports() {
  30102. },
  30103. loadParserExports_closure: function loadParserExports_closure() {
  30104. },
  30105. loadParserExports_closure0: function loadParserExports_closure0() {
  30106. },
  30107. loadParserExports_closure1: function loadParserExports_closure1() {
  30108. },
  30109. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30110. },
  30111. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30112. },
  30113. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30114. },
  30115. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30116. },
  30117. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30118. },
  30119. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30120. },
  30121. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30122. },
  30123. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30124. },
  30125. _updateAstPrototypes_closure7: function _updateAstPrototypes_closure7() {
  30126. },
  30127. _updateAstPrototypes_closure8: function _updateAstPrototypes_closure8() {
  30128. },
  30129. _updateAstPrototypes_closure9: function _updateAstPrototypes_closure9() {
  30130. },
  30131. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30132. },
  30133. Parser_isIdentifier0(text) {
  30134. var exception;
  30135. try {
  30136. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30137. return true;
  30138. } catch (exception) {
  30139. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30140. return false;
  30141. else
  30142. throw exception;
  30143. }
  30144. },
  30145. Parser1: function Parser1(t0, t1) {
  30146. this.scanner = t0;
  30147. this._parser1$_interpolationMap = t1;
  30148. },
  30149. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30150. this.$this = t0;
  30151. },
  30152. Parser_escape_closure0: function Parser_escape_closure0() {
  30153. },
  30154. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30155. this.caseSensitive = t0;
  30156. this.char = t1;
  30157. },
  30158. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30159. this.$this = t0;
  30160. this.span = t1;
  30161. },
  30162. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30163. this.name = t0;
  30164. this.span = t1;
  30165. },
  30166. PlainCssCallable0: function PlainCssCallable0(t0) {
  30167. this.name = t0;
  30168. },
  30169. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30170. this._prefixed_map_view0$_map = t0;
  30171. this._prefixed_map_view0$_prefix = t1;
  30172. this.$ti = t2;
  30173. },
  30174. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30175. this._prefixed_map_view0$_view = t0;
  30176. },
  30177. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30178. this.$this = t0;
  30179. },
  30180. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30181. this.name = t0;
  30182. this._space$_channels = t1;
  30183. },
  30184. PseudoSelector$0($name, span, argument, element, selector) {
  30185. var t1 = !element,
  30186. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30187. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30188. },
  30189. PseudoSelector__isFakePseudoElement0($name) {
  30190. switch ($name.charCodeAt(0)) {
  30191. case 97:
  30192. case 65:
  30193. return A.equalsIgnoreCase0($name, "after");
  30194. case 98:
  30195. case 66:
  30196. return A.equalsIgnoreCase0($name, "before");
  30197. case 102:
  30198. case 70:
  30199. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30200. default:
  30201. return false;
  30202. }
  30203. },
  30204. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30205. var _ = this;
  30206. _.name = t0;
  30207. _.normalizedName = t1;
  30208. _.isClass = t2;
  30209. _.isSyntacticClass = t3;
  30210. _.argument = t4;
  30211. _.selector = t5;
  30212. _._pseudo$__PseudoSelector_specificity_FI = $;
  30213. _.span = t6;
  30214. },
  30215. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30216. this.$this = t0;
  30217. },
  30218. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30219. },
  30220. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30221. },
  30222. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30223. },
  30224. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30225. this._public_member_map_view0$_inner = t0;
  30226. this.$ti = t1;
  30227. },
  30228. QualifiedName0: function QualifiedName0(t0, t1) {
  30229. this.name = t0;
  30230. this.namespace = t1;
  30231. },
  30232. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30233. this.name = t0;
  30234. this._space$_channels = t1;
  30235. },
  30236. createJSClass($name, $constructor) {
  30237. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30238. },
  30239. JSClassExtension_injectSuperclass(_this, superclass) {
  30240. var t1 = J.getInterceptor$x(superclass),
  30241. t2 = J.getInterceptor$x(_this);
  30242. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30243. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30244. },
  30245. JSClassExtension_setCustomInspect(_this, inspect) {
  30246. if (self.util == null)
  30247. return;
  30248. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30249. },
  30250. JSClassExtension_get_defineStaticMethod(_this) {
  30251. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30252. },
  30253. JSClassExtension_get_defineMethod(_this) {
  30254. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30255. },
  30256. JSClassExtension_defineMethods(_this, methods) {
  30257. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30258. },
  30259. JSClassExtension_get_defineGetter(_this) {
  30260. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30261. },
  30262. JSClass0: function JSClass0() {
  30263. },
  30264. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30265. this.inspect = t0;
  30266. },
  30267. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30268. this._this = t0;
  30269. },
  30270. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30271. this._this = t0;
  30272. },
  30273. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30274. this._this = t0;
  30275. },
  30276. RenderContext0: function RenderContext0() {
  30277. },
  30278. RenderContextOptions0: function RenderContextOptions0() {
  30279. },
  30280. RenderContextResult0: function RenderContextResult0() {
  30281. },
  30282. RenderContextResultStats0: function RenderContextResultStats0() {
  30283. },
  30284. RenderOptions: function RenderOptions() {
  30285. },
  30286. RenderResult: function RenderResult() {
  30287. },
  30288. RenderResultStats: function RenderResultStats() {
  30289. },
  30290. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30291. },
  30292. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30293. this.$this = t0;
  30294. },
  30295. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30296. this.$this = t0;
  30297. },
  30298. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30299. this.$this = t0;
  30300. },
  30301. ImporterResult$(contents, sourceMapUrl, syntax) {
  30302. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30303. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30304. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30305. },
  30306. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30307. this.contents = t0;
  30308. this._result$_sourceMapUrl = t1;
  30309. this.syntax = t2;
  30310. },
  30311. ReturnRule0: function ReturnRule0(t0, t1) {
  30312. this.expression = t0;
  30313. this.span = t1;
  30314. },
  30315. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30316. this.name = t0;
  30317. this._space$_channels = t1;
  30318. },
  30319. SassParser0: function SassParser0(t0, t1, t2, t3) {
  30320. var _ = this;
  30321. _._sass0$_currentIndentation = 0;
  30322. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30323. _._stylesheet0$_isUseAllowed = true;
  30324. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30325. _._stylesheet0$_globalVariables = t0;
  30326. _.warnings = t1;
  30327. _.lastSilentComment = null;
  30328. _.scanner = t2;
  30329. _._parser1$_interpolationMap = t3;
  30330. },
  30331. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30332. },
  30333. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30334. this.$this = t0;
  30335. this.child = t1;
  30336. this.children = t2;
  30337. },
  30338. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30339. },
  30340. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30341. },
  30342. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30343. },
  30344. _translateReturnValue(val) {
  30345. if (val instanceof A._Future)
  30346. return A.futureToPromise(val, type$.dynamic);
  30347. else
  30348. return val;
  30349. },
  30350. main2() {
  30351. new Uint8Array(0);
  30352. A.main();
  30353. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30354. },
  30355. _wrapMain(main) {
  30356. if (type$.dynamic_Function._is(main))
  30357. return A.allowInterop(new A._wrapMain_closure(main));
  30358. else
  30359. return A.allowInterop(new A._wrapMain_closure0(main));
  30360. },
  30361. _Exports: function _Exports() {
  30362. },
  30363. _wrapMain_closure: function _wrapMain_closure(t0) {
  30364. this.main = t0;
  30365. },
  30366. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30367. this.main = t0;
  30368. },
  30369. ScssParser$0(contents, url) {
  30370. 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);
  30371. },
  30372. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  30373. var _ = this;
  30374. _._stylesheet0$_isUseAllowed = true;
  30375. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30376. _._stylesheet0$_globalVariables = t0;
  30377. _.warnings = t1;
  30378. _.lastSilentComment = null;
  30379. _.scanner = t2;
  30380. _._parser1$_interpolationMap = t3;
  30381. },
  30382. Selector0: function Selector0() {
  30383. },
  30384. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30385. this.includeBogus = t0;
  30386. },
  30387. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30388. this.includeLeadingCombinator = t0;
  30389. },
  30390. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30391. this.$this = t0;
  30392. },
  30393. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30394. },
  30395. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30396. this.$this = t0;
  30397. },
  30398. _ContainsParentSelectorVisitor0: function _ContainsParentSelectorVisitor0() {
  30399. },
  30400. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0() {
  30401. },
  30402. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30403. },
  30404. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30405. },
  30406. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30407. },
  30408. SelectorExpression0: function SelectorExpression0(t0) {
  30409. this.span = t0;
  30410. },
  30411. _prependParent0(compound) {
  30412. var _0_3, _0_4, t2, t3, rest,
  30413. t1 = A.EvaluationContext_currentOrNull0(),
  30414. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30415. _0_0 = compound.components;
  30416. $label0$0: {
  30417. _0_3 = _0_0.length >= 1;
  30418. if (_0_3) {
  30419. _0_4 = _0_0[0];
  30420. t1 = _0_4 instanceof A.UniversalSelector0;
  30421. } else {
  30422. _0_4 = null;
  30423. t1 = false;
  30424. }
  30425. t2 = null;
  30426. if (t1) {
  30427. t1 = t2;
  30428. break $label0$0;
  30429. }
  30430. t1 = false;
  30431. if (_0_3) {
  30432. t3 = _0_4;
  30433. if (t3 instanceof A.TypeSelector0) {
  30434. t1 = _0_4;
  30435. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30436. }
  30437. }
  30438. if (t1) {
  30439. t1 = t2;
  30440. break $label0$0;
  30441. }
  30442. if (_0_3) {
  30443. t1 = _0_4;
  30444. t1 = t1 instanceof A.TypeSelector0;
  30445. } else
  30446. t1 = false;
  30447. if (t1) {
  30448. t1 = _0_3 ? _0_4 : _0_0[0];
  30449. type$.TypeSelector_2._as(t1);
  30450. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30451. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30452. B.JSArray_methods.addAll$1(t1, rest);
  30453. t1 = A.CompoundSelector$0(t1, span);
  30454. break $label0$0;
  30455. }
  30456. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30457. B.JSArray_methods.addAll$1(t1, _0_0);
  30458. t1 = A.CompoundSelector$0(t1, span);
  30459. break $label0$0;
  30460. }
  30461. return t1;
  30462. },
  30463. _function8($name, $arguments, callback) {
  30464. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30465. },
  30466. _nest_closure0: function _nest_closure0() {
  30467. },
  30468. _nest__closure1: function _nest__closure1(t0) {
  30469. this._box_0 = t0;
  30470. },
  30471. _nest__closure2: function _nest__closure2() {
  30472. },
  30473. _append_closure1: function _append_closure1() {
  30474. },
  30475. _append__closure1: function _append__closure1() {
  30476. },
  30477. _append__closure2: function _append__closure2(t0) {
  30478. this.span = t0;
  30479. },
  30480. _append___closure0: function _append___closure0(t0, t1) {
  30481. this.parent = t0;
  30482. this.span = t1;
  30483. },
  30484. _extend_closure0: function _extend_closure0() {
  30485. },
  30486. _replace_closure0: function _replace_closure0() {
  30487. },
  30488. _unify_closure0: function _unify_closure0() {
  30489. },
  30490. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30491. },
  30492. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30493. },
  30494. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30495. },
  30496. _parse_closure0: function _parse_closure0() {
  30497. },
  30498. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30499. var _ = this;
  30500. _._selector$_allowParent = t0;
  30501. _._selector$_plainCss = t1;
  30502. _.scanner = t2;
  30503. _._parser1$_interpolationMap = t3;
  30504. },
  30505. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30506. this.$this = t0;
  30507. },
  30508. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30509. this.$this = t0;
  30510. },
  30511. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30512. },
  30513. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30514. this.$this = t0;
  30515. },
  30516. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30517. this.$this = t0;
  30518. },
  30519. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30520. var t1, css, t2, prefix,
  30521. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30522. node.accept$1(visitor);
  30523. t1 = visitor._serialize0$_buffer;
  30524. css = t1.toString$0(0);
  30525. if (charset) {
  30526. t2 = new A.CodeUnits(css);
  30527. t2 = t2.any$1(t2, new A.serialize_closure0());
  30528. } else
  30529. t2 = false;
  30530. if (t2)
  30531. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30532. else
  30533. prefix = "";
  30534. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30535. return new A._Record_2_sourceMap(prefix + css, t1);
  30536. },
  30537. serializeValue0(value, inspect, quote) {
  30538. var _null = null,
  30539. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30540. value.accept$1(visitor);
  30541. return visitor._serialize0$_buffer.toString$0(0);
  30542. },
  30543. serializeSelector0(selector, inspect) {
  30544. var _null = null,
  30545. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30546. selector.accept$1(visitor);
  30547. return visitor._serialize0$_buffer.toString$0(0);
  30548. },
  30549. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30550. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30551. t2 = style == null ? B.OutputStyle_00 : style,
  30552. t3 = useSpaces ? 32 : 9,
  30553. t4 = indentWidth == null ? 2 : indentWidth,
  30554. t5 = lineFeed == null ? B.LineFeed_9HY : lineFeed,
  30555. t6 = logger == null ? B.StderrLogger_false0 : logger;
  30556. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30557. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5, t6);
  30558. },
  30559. serialize_closure0: function serialize_closure0() {
  30560. },
  30561. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  30562. var _ = this;
  30563. _._serialize0$_buffer = t0;
  30564. _._serialize0$_indentation = 0;
  30565. _._serialize0$_style = t1;
  30566. _._serialize0$_inspect = t2;
  30567. _._serialize0$_quote = t3;
  30568. _._serialize0$_indentCharacter = t4;
  30569. _._serialize0$_indentWidth = t5;
  30570. _._lineFeed = t6;
  30571. _._serialize0$_logger = t7;
  30572. },
  30573. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30574. this.$this = t0;
  30575. this.node = t1;
  30576. },
  30577. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30578. this.$this = t0;
  30579. this.node = t1;
  30580. },
  30581. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30582. this.$this = t0;
  30583. this.node = t1;
  30584. },
  30585. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30586. this.$this = t0;
  30587. this.node = t1;
  30588. },
  30589. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30590. this.$this = t0;
  30591. this.node = t1;
  30592. },
  30593. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30594. this.$this = t0;
  30595. this.node = t1;
  30596. },
  30597. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30598. this.$this = t0;
  30599. this.node = t1;
  30600. },
  30601. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30602. this.$this = t0;
  30603. this.node = t1;
  30604. },
  30605. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30606. this.$this = t0;
  30607. this.node = t1;
  30608. },
  30609. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30610. this.$this = t0;
  30611. this.node = t1;
  30612. },
  30613. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30614. },
  30615. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30616. this.$this = t0;
  30617. this.value = t1;
  30618. },
  30619. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30620. this.$this = t0;
  30621. },
  30622. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30623. this.$this = t0;
  30624. },
  30625. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30626. },
  30627. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30628. this.$this = t0;
  30629. this.value = t1;
  30630. },
  30631. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30632. this.$this = t0;
  30633. this.child = t1;
  30634. },
  30635. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30636. this.$this = t0;
  30637. this.child = t1;
  30638. },
  30639. OutputStyle0: function OutputStyle0(t0) {
  30640. this._name = t0;
  30641. },
  30642. LineFeed0: function LineFeed0(t0, t1, t2) {
  30643. this.name = t0;
  30644. this.text = t1;
  30645. this._name = t2;
  30646. },
  30647. JSSet: function JSSet() {
  30648. },
  30649. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30650. 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;
  30651. },
  30652. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30653. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30654. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30655. },
  30656. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30657. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30658. },
  30659. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30660. var _ = this;
  30661. _._shadowed_view0$_inner = t0;
  30662. _.variables = t1;
  30663. _.variableNodes = t2;
  30664. _.functions = t3;
  30665. _.mixins = t4;
  30666. _.$ti = t5;
  30667. },
  30668. SilentComment0: function SilentComment0(t0, t1) {
  30669. this.text = t0;
  30670. this.span = t1;
  30671. },
  30672. SimpleSelector0: function SimpleSelector0() {
  30673. },
  30674. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30675. this.$this = t0;
  30676. },
  30677. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30678. this.$this = t0;
  30679. },
  30680. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30681. var _ = this;
  30682. _._single_unit$_unit = t0;
  30683. _._number1$_value = t1;
  30684. _.hashCache = null;
  30685. _.asSlash = t2;
  30686. },
  30687. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30688. this.$this = t0;
  30689. this.unit = t1;
  30690. },
  30691. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  30692. this.$this = t0;
  30693. },
  30694. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  30695. this._box_0 = t0;
  30696. this.$this = t1;
  30697. },
  30698. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  30699. this._box_0 = t0;
  30700. this.$this = t1;
  30701. },
  30702. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  30703. this.buffer = t0;
  30704. },
  30705. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  30706. var _ = this;
  30707. _._source_map_buffer0$_buffer = t0;
  30708. _._source_map_buffer0$_entries = t1;
  30709. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  30710. _._source_map_buffer0$_inSpan = false;
  30711. },
  30712. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  30713. this._box_0 = t0;
  30714. this.prefixLength = t1;
  30715. },
  30716. updateSourceSpanPrototype() {
  30717. var t3, t4, _i, t5,
  30718. span = A.SourceFile$fromString("", null).span$1(0, 0),
  30719. t1 = type$.SourceSpan,
  30720. t2 = type$.String;
  30721. 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) {
  30722. t5 = t3._as(t1[_i].constructor);
  30723. 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));
  30724. }
  30725. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  30726. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30727. },
  30728. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  30729. this.span = t0;
  30730. },
  30731. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  30732. },
  30733. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  30734. },
  30735. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  30736. },
  30737. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  30738. },
  30739. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  30740. },
  30741. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  30742. },
  30743. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  30744. },
  30745. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  30746. },
  30747. ColorSpace_fromName0($name, argumentName) {
  30748. var t1,
  30749. _0_0 = $name.toLowerCase();
  30750. $label0$0: {
  30751. if ("rgb" === _0_0) {
  30752. t1 = B.RgbColorSpace_i0P0;
  30753. break $label0$0;
  30754. }
  30755. if ("hwb" === _0_0) {
  30756. t1 = B.HwbColorSpace_guQ0;
  30757. break $label0$0;
  30758. }
  30759. if ("hsl" === _0_0) {
  30760. t1 = B.HslColorSpace_JQ20;
  30761. break $label0$0;
  30762. }
  30763. if ("srgb" === _0_0) {
  30764. t1 = B.SrgbColorSpace_thf0;
  30765. break $label0$0;
  30766. }
  30767. if ("srgb-linear" === _0_0) {
  30768. t1 = B.SrgbLinearColorSpace_kUj0;
  30769. break $label0$0;
  30770. }
  30771. if ("display-p3" === _0_0) {
  30772. t1 = B.DisplayP3ColorSpace_MmT0;
  30773. break $label0$0;
  30774. }
  30775. if ("a98-rgb" === _0_0) {
  30776. t1 = B.A98RgbColorSpace_lf20;
  30777. break $label0$0;
  30778. }
  30779. if ("prophoto-rgb" === _0_0) {
  30780. t1 = B.ProphotoRgbColorSpace_BDz0;
  30781. break $label0$0;
  30782. }
  30783. if ("rec2020" === _0_0) {
  30784. t1 = B.Rec2020ColorSpace_6oo0;
  30785. break $label0$0;
  30786. }
  30787. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  30788. t1 = B.XyzD65ColorSpace_WiJ0;
  30789. break $label0$0;
  30790. }
  30791. if ("xyz-d50" === _0_0) {
  30792. t1 = B.XyzD50ColorSpace_2OB0;
  30793. break $label0$0;
  30794. }
  30795. if ("lab" === _0_0) {
  30796. t1 = B.LabColorSpace_2nT0;
  30797. break $label0$0;
  30798. }
  30799. if ("lch" === _0_0) {
  30800. t1 = B.LchColorSpace_Bpv0;
  30801. break $label0$0;
  30802. }
  30803. if ("oklab" === _0_0) {
  30804. t1 = B.OklabColorSpace_5400;
  30805. break $label0$0;
  30806. }
  30807. if ("oklch" === _0_0) {
  30808. t1 = B.OklchColorSpace_9Gj0;
  30809. break $label0$0;
  30810. }
  30811. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  30812. }
  30813. return t1;
  30814. },
  30815. ColorSpace0: function ColorSpace0() {
  30816. },
  30817. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  30818. this.name = t0;
  30819. this._space$_channels = t1;
  30820. },
  30821. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  30822. this.name = t0;
  30823. this._space$_channels = t1;
  30824. },
  30825. Statement0: function Statement0() {
  30826. },
  30827. JSStatementVisitor: function JSStatementVisitor(t0) {
  30828. this._statement$_inner = t0;
  30829. },
  30830. JSStatementVisitorObject: function JSStatementVisitorObject() {
  30831. },
  30832. StatementSearchVisitor0: function StatementSearchVisitor0() {
  30833. },
  30834. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  30835. this.$this = t0;
  30836. },
  30837. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  30838. this.$this = t0;
  30839. },
  30840. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  30841. this.$this = t0;
  30842. },
  30843. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  30844. this.$this = t0;
  30845. },
  30846. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  30847. this.$this = t0;
  30848. },
  30849. StaticImport0: function StaticImport0(t0, t1, t2) {
  30850. this.url = t0;
  30851. this.modifiers = t1;
  30852. this.span = t2;
  30853. },
  30854. StderrLogger0: function StderrLogger0(t0) {
  30855. this.color = t0;
  30856. },
  30857. StringExpression_quoteText0(text) {
  30858. var quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  30859. buffer = new A.StringBuffer(""),
  30860. t1 = A.Primitives_stringFromCharCode(quote);
  30861. buffer._contents = t1;
  30862. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  30863. t1 = buffer._contents += t1;
  30864. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30865. },
  30866. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  30867. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  30868. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  30869. _1_0 = text.charCodeAt(i);
  30870. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  30871. buffer.writeCharCode$1(92);
  30872. buffer.writeCharCode$1(97);
  30873. if (i !== t2) {
  30874. _0_0 = text.charCodeAt(i + 1);
  30875. t3 = true;
  30876. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  30877. if (!(_0_0 >= 48 && _0_0 <= 57))
  30878. if (!(_0_0 >= 97 && _0_0 <= 102))
  30879. t3 = _0_0 >= 65 && _0_0 <= 70;
  30880. if (t3)
  30881. buffer.writeCharCode$1(32);
  30882. }
  30883. continue;
  30884. }
  30885. t3 = 92 === _1_0;
  30886. if (t3)
  30887. t4 = _1_0;
  30888. else
  30889. t4 = null;
  30890. if (!t3) {
  30891. t3 = false;
  30892. t5 = _1_0 === quote;
  30893. if (t5)
  30894. t4 = _1_0;
  30895. if (!t5)
  30896. if (35 === _1_0)
  30897. if ($static)
  30898. if (i < t2) {
  30899. t3 = text.charCodeAt(i + 1) === 123;
  30900. if (t3)
  30901. t4 = _1_0;
  30902. t0 = t4;
  30903. t4 = t3;
  30904. t3 = t0;
  30905. } else {
  30906. t0 = t4;
  30907. t4 = t3;
  30908. t3 = t0;
  30909. }
  30910. else {
  30911. t0 = t4;
  30912. t4 = t3;
  30913. t3 = t0;
  30914. }
  30915. else {
  30916. t0 = t4;
  30917. t4 = t3;
  30918. t3 = t0;
  30919. }
  30920. else {
  30921. t3 = t4;
  30922. t4 = true;
  30923. }
  30924. } else {
  30925. t3 = t4;
  30926. t4 = true;
  30927. }
  30928. if (t4) {
  30929. buffer.writeCharCode$1(92);
  30930. buffer.writeCharCode$1(t3);
  30931. continue;
  30932. }
  30933. buffer.writeCharCode$1(_1_0);
  30934. }
  30935. },
  30936. StringExpression__bestQuote0(strings) {
  30937. var t1, t2, t3, containsDoubleQuote, t4, t5;
  30938. 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();)
  30939. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  30940. t5 = t4.__internal$_current;
  30941. if (t5 == null)
  30942. t5 = t2._as(t5);
  30943. if (t5 === 39)
  30944. return 34;
  30945. if (t5 === 34)
  30946. containsDoubleQuote = true;
  30947. }
  30948. return containsDoubleQuote ? 39 : 34;
  30949. },
  30950. StringExpression0: function StringExpression0(t0, t1) {
  30951. this.text = t0;
  30952. this.hasQuotes = t1;
  30953. },
  30954. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  30955. var result;
  30956. if (index === 0)
  30957. return 0;
  30958. if (index > 0)
  30959. return Math.min(index - 1, lengthInCodepoints);
  30960. result = lengthInCodepoints + index;
  30961. if (result < 0 && !allowNegative)
  30962. return 0;
  30963. return result;
  30964. },
  30965. _function7($name, $arguments, callback) {
  30966. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  30967. },
  30968. module_closure25: function module_closure25() {
  30969. },
  30970. module__closure3: function module__closure3(t0) {
  30971. this.string = t0;
  30972. },
  30973. module__closure4: function module__closure4(t0) {
  30974. this.string = t0;
  30975. },
  30976. _unquote_closure0: function _unquote_closure0() {
  30977. },
  30978. _quote_closure0: function _quote_closure0() {
  30979. },
  30980. _length_closure1: function _length_closure1() {
  30981. },
  30982. _insert_closure0: function _insert_closure0() {
  30983. },
  30984. _index_closure1: function _index_closure1() {
  30985. },
  30986. _slice_closure0: function _slice_closure0() {
  30987. },
  30988. _toUpperCase_closure0: function _toUpperCase_closure0() {
  30989. },
  30990. _toLowerCase_closure0: function _toLowerCase_closure0() {
  30991. },
  30992. _uniqueId_closure0: function _uniqueId_closure0() {
  30993. },
  30994. StringExtension_toCssIdentifier(_this) {
  30995. var t1, doubleDash, _2_0, character, _3_0,
  30996. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  30997. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  30998. buffer = new A.StringBuffer(""),
  30999. scanner = A.SpanScanner$(_this, null),
  31000. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31001. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31002. if (scanner.scanChar$1(45)) {
  31003. if (scanner._string_scanner$_position === scanner.string.length)
  31004. return "\\2d";
  31005. t1 = A.Primitives_stringFromCharCode(45);
  31006. buffer._contents += t1;
  31007. doubleDash = scanner.scanChar$1(45);
  31008. if (doubleDash)
  31009. buffer._contents += t1;
  31010. } else
  31011. doubleDash = false;
  31012. if (!doubleDash)
  31013. $label0$0: {
  31014. _2_0 = scanner.peekChar$0();
  31015. if (_2_0 == null)
  31016. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31017. if (0 === _2_0)
  31018. scanner.error$1(0, _s52_);
  31019. t1 = _2_0 >>> 10 === 54;
  31020. character = _2_0;
  31021. if (t1) {
  31022. consumeSurrogatePair.call$1(character);
  31023. break $label0$0;
  31024. }
  31025. if (_2_0 >>> 10 === 55)
  31026. scanner.error$2$length(0, _s65_, 1);
  31027. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31028. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31029. else
  31030. t1 = false;
  31031. if (t1) {
  31032. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31033. buffer._contents += t1;
  31034. break $label0$0;
  31035. }
  31036. writeEscape.call$1(scanner.readChar$0());
  31037. }
  31038. for (; true;) {
  31039. _3_0 = scanner.peekChar$0();
  31040. if (_3_0 == null)
  31041. break;
  31042. if (0 === _3_0)
  31043. scanner.error$1(0, _s52_);
  31044. t1 = _3_0 >>> 10 === 54;
  31045. if (t1) {
  31046. consumeSurrogatePair.call$1(_3_0);
  31047. continue;
  31048. }
  31049. if (_3_0 >>> 10 === 55)
  31050. scanner.error$2$length(0, _s65_, 1);
  31051. if (_3_0 !== 95) {
  31052. if (!(_3_0 >= 97 && _3_0 <= 122))
  31053. t1 = _3_0 >= 65 && _3_0 <= 90;
  31054. else
  31055. t1 = true;
  31056. t1 = t1 || _3_0 >= 128;
  31057. } else
  31058. t1 = true;
  31059. if (!t1)
  31060. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31061. else
  31062. t1 = true;
  31063. if (t1)
  31064. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31065. else
  31066. t1 = false;
  31067. if (t1) {
  31068. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31069. buffer._contents += t1;
  31070. continue;
  31071. }
  31072. writeEscape.call$1(scanner.readChar$0());
  31073. }
  31074. t1 = buffer._contents;
  31075. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31076. },
  31077. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31078. this.buffer = t0;
  31079. this.scanner = t1;
  31080. },
  31081. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31082. this.scanner = t0;
  31083. this.writeEscape = t1;
  31084. this.buffer = t2;
  31085. },
  31086. stringClass_closure: function stringClass_closure() {
  31087. },
  31088. stringClass__closure: function stringClass__closure() {
  31089. },
  31090. stringClass__closure0: function stringClass__closure0() {
  31091. },
  31092. stringClass__closure1: function stringClass__closure1() {
  31093. },
  31094. stringClass__closure2: function stringClass__closure2() {
  31095. },
  31096. stringClass__closure3: function stringClass__closure3() {
  31097. },
  31098. _ConstructorOptions1: function _ConstructorOptions1() {
  31099. },
  31100. _NodeSassString: function _NodeSassString() {
  31101. },
  31102. legacyStringClass_closure: function legacyStringClass_closure() {
  31103. },
  31104. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31105. },
  31106. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31107. },
  31108. SassString$0(_text, quotes) {
  31109. return new A.SassString0(_text, quotes);
  31110. },
  31111. SassString0: function SassString0(t0, t1) {
  31112. var _ = this;
  31113. _._string0$_text = t0;
  31114. _._string0$_hasQuotes = t1;
  31115. _._string0$__SassString__sassLength_FI = $;
  31116. _._string0$_hashCache = null;
  31117. },
  31118. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31119. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31120. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31121. },
  31122. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31123. var _ = this;
  31124. _._style_rule0$_selector = t0;
  31125. _.originalSelector = t1;
  31126. _.span = t2;
  31127. _.fromPlainCss = t3;
  31128. _.children = t4;
  31129. _._node$_children = t5;
  31130. _._node$_indexInParent = _._node$_parent = null;
  31131. _.isGroupEnd = false;
  31132. },
  31133. StyleRule$0(selector, children, span) {
  31134. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31135. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31136. return new A.StyleRule0(selector, span, t1, t2);
  31137. },
  31138. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  31139. var _ = this;
  31140. _.selector = t0;
  31141. _.span = t1;
  31142. _.children = t2;
  31143. _.hasDeclarations = t3;
  31144. },
  31145. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31146. this.children = t0;
  31147. this.span = t1;
  31148. },
  31149. ModifiableCssStylesheet$0(span) {
  31150. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31151. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31152. },
  31153. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31154. var _ = this;
  31155. _.span = t0;
  31156. _.children = t1;
  31157. _._node$_children = t2;
  31158. _._node$_indexInParent = _._node$_parent = null;
  31159. _.isGroupEnd = false;
  31160. },
  31161. StylesheetParser0: function StylesheetParser0() {
  31162. },
  31163. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31164. this.$this = t0;
  31165. },
  31166. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31167. this.$this = t0;
  31168. },
  31169. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31170. this.$this = t0;
  31171. },
  31172. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31173. this.$this = t0;
  31174. this.production = t1;
  31175. this.T = t2;
  31176. },
  31177. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31178. this.$this = t0;
  31179. this.requireParens = t1;
  31180. },
  31181. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31182. this.$this = t0;
  31183. },
  31184. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31185. this.$this = t0;
  31186. this.start = t1;
  31187. },
  31188. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31189. this.declaration = t0;
  31190. },
  31191. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  31192. this.$this = t0;
  31193. },
  31194. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31195. this.$this = t0;
  31196. },
  31197. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31198. this.$this = t0;
  31199. },
  31200. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  31201. var _ = this;
  31202. _._box_0 = t0;
  31203. _.$this = t1;
  31204. _.wasInStyleRule = t2;
  31205. _.start = t3;
  31206. },
  31207. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31208. this.$this = t0;
  31209. },
  31210. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31211. this.name = t0;
  31212. this.value = t1;
  31213. },
  31214. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31215. this.query = t0;
  31216. },
  31217. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31218. },
  31219. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31220. var _ = this;
  31221. _.$this = t0;
  31222. _.wasInControlDirective = t1;
  31223. _.variables = t2;
  31224. _.list = t3;
  31225. },
  31226. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31227. this.name = t0;
  31228. this.parameters = t1;
  31229. this.precedingComment = t2;
  31230. },
  31231. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31232. this._box_0 = t0;
  31233. this.$this = t1;
  31234. },
  31235. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31236. var _ = this;
  31237. _._box_0 = t0;
  31238. _.$this = t1;
  31239. _.wasInControlDirective = t2;
  31240. _.variable = t3;
  31241. _.from = t4;
  31242. _.to = t5;
  31243. },
  31244. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31245. this.$this = t0;
  31246. this.variables = t1;
  31247. this.identifiers = t2;
  31248. },
  31249. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31250. this.contentParameters_ = t0;
  31251. },
  31252. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31253. this.query = t0;
  31254. },
  31255. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31256. var _ = this;
  31257. _.$this = t0;
  31258. _.name = t1;
  31259. _.parameters = t2;
  31260. _.precedingComment = t3;
  31261. },
  31262. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31263. this.$this = t0;
  31264. },
  31265. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31266. var _ = this;
  31267. _._box_0 = t0;
  31268. _.$this = t1;
  31269. _.name = t2;
  31270. _.value = t3;
  31271. },
  31272. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31273. this.condition = t0;
  31274. },
  31275. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31276. this.$this = t0;
  31277. this.wasInControlDirective = t1;
  31278. this.condition = t2;
  31279. },
  31280. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31281. this._box_0 = t0;
  31282. this.name = t1;
  31283. },
  31284. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31285. this._box_0 = t0;
  31286. this.$this = t1;
  31287. this.start = t2;
  31288. },
  31289. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31290. this._box_0 = t0;
  31291. this.$this = t1;
  31292. },
  31293. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31294. this._box_0 = t0;
  31295. this.resolveOneOperation = t1;
  31296. },
  31297. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31298. var _ = this;
  31299. _._box_0 = t0;
  31300. _.$this = t1;
  31301. _.resetState = t2;
  31302. _.resolveOperations = t3;
  31303. },
  31304. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2, t3) {
  31305. var _ = this;
  31306. _._box_0 = t0;
  31307. _.$this = t1;
  31308. _.resolveOneOperation = t2;
  31309. _.addSingleExpression = t3;
  31310. },
  31311. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31312. this._box_0 = t0;
  31313. this.$this = t1;
  31314. this.resolveOperations = t2;
  31315. },
  31316. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31317. this.$this = t0;
  31318. },
  31319. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31320. },
  31321. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31322. },
  31323. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31324. },
  31325. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31326. this.$this = t0;
  31327. this.start = t1;
  31328. },
  31329. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31330. },
  31331. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31332. this.$this = t0;
  31333. },
  31334. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31335. this.$this = t0;
  31336. this.start = t1;
  31337. },
  31338. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31339. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31340. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31341. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31342. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31343. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31344. 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);
  31345. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31346. return t1;
  31347. },
  31348. Stylesheet_Stylesheet$parse0(contents, syntax, url) {
  31349. var error, stackTrace, url0, t1, exception, t2;
  31350. try {
  31351. switch (syntax) {
  31352. case B.Syntax_Sass_sass0:
  31353. 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);
  31354. return t1;
  31355. case B.Syntax_SCSS_scss0:
  31356. t1 = A.ScssParser$0(contents, url).parse$0(0);
  31357. return t1;
  31358. case B.Syntax_CSS_css0:
  31359. 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);
  31360. return t1;
  31361. }
  31362. } catch (exception) {
  31363. t1 = A.unwrapException(exception);
  31364. if (t1 instanceof A.SassException0) {
  31365. error = t1;
  31366. stackTrace = A.getTraceFromException(exception);
  31367. t1 = error;
  31368. t2 = J.getInterceptor$z(t1);
  31369. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31370. url0 = t1.get$sourceUrl(t1);
  31371. if (url0 == null || url0.toString$0(0) === "stdin")
  31372. throw exception;
  31373. t1 = type$.Uri;
  31374. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31375. } else
  31376. throw exception;
  31377. }
  31378. },
  31379. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31380. var _ = this;
  31381. _.span = t0;
  31382. _.plainCss = t1;
  31383. _._stylesheet1$_uses = t2;
  31384. _._stylesheet1$_forwards = t3;
  31385. _.parseTimeWarnings = t4;
  31386. _.globalVariables = t5;
  31387. _.children = t6;
  31388. _.hasDeclarations = t7;
  31389. },
  31390. SupportsExpression0: function SupportsExpression0(t0) {
  31391. this.condition = t0;
  31392. },
  31393. ModifiableCssSupportsRule$0(condition, span) {
  31394. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31395. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31396. },
  31397. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31398. var _ = this;
  31399. _.condition = t0;
  31400. _.span = t1;
  31401. _.children = t2;
  31402. _._node$_children = t3;
  31403. _._node$_indexInParent = _._node$_parent = null;
  31404. _.isGroupEnd = false;
  31405. },
  31406. SupportsRule$0(condition, children, span) {
  31407. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31408. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31409. return new A.SupportsRule0(condition, span, t1, t2);
  31410. },
  31411. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31412. var _ = this;
  31413. _.condition = t0;
  31414. _.span = t1;
  31415. _.children = t2;
  31416. _.hasDeclarations = t3;
  31417. },
  31418. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31419. this._sync$_canonicalize = t0;
  31420. this._sync$_load = t1;
  31421. this._sync$_nonCanonicalSchemes = t2;
  31422. },
  31423. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31424. this.$this = t0;
  31425. this.url = t1;
  31426. },
  31427. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31428. this.$this = t0;
  31429. this.url = t1;
  31430. },
  31431. Syntax_forPath0(path) {
  31432. var t1,
  31433. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31434. $label0$0: {
  31435. if (".sass" === _0_0) {
  31436. t1 = B.Syntax_Sass_sass0;
  31437. break $label0$0;
  31438. }
  31439. if (".css" === _0_0) {
  31440. t1 = B.Syntax_CSS_css0;
  31441. break $label0$0;
  31442. }
  31443. t1 = B.Syntax_SCSS_scss0;
  31444. break $label0$0;
  31445. }
  31446. return t1;
  31447. },
  31448. Syntax0: function Syntax0(t0, t1) {
  31449. this._syntax0$_name = t0;
  31450. this._name = t1;
  31451. },
  31452. TypeSelector0: function TypeSelector0(t0, t1) {
  31453. this.name = t0;
  31454. this.span = t1;
  31455. },
  31456. Types: function Types() {
  31457. },
  31458. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31459. this.operator = t0;
  31460. this.operand = t1;
  31461. this.span = t2;
  31462. },
  31463. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  31464. this.name = t0;
  31465. this.operator = t1;
  31466. this._name = t2;
  31467. },
  31468. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31469. this._number1$_value = t0;
  31470. this.hashCache = null;
  31471. this.asSlash = t1;
  31472. },
  31473. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31474. this.namespace = t0;
  31475. this.span = t1;
  31476. },
  31477. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31478. this._unprefixed_map_view0$_map = t0;
  31479. this._unprefixed_map_view0$_prefix = t1;
  31480. this.$ti = t2;
  31481. },
  31482. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31483. this._unprefixed_map_view0$_view = t0;
  31484. },
  31485. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31486. this.$this = t0;
  31487. },
  31488. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31489. this.$this = t0;
  31490. },
  31491. JSUrl0: function JSUrl0() {
  31492. },
  31493. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31494. var _ = this;
  31495. _.url = t0;
  31496. _.namespace = t1;
  31497. _.configuration = t2;
  31498. _.span = t3;
  31499. },
  31500. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31501. var _ = this;
  31502. _.declaration = t0;
  31503. _.environment = t1;
  31504. _.inDependency = t2;
  31505. _.$ti = t3;
  31506. },
  31507. fromImport0() {
  31508. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31509. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31510. return t1 === true;
  31511. },
  31512. canonicalizeContext0() {
  31513. var t1,
  31514. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31515. $label0$0: {
  31516. if (_0_0 == null)
  31517. A.throwExpression(A.StateError$(string$.canoni));
  31518. if (_0_0 instanceof A.CanonicalizeContext0) {
  31519. t1 = _0_0;
  31520. break $label0$0;
  31521. }
  31522. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31523. }
  31524. return t1;
  31525. },
  31526. inImportRule(callback, $T) {
  31527. var t1,
  31528. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31529. $label0$0: {
  31530. if (_0_0 == null) {
  31531. t1 = type$.nullable_Object;
  31532. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31533. break $label0$0;
  31534. }
  31535. if (_0_0 instanceof A.CanonicalizeContext0) {
  31536. t1 = _0_0.withFromImport$2(true, callback);
  31537. break $label0$0;
  31538. }
  31539. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31540. }
  31541. return t1;
  31542. },
  31543. resolveImportPath0(path) {
  31544. var t1,
  31545. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31546. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31547. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31548. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31549. }
  31550. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31551. if (t1 == null)
  31552. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31553. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31554. },
  31555. _tryPathWithExtensions0(path) {
  31556. var result = A._tryPath0(path + ".sass");
  31557. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31558. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31559. },
  31560. _tryPath0(path) {
  31561. var t1 = $.$get$context(),
  31562. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31563. t1 = A._setArrayType([], type$.JSArray_String);
  31564. if (A.fileExists0(partial))
  31565. t1.push(partial);
  31566. if (A.fileExists0(path))
  31567. t1.push(path);
  31568. return t1;
  31569. },
  31570. _tryPathAsDirectory0(path) {
  31571. var t1;
  31572. if (!A.dirExists0(path))
  31573. return null;
  31574. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31575. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31576. },
  31577. _exactlyOne0(paths) {
  31578. var _0_1, t1, path;
  31579. $label0$0: {
  31580. _0_1 = paths.length;
  31581. if (_0_1 <= 0) {
  31582. t1 = null;
  31583. break $label0$0;
  31584. }
  31585. if (_0_1 === 1) {
  31586. path = paths[0];
  31587. t1 = path;
  31588. break $label0$0;
  31589. }
  31590. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31591. }
  31592. return t1;
  31593. },
  31594. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31595. this.path = t0;
  31596. this.extension = t1;
  31597. },
  31598. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31599. this.path = t0;
  31600. },
  31601. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31602. this.path = t0;
  31603. },
  31604. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31605. },
  31606. jsThrow(error) {
  31607. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31608. },
  31609. attachJsStack(error, trace) {
  31610. var traceString = trace.toString$0(0),
  31611. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31612. if (firstRealLine !== -1)
  31613. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31614. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31615. },
  31616. jsForEach(object, callback) {
  31617. var t1, t2;
  31618. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31619. t2 = t1.get$current(t1);
  31620. callback.call$2(t2, object[t2]);
  31621. }
  31622. },
  31623. jsType(value) {
  31624. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31625. 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));
  31626. },
  31627. defineGetter(object, $name, get, value) {
  31628. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31629. },
  31630. allowInteropNamed($name, $function) {
  31631. $function = A.allowInterop($function);
  31632. A.defineGetter($function, "name", null, $name);
  31633. A._hideDartProperties($function);
  31634. return $function;
  31635. },
  31636. allowInteropCaptureThisNamed($name, $function) {
  31637. $function = A.allowInteropCaptureThis($function);
  31638. A.defineGetter($function, "name", null, $name);
  31639. A._hideDartProperties($function);
  31640. return $function;
  31641. },
  31642. _hideDartProperties(object) {
  31643. var t1, t2, t3, t4;
  31644. 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();) {
  31645. t3 = t1.__internal$_current;
  31646. if (t3 == null)
  31647. t3 = t2._as(t3);
  31648. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31649. t4 = {value: object[t3], enumerable: false};
  31650. self.Object.defineProperty(object, t3, t4);
  31651. }
  31652. }
  31653. },
  31654. futureToPromise0(future) {
  31655. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  31656. },
  31657. jsToDartUrl(url) {
  31658. return A.Uri_parse(J.toString$0$(url));
  31659. },
  31660. dartToJSUrl(url) {
  31661. return new self.URL(url.toString$0(0));
  31662. },
  31663. toJSArray(iterable) {
  31664. var t1, t2,
  31665. array = new self.Array();
  31666. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  31667. t2.push$1(array, t1.get$current(t1));
  31668. return array;
  31669. },
  31670. objectToMap(object) {
  31671. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  31672. A.jsForEach(object, new A.objectToMap_closure(map));
  31673. return map;
  31674. },
  31675. mapToObject(map) {
  31676. var t1, t2,
  31677. result = new self.Object();
  31678. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  31679. t2 = t1.get$current(t1);
  31680. result[t2._0] = t2._1;
  31681. }
  31682. return result;
  31683. },
  31684. jsToDartSeparator(separator) {
  31685. var t1;
  31686. $label0$0: {
  31687. if (" " === separator) {
  31688. t1 = B.ListSeparator_qSL0;
  31689. break $label0$0;
  31690. }
  31691. if ("," === separator) {
  31692. t1 = B.ListSeparator_qVN0;
  31693. break $label0$0;
  31694. }
  31695. if ("/" === separator) {
  31696. t1 = B.ListSeparator_bRz0;
  31697. break $label0$0;
  31698. }
  31699. if (separator == null) {
  31700. t1 = B.ListSeparator_undecided_null_undecided0;
  31701. break $label0$0;
  31702. }
  31703. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  31704. }
  31705. return t1;
  31706. },
  31707. parseSyntax(syntax) {
  31708. var t1;
  31709. $label0$0: {
  31710. if (syntax == null || "scss" === syntax) {
  31711. t1 = B.Syntax_SCSS_scss0;
  31712. break $label0$0;
  31713. }
  31714. if ("indented" === syntax) {
  31715. t1 = B.Syntax_Sass_sass0;
  31716. break $label0$0;
  31717. }
  31718. if ("css" === syntax) {
  31719. t1 = B.Syntax_CSS_css0;
  31720. break $label0$0;
  31721. }
  31722. t1 = A.jsThrow(new self.Error('Unknown syntax "' + syntax + '".'));
  31723. }
  31724. return t1;
  31725. },
  31726. entrypointFilename() {
  31727. var _1_0, _1_5_isSet, _1_5, t2, path,
  31728. t1 = self.require.main,
  31729. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  31730. if (_0_0 != null)
  31731. return _0_0;
  31732. else {
  31733. _1_0 = J.get$argv$x(self.process);
  31734. t1 = J.getInterceptor$asx(_1_0);
  31735. _1_5_isSet = t1.get$length(_1_0) >= 2;
  31736. if (_1_5_isSet) {
  31737. _1_5 = t1.$index(_1_0, 1);
  31738. t2 = typeof _1_5 == "string";
  31739. } else {
  31740. _1_5 = null;
  31741. t2 = false;
  31742. }
  31743. if (t2) {
  31744. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  31745. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  31746. } else
  31747. return null;
  31748. }
  31749. },
  31750. _PropertyDescriptor0: function _PropertyDescriptor0() {
  31751. },
  31752. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  31753. this.future = t0;
  31754. },
  31755. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  31756. this.resolve = t0;
  31757. },
  31758. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  31759. this.reject = t0;
  31760. },
  31761. objectToMap_closure: function objectToMap_closure(t0) {
  31762. this.map = t0;
  31763. },
  31764. _RequireMain0: function _RequireMain0() {
  31765. },
  31766. toSentence0(iter, conjunction) {
  31767. if (iter.get$length(iter) === 1)
  31768. return J.toString$0$(iter.get$first(iter));
  31769. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  31770. },
  31771. indent0(string, indentation) {
  31772. 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");
  31773. },
  31774. pluralize0($name, number, plural) {
  31775. if (number === 1)
  31776. return $name;
  31777. if (plural != null)
  31778. return plural;
  31779. return $name + "s";
  31780. },
  31781. trimAscii0(string, excludeEscape) {
  31782. var t1,
  31783. start = A._firstNonWhitespace0(string);
  31784. if (start == null)
  31785. t1 = "";
  31786. else {
  31787. t1 = A._lastNonWhitespace0(string, true);
  31788. t1.toString;
  31789. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  31790. }
  31791. return t1;
  31792. },
  31793. trimAsciiRight0(string, excludeEscape) {
  31794. var end = A._lastNonWhitespace0(string, excludeEscape);
  31795. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  31796. },
  31797. _firstNonWhitespace0(string) {
  31798. var t1, i, t2;
  31799. for (t1 = string.length, i = 0; i < t1; ++i) {
  31800. t2 = string.charCodeAt(i);
  31801. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  31802. return i;
  31803. }
  31804. return null;
  31805. },
  31806. _lastNonWhitespace0(string, excludeEscape) {
  31807. var i, i0, codeUnit;
  31808. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  31809. codeUnit = string.charCodeAt(i0);
  31810. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  31811. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  31812. return i0 + 1;
  31813. else
  31814. return i0;
  31815. }
  31816. return null;
  31817. },
  31818. isPublic0(member) {
  31819. var start = member.charCodeAt(0);
  31820. return start !== 45 && start !== 95;
  31821. },
  31822. flattenVertically0(iterable, $T) {
  31823. var result,
  31824. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  31825. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), t1._eval$1("ListIterable.E"));
  31826. if (queues.length === 1)
  31827. return B.JSArray_methods.get$first(queues);
  31828. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  31829. for (; queues.length !== 0;) {
  31830. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  31831. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  31832. }
  31833. return result;
  31834. },
  31835. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  31836. var codeUnitIndex, i, codeUnitIndex0;
  31837. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  31838. codeUnitIndex0 = codeUnitIndex + 1;
  31839. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  31840. }
  31841. return codeUnitIndex;
  31842. },
  31843. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  31844. var codepointIndex, i;
  31845. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  31846. ++codepointIndex;
  31847. return codepointIndex;
  31848. },
  31849. frameForSpan0(span, member, url) {
  31850. var t2, t3,
  31851. t1 = url == null ? span.get$sourceUrl(span) : url;
  31852. if (t1 == null)
  31853. t1 = $.$get$_noSourceUrl0();
  31854. t2 = span.get$start(span);
  31855. t2 = t2.file.getLine$1(t2.offset);
  31856. t3 = span.get$start(span);
  31857. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  31858. },
  31859. declarationName0(span) {
  31860. var text = span.get$text();
  31861. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  31862. },
  31863. unvendor0($name) {
  31864. var i,
  31865. t1 = $name.length;
  31866. if (t1 < 2)
  31867. return $name;
  31868. if ($name.charCodeAt(0) !== 45)
  31869. return $name;
  31870. if ($name.charCodeAt(1) === 45)
  31871. return $name;
  31872. for (i = 2; i < t1; ++i)
  31873. if ($name.charCodeAt(i) === 45)
  31874. return B.JSString_methods.substring$1($name, i + 1);
  31875. return $name;
  31876. },
  31877. equalsIgnoreCase0(string1, string2) {
  31878. var t1, i;
  31879. if (string1 === string2)
  31880. return true;
  31881. if (string1 == null)
  31882. return false;
  31883. t1 = string1.length;
  31884. if (t1 !== string2.length)
  31885. return false;
  31886. for (i = 0; i < t1; ++i)
  31887. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  31888. return false;
  31889. return true;
  31890. },
  31891. startsWithIgnoreCase0(string, prefix) {
  31892. var i,
  31893. t1 = prefix.length;
  31894. if (string.length < t1)
  31895. return false;
  31896. for (i = 0; i < t1; ++i)
  31897. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  31898. return false;
  31899. return true;
  31900. },
  31901. mapInPlace0(list, $function) {
  31902. var i;
  31903. for (i = 0; i < list.length; ++i)
  31904. list[i] = $function.call$1(list[i]);
  31905. },
  31906. longestCommonSubsequence0(list1, list2, select, $T) {
  31907. var t1, _i, selections, i, i0, j, selection, j0,
  31908. _length = list1.get$length(0) + 1,
  31909. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  31910. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  31911. 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);
  31912. _length = list1.get$length(0);
  31913. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  31914. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  31915. 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);
  31916. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  31917. 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) {
  31918. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  31919. selections[i][j] = selection;
  31920. t1 = lengths[i0];
  31921. j0 = j + 1;
  31922. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  31923. }
  31924. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  31925. },
  31926. removeFirstWhere0(list, test, orElse) {
  31927. var i;
  31928. for (i = 0; i < list.length; ++i) {
  31929. if (!test.call$1(list[i]))
  31930. continue;
  31931. B.JSArray_methods.removeAt$1(list, i);
  31932. return;
  31933. }
  31934. orElse.call$0();
  31935. },
  31936. mapAddAll20(destination, source, $K1, $K2, $V) {
  31937. source.forEach$1(0, new A.mapAddAll2_closure0(destination, $K1, $K2, $V));
  31938. },
  31939. setAll0(map, keys, value) {
  31940. var t1;
  31941. for (t1 = keys.get$iterator(keys); t1.moveNext$0();)
  31942. map.$indexSet(0, t1.get$current(t1), value);
  31943. },
  31944. rotateSlice0(list, start, end) {
  31945. var i, next,
  31946. element = list.$index(0, end - 1);
  31947. for (i = start; i < end; ++i, element = next) {
  31948. next = list.$index(0, i);
  31949. list.$indexSet(0, i, element);
  31950. }
  31951. },
  31952. mapAsync0(iterable, callback, $E, $F) {
  31953. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  31954. },
  31955. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  31956. var $async$goto = 0,
  31957. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  31958. $async$returnValue, t2, _i, t1, $async$temp1;
  31959. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  31960. if ($async$errorCode === 1)
  31961. return A._asyncRethrow($async$result, $async$completer);
  31962. while (true)
  31963. switch ($async$goto) {
  31964. case 0:
  31965. // Function start
  31966. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  31967. t2 = iterable.length, _i = 0;
  31968. case 3:
  31969. // for condition
  31970. if (!(_i < t2)) {
  31971. // goto after for
  31972. $async$goto = 5;
  31973. break;
  31974. }
  31975. $async$temp1 = t1;
  31976. $async$goto = 6;
  31977. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  31978. case 6:
  31979. // returning from await.
  31980. $async$temp1.push($async$result);
  31981. case 4:
  31982. // for update
  31983. ++_i;
  31984. // goto for condition
  31985. $async$goto = 3;
  31986. break;
  31987. case 5:
  31988. // after for
  31989. $async$returnValue = t1;
  31990. // goto return
  31991. $async$goto = 1;
  31992. break;
  31993. case 1:
  31994. // return
  31995. return A._asyncReturn($async$returnValue, $async$completer);
  31996. }
  31997. });
  31998. return A._asyncStartSync($async$mapAsync0, $async$completer);
  31999. },
  32000. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32001. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32002. },
  32003. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32004. var $async$goto = 0,
  32005. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32006. $async$returnValue, t1, value;
  32007. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32008. if ($async$errorCode === 1)
  32009. return A._asyncRethrow($async$result, $async$completer);
  32010. while (true)
  32011. switch ($async$goto) {
  32012. case 0:
  32013. // Function start
  32014. if (map.containsKey$1(key)) {
  32015. t1 = map.$index(0, key);
  32016. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32017. // goto return
  32018. $async$goto = 1;
  32019. break;
  32020. }
  32021. $async$goto = 3;
  32022. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32023. case 3:
  32024. // returning from await.
  32025. value = $async$result;
  32026. map.$indexSet(0, key, value);
  32027. $async$returnValue = value;
  32028. // goto return
  32029. $async$goto = 1;
  32030. break;
  32031. case 1:
  32032. // return
  32033. return A._asyncReturn($async$returnValue, $async$completer);
  32034. }
  32035. });
  32036. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32037. },
  32038. copyMapOfMap0(map, $K1, $K2, $V) {
  32039. var t3, key, child,
  32040. t1 = $K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32041. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K1, t1);
  32042. for (t1 = A.MapExtensions_get_pairs0(map, $K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32043. t3 = t1.get$current(t1);
  32044. key = t3._0;
  32045. child = t3._1;
  32046. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K2, $V);
  32047. t3.addAll$1(0, child);
  32048. t2.$indexSet(0, key, t3);
  32049. }
  32050. return t2;
  32051. },
  32052. copyMapOfList0(map, $K, $E) {
  32053. var t3,
  32054. t1 = $E._eval$1("List<0>"),
  32055. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32056. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32057. t3 = t1.get$current(t1);
  32058. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32059. }
  32060. return t2;
  32061. },
  32062. consumeEscapedCharacter0(scanner) {
  32063. var _1_0, value, i, next, t1;
  32064. scanner.expectChar$1(92);
  32065. _1_0 = scanner.peekChar$0();
  32066. if (_1_0 == null)
  32067. return 65533;
  32068. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32069. scanner.error$1(0, "Expected escape sequence.");
  32070. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32071. for (value = 0, i = 0; i < 6; ++i) {
  32072. next = scanner.peekChar$0();
  32073. if (next != null) {
  32074. t1 = true;
  32075. if (!(next >= 48 && next <= 57))
  32076. if (!(next >= 97 && next <= 102))
  32077. t1 = next >= 65 && next <= 70;
  32078. t1 = !t1;
  32079. } else
  32080. t1 = true;
  32081. if (t1)
  32082. break;
  32083. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32084. }
  32085. t1 = scanner.peekChar$0();
  32086. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32087. scanner.readChar$0();
  32088. $label0$1: {
  32089. if (0 !== value)
  32090. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32091. else
  32092. t1 = true;
  32093. if (t1) {
  32094. t1 = 65533;
  32095. break $label0$1;
  32096. }
  32097. t1 = value;
  32098. break $label0$1;
  32099. }
  32100. return t1;
  32101. }
  32102. return scanner.readChar$0();
  32103. },
  32104. throwWithTrace0(error, originalError, trace) {
  32105. var t1 = A.getTrace0(originalError);
  32106. A.attachTrace0(error, t1 == null ? trace : t1);
  32107. throw A.wrapException(error);
  32108. },
  32109. attachTrace0(error, trace) {
  32110. var t1;
  32111. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32112. return;
  32113. if (trace.toString$0(0).length === 0)
  32114. return;
  32115. t1 = $.$get$_traces0();
  32116. A.Expando__checkType(error);
  32117. if (t1._jsWeakMap.get(error) == null)
  32118. t1.$indexSet(0, error, trace);
  32119. },
  32120. getTrace0(error) {
  32121. var t1;
  32122. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32123. t1 = null;
  32124. else {
  32125. t1 = $.$get$_traces0();
  32126. A.Expando__checkType(error);
  32127. t1 = t1._jsWeakMap.get(error);
  32128. }
  32129. return t1;
  32130. },
  32131. parseSignature(signature, requireParens) {
  32132. var error, stackTrace, t1, exception, t2;
  32133. try {
  32134. t1 = A.ScssParser$0(signature, null).parseSignature$1$requireParens(requireParens);
  32135. return t1;
  32136. } catch (exception) {
  32137. t1 = A.unwrapException(exception);
  32138. if (type$.SassFormatException_2._is(t1)) {
  32139. error = t1;
  32140. stackTrace = A.getTraceFromException(exception);
  32141. t1 = error._span_exception$_message;
  32142. t2 = J.get$span$z(error);
  32143. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32144. } else
  32145. throw exception;
  32146. }
  32147. },
  32148. indent_closure0: function indent_closure0(t0) {
  32149. this.indentation = t0;
  32150. },
  32151. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32152. this.T = t0;
  32153. },
  32154. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32155. this.result = t0;
  32156. this.T = t1;
  32157. },
  32158. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32159. this.selections = t0;
  32160. this.lengths = t1;
  32161. this.T = t2;
  32162. },
  32163. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32164. var _ = this;
  32165. _.destination = t0;
  32166. _.K1 = t1;
  32167. _.K2 = t2;
  32168. _.V = t3;
  32169. },
  32170. CssValue0: function CssValue0(t0, t1, t2) {
  32171. this.value = t0;
  32172. this.span = t1;
  32173. this.$ti = t2;
  32174. },
  32175. ValueExpression0: function ValueExpression0(t0, t1) {
  32176. this.value = t0;
  32177. this.span = t1;
  32178. },
  32179. valueClass_closure: function valueClass_closure() {
  32180. },
  32181. valueClass__closure: function valueClass__closure() {
  32182. },
  32183. valueClass__closure0: function valueClass__closure0() {
  32184. },
  32185. valueClass__closure1: function valueClass__closure1() {
  32186. },
  32187. valueClass__closure2: function valueClass__closure2() {
  32188. },
  32189. valueClass__closure3: function valueClass__closure3() {
  32190. },
  32191. valueClass__closure4: function valueClass__closure4() {
  32192. },
  32193. valueClass__closure5: function valueClass__closure5() {
  32194. },
  32195. valueClass__closure6: function valueClass__closure6() {
  32196. },
  32197. valueClass__closure7: function valueClass__closure7() {
  32198. },
  32199. valueClass__closure8: function valueClass__closure8() {
  32200. },
  32201. valueClass__closure9: function valueClass__closure9() {
  32202. },
  32203. valueClass__closure10: function valueClass__closure10() {
  32204. },
  32205. valueClass__closure11: function valueClass__closure11() {
  32206. },
  32207. valueClass__closure12: function valueClass__closure12() {
  32208. },
  32209. valueClass__closure13: function valueClass__closure13() {
  32210. },
  32211. valueClass__closure14: function valueClass__closure14() {
  32212. },
  32213. valueClass__closure15: function valueClass__closure15() {
  32214. },
  32215. valueClass__closure16: function valueClass__closure16() {
  32216. },
  32217. valueClass__closure17: function valueClass__closure17() {
  32218. },
  32219. valueClass__closure18: function valueClass__closure18() {
  32220. },
  32221. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32222. var error, stackTrace, t1, exception,
  32223. string = _this._value$_selectorString$1($name);
  32224. try {
  32225. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32226. return t1;
  32227. } catch (exception) {
  32228. t1 = A.unwrapException(exception);
  32229. if (type$.SassFormatException_2._is(t1)) {
  32230. error = t1;
  32231. stackTrace = A.getTraceFromException(exception);
  32232. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32233. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32234. } else
  32235. throw exception;
  32236. }
  32237. },
  32238. SassApiValue_assertCompoundSelector0(_this, $name) {
  32239. var error, stackTrace, t1, exception,
  32240. allowParent = false,
  32241. string = _this._value$_selectorString$1($name);
  32242. try {
  32243. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32244. return t1;
  32245. } catch (exception) {
  32246. t1 = A.unwrapException(exception);
  32247. if (type$.SassFormatException_2._is(t1)) {
  32248. error = t1;
  32249. stackTrace = A.getTraceFromException(exception);
  32250. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32251. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32252. } else
  32253. throw exception;
  32254. }
  32255. },
  32256. Value0: function Value0() {
  32257. },
  32258. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32259. this.namespace = t0;
  32260. this.name = t1;
  32261. this.span = t2;
  32262. },
  32263. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32264. if (namespace != null && global)
  32265. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32266. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32267. },
  32268. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32269. var _ = this;
  32270. _.namespace = t0;
  32271. _.name = t1;
  32272. _.expression = t2;
  32273. _.isGuarded = t3;
  32274. _.isGlobal = t4;
  32275. _.span = t5;
  32276. },
  32277. WarnRule0: function WarnRule0(t0, t1) {
  32278. this.expression = t0;
  32279. this.span = t1;
  32280. },
  32281. WhileRule$0(condition, children, span) {
  32282. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32283. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32284. return new A.WhileRule0(condition, span, t1, t2);
  32285. },
  32286. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32287. var _ = this;
  32288. _.condition = t0;
  32289. _.span = t1;
  32290. _.children = t2;
  32291. _.hasDeclarations = t3;
  32292. },
  32293. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32294. this.name = t0;
  32295. this._space$_channels = t1;
  32296. },
  32297. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32298. this.name = t0;
  32299. this._space$_channels = t1;
  32300. },
  32301. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32302. var _0_0 = A.parseSignature(signature, requireParens);
  32303. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32304. },
  32305. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32306. var _0_0 = A.parseSignature(signature, requireParens);
  32307. 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);
  32308. },
  32309. printString(string) {
  32310. if (typeof dartPrint == "function") {
  32311. dartPrint(string);
  32312. return;
  32313. }
  32314. if (typeof console == "object" && typeof console.log != "undefined") {
  32315. console.log(string);
  32316. return;
  32317. }
  32318. if (typeof print == "function") {
  32319. print(string);
  32320. return;
  32321. }
  32322. throw "Unable to print message: " + String(string);
  32323. },
  32324. mergeMaps(map1, map2, $K, $V) {
  32325. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32326. result.addAll$1(0, map2);
  32327. return result;
  32328. },
  32329. groupBy(values, key, $S, $T) {
  32330. var t1, t2, _i, element, t3, t4,
  32331. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32332. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32333. element = values[_i];
  32334. t3 = key.call$1(element);
  32335. t4 = map.$index(0, t3);
  32336. if (t4 == null) {
  32337. t4 = A._setArrayType([], t2);
  32338. map.$indexSet(0, t3, t4);
  32339. t3 = t4;
  32340. } else
  32341. t3 = t4;
  32342. J.add$1$ax(t3, element);
  32343. }
  32344. return map;
  32345. },
  32346. minBy(values, orderBy) {
  32347. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32348. 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();) {
  32349. element = t2.__internal$_current;
  32350. if (element == null)
  32351. element = t1._as(element);
  32352. elementOrderBy = orderBy.call$1(element);
  32353. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32354. minOrderBy = elementOrderBy;
  32355. minValue = element;
  32356. }
  32357. }
  32358. return minValue;
  32359. },
  32360. IterableExtension_firstWhereOrNull(_this, test) {
  32361. var t1, element;
  32362. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32363. element = t1.get$current(t1);
  32364. if (test.call$1(element))
  32365. return element;
  32366. }
  32367. return null;
  32368. },
  32369. IterableExtension_get_firstOrNull(_this) {
  32370. var iterator = J.get$iterator$ax(_this);
  32371. if (iterator.moveNext$0())
  32372. return iterator.get$current(iterator);
  32373. return null;
  32374. },
  32375. IterableExtension_get_lastOrNull(_this) {
  32376. if (_this.get$length(0) === 0)
  32377. return null;
  32378. return _this.get$last(_this);
  32379. },
  32380. IterableExtension_get_singleOrNull(_this) {
  32381. var result,
  32382. iterator = J.get$iterator$ax(_this);
  32383. if (iterator.moveNext$0()) {
  32384. result = iterator.get$current(iterator);
  32385. if (!iterator.moveNext$0())
  32386. return result;
  32387. }
  32388. return null;
  32389. },
  32390. IterableIntegerExtension_get_maxOrNull(_this) {
  32391. var value, newValue,
  32392. iterator = _this.get$iterator(_this);
  32393. if (iterator.moveNext$0()) {
  32394. value = iterator.get$current(iterator);
  32395. for (; iterator.moveNext$0();) {
  32396. newValue = iterator.get$current(iterator);
  32397. if (newValue > value)
  32398. value = newValue;
  32399. }
  32400. return value;
  32401. }
  32402. return null;
  32403. },
  32404. IterableIntegerExtension_get_max(_this) {
  32405. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32406. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32407. },
  32408. IterableIntegerExtension_get_sum(_this) {
  32409. var t1, t2, result, t3;
  32410. 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();) {
  32411. t3 = t2.__internal$_current;
  32412. result += t3 == null ? t1._as(t3) : t3;
  32413. }
  32414. return result;
  32415. },
  32416. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32417. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32418. },
  32419. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32420. return function() {
  32421. var _this = $async$_this,
  32422. convert = $async$convert,
  32423. $E = $async$$E,
  32424. $R = $async$$R;
  32425. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32426. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32427. if ($async$errorCode === 1) {
  32428. $async$errorStack.push($async$result);
  32429. $async$goto = $async$handler;
  32430. }
  32431. while (true)
  32432. switch ($async$goto) {
  32433. case 0:
  32434. // Function start
  32435. t1 = _this.length, index = 0;
  32436. case 2:
  32437. // for condition
  32438. if (!(index < t1)) {
  32439. // goto after for
  32440. $async$goto = 4;
  32441. break;
  32442. }
  32443. $async$goto = 5;
  32444. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32445. case 5:
  32446. // after yield
  32447. case 3:
  32448. // for update
  32449. ++index;
  32450. // goto for condition
  32451. $async$goto = 2;
  32452. break;
  32453. case 4:
  32454. // after for
  32455. // implicit return
  32456. return 0;
  32457. case 1:
  32458. // rethrow
  32459. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32460. }
  32461. };
  32462. };
  32463. },
  32464. ListExtensions_elementAtOrNull(_this, index) {
  32465. var t1 = J.getInterceptor$asx(_this);
  32466. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32467. },
  32468. defaultCompare(value1, value2) {
  32469. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32470. },
  32471. current() {
  32472. var exception, t1, path, lastIndex, uri = null;
  32473. try {
  32474. uri = A.Uri_base();
  32475. } catch (exception) {
  32476. if (type$.Exception._is(A.unwrapException(exception))) {
  32477. t1 = $._current;
  32478. if (t1 != null)
  32479. return t1;
  32480. throw exception;
  32481. } else
  32482. throw exception;
  32483. }
  32484. if (J.$eq$(uri, $._currentUriBase)) {
  32485. t1 = $._current;
  32486. t1.toString;
  32487. return t1;
  32488. }
  32489. $._currentUriBase = uri;
  32490. if ($.$get$Style_platform() === $.$get$Style_url())
  32491. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32492. else {
  32493. path = uri.toFilePath$0();
  32494. lastIndex = path.length - 1;
  32495. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32496. }
  32497. return t1;
  32498. },
  32499. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32500. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32501. },
  32502. join(part1, part2, part3) {
  32503. var _null = null;
  32504. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32505. },
  32506. toUri(path) {
  32507. return $.$get$context().toUri$1(path);
  32508. },
  32509. prettyUri(uri) {
  32510. var t1 = $.$get$context();
  32511. uri.toString;
  32512. return t1.prettyUri$1(uri);
  32513. },
  32514. isAlphabetic(char) {
  32515. var t1;
  32516. if (!(char >= 65 && char <= 90))
  32517. t1 = char >= 97 && char <= 122;
  32518. else
  32519. t1 = true;
  32520. return t1;
  32521. },
  32522. driveLetterEnd(path, index) {
  32523. var t2, t3, _null = null,
  32524. t1 = path.length,
  32525. index0 = index + 2;
  32526. if (t1 < index0)
  32527. return _null;
  32528. if (!A.isAlphabetic(path.charCodeAt(index)))
  32529. return _null;
  32530. t2 = index + 1;
  32531. if (path.charCodeAt(t2) !== 58) {
  32532. t3 = index + 4;
  32533. if (t1 < t3)
  32534. return _null;
  32535. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32536. return _null;
  32537. index = index0;
  32538. }
  32539. t2 = index + 2;
  32540. if (t1 === t2)
  32541. return t2;
  32542. if (path.charCodeAt(t2) !== 47)
  32543. return _null;
  32544. return index + 3;
  32545. },
  32546. main0(args) {
  32547. var $async$goto = 0,
  32548. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32549. t1;
  32550. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32551. if ($async$errorCode === 1)
  32552. return A._asyncRethrow($async$result, $async$completer);
  32553. while (true)
  32554. switch ($async$goto) {
  32555. case 0:
  32556. // Function start
  32557. A.printError("sass --embedded is unavailable in pure JS mode.");
  32558. t1 = A.isNodeJs() ? self.process : null;
  32559. if (t1 != null)
  32560. J.set$exitCode$x(t1, 1);
  32561. // implicit return
  32562. return A._asyncReturn(null, $async$completer);
  32563. }
  32564. });
  32565. return A._asyncStartSync($async$main0, $async$completer);
  32566. },
  32567. EvaluationContext_currentOrNull() {
  32568. var t1,
  32569. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32570. $label0$0: {
  32571. if (type$.EvaluationContext._is(_0_0)) {
  32572. t1 = _0_0;
  32573. break $label0$0;
  32574. }
  32575. t1 = null;
  32576. break $label0$0;
  32577. }
  32578. return t1;
  32579. },
  32580. warn(message) {
  32581. var t1, _null = null,
  32582. _0_0 = A.EvaluationContext_currentOrNull();
  32583. $label0$0: {
  32584. if (_0_0 != null) {
  32585. t1 = _0_0.warn$2(0, message, _null);
  32586. break $label0$0;
  32587. }
  32588. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32589. t1 = _null;
  32590. break $label0$0;
  32591. }
  32592. return t1;
  32593. },
  32594. warnForDeprecation(message, deprecation) {
  32595. var t1,
  32596. _0_0 = A.EvaluationContext_currentOrNull();
  32597. $label0$0: {
  32598. if (_0_0 != null) {
  32599. t1 = _0_0.warn$2(0, message, deprecation);
  32600. break $label0$0;
  32601. }
  32602. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32603. break $label0$0;
  32604. }
  32605. return t1;
  32606. },
  32607. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32608. var $async$goto = 0,
  32609. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32610. $async$returnValue, _1_4, t2, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32611. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32612. if ($async$errorCode === 1)
  32613. return A._asyncRethrow($async$result, $async$completer);
  32614. while (true)
  32615. switch ($async$goto) {
  32616. case 0:
  32617. // Function start
  32618. t1 = type$.nullable_String;
  32619. t1 = A.List_List$_of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), type$.Record_2_nullable_String_and_nullable_String);
  32620. $async$goto = t1.length === 1 ? 4 : 5;
  32621. break;
  32622. case 4:
  32623. // then
  32624. _1_4 = t1[0];
  32625. $async$temp1 = A;
  32626. $async$goto = 6;
  32627. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32628. case 6:
  32629. // returning from await.
  32630. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32631. // goto break $label0$0
  32632. $async$goto = 3;
  32633. break;
  32634. case 5:
  32635. // join
  32636. t2 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32637. for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  32638. t4 = t1[_i];
  32639. t2.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32640. }
  32641. $async$goto = 7;
  32642. 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);
  32643. case 7:
  32644. // returning from await.
  32645. t1 = $async$result;
  32646. // goto break $label0$0
  32647. $async$goto = 3;
  32648. break;
  32649. case 3:
  32650. // break $label0$0
  32651. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  32652. errorWithStackTrace = t1.get$current(t1);
  32653. if (errorWithStackTrace == null)
  32654. continue;
  32655. code = errorWithStackTrace._0;
  32656. error = errorWithStackTrace._1;
  32657. stackTrace = errorWithStackTrace._2;
  32658. t2 = self.process;
  32659. if (t2 == null)
  32660. t2 = null;
  32661. else {
  32662. t2 = J.get$release$x(t2);
  32663. t2 = t2 == null ? null : J.get$name$x(t2);
  32664. }
  32665. t2 = J.$eq$(t2, "node") ? self.process : null;
  32666. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  32667. if (t2 == null)
  32668. t2 = 0;
  32669. t2 = Math.max(t2, code);
  32670. t3 = self.process;
  32671. if (t3 == null)
  32672. t3 = null;
  32673. else {
  32674. t3 = J.get$release$x(t3);
  32675. t3 = t3 == null ? null : J.get$name$x(t3);
  32676. }
  32677. t3 = J.$eq$(t3, "node") ? self.process : null;
  32678. if (t3 != null)
  32679. J.set$exitCode$x(t3, t2);
  32680. buffer = new A.StringBuffer("");
  32681. t2 = (printedError ? buffer._contents = "\n" : "") + error;
  32682. buffer._contents = t2;
  32683. if (stackTrace != null) {
  32684. t2 += "\n";
  32685. buffer._contents = t2;
  32686. t2 += "\n";
  32687. buffer._contents = t2;
  32688. buffer._contents = t2 + stackTrace;
  32689. }
  32690. A.printError(buffer);
  32691. printedError = true;
  32692. }
  32693. $async$returnValue = !printedError;
  32694. // goto return
  32695. $async$goto = 1;
  32696. break;
  32697. case 1:
  32698. // return
  32699. return A._asyncReturn($async$returnValue, $async$completer);
  32700. }
  32701. });
  32702. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  32703. },
  32704. CharacterExtension_get_isAlphabetic(_this) {
  32705. var t1;
  32706. if (!(_this >= 97 && _this <= 122))
  32707. t1 = _this >= 65 && _this <= 90;
  32708. else
  32709. t1 = true;
  32710. return t1;
  32711. },
  32712. CharacterExtension_get_isHex(_this) {
  32713. var t1 = true;
  32714. if (!(_this >= 48 && _this <= 57))
  32715. if (!(_this >= 97 && _this <= 102))
  32716. t1 = _this >= 65 && _this <= 70;
  32717. return t1;
  32718. },
  32719. asHex(character) {
  32720. var t1;
  32721. $label0$0: {
  32722. if (character <= 57) {
  32723. t1 = character - 48;
  32724. break $label0$0;
  32725. }
  32726. if (character <= 70) {
  32727. t1 = 10 + character - 65;
  32728. break $label0$0;
  32729. }
  32730. t1 = 10 + character - 97;
  32731. break $label0$0;
  32732. }
  32733. return t1;
  32734. },
  32735. hexCharFor(number) {
  32736. return number < 10 ? 48 + number : 87 + number;
  32737. },
  32738. opposite(character) {
  32739. var t1;
  32740. $label0$0: {
  32741. if (40 === character) {
  32742. t1 = 41;
  32743. break $label0$0;
  32744. }
  32745. if (123 === character) {
  32746. t1 = 125;
  32747. break $label0$0;
  32748. }
  32749. if (91 === character) {
  32750. t1 = 93;
  32751. break $label0$0;
  32752. }
  32753. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  32754. }
  32755. return t1;
  32756. },
  32757. characterEqualsIgnoreCase(character1, character2) {
  32758. var upperCase1;
  32759. if (character1 === character2)
  32760. return true;
  32761. if ((character1 ^ character2) >>> 0 !== 32)
  32762. return false;
  32763. upperCase1 = (character1 & 4294967263) >>> 0;
  32764. return upperCase1 >= 65 && upperCase1 <= 90;
  32765. },
  32766. IterableExtension_search(_this, callback) {
  32767. var t1, _0_0;
  32768. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32769. _0_0 = callback.call$1(t1.get$current(t1));
  32770. if (_0_0 != null)
  32771. return _0_0;
  32772. }
  32773. return null;
  32774. },
  32775. IterableExtension_get_exceptLast(_this) {
  32776. var t1 = J.getInterceptor$asx(_this),
  32777. size = t1.get$length(_this) - 1;
  32778. if (size < 0)
  32779. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  32780. return t1.take$1(_this, size);
  32781. },
  32782. NullableExtension_andThen(_this, fn) {
  32783. return _this == null ? null : fn.call$1(_this);
  32784. },
  32785. SetExtension_removeNull(_this, $T) {
  32786. _this.remove$1(0, null);
  32787. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  32788. },
  32789. fuzzyEquals(number1, number2) {
  32790. var t1;
  32791. if (number1 === number2)
  32792. return true;
  32793. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32794. t1 = $.$get$_inverseEpsilon();
  32795. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32796. } else
  32797. t1 = false;
  32798. return t1;
  32799. },
  32800. fuzzyEqualsNullable(number1, number2) {
  32801. var t1;
  32802. if (number1 == number2)
  32803. return true;
  32804. if (number1 == null || number2 == null)
  32805. return false;
  32806. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32807. t1 = $.$get$_inverseEpsilon();
  32808. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32809. } else
  32810. t1 = false;
  32811. return t1;
  32812. },
  32813. fuzzyHashCode(number) {
  32814. if (!isFinite(number))
  32815. return B.JSNumber_methods.get$hashCode(number);
  32816. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  32817. },
  32818. fuzzyLessThan(number1, number2) {
  32819. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  32820. },
  32821. fuzzyLessThanOrEquals(number1, number2) {
  32822. return number1 < number2 || A.fuzzyEquals(number1, number2);
  32823. },
  32824. fuzzyGreaterThan(number1, number2) {
  32825. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  32826. },
  32827. fuzzyGreaterThanOrEquals(number1, number2) {
  32828. return number1 > number2 || A.fuzzyEquals(number1, number2);
  32829. },
  32830. fuzzyIsInt(number) {
  32831. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32832. return false;
  32833. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  32834. },
  32835. fuzzyAsInt(number) {
  32836. var rounded;
  32837. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32838. return null;
  32839. rounded = B.JSNumber_methods.round$0(number);
  32840. return A.fuzzyEquals(number, rounded) ? rounded : null;
  32841. },
  32842. fuzzyRound(number) {
  32843. var t1;
  32844. if (number > 0) {
  32845. t1 = B.JSNumber_methods.$mod(number, 1);
  32846. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32847. } else {
  32848. t1 = B.JSNumber_methods.$mod(number, 1);
  32849. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32850. }
  32851. },
  32852. fuzzyCheckRange(number, min, max) {
  32853. if (A.fuzzyEquals(number, min))
  32854. return min;
  32855. if (A.fuzzyEquals(number, max))
  32856. return max;
  32857. if (number > min && number < max)
  32858. return number;
  32859. return null;
  32860. },
  32861. fuzzyAssertRange(number, min, max, $name) {
  32862. var result = A.fuzzyCheckRange(number, min, max);
  32863. if (result != null)
  32864. return result;
  32865. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  32866. },
  32867. moduloLikeSass(num1, num2) {
  32868. var result;
  32869. if (num1 == 1 / 0 || num1 == -1 / 0)
  32870. return 0 / 0;
  32871. if (num2 == 1 / 0 || num2 == -1 / 0)
  32872. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  32873. if (num2 > 0)
  32874. return B.JSNumber_methods.$mod(num1, num2);
  32875. if (num2 === 0)
  32876. return 0 / 0;
  32877. result = B.JSNumber_methods.$mod(num1, num2);
  32878. return result === 0 ? 0 : result + num2;
  32879. },
  32880. sqrt(number) {
  32881. number.assertNoUnits$1("number");
  32882. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  32883. },
  32884. sin(number) {
  32885. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  32886. },
  32887. cos(number) {
  32888. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  32889. },
  32890. tan(number) {
  32891. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  32892. },
  32893. atan(number) {
  32894. number.assertNoUnits$1("number");
  32895. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32896. },
  32897. asin(number) {
  32898. number.assertNoUnits$1("number");
  32899. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32900. },
  32901. acos(number) {
  32902. number.assertNoUnits$1("number");
  32903. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32904. },
  32905. log(number, base) {
  32906. if (base != null)
  32907. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  32908. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  32909. },
  32910. pow0(base, exponent) {
  32911. base.assertNoUnits$1("base");
  32912. exponent.assertNoUnits$1("exponent");
  32913. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  32914. },
  32915. DoubleWithSignedZero_get_signIncludingZero(_this) {
  32916. if (_this === -0.0)
  32917. return -1;
  32918. if (_this === 0)
  32919. return 1;
  32920. return J.get$sign$in(_this);
  32921. },
  32922. SpanExtensions_trimLeft(_this) {
  32923. var t1, start = 0;
  32924. while (true) {
  32925. t1 = _this.get$text().charCodeAt(start);
  32926. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  32927. break;
  32928. ++start;
  32929. }
  32930. return A.FileSpanExtension_subspan(_this, start, null);
  32931. },
  32932. SpanExtensions_trimRight(_this) {
  32933. var t1,
  32934. end = _this.get$text().length - 1;
  32935. while (true) {
  32936. t1 = _this.get$text().charCodeAt(end);
  32937. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  32938. break;
  32939. --end;
  32940. }
  32941. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  32942. },
  32943. SpanExtensions_initialIdentifier(_this) {
  32944. var i,
  32945. scanner = A.StringScanner$(_this.get$text(), null, null);
  32946. for (i = 0; false; ++i)
  32947. scanner.readChar$0();
  32948. A._scanIdentifier(scanner);
  32949. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  32950. },
  32951. SpanExtensions_withoutInitialIdentifier(_this) {
  32952. var scanner = A.StringScanner$(_this.get$text(), null, null);
  32953. A._scanIdentifier(scanner);
  32954. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  32955. },
  32956. _scanIdentifier(scanner) {
  32957. var t1, _0_0, t2;
  32958. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  32959. _0_0 = scanner.peekChar$0();
  32960. if (92 === _0_0) {
  32961. A.consumeEscapedCharacter(scanner);
  32962. continue;
  32963. }
  32964. if (A._isInt(_0_0)) {
  32965. if (_0_0 !== 95) {
  32966. if (!(_0_0 >= 97 && _0_0 <= 122))
  32967. t2 = _0_0 >= 65 && _0_0 <= 90;
  32968. else
  32969. t2 = true;
  32970. t2 = t2 || _0_0 >= 128;
  32971. } else
  32972. t2 = true;
  32973. if (!t2)
  32974. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  32975. else
  32976. t2 = true;
  32977. } else
  32978. t2 = false;
  32979. if (t2) {
  32980. scanner.readChar$0();
  32981. continue;
  32982. }
  32983. break;
  32984. }
  32985. },
  32986. hueToRgb(m1, m2, hue) {
  32987. var t1;
  32988. if (hue < 0)
  32989. ++hue;
  32990. if (hue > 1)
  32991. --hue;
  32992. $label0$0: {
  32993. if (hue < 0.16666666666666666) {
  32994. t1 = m1 + (m2 - m1) * hue * 6;
  32995. break $label0$0;
  32996. }
  32997. if (hue < 0.5) {
  32998. t1 = m2;
  32999. break $label0$0;
  33000. }
  33001. if (hue < 0.6666666666666666) {
  33002. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33003. break $label0$0;
  33004. }
  33005. t1 = m1;
  33006. break $label0$0;
  33007. }
  33008. return t1;
  33009. },
  33010. srgbAndDisplayP3ToLinear(channel) {
  33011. var abs = Math.abs(channel);
  33012. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33013. },
  33014. srgbAndDisplayP3FromLinear(channel) {
  33015. var abs = Math.abs(channel);
  33016. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33017. },
  33018. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33019. var t3, t4, chroma, hue,
  33020. t1 = a == null,
  33021. t2 = t1 ? 0 : a;
  33022. t2 = Math.pow(t2, 2);
  33023. t3 = b == null;
  33024. t4 = t3 ? 0 : b;
  33025. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33026. if (missingHue || A.fuzzyEquals(chroma, 0))
  33027. hue = null;
  33028. else {
  33029. t2 = t3 ? 0 : b;
  33030. t1 = t1 ? 0 : a;
  33031. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33032. }
  33033. t1 = missingChroma ? null : chroma;
  33034. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33035. },
  33036. encodeVlq(value) {
  33037. var res, signBit, digit, t1;
  33038. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33039. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33040. res = A._setArrayType([], type$.JSArray_String);
  33041. if (value < 0) {
  33042. value = -value;
  33043. signBit = 1;
  33044. } else
  33045. signBit = 0;
  33046. value = value << 1 | signBit;
  33047. do {
  33048. digit = value & 31;
  33049. value = value >>> 5;
  33050. t1 = value > 0;
  33051. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33052. } while (t1);
  33053. return res;
  33054. },
  33055. isAllTheSame(iter) {
  33056. var firstValue, t1, t2, value;
  33057. if (iter.get$length(0) === 0)
  33058. return true;
  33059. firstValue = iter.get$first(0);
  33060. 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();) {
  33061. value = t1.__internal$_current;
  33062. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33063. return false;
  33064. }
  33065. return true;
  33066. },
  33067. replaceFirstNull(list, element) {
  33068. var index = B.JSArray_methods.indexOf$1(list, null);
  33069. if (index < 0)
  33070. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33071. list[index] = element;
  33072. },
  33073. replaceWithNull(list, element) {
  33074. var index = B.JSArray_methods.indexOf$1(list, element);
  33075. if (index < 0)
  33076. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33077. list[index] = null;
  33078. },
  33079. countCodeUnits(string, codeUnit) {
  33080. var t1, t2, count, t3;
  33081. 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();) {
  33082. t3 = t1.__internal$_current;
  33083. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33084. ++count;
  33085. }
  33086. return count;
  33087. },
  33088. findLineStart(context, text, column) {
  33089. var beginningOfLine, index, lineStart;
  33090. if (text.length === 0)
  33091. for (beginningOfLine = 0; true;) {
  33092. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33093. if (index === -1)
  33094. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33095. if (index - beginningOfLine >= column)
  33096. return beginningOfLine;
  33097. beginningOfLine = index + 1;
  33098. }
  33099. index = B.JSString_methods.indexOf$1(context, text);
  33100. for (; index !== -1;) {
  33101. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33102. if (column === index - lineStart)
  33103. return lineStart;
  33104. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33105. }
  33106. return null;
  33107. },
  33108. validateErrorArgs(string, match, position, $length) {
  33109. var t2,
  33110. t1 = position != null;
  33111. if (t1)
  33112. if (position < 0)
  33113. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33114. else if (position > string.length)
  33115. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33116. t2 = $length != null;
  33117. if (t2 && $length < 0)
  33118. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33119. if (t1 && t2 && position + $length > string.length)
  33120. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33121. },
  33122. CharacterExtension_get_isAlphabetic0(_this) {
  33123. var t1;
  33124. if (!(_this >= 97 && _this <= 122))
  33125. t1 = _this >= 65 && _this <= 90;
  33126. else
  33127. t1 = true;
  33128. return t1;
  33129. },
  33130. CharacterExtension_get_isHex0(_this) {
  33131. var t1 = true;
  33132. if (!(_this >= 48 && _this <= 57))
  33133. if (!(_this >= 97 && _this <= 102))
  33134. t1 = _this >= 65 && _this <= 70;
  33135. return t1;
  33136. },
  33137. combineSurrogates(highSurrogate, lowSurrogate) {
  33138. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33139. },
  33140. asHex0(character) {
  33141. var t1;
  33142. $label0$0: {
  33143. if (character <= 57) {
  33144. t1 = character - 48;
  33145. break $label0$0;
  33146. }
  33147. if (character <= 70) {
  33148. t1 = 10 + character - 65;
  33149. break $label0$0;
  33150. }
  33151. t1 = 10 + character - 97;
  33152. break $label0$0;
  33153. }
  33154. return t1;
  33155. },
  33156. hexCharFor0(number) {
  33157. return number < 10 ? 48 + number : 87 + number;
  33158. },
  33159. opposite0(character) {
  33160. var t1;
  33161. $label0$0: {
  33162. if (40 === character) {
  33163. t1 = 41;
  33164. break $label0$0;
  33165. }
  33166. if (123 === character) {
  33167. t1 = 125;
  33168. break $label0$0;
  33169. }
  33170. if (91 === character) {
  33171. t1 = 93;
  33172. break $label0$0;
  33173. }
  33174. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33175. }
  33176. return t1;
  33177. },
  33178. characterEqualsIgnoreCase0(character1, character2) {
  33179. var upperCase1;
  33180. if (character1 === character2)
  33181. return true;
  33182. if ((character1 ^ character2) >>> 0 !== 32)
  33183. return false;
  33184. upperCase1 = (character1 & 4294967263) >>> 0;
  33185. return upperCase1 >= 65 && upperCase1 <= 90;
  33186. },
  33187. EvaluationContext_currentOrNull0() {
  33188. var t1,
  33189. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33190. $label0$0: {
  33191. if (type$.EvaluationContext_2._is(_0_0)) {
  33192. t1 = _0_0;
  33193. break $label0$0;
  33194. }
  33195. t1 = null;
  33196. break $label0$0;
  33197. }
  33198. return t1;
  33199. },
  33200. EvaluationContext__currentOrNull() {
  33201. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33202. if (type$.EvaluationContext_2._is(_0_0))
  33203. return _0_0;
  33204. else
  33205. return null;
  33206. },
  33207. warn0(message) {
  33208. var t1, _null = null,
  33209. _0_0 = A.EvaluationContext_currentOrNull0();
  33210. $label0$0: {
  33211. if (_0_0 != null) {
  33212. t1 = _0_0.warn$2(0, message, _null);
  33213. break $label0$0;
  33214. }
  33215. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33216. t1 = _null;
  33217. break $label0$0;
  33218. }
  33219. return t1;
  33220. },
  33221. warnForDeprecation0(message, deprecation) {
  33222. var t1,
  33223. _0_0 = A.EvaluationContext_currentOrNull0();
  33224. $label0$0: {
  33225. if (_0_0 != null) {
  33226. t1 = _0_0.warn$2(0, message, deprecation);
  33227. break $label0$0;
  33228. }
  33229. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33230. break $label0$0;
  33231. }
  33232. return t1;
  33233. },
  33234. warnForDeprecationFromApi(message, deprecation) {
  33235. var _0_0 = A.EvaluationContext__currentOrNull();
  33236. if (_0_0 != null)
  33237. _0_0.warn$2(0, message, deprecation);
  33238. else
  33239. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33240. },
  33241. IterableExtension_search0(_this, callback) {
  33242. var t1, _0_0;
  33243. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33244. _0_0 = callback.call$1(t1.get$current(t1));
  33245. if (_0_0 != null)
  33246. return _0_0;
  33247. }
  33248. return null;
  33249. },
  33250. IterableExtension_get_exceptLast0(_this) {
  33251. var t1 = J.getInterceptor$asx(_this),
  33252. size = t1.get$length(_this) - 1;
  33253. if (size < 0)
  33254. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33255. return t1.take$1(_this, size);
  33256. },
  33257. NullableExtension_andThen0(_this, fn) {
  33258. return _this == null ? null : fn.call$1(_this);
  33259. },
  33260. fuzzyEquals0(number1, number2) {
  33261. var t1;
  33262. if (number1 === number2)
  33263. return true;
  33264. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33265. t1 = $.$get$_inverseEpsilon0();
  33266. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33267. } else
  33268. t1 = false;
  33269. return t1;
  33270. },
  33271. fuzzyEqualsNullable0(number1, number2) {
  33272. var t1;
  33273. if (number1 == number2)
  33274. return true;
  33275. if (number1 == null || number2 == null)
  33276. return false;
  33277. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33278. t1 = $.$get$_inverseEpsilon0();
  33279. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33280. } else
  33281. t1 = false;
  33282. return t1;
  33283. },
  33284. fuzzyHashCode0(number) {
  33285. if (!isFinite(number))
  33286. return B.JSNumber_methods.get$hashCode(number);
  33287. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33288. },
  33289. fuzzyLessThan0(number1, number2) {
  33290. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33291. },
  33292. fuzzyLessThanOrEquals0(number1, number2) {
  33293. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33294. },
  33295. fuzzyGreaterThan0(number1, number2) {
  33296. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33297. },
  33298. fuzzyGreaterThanOrEquals0(number1, number2) {
  33299. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33300. },
  33301. fuzzyIsInt0(number) {
  33302. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33303. return false;
  33304. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33305. },
  33306. fuzzyAsInt0(number) {
  33307. var rounded;
  33308. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33309. return null;
  33310. rounded = B.JSNumber_methods.round$0(number);
  33311. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33312. },
  33313. fuzzyRound0(number) {
  33314. var t1;
  33315. if (number > 0) {
  33316. t1 = B.JSNumber_methods.$mod(number, 1);
  33317. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33318. } else {
  33319. t1 = B.JSNumber_methods.$mod(number, 1);
  33320. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33321. }
  33322. },
  33323. fuzzyCheckRange0(number, min, max) {
  33324. if (A.fuzzyEquals0(number, min))
  33325. return min;
  33326. if (A.fuzzyEquals0(number, max))
  33327. return max;
  33328. if (number > min && number < max)
  33329. return number;
  33330. return null;
  33331. },
  33332. fuzzyAssertRange0(number, min, max, $name) {
  33333. var result = A.fuzzyCheckRange0(number, min, max);
  33334. if (result != null)
  33335. return result;
  33336. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33337. },
  33338. moduloLikeSass0(num1, num2) {
  33339. var result;
  33340. if (num1 == 1 / 0 || num1 == -1 / 0)
  33341. return 0 / 0;
  33342. if (num2 == 1 / 0 || num2 == -1 / 0)
  33343. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33344. if (num2 > 0)
  33345. return B.JSNumber_methods.$mod(num1, num2);
  33346. if (num2 === 0)
  33347. return 0 / 0;
  33348. result = B.JSNumber_methods.$mod(num1, num2);
  33349. return result === 0 ? 0 : result + num2;
  33350. },
  33351. sqrt0(number) {
  33352. number.assertNoUnits$1("number");
  33353. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33354. },
  33355. sin0(number) {
  33356. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33357. },
  33358. cos0(number) {
  33359. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33360. },
  33361. tan0(number) {
  33362. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33363. },
  33364. atan0(number) {
  33365. number.assertNoUnits$1("number");
  33366. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33367. },
  33368. asin0(number) {
  33369. number.assertNoUnits$1("number");
  33370. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33371. },
  33372. acos0(number) {
  33373. number.assertNoUnits$1("number");
  33374. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33375. },
  33376. log0(number, base) {
  33377. if (base != null)
  33378. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33379. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33380. },
  33381. pow1(base, exponent) {
  33382. base.assertNoUnits$1("base");
  33383. exponent.assertNoUnits$1("exponent");
  33384. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33385. },
  33386. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33387. if (_this === -0.0)
  33388. return -1;
  33389. if (_this === 0)
  33390. return 1;
  33391. return J.get$sign$in(_this);
  33392. },
  33393. main1(args) {
  33394. return A.main$body(args);
  33395. },
  33396. main$body(args) {
  33397. var $async$goto = 0,
  33398. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33399. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33400. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33401. if ($async$errorCode === 1) {
  33402. $async$errorStack.push($async$result);
  33403. $async$goto = $async$handler;
  33404. }
  33405. while (true)
  33406. switch ($async$goto) {
  33407. case 0:
  33408. // Function start
  33409. if (args.length >= 1 && "--embedded" === args[0]) {
  33410. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33411. // goto return
  33412. $async$goto = 1;
  33413. break;
  33414. }
  33415. options = null;
  33416. $async$handler = 4;
  33417. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33418. t2 = options._options;
  33419. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33420. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33421. break;
  33422. case 7:
  33423. // then
  33424. $async$temp1 = A;
  33425. $async$goto = 9;
  33426. return A._asyncAwait(A._loadVersion(), $async$main1);
  33427. case 9:
  33428. // returning from await.
  33429. $async$temp1.print($async$result);
  33430. t1 = A.isNodeJs() ? self.process : null;
  33431. if (t1 != null)
  33432. J.set$exitCode$x(t1, 0);
  33433. // goto return
  33434. $async$goto = 1;
  33435. break;
  33436. case 8:
  33437. // join
  33438. $async$goto = options.get$interactive() ? 10 : 11;
  33439. break;
  33440. case 10:
  33441. // then
  33442. $async$goto = 12;
  33443. return A._asyncAwait(A.repl(options), $async$main1);
  33444. case 12:
  33445. // returning from await.
  33446. // goto return
  33447. $async$goto = 1;
  33448. break;
  33449. case 11:
  33450. // join
  33451. options.get$silenceDeprecations(0);
  33452. options.get$futureDeprecations(0);
  33453. options.get$fatalDeprecations(0);
  33454. t2 = A.List_List$_of(options.get$pkgImporters(), type$.Importer_2);
  33455. t1 = t2;
  33456. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33457. t2 = type$.Uri;
  33458. 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));
  33459. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33460. break;
  33461. case 13:
  33462. // then
  33463. $async$goto = 15;
  33464. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33465. case 15:
  33466. // returning from await.
  33467. // goto return
  33468. $async$goto = 1;
  33469. break;
  33470. case 14:
  33471. // join
  33472. t1 = options;
  33473. t2 = options;
  33474. t2._ensureSources$0();
  33475. t2 = t2._sourcesToDestinations;
  33476. t2.toString;
  33477. $async$goto = 16;
  33478. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33479. case 16:
  33480. // returning from await.
  33481. $async$handler = 2;
  33482. // goto after finally
  33483. $async$goto = 6;
  33484. break;
  33485. case 4:
  33486. // catch
  33487. $async$handler = 3;
  33488. $async$exception = $async$errorStack.pop();
  33489. t1 = A.unwrapException($async$exception);
  33490. if (t1 instanceof A.UsageException) {
  33491. error = t1;
  33492. A.print(error.message + "\n");
  33493. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33494. t1 = $.$get$ExecutableOptions__parser();
  33495. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33496. t1 = A.isNodeJs() ? self.process : null;
  33497. if (t1 != null)
  33498. J.set$exitCode$x(t1, 64);
  33499. } else {
  33500. error0 = t1;
  33501. stackTrace = A.getTraceFromException($async$exception);
  33502. buffer = new A.StringBuffer("");
  33503. t1 = options;
  33504. t1 = t1 == null ? null : t1.get$color();
  33505. if (t1 === true)
  33506. buffer._contents += "\x1b[31m\x1b[1m";
  33507. buffer._contents += "Unexpected exception:";
  33508. t1 = options;
  33509. t1 = t1 == null ? null : t1.get$color();
  33510. if (t1 === true)
  33511. buffer._contents += "\x1b[0m";
  33512. buffer._contents += "\n";
  33513. t1 = buffer;
  33514. t2 = A.S(error0) + "\n";
  33515. t1._contents += t2;
  33516. buffer._contents += "\n";
  33517. buffer._contents += "\n";
  33518. t2 = buffer;
  33519. t1 = A.getTrace(error0);
  33520. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33521. t2._contents += t1;
  33522. A.printError(buffer);
  33523. t1 = A.isNodeJs() ? self.process : null;
  33524. if (t1 != null)
  33525. J.set$exitCode$x(t1, 255);
  33526. }
  33527. // goto after finally
  33528. $async$goto = 6;
  33529. break;
  33530. case 3:
  33531. // uncaught
  33532. // goto rethrow
  33533. $async$goto = 2;
  33534. break;
  33535. case 6:
  33536. // after finally
  33537. case 1:
  33538. // return
  33539. return A._asyncReturn($async$returnValue, $async$completer);
  33540. case 2:
  33541. // rethrow
  33542. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33543. }
  33544. });
  33545. return A._asyncStartSync($async$main1, $async$completer);
  33546. },
  33547. _loadVersion() {
  33548. var $async$goto = 0,
  33549. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33550. $async$returnValue;
  33551. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33552. if ($async$errorCode === 1)
  33553. return A._asyncRethrow($async$result, $async$completer);
  33554. while (true)
  33555. switch ($async$goto) {
  33556. case 0:
  33557. // Function start
  33558. $async$returnValue = "1.91.0 compiled with dart2js 3.9.1";
  33559. // goto return
  33560. $async$goto = 1;
  33561. break;
  33562. case 1:
  33563. // return
  33564. return A._asyncReturn($async$returnValue, $async$completer);
  33565. }
  33566. });
  33567. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33568. },
  33569. SpanExtensions_trimLeft0(_this) {
  33570. var t1, start = 0;
  33571. while (true) {
  33572. t1 = _this.get$text().charCodeAt(start);
  33573. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33574. break;
  33575. ++start;
  33576. }
  33577. return A.FileSpanExtension_subspan(_this, start, null);
  33578. },
  33579. SpanExtensions_trimRight0(_this) {
  33580. var t1,
  33581. end = _this.get$text().length - 1;
  33582. while (true) {
  33583. t1 = _this.get$text().charCodeAt(end);
  33584. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33585. break;
  33586. --end;
  33587. }
  33588. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33589. },
  33590. SpanExtensions_initialIdentifier0(_this) {
  33591. var i,
  33592. scanner = A.StringScanner$(_this.get$text(), null, null);
  33593. for (i = 0; false; ++i)
  33594. scanner.readChar$0();
  33595. A._scanIdentifier0(scanner);
  33596. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33597. },
  33598. SpanExtensions_withoutInitialIdentifier0(_this) {
  33599. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33600. A._scanIdentifier0(scanner);
  33601. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33602. },
  33603. SpanExtensions_between(_this, other) {
  33604. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33605. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33606. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33607. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33608. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33609. },
  33610. SpanExtensions_before(_this, inner) {
  33611. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33612. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33613. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33614. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33615. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33616. },
  33617. SpanExtensions_after(_this, inner) {
  33618. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33619. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33620. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33621. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33622. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33623. },
  33624. _scanIdentifier0(scanner) {
  33625. var t1, _0_0, t2;
  33626. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33627. _0_0 = scanner.peekChar$0();
  33628. if (92 === _0_0) {
  33629. A.consumeEscapedCharacter0(scanner);
  33630. continue;
  33631. }
  33632. if (A._isInt(_0_0)) {
  33633. if (_0_0 !== 95) {
  33634. if (!(_0_0 >= 97 && _0_0 <= 122))
  33635. t2 = _0_0 >= 65 && _0_0 <= 90;
  33636. else
  33637. t2 = true;
  33638. t2 = t2 || _0_0 >= 128;
  33639. } else
  33640. t2 = true;
  33641. if (!t2)
  33642. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33643. else
  33644. t2 = true;
  33645. } else
  33646. t2 = false;
  33647. if (t2) {
  33648. scanner.readChar$0();
  33649. continue;
  33650. }
  33651. break;
  33652. }
  33653. },
  33654. validateUrlScheme(scheme) {
  33655. var t1 = $.$get$_urlSchemeRegExp();
  33656. if (!t1._nativeRegExp.test(scheme))
  33657. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33658. },
  33659. hueToRgb0(m1, m2, hue) {
  33660. var t1;
  33661. if (hue < 0)
  33662. ++hue;
  33663. if (hue > 1)
  33664. --hue;
  33665. $label0$0: {
  33666. if (hue < 0.16666666666666666) {
  33667. t1 = m1 + (m2 - m1) * hue * 6;
  33668. break $label0$0;
  33669. }
  33670. if (hue < 0.5) {
  33671. t1 = m2;
  33672. break $label0$0;
  33673. }
  33674. if (hue < 0.6666666666666666) {
  33675. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33676. break $label0$0;
  33677. }
  33678. t1 = m1;
  33679. break $label0$0;
  33680. }
  33681. return t1;
  33682. },
  33683. srgbAndDisplayP3ToLinear0(channel) {
  33684. var abs = Math.abs(channel);
  33685. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33686. },
  33687. srgbAndDisplayP3FromLinear0(channel) {
  33688. var abs = Math.abs(channel);
  33689. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33690. },
  33691. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33692. var t3, t4, chroma, hue,
  33693. t1 = a == null,
  33694. t2 = t1 ? 0 : a;
  33695. t2 = Math.pow(t2, 2);
  33696. t3 = b == null;
  33697. t4 = t3 ? 0 : b;
  33698. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33699. if (missingHue || A.fuzzyEquals0(chroma, 0))
  33700. hue = null;
  33701. else {
  33702. t2 = t3 ? 0 : b;
  33703. t1 = t1 ? 0 : a;
  33704. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33705. }
  33706. t1 = missingChroma ? null : chroma;
  33707. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33708. },
  33709. unwrapValue(object) {
  33710. var value;
  33711. if (object != null) {
  33712. if (object instanceof A.Value0)
  33713. return object;
  33714. value = object.dartValue;
  33715. if (value != null && value instanceof A.Value0)
  33716. return value;
  33717. if (object instanceof self.Error)
  33718. throw A.wrapException(object);
  33719. }
  33720. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  33721. },
  33722. wrapValue(value) {
  33723. var t1;
  33724. $label0$0: {
  33725. if (value instanceof A.SassColor0) {
  33726. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  33727. break $label0$0;
  33728. }
  33729. if (value instanceof A.SassList0) {
  33730. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  33731. break $label0$0;
  33732. }
  33733. if (value instanceof A.SassMap0) {
  33734. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  33735. break $label0$0;
  33736. }
  33737. if (value instanceof A.SassNumber0) {
  33738. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  33739. break $label0$0;
  33740. }
  33741. if (value instanceof A.SassString0) {
  33742. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  33743. break $label0$0;
  33744. }
  33745. t1 = value;
  33746. break $label0$0;
  33747. }
  33748. return t1;
  33749. }
  33750. },
  33751. B = {};
  33752. var holders = [A, J, B];
  33753. var $ = {};
  33754. A.JS_CONST.prototype = {};
  33755. J.Interceptor.prototype = {
  33756. $eq(receiver, other) {
  33757. return receiver === other;
  33758. },
  33759. get$hashCode(receiver) {
  33760. return A.Primitives_objectHashCode(receiver);
  33761. },
  33762. toString$0(receiver) {
  33763. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  33764. },
  33765. noSuchMethod$1(receiver, invocation) {
  33766. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  33767. },
  33768. get$runtimeType(receiver) {
  33769. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  33770. }
  33771. };
  33772. J.JSBool.prototype = {
  33773. toString$0(receiver) {
  33774. return String(receiver);
  33775. },
  33776. $or(receiver, other) {
  33777. return other || receiver;
  33778. },
  33779. get$hashCode(receiver) {
  33780. return receiver ? 519018 : 218159;
  33781. },
  33782. get$runtimeType(receiver) {
  33783. return A.createRuntimeType(type$.bool);
  33784. },
  33785. $isTrustedGetRuntimeType: 1,
  33786. $isbool: 1
  33787. };
  33788. J.JSNull.prototype = {
  33789. $eq(receiver, other) {
  33790. return null == other;
  33791. },
  33792. toString$0(receiver) {
  33793. return "null";
  33794. },
  33795. get$hashCode(receiver) {
  33796. return 0;
  33797. },
  33798. get$runtimeType(receiver) {
  33799. return A.createRuntimeType(type$.Null);
  33800. },
  33801. $isTrustedGetRuntimeType: 1,
  33802. $isNull: 1
  33803. };
  33804. J.JavaScriptObject.prototype = {$isJSObject: 1};
  33805. J.LegacyJavaScriptObject.prototype = {
  33806. get$hashCode(receiver) {
  33807. return 0;
  33808. },
  33809. toString$0(receiver) {
  33810. return String(receiver);
  33811. },
  33812. $isPromise: 1,
  33813. $isJsSystemError: 1,
  33814. $isImmutableList: 1,
  33815. $is_ConstructionOptions: 1,
  33816. $is_ChannelOptions: 1,
  33817. $is_ToGamutOptions: 1,
  33818. $is_InterpolationOptions: 1,
  33819. $is_NodeSassColor: 1,
  33820. $isCompileOptions: 1,
  33821. $isCompileStringOptions: 1,
  33822. $isNodeCompileResult: 1,
  33823. $isDeprecation1: 1,
  33824. $is_NodeException: 1,
  33825. $isJSExpressionVisitorObject: 1,
  33826. $isFiber: 1,
  33827. $isJSFunction0: 1,
  33828. $isImmutableList0: 1,
  33829. $isImmutableMap0: 1,
  33830. $isJSImporter: 1,
  33831. $isJSImporterResult: 1,
  33832. $isNodeImporterResult0: 1,
  33833. $is_ConstructorOptions: 1,
  33834. $is_NodeSassList: 1,
  33835. $isWarnOptions: 1,
  33836. $isDebugOptions: 1,
  33837. $is_NodeSassMap: 1,
  33838. $is_ConstructorOptions0: 1,
  33839. $is_NodeSassNumber: 1,
  33840. $isParserExports: 1,
  33841. $isJSClass0: 1,
  33842. $isRenderContextOptions0: 1,
  33843. $isRenderOptions: 1,
  33844. $isRenderResult: 1,
  33845. $isJSSet: 1,
  33846. $isJSStatementVisitorObject: 1,
  33847. $is_ConstructorOptions1: 1,
  33848. $is_NodeSassString: 1,
  33849. $isJSUrl0: 1,
  33850. get$isTTY(obj) {
  33851. return obj.isTTY;
  33852. },
  33853. get$write(obj) {
  33854. return obj.write;
  33855. },
  33856. write$1(receiver, p0) {
  33857. return receiver.write(p0);
  33858. },
  33859. createInterface$1(receiver, p0) {
  33860. return receiver.createInterface(p0);
  33861. },
  33862. on$2(receiver, p0, p1) {
  33863. return receiver.on(p0, p1);
  33864. },
  33865. get$close(obj) {
  33866. return obj.close;
  33867. },
  33868. close$0(receiver) {
  33869. return receiver.close();
  33870. },
  33871. setPrompt$1(receiver, p0) {
  33872. return receiver.setPrompt(p0);
  33873. },
  33874. get$length(obj) {
  33875. return obj.length;
  33876. },
  33877. toString$0(receiver) {
  33878. return receiver.toString();
  33879. },
  33880. get$debug(obj) {
  33881. return obj.debug;
  33882. },
  33883. debug$2(receiver, p0, p1) {
  33884. return receiver.debug(p0, p1);
  33885. },
  33886. get$error(obj) {
  33887. return obj.error;
  33888. },
  33889. error$1(receiver, p0) {
  33890. return receiver.error(p0);
  33891. },
  33892. error$2(receiver, p0, p1) {
  33893. return receiver.error(p0, p1);
  33894. },
  33895. log$1(receiver, p0) {
  33896. return receiver.log(p0);
  33897. },
  33898. get$warn(obj) {
  33899. return obj.warn;
  33900. },
  33901. warn$1(receiver, p0) {
  33902. return receiver.warn(p0);
  33903. },
  33904. warn$2(receiver, p0, p1) {
  33905. return receiver.warn(p0, p1);
  33906. },
  33907. existsSync$1(receiver, p0) {
  33908. return receiver.existsSync(p0);
  33909. },
  33910. lstatSync$1(receiver, p0) {
  33911. return receiver.lstatSync(p0);
  33912. },
  33913. mkdirSync$1(receiver, p0) {
  33914. return receiver.mkdirSync(p0);
  33915. },
  33916. readdirSync$1(receiver, p0) {
  33917. return receiver.readdirSync(p0);
  33918. },
  33919. readFileSync$2(receiver, p0, p1) {
  33920. return receiver.readFileSync(p0, p1);
  33921. },
  33922. get$realpathSync(obj) {
  33923. return obj.realpathSync;
  33924. },
  33925. statSync$1(receiver, p0) {
  33926. return receiver.statSync(p0);
  33927. },
  33928. unlinkSync$1(receiver, p0) {
  33929. return receiver.unlinkSync(p0);
  33930. },
  33931. watch$2(receiver, p0, p1) {
  33932. return receiver.watch(p0, p1);
  33933. },
  33934. writeFileSync$2(receiver, p0, p1) {
  33935. return receiver.writeFileSync(p0, p1);
  33936. },
  33937. call$1(receiver, p0) {
  33938. return receiver.call(p0);
  33939. },
  33940. call$2(receiver, p0, p1) {
  33941. return receiver.call(p0, p1);
  33942. },
  33943. call$3$1(receiver, p0) {
  33944. return receiver.call(p0);
  33945. },
  33946. call$2$1(receiver, p0) {
  33947. return receiver.call(p0);
  33948. },
  33949. call$1$1(receiver, p0) {
  33950. return receiver.call(p0);
  33951. },
  33952. call$3(receiver, p0, p1, p2) {
  33953. return receiver.call(p0, p1, p2);
  33954. },
  33955. call$3$3(receiver, p0, p1, p2) {
  33956. return receiver.call(p0, p1, p2);
  33957. },
  33958. call$2$2(receiver, p0, p1) {
  33959. return receiver.call(p0, p1);
  33960. },
  33961. call$1$2(receiver, p0, p1) {
  33962. return receiver.call(p0, p1);
  33963. },
  33964. call$2$3(receiver, p0, p1, p2) {
  33965. return receiver.call(p0, p1, p2);
  33966. },
  33967. native$1(receiver, p0) {
  33968. return receiver.native(p0);
  33969. },
  33970. get$path(obj) {
  33971. return obj.path;
  33972. },
  33973. isDirectory$0(receiver) {
  33974. return receiver.isDirectory();
  33975. },
  33976. isFile$0(receiver) {
  33977. return receiver.isFile();
  33978. },
  33979. isSymbolicLink$0(receiver) {
  33980. return receiver.isSymbolicLink();
  33981. },
  33982. get$mtime(obj) {
  33983. return obj.mtime;
  33984. },
  33985. then$2(receiver, p0, p1) {
  33986. return receiver.then(p0, p1);
  33987. },
  33988. then$1$1(receiver, p0) {
  33989. return receiver.then(p0);
  33990. },
  33991. getTime$0(receiver) {
  33992. return receiver.getTime();
  33993. },
  33994. get$message(obj) {
  33995. return obj.message;
  33996. },
  33997. message$1(receiver, p0) {
  33998. return receiver.message(p0);
  33999. },
  34000. get$filename(obj) {
  34001. return obj.filename;
  34002. },
  34003. get$id(obj) {
  34004. return obj.id;
  34005. },
  34006. get$code(obj) {
  34007. return obj.code;
  34008. },
  34009. get$syscall(obj) {
  34010. return obj.syscall;
  34011. },
  34012. get$argv(obj) {
  34013. return obj.argv;
  34014. },
  34015. get$env(obj) {
  34016. return obj.env;
  34017. },
  34018. get$exitCode(obj) {
  34019. return obj.exitCode;
  34020. },
  34021. set$exitCode(obj, v) {
  34022. return obj.exitCode = v;
  34023. },
  34024. get$platform(obj) {
  34025. return obj.platform;
  34026. },
  34027. get$release(obj) {
  34028. return obj.release;
  34029. },
  34030. get$stderr(obj) {
  34031. return obj.stderr;
  34032. },
  34033. get$stdin(obj) {
  34034. return obj.stdin;
  34035. },
  34036. get$stdout(obj) {
  34037. return obj.stdout;
  34038. },
  34039. get$name(obj) {
  34040. return obj.name;
  34041. },
  34042. push$1(receiver, p0) {
  34043. return receiver.push(p0);
  34044. },
  34045. call$0(receiver) {
  34046. return receiver.call();
  34047. },
  34048. call$2$0(receiver) {
  34049. return receiver.call();
  34050. },
  34051. call$1$0(receiver) {
  34052. return receiver.call();
  34053. },
  34054. apply$2(receiver, p0, p1) {
  34055. return receiver.apply(p0, p1);
  34056. },
  34057. toArray$0(receiver) {
  34058. return receiver.toArray();
  34059. },
  34060. asMutable$0(receiver) {
  34061. return receiver.asMutable();
  34062. },
  34063. asImmutable$0(receiver) {
  34064. return receiver.asImmutable();
  34065. },
  34066. $set$2(receiver, p0, p1) {
  34067. return receiver.set(p0, p1);
  34068. },
  34069. forEach$1(receiver, p0) {
  34070. return receiver.forEach(p0);
  34071. },
  34072. get$file(obj) {
  34073. return obj.file;
  34074. },
  34075. get$contents(obj) {
  34076. return obj.contents;
  34077. },
  34078. get$options(obj) {
  34079. return obj.options;
  34080. },
  34081. get$data(obj) {
  34082. return obj.data;
  34083. },
  34084. get$includePaths(obj) {
  34085. return obj.includePaths;
  34086. },
  34087. get$style(obj) {
  34088. return obj.style;
  34089. },
  34090. get$indentType(obj) {
  34091. return obj.indentType;
  34092. },
  34093. get$indentWidth(obj) {
  34094. return obj.indentWidth;
  34095. },
  34096. get$linefeed(obj) {
  34097. return obj.linefeed;
  34098. },
  34099. set$context(obj, v) {
  34100. return obj.context = v;
  34101. },
  34102. createRequire$1(receiver, p0) {
  34103. return receiver.createRequire(p0);
  34104. },
  34105. resolve$1(receiver, p0) {
  34106. return receiver.resolve(p0);
  34107. },
  34108. get$$prototype(obj) {
  34109. return obj.prototype;
  34110. },
  34111. get$red(obj) {
  34112. return obj.red;
  34113. },
  34114. get$green(obj) {
  34115. return obj.green;
  34116. },
  34117. get$blue(obj) {
  34118. return obj.blue;
  34119. },
  34120. get$hue(obj) {
  34121. return obj.hue;
  34122. },
  34123. get$saturation(obj) {
  34124. return obj.saturation;
  34125. },
  34126. get$lightness(obj) {
  34127. return obj.lightness;
  34128. },
  34129. get$whiteness(obj) {
  34130. return obj.whiteness;
  34131. },
  34132. get$blackness(obj) {
  34133. return obj.blackness;
  34134. },
  34135. get$alpha(obj) {
  34136. return obj.alpha;
  34137. },
  34138. get$a(obj) {
  34139. return obj.a;
  34140. },
  34141. get$b(obj) {
  34142. return obj.b;
  34143. },
  34144. get$x(obj) {
  34145. return obj.x;
  34146. },
  34147. get$y(obj) {
  34148. return obj.y;
  34149. },
  34150. get$z(obj) {
  34151. return obj.z;
  34152. },
  34153. get$chroma(obj) {
  34154. return obj.chroma;
  34155. },
  34156. get$space(obj) {
  34157. return obj.space;
  34158. },
  34159. get$method(obj) {
  34160. return obj.method;
  34161. },
  34162. get$weight(obj) {
  34163. return obj.weight;
  34164. },
  34165. get$dartValue(obj) {
  34166. return obj.dartValue;
  34167. },
  34168. set$dartValue(obj, v) {
  34169. return obj.dartValue = v;
  34170. },
  34171. get$alertAscii(obj) {
  34172. return obj.alertAscii;
  34173. },
  34174. get$alertColor(obj) {
  34175. return obj.alertColor;
  34176. },
  34177. get$loadPaths(obj) {
  34178. return obj.loadPaths;
  34179. },
  34180. get$quietDeps(obj) {
  34181. return obj.quietDeps;
  34182. },
  34183. get$verbose(obj) {
  34184. return obj.verbose;
  34185. },
  34186. get$charset(obj) {
  34187. return obj.charset;
  34188. },
  34189. get$sourceMap(obj) {
  34190. return obj.sourceMap;
  34191. },
  34192. get$sourceMapIncludeSources(obj) {
  34193. return obj.sourceMapIncludeSources;
  34194. },
  34195. get$logger(obj) {
  34196. return obj.logger;
  34197. },
  34198. get$importers(obj) {
  34199. return obj.importers;
  34200. },
  34201. get$functions(obj) {
  34202. return obj.functions;
  34203. },
  34204. get$fatalDeprecations(obj) {
  34205. return obj.fatalDeprecations;
  34206. },
  34207. get$silenceDeprecations(obj) {
  34208. return obj.silenceDeprecations;
  34209. },
  34210. get$futureDeprecations(obj) {
  34211. return obj.futureDeprecations;
  34212. },
  34213. get$syntax(obj) {
  34214. return obj.syntax;
  34215. },
  34216. get$url(obj) {
  34217. return obj.url;
  34218. },
  34219. get$importer(obj) {
  34220. return obj.importer;
  34221. },
  34222. get$_dartException(obj) {
  34223. return obj._dartException;
  34224. },
  34225. set$renderSync(obj, v) {
  34226. return obj.renderSync = v;
  34227. },
  34228. set$compileString(obj, v) {
  34229. return obj.compileString = v;
  34230. },
  34231. set$compileStringAsync(obj, v) {
  34232. return obj.compileStringAsync = v;
  34233. },
  34234. set$compile(obj, v) {
  34235. return obj.compile = v;
  34236. },
  34237. set$compileAsync(obj, v) {
  34238. return obj.compileAsync = v;
  34239. },
  34240. set$initCompiler(obj, v) {
  34241. return obj.initCompiler = v;
  34242. },
  34243. set$initAsyncCompiler(obj, v) {
  34244. return obj.initAsyncCompiler = v;
  34245. },
  34246. set$Compiler(obj, v) {
  34247. return obj.Compiler = v;
  34248. },
  34249. set$AsyncCompiler(obj, v) {
  34250. return obj.AsyncCompiler = v;
  34251. },
  34252. set$info(obj, v) {
  34253. return obj.info = v;
  34254. },
  34255. set$Exception(obj, v) {
  34256. return obj.Exception = v;
  34257. },
  34258. set$Logger(obj, v) {
  34259. return obj.Logger = v;
  34260. },
  34261. set$NodePackageImporter(obj, v) {
  34262. return obj.NodePackageImporter = v;
  34263. },
  34264. set$deprecations(obj, v) {
  34265. return obj.deprecations = v;
  34266. },
  34267. set$Version(obj, v) {
  34268. return obj.Version = v;
  34269. },
  34270. set$Value(obj, v) {
  34271. return obj.Value = v;
  34272. },
  34273. set$SassArgumentList(obj, v) {
  34274. return obj.SassArgumentList = v;
  34275. },
  34276. set$SassCalculation(obj, v) {
  34277. return obj.SassCalculation = v;
  34278. },
  34279. set$CalculationOperation(obj, v) {
  34280. return obj.CalculationOperation = v;
  34281. },
  34282. set$CalculationInterpolation(obj, v) {
  34283. return obj.CalculationInterpolation = v;
  34284. },
  34285. set$SassBoolean(obj, v) {
  34286. return obj.SassBoolean = v;
  34287. },
  34288. set$SassColor(obj, v) {
  34289. return obj.SassColor = v;
  34290. },
  34291. set$SassFunction(obj, v) {
  34292. return obj.SassFunction = v;
  34293. },
  34294. set$SassMixin(obj, v) {
  34295. return obj.SassMixin = v;
  34296. },
  34297. set$SassList(obj, v) {
  34298. return obj.SassList = v;
  34299. },
  34300. set$SassMap(obj, v) {
  34301. return obj.SassMap = v;
  34302. },
  34303. set$SassNumber(obj, v) {
  34304. return obj.SassNumber = v;
  34305. },
  34306. set$SassString(obj, v) {
  34307. return obj.SassString = v;
  34308. },
  34309. set$sassNull(obj, v) {
  34310. return obj.sassNull = v;
  34311. },
  34312. set$sassTrue(obj, v) {
  34313. return obj.sassTrue = v;
  34314. },
  34315. set$sassFalse(obj, v) {
  34316. return obj.sassFalse = v;
  34317. },
  34318. set$render(obj, v) {
  34319. return obj.render = v;
  34320. },
  34321. set$types(obj, v) {
  34322. return obj.types = v;
  34323. },
  34324. set$NULL(obj, v) {
  34325. return obj.NULL = v;
  34326. },
  34327. set$TRUE(obj, v) {
  34328. return obj.TRUE = v;
  34329. },
  34330. set$FALSE(obj, v) {
  34331. return obj.FALSE = v;
  34332. },
  34333. set$loadParserExports_(obj, v) {
  34334. return obj.loadParserExports_ = v;
  34335. },
  34336. visitBinaryOperationExpression$1(receiver, p0) {
  34337. return receiver.visitBinaryOperationExpression(p0);
  34338. },
  34339. visitBooleanExpression$1(receiver, p0) {
  34340. return receiver.visitBooleanExpression(p0);
  34341. },
  34342. visitColorExpression$1(receiver, p0) {
  34343. return receiver.visitColorExpression(p0);
  34344. },
  34345. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34346. return receiver.visitInterpolatedFunctionExpression(p0);
  34347. },
  34348. visitFunctionExpression$1(receiver, p0) {
  34349. return receiver.visitFunctionExpression(p0);
  34350. },
  34351. visitIfExpression$1(receiver, p0) {
  34352. return receiver.visitIfExpression(p0);
  34353. },
  34354. visitListExpression$1(receiver, p0) {
  34355. return receiver.visitListExpression(p0);
  34356. },
  34357. visitMapExpression$1(receiver, p0) {
  34358. return receiver.visitMapExpression(p0);
  34359. },
  34360. visitNullExpression$1(receiver, p0) {
  34361. return receiver.visitNullExpression(p0);
  34362. },
  34363. visitNumberExpression$1(receiver, p0) {
  34364. return receiver.visitNumberExpression(p0);
  34365. },
  34366. visitParenthesizedExpression$1(receiver, p0) {
  34367. return receiver.visitParenthesizedExpression(p0);
  34368. },
  34369. visitSelectorExpression$1(receiver, p0) {
  34370. return receiver.visitSelectorExpression(p0);
  34371. },
  34372. visitStringExpression$1(receiver, p0) {
  34373. return receiver.visitStringExpression(p0);
  34374. },
  34375. visitSupportsExpression$1(receiver, p0) {
  34376. return receiver.visitSupportsExpression(p0);
  34377. },
  34378. visitUnaryOperationExpression$1(receiver, p0) {
  34379. return receiver.visitUnaryOperationExpression(p0);
  34380. },
  34381. visitValueExpression$1(receiver, p0) {
  34382. return receiver.visitValueExpression(p0);
  34383. },
  34384. visitVariableExpression$1(receiver, p0) {
  34385. return receiver.visitVariableExpression(p0);
  34386. },
  34387. get$current(obj) {
  34388. return obj.current;
  34389. },
  34390. yield$0(receiver) {
  34391. return receiver.yield();
  34392. },
  34393. run$1$1(receiver, p0) {
  34394. return receiver.run(p0);
  34395. },
  34396. run$1(receiver, p0) {
  34397. return receiver.run(p0);
  34398. },
  34399. run$0(receiver) {
  34400. return receiver.run();
  34401. },
  34402. get$canonicalize(obj) {
  34403. return obj.canonicalize;
  34404. },
  34405. canonicalize$1(receiver, p0) {
  34406. return receiver.canonicalize(p0);
  34407. },
  34408. get$load(obj) {
  34409. return obj.load;
  34410. },
  34411. load$1(receiver, p0) {
  34412. return receiver.load(p0);
  34413. },
  34414. get$findFileUrl(obj) {
  34415. return obj.findFileUrl;
  34416. },
  34417. get$nonCanonicalScheme(obj) {
  34418. return obj.nonCanonicalScheme;
  34419. },
  34420. get$sourceMapUrl(obj) {
  34421. return obj.sourceMapUrl;
  34422. },
  34423. get$separator(obj) {
  34424. return obj.separator;
  34425. },
  34426. get$brackets(obj) {
  34427. return obj.brackets;
  34428. },
  34429. get$numeratorUnits(obj) {
  34430. return obj.numeratorUnits;
  34431. },
  34432. get$denominatorUnits(obj) {
  34433. return obj.denominatorUnits;
  34434. },
  34435. get$pkgImporter(obj) {
  34436. return obj.pkgImporter;
  34437. },
  34438. get$indentedSyntax(obj) {
  34439. return obj.indentedSyntax;
  34440. },
  34441. get$omitSourceMapUrl(obj) {
  34442. return obj.omitSourceMapUrl;
  34443. },
  34444. get$outFile(obj) {
  34445. return obj.outFile;
  34446. },
  34447. get$outputStyle(obj) {
  34448. return obj.outputStyle;
  34449. },
  34450. get$fiber(obj) {
  34451. return obj.fiber;
  34452. },
  34453. get$sourceMapContents(obj) {
  34454. return obj.sourceMapContents;
  34455. },
  34456. get$sourceMapEmbed(obj) {
  34457. return obj.sourceMapEmbed;
  34458. },
  34459. get$sourceMapRoot(obj) {
  34460. return obj.sourceMapRoot;
  34461. },
  34462. set$cli_pkg_main_0_(obj, v) {
  34463. return obj.cli_pkg_main_0_ = v;
  34464. },
  34465. visitAtRootRule$1(receiver, p0) {
  34466. return receiver.visitAtRootRule(p0);
  34467. },
  34468. visitAtRule$1(receiver, p0) {
  34469. return receiver.visitAtRule(p0);
  34470. },
  34471. get$visitContentBlock(obj) {
  34472. return obj.visitContentBlock;
  34473. },
  34474. visitContentBlock$1(receiver, p0) {
  34475. return receiver.visitContentBlock(p0);
  34476. },
  34477. visitContentRule$1(receiver, p0) {
  34478. return receiver.visitContentRule(p0);
  34479. },
  34480. visitDebugRule$1(receiver, p0) {
  34481. return receiver.visitDebugRule(p0);
  34482. },
  34483. visitDeclaration$1(receiver, p0) {
  34484. return receiver.visitDeclaration(p0);
  34485. },
  34486. visitEachRule$1(receiver, p0) {
  34487. return receiver.visitEachRule(p0);
  34488. },
  34489. visitErrorRule$1(receiver, p0) {
  34490. return receiver.visitErrorRule(p0);
  34491. },
  34492. visitExtendRule$1(receiver, p0) {
  34493. return receiver.visitExtendRule(p0);
  34494. },
  34495. visitForRule$1(receiver, p0) {
  34496. return receiver.visitForRule(p0);
  34497. },
  34498. visitForwardRule$1(receiver, p0) {
  34499. return receiver.visitForwardRule(p0);
  34500. },
  34501. visitFunctionRule$1(receiver, p0) {
  34502. return receiver.visitFunctionRule(p0);
  34503. },
  34504. visitIfRule$1(receiver, p0) {
  34505. return receiver.visitIfRule(p0);
  34506. },
  34507. visitImportRule$1(receiver, p0) {
  34508. return receiver.visitImportRule(p0);
  34509. },
  34510. visitIncludeRule$1(receiver, p0) {
  34511. return receiver.visitIncludeRule(p0);
  34512. },
  34513. visitLoudComment$1(receiver, p0) {
  34514. return receiver.visitLoudComment(p0);
  34515. },
  34516. visitMediaRule$1(receiver, p0) {
  34517. return receiver.visitMediaRule(p0);
  34518. },
  34519. visitMixinRule$1(receiver, p0) {
  34520. return receiver.visitMixinRule(p0);
  34521. },
  34522. visitReturnRule$1(receiver, p0) {
  34523. return receiver.visitReturnRule(p0);
  34524. },
  34525. visitSilentComment$1(receiver, p0) {
  34526. return receiver.visitSilentComment(p0);
  34527. },
  34528. visitStyleRule$1(receiver, p0) {
  34529. return receiver.visitStyleRule(p0);
  34530. },
  34531. visitStylesheet$1(receiver, p0) {
  34532. return receiver.visitStylesheet(p0);
  34533. },
  34534. visitSupportsRule$1(receiver, p0) {
  34535. return receiver.visitSupportsRule(p0);
  34536. },
  34537. visitUseRule$1(receiver, p0) {
  34538. return receiver.visitUseRule(p0);
  34539. },
  34540. visitVariableDeclaration$1(receiver, p0) {
  34541. return receiver.visitVariableDeclaration(p0);
  34542. },
  34543. visitWarnRule$1(receiver, p0) {
  34544. return receiver.visitWarnRule(p0);
  34545. },
  34546. visitWhileRule$1(receiver, p0) {
  34547. return receiver.visitWhileRule(p0);
  34548. },
  34549. get$quotes(obj) {
  34550. return obj.quotes;
  34551. }
  34552. };
  34553. J.PlainJavaScriptObject.prototype = {};
  34554. J.UnknownJavaScriptObject.prototype = {};
  34555. J.JavaScriptFunction.prototype = {
  34556. toString$0(receiver) {
  34557. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34558. if (dartClosure == null)
  34559. return this.super$LegacyJavaScriptObject$toString(receiver);
  34560. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34561. },
  34562. $isFunction: 1
  34563. };
  34564. J.JavaScriptBigInt.prototype = {
  34565. get$hashCode(receiver) {
  34566. return 0;
  34567. },
  34568. toString$0(receiver) {
  34569. return String(receiver);
  34570. }
  34571. };
  34572. J.JavaScriptSymbol.prototype = {
  34573. get$hashCode(receiver) {
  34574. return 0;
  34575. },
  34576. toString$0(receiver) {
  34577. return String(receiver);
  34578. }
  34579. };
  34580. J.JSArray.prototype = {
  34581. cast$1$0(receiver, $R) {
  34582. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34583. },
  34584. add$1(receiver, value) {
  34585. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34586. receiver.push(value);
  34587. },
  34588. removeAt$1(receiver, index) {
  34589. var t1;
  34590. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34591. t1 = receiver.length;
  34592. if (index >= t1)
  34593. throw A.wrapException(A.RangeError$value(index, null, null));
  34594. return receiver.splice(index, 1)[0];
  34595. },
  34596. insert$2(receiver, index, value) {
  34597. var t1;
  34598. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34599. t1 = receiver.length;
  34600. if (index > t1)
  34601. throw A.wrapException(A.RangeError$value(index, null, null));
  34602. receiver.splice(index, 0, value);
  34603. },
  34604. insertAll$2(receiver, index, iterable) {
  34605. var insertionLength, end;
  34606. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34607. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34608. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34609. iterable = J.toList$0$ax(iterable);
  34610. insertionLength = J.get$length$asx(iterable);
  34611. receiver.length = receiver.length + insertionLength;
  34612. end = index + insertionLength;
  34613. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34614. this.setRange$3(receiver, index, end, iterable);
  34615. },
  34616. removeLast$0(receiver) {
  34617. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34618. if (receiver.length === 0)
  34619. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34620. return receiver.pop();
  34621. },
  34622. _removeWhere$2(receiver, test, removeMatching) {
  34623. var i, element, t1, retained = [],
  34624. end = receiver.length;
  34625. for (i = 0; i < end; ++i) {
  34626. element = receiver[i];
  34627. if (!test.call$1(element))
  34628. retained.push(element);
  34629. if (receiver.length !== end)
  34630. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34631. }
  34632. t1 = retained.length;
  34633. if (t1 === end)
  34634. return;
  34635. this.set$length(receiver, t1);
  34636. for (i = 0; i < retained.length; ++i)
  34637. receiver[i] = retained[i];
  34638. },
  34639. where$1(receiver, f) {
  34640. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  34641. },
  34642. expand$1$1(receiver, f, $T) {
  34643. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  34644. },
  34645. addAll$1(receiver, collection) {
  34646. var t1;
  34647. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  34648. if (Array.isArray(collection)) {
  34649. this._addAllFromArray$1(receiver, collection);
  34650. return;
  34651. }
  34652. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  34653. receiver.push(t1.get$current(t1));
  34654. },
  34655. _addAllFromArray$1(receiver, array) {
  34656. var i,
  34657. len = array.length;
  34658. if (len === 0)
  34659. return;
  34660. if (receiver === array)
  34661. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34662. for (i = 0; i < len; ++i)
  34663. receiver.push(array[i]);
  34664. },
  34665. clear$0(receiver) {
  34666. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  34667. receiver.length = 0;
  34668. },
  34669. forEach$1(receiver, f) {
  34670. var i,
  34671. end = receiver.length;
  34672. for (i = 0; i < end; ++i) {
  34673. f.call$1(receiver[i]);
  34674. if (receiver.length !== end)
  34675. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34676. }
  34677. },
  34678. map$1$1(receiver, f, $T) {
  34679. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  34680. },
  34681. join$1(receiver, separator) {
  34682. var i,
  34683. list = A.List_List$filled(receiver.length, "", false, type$.String);
  34684. for (i = 0; i < receiver.length; ++i)
  34685. list[i] = A.S(receiver[i]);
  34686. return list.join(separator);
  34687. },
  34688. join$0(receiver) {
  34689. return this.join$1(receiver, "");
  34690. },
  34691. take$1(receiver, n) {
  34692. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  34693. },
  34694. skip$1(receiver, n) {
  34695. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  34696. },
  34697. fold$1$2(receiver, initialValue, combine) {
  34698. var value, i,
  34699. $length = receiver.length;
  34700. for (value = initialValue, i = 0; i < $length; ++i) {
  34701. value = combine.call$2(value, receiver[i]);
  34702. if (receiver.length !== $length)
  34703. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34704. }
  34705. return value;
  34706. },
  34707. fold$2(receiver, initialValue, combine) {
  34708. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  34709. },
  34710. firstWhere$1(receiver, test) {
  34711. var i, element,
  34712. end = receiver.length;
  34713. for (i = 0; i < end; ++i) {
  34714. element = receiver[i];
  34715. if (test.call$1(element))
  34716. return element;
  34717. if (receiver.length !== end)
  34718. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34719. }
  34720. throw A.wrapException(A.IterableElementError_noElement());
  34721. },
  34722. elementAt$1(receiver, index) {
  34723. return receiver[index];
  34724. },
  34725. sublist$2(receiver, start, end) {
  34726. var end0 = receiver.length;
  34727. if (start > end0)
  34728. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  34729. if (end == null)
  34730. end = end0;
  34731. else if (end < start || end > end0)
  34732. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  34733. if (start === end)
  34734. return A._setArrayType([], A._arrayInstanceType(receiver));
  34735. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  34736. },
  34737. sublist$1(receiver, start) {
  34738. return this.sublist$2(receiver, start, null);
  34739. },
  34740. getRange$2(receiver, start, end) {
  34741. A.RangeError_checkValidRange(start, end, receiver.length);
  34742. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  34743. },
  34744. get$first(receiver) {
  34745. if (receiver.length > 0)
  34746. return receiver[0];
  34747. throw A.wrapException(A.IterableElementError_noElement());
  34748. },
  34749. get$last(receiver) {
  34750. var t1 = receiver.length;
  34751. if (t1 > 0)
  34752. return receiver[t1 - 1];
  34753. throw A.wrapException(A.IterableElementError_noElement());
  34754. },
  34755. get$single(receiver) {
  34756. var t1 = receiver.length;
  34757. if (t1 === 1)
  34758. return receiver[0];
  34759. if (t1 === 0)
  34760. throw A.wrapException(A.IterableElementError_noElement());
  34761. throw A.wrapException(A.IterableElementError_tooMany());
  34762. },
  34763. removeRange$2(receiver, start, end) {
  34764. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  34765. A.RangeError_checkValidRange(start, end, receiver.length);
  34766. receiver.splice(start, end - start);
  34767. },
  34768. setRange$4(receiver, start, end, iterable, skipCount) {
  34769. var $length, otherList, otherStart, t1, i;
  34770. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  34771. A.RangeError_checkValidRange(start, end, receiver.length);
  34772. $length = end - start;
  34773. if ($length === 0)
  34774. return;
  34775. A.RangeError_checkNotNegative(skipCount, "skipCount");
  34776. if (type$.List_dynamic._is(iterable)) {
  34777. otherList = iterable;
  34778. otherStart = skipCount;
  34779. } else {
  34780. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  34781. otherStart = 0;
  34782. }
  34783. t1 = J.getInterceptor$asx(otherList);
  34784. if (otherStart + $length > t1.get$length(otherList))
  34785. throw A.wrapException(A.IterableElementError_tooFew());
  34786. if (otherStart < start)
  34787. for (i = $length - 1; i >= 0; --i)
  34788. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34789. else
  34790. for (i = 0; i < $length; ++i)
  34791. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34792. },
  34793. setRange$3(receiver, start, end, iterable) {
  34794. return this.setRange$4(receiver, start, end, iterable, 0);
  34795. },
  34796. fillRange$3(receiver, start, end, fillValue) {
  34797. var i;
  34798. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  34799. A.RangeError_checkValidRange(start, end, receiver.length);
  34800. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  34801. for (i = start; i < end; ++i)
  34802. receiver[i] = fillValue;
  34803. },
  34804. any$1(receiver, test) {
  34805. var i,
  34806. end = receiver.length;
  34807. for (i = 0; i < end; ++i) {
  34808. if (test.call$1(receiver[i]))
  34809. return true;
  34810. if (receiver.length !== end)
  34811. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34812. }
  34813. return false;
  34814. },
  34815. every$1(receiver, test) {
  34816. var i,
  34817. end = receiver.length;
  34818. for (i = 0; i < end; ++i) {
  34819. if (!test.call$1(receiver[i]))
  34820. return false;
  34821. if (receiver.length !== end)
  34822. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34823. }
  34824. return true;
  34825. },
  34826. get$reversed(receiver) {
  34827. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  34828. },
  34829. sort$1(receiver, compare) {
  34830. var len, a, b, undefineds, i;
  34831. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  34832. len = receiver.length;
  34833. if (len < 2)
  34834. return;
  34835. if (compare == null)
  34836. compare = J._interceptors_JSArray__compareAny$closure();
  34837. if (len === 2) {
  34838. a = receiver[0];
  34839. b = receiver[1];
  34840. if (compare.call$2(a, b) > 0) {
  34841. receiver[0] = b;
  34842. receiver[1] = a;
  34843. }
  34844. return;
  34845. }
  34846. undefineds = 0;
  34847. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  34848. for (i = 0; i < receiver.length; ++i)
  34849. if (receiver[i] === void 0) {
  34850. receiver[i] = null;
  34851. ++undefineds;
  34852. }
  34853. receiver.sort(A.convertDartClosureToJS(compare, 2));
  34854. if (undefineds > 0)
  34855. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  34856. },
  34857. sort$0(receiver) {
  34858. return this.sort$1(receiver, null);
  34859. },
  34860. _replaceSomeNullsWithUndefined$1(receiver, count) {
  34861. var i0,
  34862. i = receiver.length;
  34863. for (; i0 = i - 1, i > 0; i = i0)
  34864. if (receiver[i0] === null) {
  34865. receiver[i0] = void 0;
  34866. --count;
  34867. if (count === 0)
  34868. break;
  34869. }
  34870. },
  34871. indexOf$1(receiver, element) {
  34872. var i,
  34873. $length = receiver.length;
  34874. if (0 >= $length)
  34875. return -1;
  34876. for (i = 0; i < $length; ++i)
  34877. if (J.$eq$(receiver[i], element))
  34878. return i;
  34879. return -1;
  34880. },
  34881. contains$1(receiver, other) {
  34882. var i;
  34883. for (i = 0; i < receiver.length; ++i)
  34884. if (J.$eq$(receiver[i], other))
  34885. return true;
  34886. return false;
  34887. },
  34888. get$isEmpty(receiver) {
  34889. return receiver.length === 0;
  34890. },
  34891. get$isNotEmpty(receiver) {
  34892. return receiver.length !== 0;
  34893. },
  34894. toString$0(receiver) {
  34895. return A.Iterable_iterableToFullString(receiver, "[", "]");
  34896. },
  34897. toList$1$growable(receiver, growable) {
  34898. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  34899. return t1;
  34900. },
  34901. toList$0(receiver) {
  34902. return this.toList$1$growable(receiver, true);
  34903. },
  34904. toSet$0(receiver) {
  34905. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  34906. },
  34907. get$iterator(receiver) {
  34908. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  34909. },
  34910. get$hashCode(receiver) {
  34911. return A.Primitives_objectHashCode(receiver);
  34912. },
  34913. get$length(receiver) {
  34914. return receiver.length;
  34915. },
  34916. set$length(receiver, newLength) {
  34917. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  34918. if (newLength < 0)
  34919. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  34920. if (newLength > receiver.length)
  34921. A._arrayInstanceType(receiver)._precomputed1._as(null);
  34922. receiver.length = newLength;
  34923. },
  34924. $index(receiver, index) {
  34925. if (!(index >= 0 && index < receiver.length))
  34926. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  34927. return receiver[index];
  34928. },
  34929. $indexSet(receiver, index, value) {
  34930. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  34931. if (!(index >= 0 && index < receiver.length))
  34932. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  34933. receiver[index] = value;
  34934. },
  34935. $add(receiver, other) {
  34936. var t1 = A.List_List$_of(receiver, A._arrayInstanceType(receiver)._precomputed1);
  34937. this.addAll$1(t1, other);
  34938. return t1;
  34939. },
  34940. indexWhere$1(receiver, test) {
  34941. var i;
  34942. if (0 >= receiver.length)
  34943. return -1;
  34944. for (i = 0; i < receiver.length; ++i)
  34945. if (test.call$1(receiver[i]))
  34946. return i;
  34947. return -1;
  34948. },
  34949. $isEfficientLengthIterable: 1,
  34950. $isIterable: 1,
  34951. $isList: 1
  34952. };
  34953. J.JSArraySafeToStringHook.prototype = {
  34954. tryFormat$1(array) {
  34955. var flags, info, base;
  34956. if (!Array.isArray(array))
  34957. return null;
  34958. flags = array.$flags | 0;
  34959. if ((flags & 4) !== 0)
  34960. info = "const, ";
  34961. else if ((flags & 2) !== 0)
  34962. info = "unmodifiable, ";
  34963. else
  34964. info = (flags & 1) !== 0 ? "fixed, " : "";
  34965. base = "Instance of '" + A.Primitives_objectTypeName(array) + "'";
  34966. if (info === "")
  34967. return base;
  34968. return base + " (" + info + "length: " + array.length + ")";
  34969. }
  34970. };
  34971. J.JSUnmodifiableArray.prototype = {};
  34972. J.ArrayIterator.prototype = {
  34973. get$current(_) {
  34974. var t1 = this._current;
  34975. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  34976. },
  34977. moveNext$0() {
  34978. var t2, _this = this,
  34979. t1 = _this._iterable,
  34980. $length = t1.length;
  34981. if (_this._length !== $length)
  34982. throw A.wrapException(A.throwConcurrentModificationError(t1));
  34983. t2 = _this._index;
  34984. if (t2 >= $length) {
  34985. _this._current = null;
  34986. return false;
  34987. }
  34988. _this._current = t1[t2];
  34989. _this._index = t2 + 1;
  34990. return true;
  34991. }
  34992. };
  34993. J.JSNumber.prototype = {
  34994. compareTo$1(receiver, b) {
  34995. var bIsNegative;
  34996. if (receiver < b)
  34997. return -1;
  34998. else if (receiver > b)
  34999. return 1;
  35000. else if (receiver === b) {
  35001. if (receiver === 0) {
  35002. bIsNegative = this.get$isNegative(b);
  35003. if (this.get$isNegative(receiver) === bIsNegative)
  35004. return 0;
  35005. if (this.get$isNegative(receiver))
  35006. return -1;
  35007. return 1;
  35008. }
  35009. return 0;
  35010. } else if (isNaN(receiver)) {
  35011. if (isNaN(b))
  35012. return 0;
  35013. return 1;
  35014. } else
  35015. return -1;
  35016. },
  35017. get$isNegative(receiver) {
  35018. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35019. },
  35020. get$sign(receiver) {
  35021. var t1;
  35022. if (receiver > 0)
  35023. t1 = 1;
  35024. else
  35025. t1 = receiver < 0 ? -1 : receiver;
  35026. return t1;
  35027. },
  35028. ceil$0(receiver) {
  35029. var truncated, d;
  35030. if (receiver >= 0) {
  35031. if (receiver <= 2147483647) {
  35032. truncated = receiver | 0;
  35033. return receiver === truncated ? truncated : truncated + 1;
  35034. }
  35035. } else if (receiver >= -2147483648)
  35036. return receiver | 0;
  35037. d = Math.ceil(receiver);
  35038. if (isFinite(d))
  35039. return d;
  35040. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35041. },
  35042. floor$0(receiver) {
  35043. var truncated, d;
  35044. if (receiver >= 0) {
  35045. if (receiver <= 2147483647)
  35046. return receiver | 0;
  35047. } else if (receiver >= -2147483648) {
  35048. truncated = receiver | 0;
  35049. return receiver === truncated ? truncated : truncated - 1;
  35050. }
  35051. d = Math.floor(receiver);
  35052. if (isFinite(d))
  35053. return d;
  35054. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35055. },
  35056. round$0(receiver) {
  35057. if (receiver > 0) {
  35058. if (receiver !== 1 / 0)
  35059. return Math.round(receiver);
  35060. } else if (receiver > -1 / 0)
  35061. return 0 - Math.round(0 - receiver);
  35062. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35063. },
  35064. clamp$2(receiver, lowerLimit, upperLimit) {
  35065. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35066. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35067. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35068. return lowerLimit;
  35069. if (this.compareTo$1(receiver, upperLimit) > 0)
  35070. return upperLimit;
  35071. return receiver;
  35072. },
  35073. toRadixString$1(receiver, radix) {
  35074. var result, match, exponent, t1;
  35075. if (radix < 2 || radix > 36)
  35076. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35077. result = receiver.toString(radix);
  35078. if (result.charCodeAt(result.length - 1) !== 41)
  35079. return result;
  35080. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35081. if (match == null)
  35082. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35083. result = match[1];
  35084. exponent = +match[3];
  35085. t1 = match[2];
  35086. if (t1 != null) {
  35087. result += t1;
  35088. exponent -= t1.length;
  35089. }
  35090. return result + B.JSString_methods.$mul("0", exponent);
  35091. },
  35092. toString$0(receiver) {
  35093. if (receiver === 0 && 1 / receiver < 0)
  35094. return "-0.0";
  35095. else
  35096. return "" + receiver;
  35097. },
  35098. get$hashCode(receiver) {
  35099. var absolute, floorLog2, factor, scaled,
  35100. intValue = receiver | 0;
  35101. if (receiver === intValue)
  35102. return intValue & 536870911;
  35103. absolute = Math.abs(receiver);
  35104. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35105. factor = Math.pow(2, floorLog2);
  35106. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35107. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35108. },
  35109. $mod(receiver, other) {
  35110. var result = receiver % other;
  35111. if (result === 0)
  35112. return 0;
  35113. if (result > 0)
  35114. return result;
  35115. if (other < 0)
  35116. return result - other;
  35117. else
  35118. return result + other;
  35119. },
  35120. $tdiv(receiver, other) {
  35121. if ((receiver | 0) === receiver)
  35122. if (other >= 1 || other < -1)
  35123. return receiver / other | 0;
  35124. return this._tdivSlow$1(receiver, other);
  35125. },
  35126. _tdivFast$1(receiver, other) {
  35127. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35128. },
  35129. _tdivSlow$1(receiver, other) {
  35130. var quotient = receiver / other;
  35131. if (quotient >= -2147483648 && quotient <= 2147483647)
  35132. return quotient | 0;
  35133. if (quotient > 0) {
  35134. if (quotient !== 1 / 0)
  35135. return Math.floor(quotient);
  35136. } else if (quotient > -1 / 0)
  35137. return Math.ceil(quotient);
  35138. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35139. },
  35140. _shrOtherPositive$1(receiver, other) {
  35141. var t1;
  35142. if (receiver > 0)
  35143. t1 = this._shrBothPositive$1(receiver, other);
  35144. else {
  35145. t1 = other > 31 ? 31 : other;
  35146. t1 = receiver >> t1 >>> 0;
  35147. }
  35148. return t1;
  35149. },
  35150. _shrReceiverPositive$1(receiver, other) {
  35151. if (0 > other)
  35152. throw A.wrapException(A.argumentErrorValue(other));
  35153. return this._shrBothPositive$1(receiver, other);
  35154. },
  35155. _shrBothPositive$1(receiver, other) {
  35156. return other > 31 ? 0 : receiver >>> other;
  35157. },
  35158. get$runtimeType(receiver) {
  35159. return A.createRuntimeType(type$.num);
  35160. },
  35161. $isComparable: 1,
  35162. $isdouble: 1,
  35163. $isnum: 1
  35164. };
  35165. J.JSInt.prototype = {
  35166. get$sign(receiver) {
  35167. var t1;
  35168. if (receiver > 0)
  35169. t1 = 1;
  35170. else
  35171. t1 = receiver < 0 ? -1 : receiver;
  35172. return t1;
  35173. },
  35174. get$runtimeType(receiver) {
  35175. return A.createRuntimeType(type$.int);
  35176. },
  35177. $isTrustedGetRuntimeType: 1,
  35178. $isint: 1
  35179. };
  35180. J.JSNumNotInt.prototype = {
  35181. get$runtimeType(receiver) {
  35182. return A.createRuntimeType(type$.double);
  35183. },
  35184. $isTrustedGetRuntimeType: 1
  35185. };
  35186. J.JSString.prototype = {
  35187. codeUnitAt$1(receiver, index) {
  35188. if (index < 0)
  35189. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35190. if (index >= receiver.length)
  35191. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35192. return receiver.charCodeAt(index);
  35193. },
  35194. allMatches$2(receiver, string, start) {
  35195. var t1 = string.length;
  35196. if (start > t1)
  35197. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35198. return new A._StringAllMatchesIterable(string, receiver, start);
  35199. },
  35200. allMatches$1(receiver, string) {
  35201. return this.allMatches$2(receiver, string, 0);
  35202. },
  35203. matchAsPrefix$2(receiver, string, start) {
  35204. var t1, i, _null = null;
  35205. if (start < 0 || start > string.length)
  35206. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35207. t1 = receiver.length;
  35208. if (start + t1 > string.length)
  35209. return _null;
  35210. for (i = 0; i < t1; ++i)
  35211. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35212. return _null;
  35213. return new A.StringMatch(start, receiver);
  35214. },
  35215. $add(receiver, other) {
  35216. return receiver + other;
  35217. },
  35218. endsWith$1(receiver, other) {
  35219. var otherLength = other.length,
  35220. t1 = receiver.length;
  35221. if (otherLength > t1)
  35222. return false;
  35223. return other === this.substring$1(receiver, t1 - otherLength);
  35224. },
  35225. replaceFirst$2(receiver, from, to) {
  35226. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35227. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35228. },
  35229. split$1(receiver, pattern) {
  35230. var t1;
  35231. if (typeof pattern == "string")
  35232. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35233. else {
  35234. if (pattern instanceof A.JSSyntaxRegExp) {
  35235. t1 = pattern._hasCapturesCache;
  35236. t1 = !(t1 == null ? pattern._hasCapturesCache = pattern._computeHasCaptures$0() : t1);
  35237. } else
  35238. t1 = false;
  35239. if (t1)
  35240. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35241. else
  35242. return this._defaultSplit$1(receiver, pattern);
  35243. }
  35244. },
  35245. replaceRange$3(receiver, start, end, replacement) {
  35246. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35247. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35248. },
  35249. _defaultSplit$1(receiver, pattern) {
  35250. var t1, start, $length, match, matchStart, matchEnd,
  35251. result = A._setArrayType([], type$.JSArray_String);
  35252. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35253. match = t1.get$current(t1);
  35254. matchStart = match.get$start(match);
  35255. matchEnd = match.get$end(match);
  35256. $length = matchEnd - matchStart;
  35257. if ($length === 0 && start === matchStart)
  35258. continue;
  35259. result.push(this.substring$2(receiver, start, matchStart));
  35260. start = matchEnd;
  35261. }
  35262. if (start < receiver.length || $length > 0)
  35263. result.push(this.substring$1(receiver, start));
  35264. return result;
  35265. },
  35266. startsWith$2(receiver, pattern, index) {
  35267. var endIndex;
  35268. if (index < 0 || index > receiver.length)
  35269. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35270. if (typeof pattern == "string") {
  35271. endIndex = index + pattern.length;
  35272. if (endIndex > receiver.length)
  35273. return false;
  35274. return pattern === receiver.substring(index, endIndex);
  35275. }
  35276. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35277. },
  35278. startsWith$1(receiver, pattern) {
  35279. return this.startsWith$2(receiver, pattern, 0);
  35280. },
  35281. substring$2(receiver, start, end) {
  35282. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35283. },
  35284. substring$1(receiver, start) {
  35285. return this.substring$2(receiver, start, null);
  35286. },
  35287. trim$0(receiver) {
  35288. var startIndex, t1, endIndex0,
  35289. result = receiver.trim(),
  35290. endIndex = result.length;
  35291. if (endIndex === 0)
  35292. return result;
  35293. if (result.charCodeAt(0) === 133) {
  35294. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35295. if (startIndex === endIndex)
  35296. return "";
  35297. } else
  35298. startIndex = 0;
  35299. t1 = endIndex - 1;
  35300. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35301. if (startIndex === 0 && endIndex0 === endIndex)
  35302. return result;
  35303. return result.substring(startIndex, endIndex0);
  35304. },
  35305. trimLeft$0(receiver) {
  35306. var result = receiver.trimStart();
  35307. if (result.length === 0)
  35308. return result;
  35309. if (result.charCodeAt(0) !== 133)
  35310. return result;
  35311. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35312. },
  35313. trimRight$0(receiver) {
  35314. var t1,
  35315. result = receiver.trimEnd(),
  35316. endIndex = result.length;
  35317. if (endIndex === 0)
  35318. return result;
  35319. t1 = endIndex - 1;
  35320. if (result.charCodeAt(t1) !== 133)
  35321. return result;
  35322. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35323. },
  35324. $mul(receiver, times) {
  35325. var s, result;
  35326. if (0 >= times)
  35327. return "";
  35328. if (times === 1 || receiver.length === 0)
  35329. return receiver;
  35330. if (times !== times >>> 0)
  35331. throw A.wrapException(B.C_OutOfMemoryError);
  35332. for (s = receiver, result = ""; true;) {
  35333. if ((times & 1) === 1)
  35334. result = s + result;
  35335. times = times >>> 1;
  35336. if (times === 0)
  35337. break;
  35338. s += s;
  35339. }
  35340. return result;
  35341. },
  35342. padLeft$2(receiver, width, padding) {
  35343. var delta = width - receiver.length;
  35344. if (delta <= 0)
  35345. return receiver;
  35346. return this.$mul(padding, delta) + receiver;
  35347. },
  35348. padRight$1(receiver, width) {
  35349. var delta = width - receiver.length;
  35350. if (delta <= 0)
  35351. return receiver;
  35352. return receiver + this.$mul(" ", delta);
  35353. },
  35354. indexOf$2(receiver, pattern, start) {
  35355. var t1;
  35356. if (start < 0 || start > receiver.length)
  35357. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35358. t1 = receiver.indexOf(pattern, start);
  35359. return t1;
  35360. },
  35361. indexOf$1(receiver, pattern) {
  35362. return this.indexOf$2(receiver, pattern, 0);
  35363. },
  35364. lastIndexOf$2(receiver, pattern, start) {
  35365. var t1, t2, i;
  35366. if (start == null)
  35367. start = receiver.length;
  35368. else if (start < 0 || start > receiver.length)
  35369. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35370. if (typeof pattern == "string") {
  35371. t1 = pattern.length;
  35372. t2 = receiver.length;
  35373. if (start + t1 > t2)
  35374. start = t2 - t1;
  35375. return receiver.lastIndexOf(pattern, start);
  35376. }
  35377. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35378. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35379. return i;
  35380. return -1;
  35381. },
  35382. lastIndexOf$1(receiver, pattern) {
  35383. return this.lastIndexOf$2(receiver, pattern, null);
  35384. },
  35385. contains$2(receiver, other, startIndex) {
  35386. var t1 = receiver.length;
  35387. if (startIndex > t1)
  35388. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35389. return A.stringContainsUnchecked(receiver, other, startIndex);
  35390. },
  35391. contains$1(receiver, other) {
  35392. return this.contains$2(receiver, other, 0);
  35393. },
  35394. compareTo$1(receiver, other) {
  35395. var t1;
  35396. if (receiver === other)
  35397. t1 = 0;
  35398. else
  35399. t1 = receiver < other ? -1 : 1;
  35400. return t1;
  35401. },
  35402. toString$0(receiver) {
  35403. return receiver;
  35404. },
  35405. get$hashCode(receiver) {
  35406. var t1, hash, i;
  35407. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35408. hash = hash + receiver.charCodeAt(i) & 536870911;
  35409. hash = hash + ((hash & 524287) << 10) & 536870911;
  35410. hash ^= hash >> 6;
  35411. }
  35412. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35413. hash ^= hash >> 11;
  35414. return hash + ((hash & 16383) << 15) & 536870911;
  35415. },
  35416. get$runtimeType(receiver) {
  35417. return A.createRuntimeType(type$.String);
  35418. },
  35419. get$length(receiver) {
  35420. return receiver.length;
  35421. },
  35422. $isTrustedGetRuntimeType: 1,
  35423. $isComparable: 1,
  35424. $isString: 1
  35425. };
  35426. A._CastIterableBase.prototype = {
  35427. get$iterator(_) {
  35428. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35429. },
  35430. get$length(_) {
  35431. return J.get$length$asx(this.get$_source());
  35432. },
  35433. get$isEmpty(_) {
  35434. return J.get$isEmpty$asx(this.get$_source());
  35435. },
  35436. get$isNotEmpty(_) {
  35437. return J.get$isNotEmpty$asx(this.get$_source());
  35438. },
  35439. skip$1(_, count) {
  35440. var t1 = A._instanceType(this);
  35441. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35442. },
  35443. take$1(_, count) {
  35444. var t1 = A._instanceType(this);
  35445. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35446. },
  35447. elementAt$1(_, index) {
  35448. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35449. },
  35450. get$first(_) {
  35451. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35452. },
  35453. get$last(_) {
  35454. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35455. },
  35456. get$single(_) {
  35457. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35458. },
  35459. contains$1(_, other) {
  35460. return J.contains$1$asx(this.get$_source(), other);
  35461. },
  35462. toString$0(_) {
  35463. return J.toString$0$(this.get$_source());
  35464. }
  35465. };
  35466. A.CastIterator.prototype = {
  35467. moveNext$0() {
  35468. return this._source.moveNext$0();
  35469. },
  35470. get$current(_) {
  35471. var t1 = this._source;
  35472. return this.$ti._rest[1]._as(t1.get$current(t1));
  35473. }
  35474. };
  35475. A.CastIterable.prototype = {
  35476. get$_source() {
  35477. return this._source;
  35478. }
  35479. };
  35480. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35481. A._CastListBase.prototype = {
  35482. $index(_, index) {
  35483. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35484. },
  35485. $indexSet(_, index, value) {
  35486. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35487. },
  35488. set$length(_, $length) {
  35489. J.set$length$asx(this._source, $length);
  35490. },
  35491. add$1(_, value) {
  35492. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35493. },
  35494. addAll$1(_, values) {
  35495. var t1 = this.$ti;
  35496. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35497. },
  35498. sort$1(_, compare) {
  35499. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35500. J.sort$1$ax(this._source, t1);
  35501. },
  35502. getRange$2(_, start, end) {
  35503. var t1 = this.$ti;
  35504. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35505. },
  35506. setRange$4(_, start, end, iterable, skipCount) {
  35507. var t1 = this.$ti;
  35508. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35509. },
  35510. removeRange$2(_, start, end) {
  35511. J.removeRange$2$ax(this._source, start, end);
  35512. },
  35513. fillRange$3(_, start, end, fillValue) {
  35514. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35515. },
  35516. $isEfficientLengthIterable: 1,
  35517. $isList: 1
  35518. };
  35519. A._CastListBase_sort_closure.prototype = {
  35520. call$2(v1, v2) {
  35521. var t1 = this.$this.$ti._rest[1];
  35522. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35523. },
  35524. $signature() {
  35525. return this.$this.$ti._eval$1("int(1,1)");
  35526. }
  35527. };
  35528. A.CastList.prototype = {
  35529. cast$1$0(_, $R) {
  35530. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35531. },
  35532. get$_source() {
  35533. return this._source;
  35534. }
  35535. };
  35536. A.CastSet.prototype = {
  35537. add$1(_, value) {
  35538. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35539. },
  35540. addAll$1(_, elements) {
  35541. var t1 = this.$ti;
  35542. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35543. },
  35544. difference$1(other) {
  35545. var _this = this;
  35546. if (_this._emptySet != null)
  35547. return _this._conditionalAdd$2(other, false);
  35548. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35549. },
  35550. _conditionalAdd$2(other, otherContains) {
  35551. var t3, castElement,
  35552. emptySet = this._emptySet,
  35553. t1 = this.$ti,
  35554. t2 = t1._rest[1],
  35555. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35556. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35557. castElement = t1._as(t2.get$current(t2));
  35558. if (otherContains === t3.contains$1(0, castElement))
  35559. result.add$1(0, castElement);
  35560. }
  35561. return result;
  35562. },
  35563. toSet$0(_) {
  35564. var emptySet = this._emptySet,
  35565. t1 = this.$ti._rest[1],
  35566. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35567. result.addAll$1(0, this);
  35568. return result;
  35569. },
  35570. $isEfficientLengthIterable: 1,
  35571. $isSet: 1,
  35572. get$_source() {
  35573. return this._source;
  35574. }
  35575. };
  35576. A.CastMap.prototype = {
  35577. cast$2$0(_, $RK, $RV) {
  35578. 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>"));
  35579. },
  35580. containsKey$1(key) {
  35581. return this._source.containsKey$1(key);
  35582. },
  35583. $index(_, key) {
  35584. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35585. },
  35586. $indexSet(_, key, value) {
  35587. var t1 = this.$ti;
  35588. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35589. },
  35590. addAll$1(_, other) {
  35591. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35592. },
  35593. remove$1(_, key) {
  35594. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35595. },
  35596. forEach$1(_, f) {
  35597. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35598. },
  35599. get$keys(_) {
  35600. var t1 = this._source,
  35601. t2 = this.$ti;
  35602. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35603. },
  35604. get$values(_) {
  35605. var t1 = this._source,
  35606. t2 = this.$ti;
  35607. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35608. },
  35609. get$length(_) {
  35610. var t1 = this._source;
  35611. return t1.get$length(t1);
  35612. },
  35613. get$isEmpty(_) {
  35614. var t1 = this._source;
  35615. return t1.get$isEmpty(t1);
  35616. },
  35617. get$isNotEmpty(_) {
  35618. var t1 = this._source;
  35619. return t1.get$isNotEmpty(t1);
  35620. },
  35621. get$entries(_) {
  35622. var t1 = this._source;
  35623. t1 = t1.get$entries(t1);
  35624. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35625. }
  35626. };
  35627. A.CastMap_forEach_closure.prototype = {
  35628. call$2(key, value) {
  35629. var t1 = this.$this.$ti;
  35630. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35631. },
  35632. $signature() {
  35633. return this.$this.$ti._eval$1("~(1,2)");
  35634. }
  35635. };
  35636. A.CastMap_entries_closure.prototype = {
  35637. call$1(e) {
  35638. var t1 = this.$this.$ti;
  35639. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  35640. },
  35641. $signature() {
  35642. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  35643. }
  35644. };
  35645. A.LateError.prototype = {
  35646. toString$0(_) {
  35647. return "LateInitializationError: " + this._message;
  35648. }
  35649. };
  35650. A.CodeUnits.prototype = {
  35651. get$length(_) {
  35652. return this._string.length;
  35653. },
  35654. $index(_, i) {
  35655. return this._string.charCodeAt(i);
  35656. }
  35657. };
  35658. A.nullFuture_closure.prototype = {
  35659. call$0() {
  35660. return A.Future_Future$value(null, type$.void);
  35661. },
  35662. $signature: 32
  35663. };
  35664. A.SentinelValue.prototype = {};
  35665. A.EfficientLengthIterable.prototype = {};
  35666. A.ListIterable.prototype = {
  35667. get$iterator(_) {
  35668. var _this = this;
  35669. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  35670. },
  35671. get$isEmpty(_) {
  35672. return this.get$length(this) === 0;
  35673. },
  35674. get$first(_) {
  35675. if (this.get$length(this) === 0)
  35676. throw A.wrapException(A.IterableElementError_noElement());
  35677. return this.elementAt$1(0, 0);
  35678. },
  35679. get$last(_) {
  35680. var _this = this;
  35681. if (_this.get$length(_this) === 0)
  35682. throw A.wrapException(A.IterableElementError_noElement());
  35683. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  35684. },
  35685. get$single(_) {
  35686. var _this = this;
  35687. if (_this.get$length(_this) === 0)
  35688. throw A.wrapException(A.IterableElementError_noElement());
  35689. if (_this.get$length(_this) > 1)
  35690. throw A.wrapException(A.IterableElementError_tooMany());
  35691. return _this.elementAt$1(0, 0);
  35692. },
  35693. contains$1(_, element) {
  35694. var i, _this = this,
  35695. $length = _this.get$length(_this);
  35696. for (i = 0; i < $length; ++i) {
  35697. if (J.$eq$(_this.elementAt$1(0, i), element))
  35698. return true;
  35699. if ($length !== _this.get$length(_this))
  35700. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35701. }
  35702. return false;
  35703. },
  35704. every$1(_, test) {
  35705. var i, _this = this,
  35706. $length = _this.get$length(_this);
  35707. for (i = 0; i < $length; ++i) {
  35708. if (!test.call$1(_this.elementAt$1(0, i)))
  35709. return false;
  35710. if ($length !== _this.get$length(_this))
  35711. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35712. }
  35713. return true;
  35714. },
  35715. any$1(_, test) {
  35716. var i, _this = this,
  35717. $length = _this.get$length(_this);
  35718. for (i = 0; i < $length; ++i) {
  35719. if (test.call$1(_this.elementAt$1(0, i)))
  35720. return true;
  35721. if ($length !== _this.get$length(_this))
  35722. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35723. }
  35724. return false;
  35725. },
  35726. join$1(_, separator) {
  35727. var first, t1, i, _this = this,
  35728. $length = _this.get$length(_this);
  35729. if (separator.length !== 0) {
  35730. if ($length === 0)
  35731. return "";
  35732. first = A.S(_this.elementAt$1(0, 0));
  35733. if ($length !== _this.get$length(_this))
  35734. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35735. for (t1 = first, i = 1; i < $length; ++i) {
  35736. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  35737. if ($length !== _this.get$length(_this))
  35738. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35739. }
  35740. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35741. } else {
  35742. for (i = 0, t1 = ""; i < $length; ++i) {
  35743. t1 += A.S(_this.elementAt$1(0, i));
  35744. if ($length !== _this.get$length(_this))
  35745. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35746. }
  35747. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35748. }
  35749. },
  35750. join$0(_) {
  35751. return this.join$1(0, "");
  35752. },
  35753. where$1(_, test) {
  35754. return this.super$Iterable$where(0, test);
  35755. },
  35756. map$1$1(_, toElement, $T) {
  35757. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35758. },
  35759. reduce$1(_, combine) {
  35760. var value, i, _this = this,
  35761. $length = _this.get$length(_this);
  35762. if ($length === 0)
  35763. throw A.wrapException(A.IterableElementError_noElement());
  35764. value = _this.elementAt$1(0, 0);
  35765. for (i = 1; i < $length; ++i) {
  35766. value = combine.call$2(value, _this.elementAt$1(0, i));
  35767. if ($length !== _this.get$length(_this))
  35768. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35769. }
  35770. return value;
  35771. },
  35772. fold$1$2(_, initialValue, combine) {
  35773. var value, i, _this = this,
  35774. $length = _this.get$length(_this);
  35775. for (value = initialValue, i = 0; i < $length; ++i) {
  35776. value = combine.call$2(value, _this.elementAt$1(0, i));
  35777. if ($length !== _this.get$length(_this))
  35778. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35779. }
  35780. return value;
  35781. },
  35782. fold$2(_, initialValue, combine) {
  35783. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  35784. },
  35785. skip$1(_, count) {
  35786. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  35787. },
  35788. take$1(_, count) {
  35789. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  35790. },
  35791. toList$1$growable(_, growable) {
  35792. var t1 = A.List_List$_of(this, A._instanceType(this)._eval$1("ListIterable.E"));
  35793. return t1;
  35794. },
  35795. toList$0(_) {
  35796. return this.toList$1$growable(0, true);
  35797. },
  35798. toSet$0(_) {
  35799. var i, _this = this,
  35800. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  35801. for (i = 0; i < _this.get$length(_this); ++i)
  35802. result.add$1(0, _this.elementAt$1(0, i));
  35803. return result;
  35804. }
  35805. };
  35806. A.SubListIterable.prototype = {
  35807. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  35808. var endOrLength,
  35809. t1 = this._start;
  35810. A.RangeError_checkNotNegative(t1, "start");
  35811. endOrLength = this._endOrLength;
  35812. if (endOrLength != null) {
  35813. A.RangeError_checkNotNegative(endOrLength, "end");
  35814. if (t1 > endOrLength)
  35815. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  35816. }
  35817. },
  35818. get$_endIndex() {
  35819. var $length = J.get$length$asx(this.__internal$_iterable),
  35820. endOrLength = this._endOrLength;
  35821. if (endOrLength == null || endOrLength > $length)
  35822. return $length;
  35823. return endOrLength;
  35824. },
  35825. get$_startIndex() {
  35826. var $length = J.get$length$asx(this.__internal$_iterable),
  35827. t1 = this._start;
  35828. if (t1 > $length)
  35829. return $length;
  35830. return t1;
  35831. },
  35832. get$length(_) {
  35833. var endOrLength,
  35834. $length = J.get$length$asx(this.__internal$_iterable),
  35835. t1 = this._start;
  35836. if (t1 >= $length)
  35837. return 0;
  35838. endOrLength = this._endOrLength;
  35839. if (endOrLength == null || endOrLength >= $length)
  35840. return $length - t1;
  35841. return endOrLength - t1;
  35842. },
  35843. elementAt$1(_, index) {
  35844. var _this = this,
  35845. realIndex = _this.get$_startIndex() + index;
  35846. if (index < 0 || realIndex >= _this.get$_endIndex())
  35847. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  35848. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  35849. },
  35850. skip$1(_, count) {
  35851. var newStart, endOrLength, _this = this;
  35852. A.RangeError_checkNotNegative(count, "count");
  35853. newStart = _this._start + count;
  35854. endOrLength = _this._endOrLength;
  35855. if (endOrLength != null && newStart >= endOrLength)
  35856. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  35857. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  35858. },
  35859. take$1(_, count) {
  35860. var endOrLength, t1, newEnd, _this = this;
  35861. A.RangeError_checkNotNegative(count, "count");
  35862. endOrLength = _this._endOrLength;
  35863. t1 = _this._start;
  35864. newEnd = t1 + count;
  35865. if (endOrLength == null)
  35866. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35867. else {
  35868. if (endOrLength < newEnd)
  35869. return _this;
  35870. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35871. }
  35872. },
  35873. toList$1$growable(_, growable) {
  35874. var $length, result, i, _this = this,
  35875. start = _this._start,
  35876. t1 = _this.__internal$_iterable,
  35877. t2 = J.getInterceptor$asx(t1),
  35878. end = t2.get$length(t1),
  35879. endOrLength = _this._endOrLength;
  35880. if (endOrLength != null && endOrLength < end)
  35881. end = endOrLength;
  35882. $length = end - start;
  35883. if ($length <= 0) {
  35884. t1 = _this.$ti._precomputed1;
  35885. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  35886. }
  35887. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  35888. for (i = 1; i < $length; ++i) {
  35889. result[i] = t2.elementAt$1(t1, start + i);
  35890. if (t2.get$length(t1) < end)
  35891. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35892. }
  35893. return result;
  35894. },
  35895. toList$0(_) {
  35896. return this.toList$1$growable(0, true);
  35897. }
  35898. };
  35899. A.ListIterator.prototype = {
  35900. get$current(_) {
  35901. var t1 = this.__internal$_current;
  35902. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35903. },
  35904. moveNext$0() {
  35905. var t3, _this = this,
  35906. t1 = _this.__internal$_iterable,
  35907. t2 = J.getInterceptor$asx(t1),
  35908. $length = t2.get$length(t1);
  35909. if (_this.__internal$_length !== $length)
  35910. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35911. t3 = _this.__internal$_index;
  35912. if (t3 >= $length) {
  35913. _this.__internal$_current = null;
  35914. return false;
  35915. }
  35916. _this.__internal$_current = t2.elementAt$1(t1, t3);
  35917. ++_this.__internal$_index;
  35918. return true;
  35919. }
  35920. };
  35921. A.MappedIterable.prototype = {
  35922. get$iterator(_) {
  35923. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  35924. },
  35925. get$length(_) {
  35926. return J.get$length$asx(this.__internal$_iterable);
  35927. },
  35928. get$isEmpty(_) {
  35929. return J.get$isEmpty$asx(this.__internal$_iterable);
  35930. },
  35931. get$first(_) {
  35932. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  35933. },
  35934. get$last(_) {
  35935. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  35936. },
  35937. get$single(_) {
  35938. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  35939. },
  35940. elementAt$1(_, index) {
  35941. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  35942. }
  35943. };
  35944. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  35945. A.MappedIterator.prototype = {
  35946. moveNext$0() {
  35947. var _this = this,
  35948. t1 = _this._iterator;
  35949. if (t1.moveNext$0()) {
  35950. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  35951. return true;
  35952. }
  35953. _this.__internal$_current = null;
  35954. return false;
  35955. },
  35956. get$current(_) {
  35957. var t1 = this.__internal$_current;
  35958. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  35959. }
  35960. };
  35961. A.MappedListIterable.prototype = {
  35962. get$length(_) {
  35963. return J.get$length$asx(this._source);
  35964. },
  35965. elementAt$1(_, index) {
  35966. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  35967. }
  35968. };
  35969. A.WhereIterable.prototype = {
  35970. get$iterator(_) {
  35971. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  35972. },
  35973. map$1$1(_, toElement, $T) {
  35974. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  35975. }
  35976. };
  35977. A.WhereIterator.prototype = {
  35978. moveNext$0() {
  35979. var t1, t2;
  35980. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  35981. if (t2.call$1(t1.get$current(t1)))
  35982. return true;
  35983. return false;
  35984. },
  35985. get$current(_) {
  35986. var t1 = this._iterator;
  35987. return t1.get$current(t1);
  35988. }
  35989. };
  35990. A.ExpandIterable.prototype = {
  35991. get$iterator(_) {
  35992. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  35993. }
  35994. };
  35995. A.ExpandIterator.prototype = {
  35996. get$current(_) {
  35997. var t1 = this.__internal$_current;
  35998. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  35999. },
  36000. moveNext$0() {
  36001. var t2, t3, _this = this,
  36002. t1 = _this._currentExpansion;
  36003. if (t1 == null)
  36004. return false;
  36005. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36006. _this.__internal$_current = null;
  36007. if (t2.moveNext$0()) {
  36008. _this._currentExpansion = null;
  36009. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36010. _this._currentExpansion = t1;
  36011. } else
  36012. return false;
  36013. }
  36014. t1 = _this._currentExpansion;
  36015. _this.__internal$_current = t1.get$current(t1);
  36016. return true;
  36017. }
  36018. };
  36019. A.TakeIterable.prototype = {
  36020. get$iterator(_) {
  36021. var t1 = this.__internal$_iterable;
  36022. return new A.TakeIterator(t1.get$iterator(t1), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36023. }
  36024. };
  36025. A.EfficientLengthTakeIterable.prototype = {
  36026. get$length(_) {
  36027. var t1 = this.__internal$_iterable,
  36028. iterableLength = t1.get$length(t1);
  36029. t1 = this._takeCount;
  36030. if (iterableLength > t1)
  36031. return t1;
  36032. return iterableLength;
  36033. },
  36034. $isEfficientLengthIterable: 1
  36035. };
  36036. A.TakeIterator.prototype = {
  36037. moveNext$0() {
  36038. if (--this._remaining >= 0)
  36039. return this._iterator.moveNext$0();
  36040. this._remaining = -1;
  36041. return false;
  36042. },
  36043. get$current(_) {
  36044. var t1;
  36045. if (this._remaining < 0) {
  36046. this.$ti._precomputed1._as(null);
  36047. return null;
  36048. }
  36049. t1 = this._iterator;
  36050. return t1.get$current(t1);
  36051. }
  36052. };
  36053. A.SkipIterable.prototype = {
  36054. skip$1(_, count) {
  36055. A.ArgumentError_checkNotNull(count, "count");
  36056. A.RangeError_checkNotNegative(count, "count");
  36057. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36058. },
  36059. get$iterator(_) {
  36060. var t1 = this.__internal$_iterable;
  36061. return new A.SkipIterator(t1.get$iterator(t1), this._skipCount);
  36062. }
  36063. };
  36064. A.EfficientLengthSkipIterable.prototype = {
  36065. get$length(_) {
  36066. var t1 = this.__internal$_iterable,
  36067. $length = t1.get$length(t1) - this._skipCount;
  36068. if ($length >= 0)
  36069. return $length;
  36070. return 0;
  36071. },
  36072. skip$1(_, count) {
  36073. A.ArgumentError_checkNotNull(count, "count");
  36074. A.RangeError_checkNotNegative(count, "count");
  36075. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36076. },
  36077. $isEfficientLengthIterable: 1
  36078. };
  36079. A.SkipIterator.prototype = {
  36080. moveNext$0() {
  36081. var t1, i;
  36082. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36083. t1.moveNext$0();
  36084. this._skipCount = 0;
  36085. return t1.moveNext$0();
  36086. },
  36087. get$current(_) {
  36088. var t1 = this._iterator;
  36089. return t1.get$current(t1);
  36090. }
  36091. };
  36092. A.SkipWhileIterable.prototype = {
  36093. get$iterator(_) {
  36094. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36095. }
  36096. };
  36097. A.SkipWhileIterator.prototype = {
  36098. moveNext$0() {
  36099. var t1, t2, _this = this;
  36100. if (!_this._hasSkipped) {
  36101. _this._hasSkipped = true;
  36102. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36103. if (!t2.call$1(t1.get$current(t1)))
  36104. return true;
  36105. }
  36106. return _this._iterator.moveNext$0();
  36107. },
  36108. get$current(_) {
  36109. var t1 = this._iterator;
  36110. return t1.get$current(t1);
  36111. }
  36112. };
  36113. A.EmptyIterable.prototype = {
  36114. get$iterator(_) {
  36115. return B.C_EmptyIterator;
  36116. },
  36117. get$isEmpty(_) {
  36118. return true;
  36119. },
  36120. get$length(_) {
  36121. return 0;
  36122. },
  36123. get$first(_) {
  36124. throw A.wrapException(A.IterableElementError_noElement());
  36125. },
  36126. get$last(_) {
  36127. throw A.wrapException(A.IterableElementError_noElement());
  36128. },
  36129. get$single(_) {
  36130. throw A.wrapException(A.IterableElementError_noElement());
  36131. },
  36132. elementAt$1(_, index) {
  36133. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36134. },
  36135. contains$1(_, element) {
  36136. return false;
  36137. },
  36138. every$1(_, test) {
  36139. return true;
  36140. },
  36141. any$1(_, test) {
  36142. return false;
  36143. },
  36144. join$1(_, separator) {
  36145. return "";
  36146. },
  36147. where$1(_, test) {
  36148. return this;
  36149. },
  36150. map$1$1(_, toElement, $T) {
  36151. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36152. },
  36153. skip$1(_, count) {
  36154. A.RangeError_checkNotNegative(count, "count");
  36155. return this;
  36156. },
  36157. take$1(_, count) {
  36158. A.RangeError_checkNotNegative(count, "count");
  36159. return this;
  36160. },
  36161. toList$1$growable(_, growable) {
  36162. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36163. return t1;
  36164. },
  36165. toList$0(_) {
  36166. return this.toList$1$growable(0, true);
  36167. },
  36168. toSet$0(_) {
  36169. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36170. }
  36171. };
  36172. A.EmptyIterator.prototype = {
  36173. moveNext$0() {
  36174. return false;
  36175. },
  36176. get$current(_) {
  36177. throw A.wrapException(A.IterableElementError_noElement());
  36178. }
  36179. };
  36180. A.FollowedByIterable.prototype = {
  36181. get$iterator(_) {
  36182. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36183. },
  36184. get$length(_) {
  36185. var t1 = this._second;
  36186. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36187. },
  36188. get$isEmpty(_) {
  36189. var t1;
  36190. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36191. t1 = this._second;
  36192. t1 = t1.get$isEmpty(t1);
  36193. } else
  36194. t1 = false;
  36195. return t1;
  36196. },
  36197. get$isNotEmpty(_) {
  36198. var t1;
  36199. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36200. t1 = this._second;
  36201. t1 = t1.get$isNotEmpty(t1);
  36202. } else
  36203. t1 = true;
  36204. return t1;
  36205. },
  36206. contains$1(_, value) {
  36207. var t1;
  36208. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36209. t1 = this._second;
  36210. t1 = t1.contains$1(t1, value);
  36211. } else
  36212. t1 = true;
  36213. return t1;
  36214. },
  36215. get$first(_) {
  36216. var t1,
  36217. iterator = J.get$iterator$ax(this.__internal$_first);
  36218. if (iterator.moveNext$0())
  36219. return iterator.get$current(iterator);
  36220. t1 = this._second;
  36221. return t1.get$first(t1);
  36222. },
  36223. get$last(_) {
  36224. var last,
  36225. t1 = this._second,
  36226. iterator = t1.get$iterator(t1);
  36227. if (iterator.moveNext$0()) {
  36228. last = iterator.get$current(iterator);
  36229. for (; iterator.moveNext$0();)
  36230. last = iterator.get$current(iterator);
  36231. return last;
  36232. }
  36233. return J.get$last$ax(this.__internal$_first);
  36234. }
  36235. };
  36236. A.EfficientLengthFollowedByIterable.prototype = {
  36237. elementAt$1(_, index) {
  36238. var t1 = this.__internal$_first,
  36239. t2 = J.getInterceptor$asx(t1),
  36240. firstLength = t2.get$length(t1);
  36241. if (index < firstLength)
  36242. return t2.elementAt$1(t1, index);
  36243. t1 = this._second;
  36244. return t1.elementAt$1(t1, index - firstLength);
  36245. },
  36246. get$first(_) {
  36247. var t1 = this.__internal$_first,
  36248. t2 = J.getInterceptor$asx(t1);
  36249. if (t2.get$isNotEmpty(t1))
  36250. return t2.get$first(t1);
  36251. t1 = this._second;
  36252. return t1.get$first(t1);
  36253. },
  36254. get$last(_) {
  36255. var t1 = this._second;
  36256. if (t1.get$isNotEmpty(t1))
  36257. return t1.get$last(t1);
  36258. return J.get$last$ax(this.__internal$_first);
  36259. },
  36260. $isEfficientLengthIterable: 1
  36261. };
  36262. A.FollowedByIterator.prototype = {
  36263. moveNext$0() {
  36264. var t1, _this = this;
  36265. if (_this._currentIterator.moveNext$0())
  36266. return true;
  36267. t1 = _this._nextIterable;
  36268. if (t1 != null) {
  36269. t1 = t1.get$iterator(t1);
  36270. _this._currentIterator = t1;
  36271. _this._nextIterable = null;
  36272. return t1.moveNext$0();
  36273. }
  36274. return false;
  36275. },
  36276. get$current(_) {
  36277. var t1 = this._currentIterator;
  36278. return t1.get$current(t1);
  36279. }
  36280. };
  36281. A.WhereTypeIterable.prototype = {
  36282. get$iterator(_) {
  36283. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36284. }
  36285. };
  36286. A.WhereTypeIterator.prototype = {
  36287. moveNext$0() {
  36288. var t1, t2;
  36289. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36290. if (t2._is(t1.get$current(t1)))
  36291. return true;
  36292. return false;
  36293. },
  36294. get$current(_) {
  36295. var t1 = this._source;
  36296. return this.$ti._precomputed1._as(t1.get$current(t1));
  36297. }
  36298. };
  36299. A.NonNullsIterable.prototype = {
  36300. get$_firstNonNull() {
  36301. var t1, element;
  36302. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36303. element = t1.get$current(t1);
  36304. if (element != null)
  36305. return element;
  36306. }
  36307. return null;
  36308. },
  36309. get$isEmpty(_) {
  36310. return this.get$_firstNonNull() == null;
  36311. },
  36312. get$isNotEmpty(_) {
  36313. return this.get$_firstNonNull() != null;
  36314. },
  36315. get$first(_) {
  36316. var t1 = this.get$_firstNonNull();
  36317. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36318. },
  36319. get$iterator(_) {
  36320. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36321. }
  36322. };
  36323. A.NonNullsIterator.prototype = {
  36324. moveNext$0() {
  36325. var t1, next;
  36326. this.__internal$_current = null;
  36327. for (t1 = this._source; t1.moveNext$0();) {
  36328. next = t1.get$current(t1);
  36329. if (next != null) {
  36330. this.__internal$_current = next;
  36331. return true;
  36332. }
  36333. }
  36334. return false;
  36335. },
  36336. get$current(_) {
  36337. var t1 = this.__internal$_current;
  36338. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36339. }
  36340. };
  36341. A.FixedLengthListMixin.prototype = {
  36342. set$length(receiver, newLength) {
  36343. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36344. },
  36345. add$1(receiver, value) {
  36346. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36347. },
  36348. addAll$1(receiver, iterable) {
  36349. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36350. },
  36351. removeRange$2(receiver, start, end) {
  36352. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36353. }
  36354. };
  36355. A.UnmodifiableListMixin.prototype = {
  36356. $indexSet(_, index, value) {
  36357. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36358. },
  36359. set$length(_, newLength) {
  36360. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36361. },
  36362. add$1(_, value) {
  36363. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36364. },
  36365. addAll$1(_, iterable) {
  36366. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36367. },
  36368. sort$1(_, compare) {
  36369. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36370. },
  36371. setRange$4(_, start, end, iterable, skipCount) {
  36372. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36373. },
  36374. removeRange$2(_, start, end) {
  36375. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36376. },
  36377. fillRange$3(_, start, end, fillValue) {
  36378. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36379. }
  36380. };
  36381. A.UnmodifiableListBase.prototype = {};
  36382. A.ReversedListIterable.prototype = {
  36383. get$length(_) {
  36384. return J.get$length$asx(this._source);
  36385. },
  36386. elementAt$1(_, index) {
  36387. var t1 = this._source,
  36388. t2 = J.getInterceptor$asx(t1);
  36389. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36390. }
  36391. };
  36392. A.Symbol.prototype = {
  36393. get$hashCode(_) {
  36394. var hash = this._hashCode;
  36395. if (hash != null)
  36396. return hash;
  36397. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36398. this._hashCode = hash;
  36399. return hash;
  36400. },
  36401. toString$0(_) {
  36402. return 'Symbol("' + this.__internal$_name + '")';
  36403. },
  36404. $eq(_, other) {
  36405. if (other == null)
  36406. return false;
  36407. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36408. },
  36409. $isSymbol0: 1
  36410. };
  36411. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36412. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36413. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36414. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36415. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36416. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36417. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36418. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36419. A._Record_3_deprecation_message_span.prototype = {
  36420. get$message(_) {
  36421. return this._1;
  36422. },
  36423. $recipe: "+deprecation,message,span(1,2,3)",
  36424. $shape: 11
  36425. };
  36426. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36427. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36428. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36429. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36430. A.ConstantMapView.prototype = {};
  36431. A.ConstantMap.prototype = {
  36432. cast$2$0(_, $RK, $RV) {
  36433. var t1 = A._instanceType(this);
  36434. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], $RK, $RV);
  36435. },
  36436. get$isEmpty(_) {
  36437. return this.get$length(this) === 0;
  36438. },
  36439. get$isNotEmpty(_) {
  36440. return this.get$length(this) !== 0;
  36441. },
  36442. toString$0(_) {
  36443. return A.MapBase_mapToString(this);
  36444. },
  36445. $indexSet(_, key, value) {
  36446. A.ConstantMap__throwUnmodifiable();
  36447. },
  36448. remove$1(_, key) {
  36449. A.ConstantMap__throwUnmodifiable();
  36450. },
  36451. addAll$1(_, other) {
  36452. A.ConstantMap__throwUnmodifiable();
  36453. },
  36454. get$entries(_) {
  36455. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36456. },
  36457. entries$body$ConstantMap($async$_) {
  36458. var $async$self = this;
  36459. return function() {
  36460. var _ = $async$_;
  36461. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36462. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36463. if ($async$errorCode === 1) {
  36464. $async$errorStack.push($async$result);
  36465. $async$goto = $async$handler;
  36466. }
  36467. while (true)
  36468. switch ($async$goto) {
  36469. case 0:
  36470. // Function start
  36471. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36472. case 2:
  36473. // for condition
  36474. if (!t1.moveNext$0()) {
  36475. // goto after for
  36476. $async$goto = 3;
  36477. break;
  36478. }
  36479. key = t1.get$current(t1);
  36480. $async$goto = 4;
  36481. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36482. case 4:
  36483. // after yield
  36484. // goto for condition
  36485. $async$goto = 2;
  36486. break;
  36487. case 3:
  36488. // after for
  36489. // implicit return
  36490. return 0;
  36491. case 1:
  36492. // rethrow
  36493. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36494. }
  36495. };
  36496. };
  36497. },
  36498. $isMap: 1
  36499. };
  36500. A.ConstantStringMap.prototype = {
  36501. get$length(_) {
  36502. return this._values.length;
  36503. },
  36504. get$_keys() {
  36505. var keys = this.$keys;
  36506. if (keys == null) {
  36507. keys = Object.keys(this._jsIndex);
  36508. this.$keys = keys;
  36509. }
  36510. return keys;
  36511. },
  36512. containsKey$1(key) {
  36513. if (typeof key != "string")
  36514. return false;
  36515. if ("__proto__" === key)
  36516. return false;
  36517. return this._jsIndex.hasOwnProperty(key);
  36518. },
  36519. $index(_, key) {
  36520. if (!this.containsKey$1(key))
  36521. return null;
  36522. return this._values[this._jsIndex[key]];
  36523. },
  36524. forEach$1(_, f) {
  36525. var t1, i,
  36526. keys = this.get$_keys(),
  36527. values = this._values;
  36528. for (t1 = keys.length, i = 0; i < t1; ++i)
  36529. f.call$2(keys[i], values[i]);
  36530. },
  36531. get$keys(_) {
  36532. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36533. },
  36534. get$values(_) {
  36535. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36536. }
  36537. };
  36538. A._KeysOrValues.prototype = {
  36539. get$length(_) {
  36540. return this._elements.length;
  36541. },
  36542. get$isEmpty(_) {
  36543. return 0 === this._elements.length;
  36544. },
  36545. get$isNotEmpty(_) {
  36546. return 0 !== this._elements.length;
  36547. },
  36548. get$iterator(_) {
  36549. var t1 = this._elements;
  36550. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36551. }
  36552. };
  36553. A._KeysOrValuesOrElementsIterator.prototype = {
  36554. get$current(_) {
  36555. var t1 = this.__js_helper$_current;
  36556. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36557. },
  36558. moveNext$0() {
  36559. var _this = this,
  36560. t1 = _this.__js_helper$_index;
  36561. if (t1 >= _this.__js_helper$_length) {
  36562. _this.__js_helper$_current = null;
  36563. return false;
  36564. }
  36565. _this.__js_helper$_current = _this._elements[t1];
  36566. _this.__js_helper$_index = t1 + 1;
  36567. return true;
  36568. }
  36569. };
  36570. A.ConstantSet.prototype = {
  36571. add$1(_, value) {
  36572. A.ConstantSet__throwUnmodifiable();
  36573. },
  36574. addAll$1(_, elements) {
  36575. A.ConstantSet__throwUnmodifiable();
  36576. },
  36577. remove$1(_, value) {
  36578. A.ConstantSet__throwUnmodifiable();
  36579. }
  36580. };
  36581. A.ConstantStringSet.prototype = {
  36582. get$length(_) {
  36583. return this.__js_helper$_length;
  36584. },
  36585. get$isEmpty(_) {
  36586. return this.__js_helper$_length === 0;
  36587. },
  36588. get$isNotEmpty(_) {
  36589. return this.__js_helper$_length !== 0;
  36590. },
  36591. get$iterator(_) {
  36592. var t1, _this = this,
  36593. keys = _this.$keys;
  36594. if (keys == null) {
  36595. keys = Object.keys(_this._jsIndex);
  36596. _this.$keys = keys;
  36597. }
  36598. t1 = keys;
  36599. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36600. },
  36601. contains$1(_, key) {
  36602. if (typeof key != "string")
  36603. return false;
  36604. if ("__proto__" === key)
  36605. return false;
  36606. return this._jsIndex.hasOwnProperty(key);
  36607. },
  36608. toSet$0(_) {
  36609. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36610. }
  36611. };
  36612. A.GeneralConstantSet.prototype = {
  36613. get$length(_) {
  36614. return this._elements.length;
  36615. },
  36616. get$isEmpty(_) {
  36617. return this._elements.length === 0;
  36618. },
  36619. get$isNotEmpty(_) {
  36620. return this._elements.length !== 0;
  36621. },
  36622. get$iterator(_) {
  36623. var t1 = this._elements;
  36624. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36625. },
  36626. _getMap$0() {
  36627. var t1, t2, _i, key, _this = this,
  36628. backingMap = _this.$map;
  36629. if (backingMap == null) {
  36630. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36631. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36632. key = t1[_i];
  36633. backingMap.$indexSet(0, key, key);
  36634. }
  36635. _this.$map = backingMap;
  36636. }
  36637. return backingMap;
  36638. },
  36639. contains$1(_, key) {
  36640. return this._getMap$0().containsKey$1(key);
  36641. },
  36642. toSet$0(_) {
  36643. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36644. }
  36645. };
  36646. A.Instantiation.prototype = {
  36647. Instantiation$1(_genericClosure) {
  36648. if (false)
  36649. A.instantiatedGenericFunctionType(0, 0);
  36650. },
  36651. $eq(_, other) {
  36652. if (other == null)
  36653. return false;
  36654. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  36655. },
  36656. get$hashCode(_) {
  36657. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  36658. },
  36659. toString$0(_) {
  36660. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  36661. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  36662. }
  36663. };
  36664. A.Instantiation1.prototype = {
  36665. call$0() {
  36666. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  36667. },
  36668. call$2(a0, a1) {
  36669. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  36670. },
  36671. call$3(a0, a1, a2) {
  36672. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  36673. },
  36674. call$4(a0, a1, a2, a3) {
  36675. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  36676. },
  36677. $signature() {
  36678. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  36679. }
  36680. };
  36681. A.JSInvocationMirror.prototype = {
  36682. get$memberName() {
  36683. var t1 = this.__js_helper$_memberName;
  36684. if (t1 instanceof A.Symbol)
  36685. return t1;
  36686. return this.__js_helper$_memberName = new A.Symbol(t1);
  36687. },
  36688. get$positionalArguments() {
  36689. var t1, t2, argumentCount, list, index, _this = this;
  36690. if (_this.__js_helper$_kind === 1)
  36691. return B.List_empty6;
  36692. t1 = _this._arguments;
  36693. t2 = J.getInterceptor$asx(t1);
  36694. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  36695. if (argumentCount === 0)
  36696. return B.List_empty6;
  36697. list = [];
  36698. for (index = 0; index < argumentCount; ++index)
  36699. list.push(t2.$index(t1, index));
  36700. list.$flags = 3;
  36701. return list;
  36702. },
  36703. get$namedArguments() {
  36704. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  36705. if (_this.__js_helper$_kind !== 0)
  36706. return B.Map_empty2;
  36707. t1 = _this._namedArgumentNames;
  36708. t2 = J.getInterceptor$asx(t1);
  36709. namedArgumentCount = t2.get$length(t1);
  36710. t3 = _this._arguments;
  36711. t4 = J.getInterceptor$asx(t3);
  36712. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  36713. if (namedArgumentCount === 0)
  36714. return B.Map_empty2;
  36715. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  36716. for (i = 0; i < namedArgumentCount; ++i)
  36717. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  36718. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  36719. }
  36720. };
  36721. A.Primitives_functionNoSuchMethod_closure.prototype = {
  36722. call$2($name, argument) {
  36723. var t1 = this._box_0;
  36724. t1.names = t1.names + "$" + $name;
  36725. this.namedArgumentList.push($name);
  36726. this.$arguments.push(argument);
  36727. ++t1.argumentCount;
  36728. },
  36729. $signature: 139
  36730. };
  36731. A.SafeToStringHook.prototype = {};
  36732. A.TypeErrorDecoder.prototype = {
  36733. matchTypeError$1(message) {
  36734. var result, t1, _this = this,
  36735. match = new RegExp(_this._pattern).exec(message);
  36736. if (match == null)
  36737. return null;
  36738. result = Object.create(null);
  36739. t1 = _this._arguments;
  36740. if (t1 !== -1)
  36741. result.arguments = match[t1 + 1];
  36742. t1 = _this._argumentsExpr;
  36743. if (t1 !== -1)
  36744. result.argumentsExpr = match[t1 + 1];
  36745. t1 = _this._expr;
  36746. if (t1 !== -1)
  36747. result.expr = match[t1 + 1];
  36748. t1 = _this._method;
  36749. if (t1 !== -1)
  36750. result.method = match[t1 + 1];
  36751. t1 = _this._receiver;
  36752. if (t1 !== -1)
  36753. result.receiver = match[t1 + 1];
  36754. return result;
  36755. }
  36756. };
  36757. A.NullError.prototype = {
  36758. toString$0(_) {
  36759. return "Null check operator used on a null value";
  36760. }
  36761. };
  36762. A.JsNoSuchMethodError.prototype = {
  36763. toString$0(_) {
  36764. var t2, _this = this,
  36765. _s38_ = "NoSuchMethodError: method not found: '",
  36766. t1 = _this._method;
  36767. if (t1 == null)
  36768. return "NoSuchMethodError: " + _this.__js_helper$_message;
  36769. t2 = _this._receiver;
  36770. if (t2 == null)
  36771. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  36772. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  36773. }
  36774. };
  36775. A.UnknownJsTypeError.prototype = {
  36776. toString$0(_) {
  36777. var t1 = this.__js_helper$_message;
  36778. return t1.length === 0 ? "Error" : "Error: " + t1;
  36779. }
  36780. };
  36781. A.NullThrownFromJavaScriptException.prototype = {
  36782. toString$0(_) {
  36783. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  36784. },
  36785. $isException: 1
  36786. };
  36787. A.ExceptionAndStackTrace.prototype = {};
  36788. A._StackTrace.prototype = {
  36789. toString$0(_) {
  36790. var trace,
  36791. t1 = this._trace;
  36792. if (t1 != null)
  36793. return t1;
  36794. t1 = this._exception;
  36795. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  36796. return this._trace = trace == null ? "" : trace;
  36797. },
  36798. $isStackTrace: 1
  36799. };
  36800. A.Closure.prototype = {
  36801. toString$0(_) {
  36802. var $constructor = this.constructor,
  36803. $name = $constructor == null ? null : $constructor.name;
  36804. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  36805. },
  36806. $isFunction: 1,
  36807. get$$call() {
  36808. return this;
  36809. },
  36810. "call*": "call$1",
  36811. $requiredArgCount: 1,
  36812. $defaultValues: null
  36813. };
  36814. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  36815. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  36816. A.TearOffClosure.prototype = {};
  36817. A.StaticClosure.prototype = {
  36818. toString$0(_) {
  36819. var $name = this.$static_name;
  36820. if ($name == null)
  36821. return "Closure of unknown static method";
  36822. return "Closure '" + A.unminifyOrTag($name) + "'";
  36823. }
  36824. };
  36825. A.BoundClosure.prototype = {
  36826. $eq(_, other) {
  36827. if (other == null)
  36828. return false;
  36829. if (this === other)
  36830. return true;
  36831. if (!(other instanceof A.BoundClosure))
  36832. return false;
  36833. return this.$_target === other.$_target && this._receiver === other._receiver;
  36834. },
  36835. get$hashCode(_) {
  36836. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  36837. },
  36838. toString$0(_) {
  36839. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  36840. }
  36841. };
  36842. A.RuntimeError.prototype = {
  36843. toString$0(_) {
  36844. return "RuntimeError: " + this.message;
  36845. },
  36846. get$message(receiver) {
  36847. return this.message;
  36848. }
  36849. };
  36850. A._Required.prototype = {};
  36851. A.JsLinkedHashMap.prototype = {
  36852. get$length(_) {
  36853. return this.__js_helper$_length;
  36854. },
  36855. get$isEmpty(_) {
  36856. return this.__js_helper$_length === 0;
  36857. },
  36858. get$isNotEmpty(_) {
  36859. return this.__js_helper$_length !== 0;
  36860. },
  36861. get$keys(_) {
  36862. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  36863. },
  36864. get$values(_) {
  36865. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  36866. },
  36867. get$entries(_) {
  36868. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  36869. },
  36870. containsKey$1(key) {
  36871. var strings, nums;
  36872. if (typeof key == "string") {
  36873. strings = this._strings;
  36874. if (strings == null)
  36875. return false;
  36876. return strings[key] != null;
  36877. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36878. nums = this._nums;
  36879. if (nums == null)
  36880. return false;
  36881. return nums[key] != null;
  36882. } else
  36883. return this.internalContainsKey$1(key);
  36884. },
  36885. internalContainsKey$1(key) {
  36886. var rest = this.__js_helper$_rest;
  36887. if (rest == null)
  36888. return false;
  36889. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  36890. },
  36891. addAll$1(_, other) {
  36892. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  36893. },
  36894. $index(_, key) {
  36895. var strings, cell, t1, nums, _null = null;
  36896. if (typeof key == "string") {
  36897. strings = this._strings;
  36898. if (strings == null)
  36899. return _null;
  36900. cell = strings[key];
  36901. t1 = cell == null ? _null : cell.hashMapCellValue;
  36902. return t1;
  36903. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36904. nums = this._nums;
  36905. if (nums == null)
  36906. return _null;
  36907. cell = nums[key];
  36908. t1 = cell == null ? _null : cell.hashMapCellValue;
  36909. return t1;
  36910. } else
  36911. return this.internalGet$1(key);
  36912. },
  36913. internalGet$1(key) {
  36914. var bucket, index,
  36915. rest = this.__js_helper$_rest;
  36916. if (rest == null)
  36917. return null;
  36918. bucket = rest[this.internalComputeHashCode$1(key)];
  36919. index = this.internalFindBucketIndex$2(bucket, key);
  36920. if (index < 0)
  36921. return null;
  36922. return bucket[index].hashMapCellValue;
  36923. },
  36924. $indexSet(_, key, value) {
  36925. var strings, nums, _this = this;
  36926. if (typeof key == "string") {
  36927. strings = _this._strings;
  36928. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  36929. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36930. nums = _this._nums;
  36931. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  36932. } else
  36933. _this.internalSet$2(key, value);
  36934. },
  36935. internalSet$2(key, value) {
  36936. var hash, bucket, index, _this = this,
  36937. rest = _this.__js_helper$_rest;
  36938. if (rest == null)
  36939. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  36940. hash = _this.internalComputeHashCode$1(key);
  36941. bucket = rest[hash];
  36942. if (bucket == null)
  36943. rest[hash] = [_this._newLinkedCell$2(key, value)];
  36944. else {
  36945. index = _this.internalFindBucketIndex$2(bucket, key);
  36946. if (index >= 0)
  36947. bucket[index].hashMapCellValue = value;
  36948. else
  36949. bucket.push(_this._newLinkedCell$2(key, value));
  36950. }
  36951. },
  36952. putIfAbsent$2(key, ifAbsent) {
  36953. var t1, value, _this = this;
  36954. if (_this.containsKey$1(key)) {
  36955. t1 = _this.$index(0, key);
  36956. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  36957. }
  36958. value = ifAbsent.call$0();
  36959. _this.$indexSet(0, key, value);
  36960. return value;
  36961. },
  36962. remove$1(_, key) {
  36963. var _this = this;
  36964. if (typeof key == "string")
  36965. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  36966. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  36967. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  36968. else
  36969. return _this.internalRemove$1(key);
  36970. },
  36971. internalRemove$1(key) {
  36972. var hash, bucket, index, cell, _this = this,
  36973. rest = _this.__js_helper$_rest;
  36974. if (rest == null)
  36975. return null;
  36976. hash = _this.internalComputeHashCode$1(key);
  36977. bucket = rest[hash];
  36978. index = _this.internalFindBucketIndex$2(bucket, key);
  36979. if (index < 0)
  36980. return null;
  36981. cell = bucket.splice(index, 1)[0];
  36982. _this.__js_helper$_unlinkCell$1(cell);
  36983. if (bucket.length === 0)
  36984. delete rest[hash];
  36985. return cell.hashMapCellValue;
  36986. },
  36987. clear$0(_) {
  36988. var _this = this;
  36989. if (_this.__js_helper$_length > 0) {
  36990. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  36991. _this.__js_helper$_length = 0;
  36992. _this._modified$0();
  36993. }
  36994. },
  36995. forEach$1(_, action) {
  36996. var _this = this,
  36997. cell = _this._first,
  36998. modifications = _this._modifications;
  36999. for (; cell != null;) {
  37000. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37001. if (modifications !== _this._modifications)
  37002. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37003. cell = cell._next;
  37004. }
  37005. },
  37006. _addHashTableEntry$3(table, key, value) {
  37007. var cell = table[key];
  37008. if (cell == null)
  37009. table[key] = this._newLinkedCell$2(key, value);
  37010. else
  37011. cell.hashMapCellValue = value;
  37012. },
  37013. __js_helper$_removeHashTableEntry$2(table, key) {
  37014. var cell;
  37015. if (table == null)
  37016. return null;
  37017. cell = table[key];
  37018. if (cell == null)
  37019. return null;
  37020. this.__js_helper$_unlinkCell$1(cell);
  37021. delete table[key];
  37022. return cell.hashMapCellValue;
  37023. },
  37024. _modified$0() {
  37025. this._modifications = this._modifications + 1 & 1073741823;
  37026. },
  37027. _newLinkedCell$2(key, value) {
  37028. var t1, _this = this,
  37029. cell = new A.LinkedHashMapCell(key, value);
  37030. if (_this._first == null)
  37031. _this._first = _this._last = cell;
  37032. else {
  37033. t1 = _this._last;
  37034. t1.toString;
  37035. cell._previous = t1;
  37036. _this._last = t1._next = cell;
  37037. }
  37038. ++_this.__js_helper$_length;
  37039. _this._modified$0();
  37040. return cell;
  37041. },
  37042. __js_helper$_unlinkCell$1(cell) {
  37043. var _this = this,
  37044. previous = cell._previous,
  37045. next = cell._next;
  37046. if (previous == null)
  37047. _this._first = next;
  37048. else
  37049. previous._next = next;
  37050. if (next == null)
  37051. _this._last = previous;
  37052. else
  37053. next._previous = previous;
  37054. --_this.__js_helper$_length;
  37055. _this._modified$0();
  37056. },
  37057. internalComputeHashCode$1(key) {
  37058. return J.get$hashCode$(key) & 1073741823;
  37059. },
  37060. internalFindBucketIndex$2(bucket, key) {
  37061. var $length, i;
  37062. if (bucket == null)
  37063. return -1;
  37064. $length = bucket.length;
  37065. for (i = 0; i < $length; ++i)
  37066. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37067. return i;
  37068. return -1;
  37069. },
  37070. toString$0(_) {
  37071. return A.MapBase_mapToString(this);
  37072. },
  37073. _newHashTable$0() {
  37074. var table = Object.create(null);
  37075. table["<non-identifier-key>"] = table;
  37076. delete table["<non-identifier-key>"];
  37077. return table;
  37078. }
  37079. };
  37080. A.JsLinkedHashMap_addAll_closure.prototype = {
  37081. call$2(key, value) {
  37082. this.$this.$indexSet(0, key, value);
  37083. },
  37084. $signature() {
  37085. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37086. }
  37087. };
  37088. A.LinkedHashMapCell.prototype = {};
  37089. A.LinkedHashMapKeysIterable.prototype = {
  37090. get$length(_) {
  37091. return this.__js_helper$_map.__js_helper$_length;
  37092. },
  37093. get$isEmpty(_) {
  37094. return this.__js_helper$_map.__js_helper$_length === 0;
  37095. },
  37096. get$iterator(_) {
  37097. var t1 = this.__js_helper$_map;
  37098. return new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first);
  37099. },
  37100. contains$1(_, element) {
  37101. return this.__js_helper$_map.containsKey$1(element);
  37102. }
  37103. };
  37104. A.LinkedHashMapKeyIterator.prototype = {
  37105. get$current(_) {
  37106. return this.__js_helper$_current;
  37107. },
  37108. moveNext$0() {
  37109. var cell, _this = this,
  37110. t1 = _this.__js_helper$_map;
  37111. if (_this._modifications !== t1._modifications)
  37112. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37113. cell = _this._cell;
  37114. if (cell == null) {
  37115. _this.__js_helper$_current = null;
  37116. return false;
  37117. } else {
  37118. _this.__js_helper$_current = cell.hashMapCellKey;
  37119. _this._cell = cell._next;
  37120. return true;
  37121. }
  37122. }
  37123. };
  37124. A.LinkedHashMapValuesIterable.prototype = {
  37125. get$length(_) {
  37126. return this.__js_helper$_map.__js_helper$_length;
  37127. },
  37128. get$isEmpty(_) {
  37129. return this.__js_helper$_map.__js_helper$_length === 0;
  37130. },
  37131. get$iterator(_) {
  37132. var t1 = this.__js_helper$_map;
  37133. return new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first);
  37134. }
  37135. };
  37136. A.LinkedHashMapValueIterator.prototype = {
  37137. get$current(_) {
  37138. return this.__js_helper$_current;
  37139. },
  37140. moveNext$0() {
  37141. var cell, _this = this,
  37142. t1 = _this.__js_helper$_map;
  37143. if (_this._modifications !== t1._modifications)
  37144. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37145. cell = _this._cell;
  37146. if (cell == null) {
  37147. _this.__js_helper$_current = null;
  37148. return false;
  37149. } else {
  37150. _this.__js_helper$_current = cell.hashMapCellValue;
  37151. _this._cell = cell._next;
  37152. return true;
  37153. }
  37154. }
  37155. };
  37156. A.LinkedHashMapEntriesIterable.prototype = {
  37157. get$length(_) {
  37158. return this.__js_helper$_map.__js_helper$_length;
  37159. },
  37160. get$isEmpty(_) {
  37161. return this.__js_helper$_map.__js_helper$_length === 0;
  37162. },
  37163. get$iterator(_) {
  37164. var t1 = this.__js_helper$_map;
  37165. return new A.LinkedHashMapEntryIterator(t1, t1._modifications, t1._first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37166. }
  37167. };
  37168. A.LinkedHashMapEntryIterator.prototype = {
  37169. get$current(_) {
  37170. var t1 = this.__js_helper$_current;
  37171. t1.toString;
  37172. return t1;
  37173. },
  37174. moveNext$0() {
  37175. var cell, _this = this,
  37176. t1 = _this.__js_helper$_map;
  37177. if (_this._modifications !== t1._modifications)
  37178. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37179. cell = _this._cell;
  37180. if (cell == null) {
  37181. _this.__js_helper$_current = null;
  37182. return false;
  37183. } else {
  37184. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37185. _this._cell = cell._next;
  37186. return true;
  37187. }
  37188. }
  37189. };
  37190. A.JsIdentityLinkedHashMap.prototype = {
  37191. internalComputeHashCode$1(key) {
  37192. return A.objectHashCode(key) & 1073741823;
  37193. },
  37194. internalFindBucketIndex$2(bucket, key) {
  37195. var $length, i, t1;
  37196. if (bucket == null)
  37197. return -1;
  37198. $length = bucket.length;
  37199. for (i = 0; i < $length; ++i) {
  37200. t1 = bucket[i].hashMapCellKey;
  37201. if (t1 == null ? key == null : t1 === key)
  37202. return i;
  37203. }
  37204. return -1;
  37205. }
  37206. };
  37207. A.JsConstantLinkedHashMap.prototype = {
  37208. internalComputeHashCode$1(key) {
  37209. return A.constantHashCode(key) & 1073741823;
  37210. },
  37211. internalFindBucketIndex$2(bucket, key) {
  37212. var $length, i;
  37213. if (bucket == null)
  37214. return -1;
  37215. $length = bucket.length;
  37216. for (i = 0; i < $length; ++i)
  37217. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37218. return i;
  37219. return -1;
  37220. }
  37221. };
  37222. A.initHooks_closure.prototype = {
  37223. call$1(o) {
  37224. return this.getTag(o);
  37225. },
  37226. $signature: 100
  37227. };
  37228. A.initHooks_closure0.prototype = {
  37229. call$2(o, tag) {
  37230. return this.getUnknownTag(o, tag);
  37231. },
  37232. $signature: 387
  37233. };
  37234. A.initHooks_closure1.prototype = {
  37235. call$1(tag) {
  37236. return this.prototypeForTag(tag);
  37237. },
  37238. $signature: 199
  37239. };
  37240. A._Record.prototype = {
  37241. toString$0(_) {
  37242. return this._toString$1(false);
  37243. },
  37244. _toString$1(safe) {
  37245. var t2, separator, i, key, value,
  37246. keys = this._fieldKeys$0(),
  37247. values = this._getFieldValues$0(),
  37248. t1 = (safe ? "Record " : "") + "(";
  37249. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37250. t1 += separator;
  37251. key = keys[i];
  37252. if (typeof key == "string")
  37253. t1 = t1 + key + ": ";
  37254. value = values[i];
  37255. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37256. }
  37257. t1 += ")";
  37258. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37259. },
  37260. _fieldKeys$0() {
  37261. var t1,
  37262. shapeTag = this.$shape;
  37263. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  37264. $._Record__computedFieldKeys.push(null);
  37265. t1 = $._Record__computedFieldKeys[shapeTag];
  37266. if (t1 == null) {
  37267. t1 = this._computeFieldKeys$0();
  37268. $._Record__computedFieldKeys[shapeTag] = t1;
  37269. }
  37270. return t1;
  37271. },
  37272. _computeFieldKeys$0() {
  37273. var i, names, last,
  37274. recipe = this.$recipe,
  37275. position = recipe.indexOf("("),
  37276. joinedNames = recipe.substring(1, position),
  37277. fields = recipe.substring(position),
  37278. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37279. t1 = type$.Object,
  37280. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37281. for (i = 0; i < arity; ++i)
  37282. result[i] = i;
  37283. if (joinedNames !== "") {
  37284. names = joinedNames.split(",");
  37285. i = names.length;
  37286. for (last = arity; i > 0;) {
  37287. --last;
  37288. --i;
  37289. result[last] = names[i];
  37290. }
  37291. }
  37292. return A.List_List$unmodifiable(result, t1);
  37293. }
  37294. };
  37295. A._Record2.prototype = {
  37296. _getFieldValues$0() {
  37297. return [this._0, this._1];
  37298. },
  37299. $eq(_, other) {
  37300. if (other == null)
  37301. return false;
  37302. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37303. },
  37304. get$hashCode(_) {
  37305. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37306. }
  37307. };
  37308. A._Record1.prototype = {
  37309. _getFieldValues$0() {
  37310. return [this._0];
  37311. },
  37312. $eq(_, other) {
  37313. if (other == null)
  37314. return false;
  37315. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37316. },
  37317. get$hashCode(_) {
  37318. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37319. }
  37320. };
  37321. A._Record3.prototype = {
  37322. _getFieldValues$0() {
  37323. return [this._0, this._1, this._2];
  37324. },
  37325. $eq(_, other) {
  37326. var _this = this;
  37327. if (other == null)
  37328. return false;
  37329. 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);
  37330. },
  37331. get$hashCode(_) {
  37332. var _this = this;
  37333. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37334. }
  37335. };
  37336. A._RecordN.prototype = {
  37337. _getFieldValues$0() {
  37338. return this._values;
  37339. },
  37340. $eq(_, other) {
  37341. if (other == null)
  37342. return false;
  37343. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37344. },
  37345. get$hashCode(_) {
  37346. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37347. }
  37348. };
  37349. A.JSSyntaxRegExp.prototype = {
  37350. toString$0(_) {
  37351. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37352. },
  37353. get$_nativeGlobalVersion() {
  37354. var _this = this,
  37355. t1 = _this._nativeGlobalRegExp;
  37356. if (t1 != null)
  37357. return t1;
  37358. t1 = _this._nativeRegExp;
  37359. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "g");
  37360. },
  37361. get$_nativeAnchoredVersion() {
  37362. var _this = this,
  37363. t1 = _this._nativeAnchoredRegExp;
  37364. if (t1 != null)
  37365. return t1;
  37366. t1 = _this._nativeRegExp;
  37367. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "y");
  37368. },
  37369. _computeHasCaptures$0() {
  37370. var t2,
  37371. t1 = this.pattern;
  37372. if (!B.JSString_methods.contains$1(t1, "("))
  37373. return false;
  37374. t2 = this._nativeRegExp.unicode ? "u" : "";
  37375. return new RegExp("(?:)|" + t1, t2).exec("").length > 1;
  37376. },
  37377. firstMatch$1(string) {
  37378. var m = this._nativeRegExp.exec(string);
  37379. if (m == null)
  37380. return null;
  37381. return new A._MatchImplementation(m);
  37382. },
  37383. allMatches$2(_, string, start) {
  37384. var t1 = string.length;
  37385. if (start > t1)
  37386. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37387. return new A._AllMatchesIterable(this, string, start);
  37388. },
  37389. allMatches$1(_, string) {
  37390. return this.allMatches$2(0, string, 0);
  37391. },
  37392. _execGlobal$2(string, start) {
  37393. var match,
  37394. regexp = this.get$_nativeGlobalVersion();
  37395. regexp.lastIndex = start;
  37396. match = regexp.exec(string);
  37397. if (match == null)
  37398. return null;
  37399. return new A._MatchImplementation(match);
  37400. },
  37401. _execAnchored$2(string, start) {
  37402. var match,
  37403. regexp = this.get$_nativeAnchoredVersion();
  37404. regexp.lastIndex = start;
  37405. match = regexp.exec(string);
  37406. if (match == null)
  37407. return null;
  37408. return new A._MatchImplementation(match);
  37409. },
  37410. matchAsPrefix$2(_, string, start) {
  37411. if (start < 0 || start > string.length)
  37412. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37413. return this._execAnchored$2(string, start);
  37414. }
  37415. };
  37416. A._MatchImplementation.prototype = {
  37417. get$start(_) {
  37418. return this._match.index;
  37419. },
  37420. get$end(_) {
  37421. var t1 = this._match;
  37422. return t1.index + t1[0].length;
  37423. },
  37424. namedGroup$1($name) {
  37425. var result,
  37426. groups = this._match.groups;
  37427. if (groups != null) {
  37428. result = groups[$name];
  37429. if (result != null || $name in groups)
  37430. return result;
  37431. }
  37432. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37433. },
  37434. $isMatch: 1,
  37435. $isRegExpMatch: 1
  37436. };
  37437. A._AllMatchesIterable.prototype = {
  37438. get$iterator(_) {
  37439. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37440. }
  37441. };
  37442. A._AllMatchesIterator.prototype = {
  37443. get$current(_) {
  37444. var t1 = this.__js_helper$_current;
  37445. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37446. },
  37447. moveNext$0() {
  37448. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37449. string = _this.__js_helper$_string;
  37450. if (string == null)
  37451. return false;
  37452. t1 = _this._nextIndex;
  37453. t2 = string.length;
  37454. if (t1 <= t2) {
  37455. t3 = _this._regExp;
  37456. match = t3._execGlobal$2(string, t1);
  37457. if (match != null) {
  37458. _this.__js_helper$_current = match;
  37459. nextIndex = match.get$end(0);
  37460. if (match._match.index === nextIndex) {
  37461. t1 = false;
  37462. if (t3._nativeRegExp.unicode) {
  37463. t3 = _this._nextIndex;
  37464. t4 = t3 + 1;
  37465. if (t4 < t2) {
  37466. t2 = string.charCodeAt(t3);
  37467. if (t2 >= 55296 && t2 <= 56319) {
  37468. t1 = string.charCodeAt(t4);
  37469. t1 = t1 >= 56320 && t1 <= 57343;
  37470. }
  37471. }
  37472. }
  37473. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37474. }
  37475. _this._nextIndex = nextIndex;
  37476. return true;
  37477. }
  37478. }
  37479. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37480. return false;
  37481. }
  37482. };
  37483. A.StringMatch.prototype = {
  37484. get$end(_) {
  37485. return this.start + this.pattern.length;
  37486. },
  37487. $isMatch: 1,
  37488. get$start(receiver) {
  37489. return this.start;
  37490. }
  37491. };
  37492. A._StringAllMatchesIterable.prototype = {
  37493. get$iterator(_) {
  37494. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37495. },
  37496. get$first(_) {
  37497. var t1 = this._pattern,
  37498. index = this._input.indexOf(t1, this.__js_helper$_index);
  37499. if (index >= 0)
  37500. return new A.StringMatch(index, t1);
  37501. throw A.wrapException(A.IterableElementError_noElement());
  37502. }
  37503. };
  37504. A._StringAllMatchesIterator.prototype = {
  37505. moveNext$0() {
  37506. var index, end, _this = this,
  37507. t1 = _this.__js_helper$_index,
  37508. t2 = _this._pattern,
  37509. t3 = t2.length,
  37510. t4 = _this._input,
  37511. t5 = t4.length;
  37512. if (t1 + t3 > t5) {
  37513. _this.__js_helper$_current = null;
  37514. return false;
  37515. }
  37516. index = t4.indexOf(t2, t1);
  37517. if (index < 0) {
  37518. _this.__js_helper$_index = t5 + 1;
  37519. _this.__js_helper$_current = null;
  37520. return false;
  37521. }
  37522. end = index + t3;
  37523. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37524. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37525. return true;
  37526. },
  37527. get$current(_) {
  37528. var t1 = this.__js_helper$_current;
  37529. t1.toString;
  37530. return t1;
  37531. }
  37532. };
  37533. A._Cell.prototype = {
  37534. readLocal$1$0() {
  37535. var t1 = this.__late_helper$_value;
  37536. if (t1 === this)
  37537. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37538. return t1;
  37539. },
  37540. readLocal$0() {
  37541. return this.readLocal$1$0(type$.dynamic);
  37542. },
  37543. _readLocal$0() {
  37544. var t1 = this.__late_helper$_value;
  37545. if (t1 === this)
  37546. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37547. return t1;
  37548. }
  37549. };
  37550. A.NativeByteBuffer.prototype = {
  37551. get$runtimeType(receiver) {
  37552. return B.Type_ByteBuffer_rqD;
  37553. },
  37554. $isTrustedGetRuntimeType: 1,
  37555. $isByteBuffer: 1
  37556. };
  37557. A.NativeTypedData.prototype = {
  37558. _invalidPosition$3(receiver, position, $length, $name) {
  37559. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37560. throw A.wrapException(t1);
  37561. },
  37562. _checkPosition$3(receiver, position, $length, $name) {
  37563. if (position >>> 0 !== position || position > $length)
  37564. this._invalidPosition$3(receiver, position, $length, $name);
  37565. }
  37566. };
  37567. A.NativeByteData.prototype = {
  37568. get$runtimeType(receiver) {
  37569. return B.Type_ByteData_9dB;
  37570. },
  37571. $isTrustedGetRuntimeType: 1,
  37572. $isByteData: 1
  37573. };
  37574. A.NativeTypedArray.prototype = {
  37575. get$length(receiver) {
  37576. return receiver.length;
  37577. },
  37578. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37579. var count, sourceLength,
  37580. targetLength = receiver.length;
  37581. this._checkPosition$3(receiver, start, targetLength, "start");
  37582. this._checkPosition$3(receiver, end, targetLength, "end");
  37583. if (start > end)
  37584. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37585. count = end - start;
  37586. if (skipCount < 0)
  37587. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37588. sourceLength = source.length;
  37589. if (sourceLength - skipCount < count)
  37590. throw A.wrapException(A.StateError$("Not enough elements"));
  37591. if (skipCount !== 0 || sourceLength !== count)
  37592. source = source.subarray(skipCount, skipCount + count);
  37593. receiver.set(source, start);
  37594. },
  37595. $isJavaScriptIndexingBehavior: 1
  37596. };
  37597. A.NativeTypedArrayOfDouble.prototype = {
  37598. $index(receiver, index) {
  37599. A._checkValidIndex(index, receiver, receiver.length);
  37600. return receiver[index];
  37601. },
  37602. $indexSet(receiver, index, value) {
  37603. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37604. A._checkValidIndex(index, receiver, receiver.length);
  37605. receiver[index] = value;
  37606. },
  37607. setRange$4(receiver, start, end, iterable, skipCount) {
  37608. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37609. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37610. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37611. return;
  37612. }
  37613. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37614. },
  37615. $isEfficientLengthIterable: 1,
  37616. $isIterable: 1,
  37617. $isList: 1
  37618. };
  37619. A.NativeTypedArrayOfInt.prototype = {
  37620. $indexSet(receiver, index, value) {
  37621. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37622. A._checkValidIndex(index, receiver, receiver.length);
  37623. receiver[index] = value;
  37624. },
  37625. setRange$4(receiver, start, end, iterable, skipCount) {
  37626. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37627. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37628. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37629. return;
  37630. }
  37631. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37632. },
  37633. $isEfficientLengthIterable: 1,
  37634. $isIterable: 1,
  37635. $isList: 1
  37636. };
  37637. A.NativeFloat32List.prototype = {
  37638. get$runtimeType(receiver) {
  37639. return B.Type_Float32List_9Kz;
  37640. },
  37641. sublist$2(receiver, start, end) {
  37642. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37643. },
  37644. sublist$1(receiver, start) {
  37645. return this.sublist$2(receiver, start, null);
  37646. },
  37647. $isTrustedGetRuntimeType: 1,
  37648. $isFloat32List: 1
  37649. };
  37650. A.NativeFloat64List.prototype = {
  37651. get$runtimeType(receiver) {
  37652. return B.Type_Float64List_9Kz;
  37653. },
  37654. sublist$2(receiver, start, end) {
  37655. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37656. },
  37657. sublist$1(receiver, start) {
  37658. return this.sublist$2(receiver, start, null);
  37659. },
  37660. $isTrustedGetRuntimeType: 1,
  37661. $isFloat64List: 1
  37662. };
  37663. A.NativeInt16List.prototype = {
  37664. get$runtimeType(receiver) {
  37665. return B.Type_Int16List_s5h;
  37666. },
  37667. $index(receiver, index) {
  37668. A._checkValidIndex(index, receiver, receiver.length);
  37669. return receiver[index];
  37670. },
  37671. sublist$2(receiver, start, end) {
  37672. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37673. },
  37674. sublist$1(receiver, start) {
  37675. return this.sublist$2(receiver, start, null);
  37676. },
  37677. $isTrustedGetRuntimeType: 1,
  37678. $isInt16List: 1
  37679. };
  37680. A.NativeInt32List.prototype = {
  37681. get$runtimeType(receiver) {
  37682. return B.Type_Int32List_O8Z;
  37683. },
  37684. $index(receiver, index) {
  37685. A._checkValidIndex(index, receiver, receiver.length);
  37686. return receiver[index];
  37687. },
  37688. sublist$2(receiver, start, end) {
  37689. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37690. },
  37691. sublist$1(receiver, start) {
  37692. return this.sublist$2(receiver, start, null);
  37693. },
  37694. $isTrustedGetRuntimeType: 1,
  37695. $isInt32List: 1
  37696. };
  37697. A.NativeInt8List.prototype = {
  37698. get$runtimeType(receiver) {
  37699. return B.Type_Int8List_rFV;
  37700. },
  37701. $index(receiver, index) {
  37702. A._checkValidIndex(index, receiver, receiver.length);
  37703. return receiver[index];
  37704. },
  37705. sublist$2(receiver, start, end) {
  37706. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37707. },
  37708. sublist$1(receiver, start) {
  37709. return this.sublist$2(receiver, start, null);
  37710. },
  37711. $isTrustedGetRuntimeType: 1,
  37712. $isInt8List: 1
  37713. };
  37714. A.NativeUint16List.prototype = {
  37715. get$runtimeType(receiver) {
  37716. return B.Type_Uint16List_kmP;
  37717. },
  37718. $index(receiver, index) {
  37719. A._checkValidIndex(index, receiver, receiver.length);
  37720. return receiver[index];
  37721. },
  37722. sublist$2(receiver, start, end) {
  37723. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37724. },
  37725. sublist$1(receiver, start) {
  37726. return this.sublist$2(receiver, start, null);
  37727. },
  37728. $isTrustedGetRuntimeType: 1,
  37729. $isUint16List: 1
  37730. };
  37731. A.NativeUint32List.prototype = {
  37732. get$runtimeType(receiver) {
  37733. return B.Type_Uint32List_kmP;
  37734. },
  37735. $index(receiver, index) {
  37736. A._checkValidIndex(index, receiver, receiver.length);
  37737. return receiver[index];
  37738. },
  37739. sublist$2(receiver, start, end) {
  37740. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37741. },
  37742. sublist$1(receiver, start) {
  37743. return this.sublist$2(receiver, start, null);
  37744. },
  37745. $isTrustedGetRuntimeType: 1,
  37746. $isUint32List: 1
  37747. };
  37748. A.NativeUint8ClampedList.prototype = {
  37749. get$runtimeType(receiver) {
  37750. return B.Type_Uint8ClampedList_04U;
  37751. },
  37752. get$length(receiver) {
  37753. return receiver.length;
  37754. },
  37755. $index(receiver, index) {
  37756. A._checkValidIndex(index, receiver, receiver.length);
  37757. return receiver[index];
  37758. },
  37759. sublist$2(receiver, start, end) {
  37760. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37761. },
  37762. sublist$1(receiver, start) {
  37763. return this.sublist$2(receiver, start, null);
  37764. },
  37765. $isTrustedGetRuntimeType: 1,
  37766. $isUint8ClampedList: 1
  37767. };
  37768. A.NativeUint8List.prototype = {
  37769. get$runtimeType(receiver) {
  37770. return B.Type_Uint8List_8Eb;
  37771. },
  37772. get$length(receiver) {
  37773. return receiver.length;
  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 Uint8Array(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. $isNativeUint8List: 1,
  37787. $isUint8List: 1
  37788. };
  37789. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  37790. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37791. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  37792. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37793. A.Rti.prototype = {
  37794. _eval$1(recipe) {
  37795. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  37796. },
  37797. _bind$1(typeOrTuple) {
  37798. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  37799. }
  37800. };
  37801. A._FunctionParameters.prototype = {};
  37802. A._Type.prototype = {
  37803. toString$0(_) {
  37804. return A._rtiToString(this._rti, null);
  37805. }
  37806. };
  37807. A._Error.prototype = {
  37808. toString$0(_) {
  37809. return this.__rti$_message;
  37810. }
  37811. };
  37812. A._TypeError.prototype = {
  37813. get$message(_) {
  37814. return this.__rti$_message;
  37815. },
  37816. $isTypeError: 1
  37817. };
  37818. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  37819. call$1(__wc0_formal) {
  37820. var t1 = this._box_0,
  37821. f = t1.storedCallback;
  37822. t1.storedCallback = null;
  37823. f.call$0();
  37824. },
  37825. $signature: 64
  37826. };
  37827. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  37828. call$1(callback) {
  37829. var t1, t2;
  37830. this._box_0.storedCallback = callback;
  37831. t1 = this.div;
  37832. t2 = this.span;
  37833. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  37834. },
  37835. $signature: 37
  37836. };
  37837. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  37838. call$0() {
  37839. this.callback.call$0();
  37840. },
  37841. $signature: 1
  37842. };
  37843. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  37844. call$0() {
  37845. this.callback.call$0();
  37846. },
  37847. $signature: 1
  37848. };
  37849. A._TimerImpl.prototype = {
  37850. _TimerImpl$2(milliseconds, callback) {
  37851. if (self.setTimeout != null)
  37852. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  37853. else
  37854. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  37855. },
  37856. _TimerImpl$periodic$2(milliseconds, callback) {
  37857. if (self.setTimeout != null)
  37858. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  37859. else
  37860. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  37861. },
  37862. cancel$0() {
  37863. if (self.setTimeout != null) {
  37864. var t1 = this._handle;
  37865. if (t1 == null)
  37866. return;
  37867. if (this._once)
  37868. self.clearTimeout(t1);
  37869. else
  37870. self.clearInterval(t1);
  37871. this._handle = null;
  37872. } else
  37873. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  37874. }
  37875. };
  37876. A._TimerImpl_internalCallback.prototype = {
  37877. call$0() {
  37878. var t1 = this.$this;
  37879. t1._handle = null;
  37880. t1._tick = 1;
  37881. this.callback.call$0();
  37882. },
  37883. $signature: 0
  37884. };
  37885. A._TimerImpl$periodic_closure.prototype = {
  37886. call$0() {
  37887. var duration, _this = this,
  37888. t1 = _this.$this,
  37889. tick = t1._tick + 1,
  37890. t2 = _this.milliseconds;
  37891. if (t2 > 0) {
  37892. duration = Date.now() - _this.start;
  37893. if (duration > (tick + 1) * t2)
  37894. tick = B.JSInt_methods.$tdiv(duration, t2);
  37895. }
  37896. t1._tick = tick;
  37897. _this.callback.call$1(t1);
  37898. },
  37899. $signature: 1
  37900. };
  37901. A._AsyncAwaitCompleter.prototype = {
  37902. complete$1(value) {
  37903. var t1, _this = this;
  37904. if (value == null)
  37905. value = _this.$ti._precomputed1._as(value);
  37906. if (!_this.isSync)
  37907. _this._future._asyncComplete$1(value);
  37908. else {
  37909. t1 = _this._future;
  37910. if (_this.$ti._eval$1("Future<1>")._is(value))
  37911. t1._chainFuture$1(value);
  37912. else
  37913. t1._completeWithValue$1(value);
  37914. }
  37915. },
  37916. completeError$2(e, st) {
  37917. var t1 = this._future;
  37918. if (this.isSync)
  37919. t1._completeErrorObject$1(new A.AsyncError(e, st));
  37920. else
  37921. t1._asyncCompleteErrorObject$1(new A.AsyncError(e, st));
  37922. }
  37923. };
  37924. A._awaitOnObject_closure.prototype = {
  37925. call$1(result) {
  37926. return this.bodyFunction.call$2(0, result);
  37927. },
  37928. $signature: 75
  37929. };
  37930. A._awaitOnObject_closure0.prototype = {
  37931. call$2(error, stackTrace) {
  37932. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  37933. },
  37934. $signature: 390
  37935. };
  37936. A._wrapJsFunctionForAsync_closure.prototype = {
  37937. call$2(errorCode, result) {
  37938. this.$protected(errorCode, result);
  37939. },
  37940. $signature: 379
  37941. };
  37942. A._SyncStarIterator.prototype = {
  37943. get$current(_) {
  37944. return this._async$_current;
  37945. },
  37946. _resumeBody$2(errorCode, errorValue) {
  37947. var body, t1, exception;
  37948. errorCode = errorCode;
  37949. errorValue = errorValue;
  37950. body = this._body;
  37951. for (; true;)
  37952. try {
  37953. t1 = body(this, errorCode, errorValue);
  37954. return t1;
  37955. } catch (exception) {
  37956. errorValue = exception;
  37957. errorCode = 1;
  37958. }
  37959. },
  37960. moveNext$0() {
  37961. var nestedIterator, t1, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  37962. for (; true;) {
  37963. nestedIterator = _this._nestedIterator;
  37964. if (nestedIterator != null)
  37965. try {
  37966. if (nestedIterator.moveNext$0()) {
  37967. t1 = nestedIterator;
  37968. _this._async$_current = t1.get$current(t1);
  37969. return true;
  37970. } else
  37971. _this._nestedIterator = null;
  37972. } catch (exception) {
  37973. errorValue = exception;
  37974. errorCode = 1;
  37975. _this._nestedIterator = null;
  37976. }
  37977. value = _this._resumeBody$2(errorCode, errorValue);
  37978. if (1 === value)
  37979. return true;
  37980. if (0 === value) {
  37981. _this._async$_current = null;
  37982. suspendedBodies = _this._suspendedBodies;
  37983. if (suspendedBodies == null || suspendedBodies.length === 0) {
  37984. _this._body = A._SyncStarIterator__terminatedBody;
  37985. return false;
  37986. }
  37987. _this._body = suspendedBodies.pop();
  37988. errorCode = 0;
  37989. errorValue = null;
  37990. continue;
  37991. }
  37992. if (2 === value) {
  37993. errorCode = 0;
  37994. errorValue = null;
  37995. continue;
  37996. }
  37997. if (3 === value) {
  37998. errorValue = _this._datum;
  37999. _this._datum = null;
  38000. suspendedBodies = _this._suspendedBodies;
  38001. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38002. _this._async$_current = null;
  38003. _this._body = A._SyncStarIterator__terminatedBody;
  38004. throw errorValue;
  38005. return false;
  38006. }
  38007. _this._body = suspendedBodies.pop();
  38008. errorCode = 1;
  38009. continue;
  38010. }
  38011. throw A.wrapException(A.StateError$("sync*"));
  38012. }
  38013. return false;
  38014. },
  38015. _yieldStar$1(iterable) {
  38016. var t1, t2, _this = this;
  38017. if (iterable instanceof A._SyncStarIterable) {
  38018. t1 = iterable._outerHelper();
  38019. t2 = _this._suspendedBodies;
  38020. if (t2 == null)
  38021. t2 = _this._suspendedBodies = [];
  38022. t2.push(_this._body);
  38023. _this._body = t1;
  38024. return 2;
  38025. } else {
  38026. _this._nestedIterator = J.get$iterator$ax(iterable);
  38027. return 2;
  38028. }
  38029. }
  38030. };
  38031. A._SyncStarIterable.prototype = {
  38032. get$iterator(_) {
  38033. return new A._SyncStarIterator(this._outerHelper());
  38034. }
  38035. };
  38036. A.AsyncError.prototype = {
  38037. toString$0(_) {
  38038. return A.S(this.error);
  38039. },
  38040. $isError: 1,
  38041. get$stackTrace() {
  38042. return this.stackTrace;
  38043. }
  38044. };
  38045. A.Future_wait_handleError.prototype = {
  38046. call$2(theError, theStackTrace) {
  38047. var _this = this,
  38048. t1 = _this._box_0,
  38049. t2 = --t1.remaining;
  38050. if (t1.values != null) {
  38051. t1.values = null;
  38052. t1.error = theError;
  38053. t1.stackTrace = theStackTrace;
  38054. if (t2 === 0 || _this.eagerError)
  38055. _this._future._completeErrorObject$1(new A.AsyncError(theError, theStackTrace));
  38056. } else if (t2 === 0 && !_this.eagerError) {
  38057. t2 = t1.error;
  38058. t2.toString;
  38059. t1 = t1.stackTrace;
  38060. t1.toString;
  38061. _this._future._completeErrorObject$1(new A.AsyncError(t2, t1));
  38062. }
  38063. },
  38064. $signature: 68
  38065. };
  38066. A.Future_wait_closure.prototype = {
  38067. call$1(value) {
  38068. var t1, value0, t3, t4, _i, t5, _this = this,
  38069. t2 = _this._box_0,
  38070. remainingResults = --t2.remaining,
  38071. valueList = t2.values;
  38072. if (valueList != null) {
  38073. J.$indexSet$ax(valueList, _this.pos, value);
  38074. if (J.$eq$(remainingResults, 0)) {
  38075. t2 = _this.T;
  38076. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38077. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38078. value0 = t3[_i];
  38079. t5 = value0;
  38080. if (t5 == null)
  38081. t5 = t2._as(t5);
  38082. J.add$1$ax(t1, t5);
  38083. }
  38084. _this._future._completeWithValue$1(t1);
  38085. }
  38086. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38087. t1 = t2.error;
  38088. t1.toString;
  38089. t2 = t2.stackTrace;
  38090. t2.toString;
  38091. _this._future._completeErrorObject$1(new A.AsyncError(t1, t2));
  38092. }
  38093. },
  38094. $signature() {
  38095. return this.T._eval$1("Null(0)");
  38096. }
  38097. };
  38098. A._Completer.prototype = {
  38099. completeError$2(error, stackTrace) {
  38100. if ((this.future._state & 30) !== 0)
  38101. throw A.wrapException(A.StateError$("Future already completed"));
  38102. this._completeErrorObject$1(A._interceptUserError(error, stackTrace));
  38103. },
  38104. completeError$1(error) {
  38105. return this.completeError$2(error, null);
  38106. }
  38107. };
  38108. A._AsyncCompleter.prototype = {
  38109. complete$1(value) {
  38110. var t1 = this.future;
  38111. if ((t1._state & 30) !== 0)
  38112. throw A.wrapException(A.StateError$("Future already completed"));
  38113. t1._asyncComplete$1(value);
  38114. },
  38115. complete$0() {
  38116. return this.complete$1(null);
  38117. },
  38118. _completeErrorObject$1(error) {
  38119. this.future._asyncCompleteErrorObject$1(error);
  38120. }
  38121. };
  38122. A._SyncCompleter.prototype = {
  38123. complete$1(value) {
  38124. var t1 = this.future;
  38125. if ((t1._state & 30) !== 0)
  38126. throw A.wrapException(A.StateError$("Future already completed"));
  38127. t1._complete$1(value);
  38128. },
  38129. _completeErrorObject$1(error) {
  38130. this.future._completeErrorObject$1(error);
  38131. }
  38132. };
  38133. A._FutureListener.prototype = {
  38134. matchesErrorTest$1(asyncError) {
  38135. if ((this.state & 15) !== 6)
  38136. return true;
  38137. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38138. },
  38139. handleError$1(asyncError) {
  38140. var exception,
  38141. errorCallback = this.errorCallback,
  38142. result = null,
  38143. t1 = type$.dynamic,
  38144. t2 = type$.Object,
  38145. t3 = asyncError.error,
  38146. t4 = this.result._zone;
  38147. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38148. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38149. else
  38150. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38151. try {
  38152. t1 = result;
  38153. return t1;
  38154. } catch (exception) {
  38155. if (type$.TypeError._is(A.unwrapException(exception))) {
  38156. if ((this.state & 1) !== 0)
  38157. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38158. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38159. } else
  38160. throw exception;
  38161. }
  38162. }
  38163. };
  38164. A._Future.prototype = {
  38165. then$1$2$onError(_, f, onError, $R) {
  38166. var result, t1,
  38167. currentZone = $.Zone__current;
  38168. if (currentZone === B.C__RootZone) {
  38169. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38170. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38171. } else {
  38172. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38173. if (onError != null)
  38174. onError = A._registerErrorHandler(onError, currentZone);
  38175. }
  38176. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38177. t1 = onError == null ? 1 : 3;
  38178. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38179. return result;
  38180. },
  38181. then$1$1(_, f, $R) {
  38182. return this.then$1$2$onError(0, f, null, $R);
  38183. },
  38184. _thenAwait$1$2(f, onError, $E) {
  38185. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38186. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38187. return result;
  38188. },
  38189. catchError$1(onError) {
  38190. var t1 = this.$ti,
  38191. t2 = $.Zone__current,
  38192. result = new A._Future(t2, t1);
  38193. if (t2 !== B.C__RootZone)
  38194. onError = A._registerErrorHandler(onError, t2);
  38195. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38196. return result;
  38197. },
  38198. whenComplete$1(action) {
  38199. var t1 = this.$ti,
  38200. t2 = $.Zone__current,
  38201. result = new A._Future(t2, t1);
  38202. if (t2 !== B.C__RootZone)
  38203. action = t2.registerCallback$1$1(action, type$.dynamic);
  38204. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38205. return result;
  38206. },
  38207. _setErrorObject$1(error) {
  38208. this._state = this._state & 1 | 16;
  38209. this._resultOrListeners = error;
  38210. },
  38211. _cloneResult$1(source) {
  38212. this._state = source._state & 30 | this._state & 1;
  38213. this._resultOrListeners = source._resultOrListeners;
  38214. },
  38215. _addListener$1(listener) {
  38216. var _this = this,
  38217. t1 = _this._state;
  38218. if (t1 <= 3) {
  38219. listener._nextListener = _this._resultOrListeners;
  38220. _this._resultOrListeners = listener;
  38221. } else {
  38222. if ((t1 & 4) !== 0) {
  38223. t1 = _this._resultOrListeners;
  38224. if ((t1._state & 24) === 0) {
  38225. t1._addListener$1(listener);
  38226. return;
  38227. }
  38228. _this._cloneResult$1(t1);
  38229. }
  38230. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38231. }
  38232. },
  38233. _prependListeners$1(listeners) {
  38234. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38235. _box_0.listeners = listeners;
  38236. if (listeners == null)
  38237. return;
  38238. t1 = _this._state;
  38239. if (t1 <= 3) {
  38240. existingListeners = _this._resultOrListeners;
  38241. _this._resultOrListeners = listeners;
  38242. if (existingListeners != null) {
  38243. next = listeners._nextListener;
  38244. for (cursor = listeners; next != null; cursor = next, next = next0)
  38245. next0 = next._nextListener;
  38246. cursor._nextListener = existingListeners;
  38247. }
  38248. } else {
  38249. if ((t1 & 4) !== 0) {
  38250. t1 = _this._resultOrListeners;
  38251. if ((t1._state & 24) === 0) {
  38252. t1._prependListeners$1(listeners);
  38253. return;
  38254. }
  38255. _this._cloneResult$1(t1);
  38256. }
  38257. _box_0.listeners = _this._reverseListeners$1(listeners);
  38258. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38259. }
  38260. },
  38261. _removeListeners$0() {
  38262. var current = this._resultOrListeners;
  38263. this._resultOrListeners = null;
  38264. return this._reverseListeners$1(current);
  38265. },
  38266. _reverseListeners$1(listeners) {
  38267. var current, prev, next;
  38268. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38269. next = current._nextListener;
  38270. current._nextListener = prev;
  38271. }
  38272. return prev;
  38273. },
  38274. _complete$1(value) {
  38275. var listeners, _this = this;
  38276. if (_this.$ti._eval$1("Future<1>")._is(value))
  38277. A._Future__chainCoreFuture(value, _this, true);
  38278. else {
  38279. listeners = _this._removeListeners$0();
  38280. _this._state = 8;
  38281. _this._resultOrListeners = value;
  38282. A._Future__propagateToListeners(_this, listeners);
  38283. }
  38284. },
  38285. _completeWithValue$1(value) {
  38286. var _this = this,
  38287. listeners = _this._removeListeners$0();
  38288. _this._state = 8;
  38289. _this._resultOrListeners = value;
  38290. A._Future__propagateToListeners(_this, listeners);
  38291. },
  38292. _completeWithResultOf$1(source) {
  38293. var t1, t2, listeners, _this = this;
  38294. if ((source._state & 16) !== 0) {
  38295. t1 = _this._zone;
  38296. t2 = source._zone;
  38297. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38298. } else
  38299. t1 = false;
  38300. if (t1)
  38301. return;
  38302. listeners = _this._removeListeners$0();
  38303. _this._cloneResult$1(source);
  38304. A._Future__propagateToListeners(_this, listeners);
  38305. },
  38306. _completeErrorObject$1(error) {
  38307. var listeners = this._removeListeners$0();
  38308. this._setErrorObject$1(error);
  38309. A._Future__propagateToListeners(this, listeners);
  38310. },
  38311. _completeError$2(error, stackTrace) {
  38312. this._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  38313. },
  38314. _asyncComplete$1(value) {
  38315. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38316. this._chainFuture$1(value);
  38317. return;
  38318. }
  38319. this._asyncCompleteWithValue$1(value);
  38320. },
  38321. _asyncCompleteWithValue$1(value) {
  38322. this._state ^= 2;
  38323. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38324. },
  38325. _chainFuture$1(value) {
  38326. A._Future__chainCoreFuture(value, this, false);
  38327. return;
  38328. },
  38329. _asyncCompleteErrorObject$1(error) {
  38330. this._state ^= 2;
  38331. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteErrorObject_closure(this, error));
  38332. },
  38333. $isFuture: 1
  38334. };
  38335. A._Future__addListener_closure.prototype = {
  38336. call$0() {
  38337. A._Future__propagateToListeners(this.$this, this.listener);
  38338. },
  38339. $signature: 0
  38340. };
  38341. A._Future__prependListeners_closure.prototype = {
  38342. call$0() {
  38343. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38344. },
  38345. $signature: 0
  38346. };
  38347. A._Future__chainCoreFuture_closure.prototype = {
  38348. call$0() {
  38349. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38350. },
  38351. $signature: 0
  38352. };
  38353. A._Future__asyncCompleteWithValue_closure.prototype = {
  38354. call$0() {
  38355. this.$this._completeWithValue$1(this.value);
  38356. },
  38357. $signature: 0
  38358. };
  38359. A._Future__asyncCompleteErrorObject_closure.prototype = {
  38360. call$0() {
  38361. this.$this._completeErrorObject$1(this.error);
  38362. },
  38363. $signature: 0
  38364. };
  38365. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38366. call$0() {
  38367. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38368. try {
  38369. t1 = _this._box_0.listener;
  38370. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38371. } catch (exception) {
  38372. e = A.unwrapException(exception);
  38373. s = A.getTraceFromException(exception);
  38374. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38375. t1 = _this._box_0;
  38376. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38377. } else {
  38378. t1 = e;
  38379. t2 = s;
  38380. if (t2 == null)
  38381. t2 = A.AsyncError_defaultStackTrace(t1);
  38382. t3 = _this._box_0;
  38383. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38384. t1 = t3;
  38385. }
  38386. t1.listenerHasError = true;
  38387. return;
  38388. }
  38389. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38390. if ((completeResult._state & 16) !== 0) {
  38391. t1 = _this._box_0;
  38392. t1.listenerValueOrError = completeResult._resultOrListeners;
  38393. t1.listenerHasError = true;
  38394. }
  38395. return;
  38396. }
  38397. if (completeResult instanceof A._Future) {
  38398. originalSource = _this._box_1.source;
  38399. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38400. completeResult.then$1$2$onError(0, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38401. t1 = _this._box_0;
  38402. t1.listenerValueOrError = joinedResult;
  38403. t1.listenerHasError = false;
  38404. }
  38405. },
  38406. $signature: 0
  38407. };
  38408. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38409. call$1(__wc0_formal) {
  38410. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38411. },
  38412. $signature: 64
  38413. };
  38414. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38415. call$2(e, s) {
  38416. this.joinedResult._completeErrorObject$1(new A.AsyncError(e, s));
  38417. },
  38418. $signature: 51
  38419. };
  38420. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38421. call$0() {
  38422. var e, s, t1, t2, t3, exception;
  38423. try {
  38424. t1 = this._box_0;
  38425. t2 = t1.listener;
  38426. t3 = t2.$ti;
  38427. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38428. } catch (exception) {
  38429. e = A.unwrapException(exception);
  38430. s = A.getTraceFromException(exception);
  38431. t1 = e;
  38432. t2 = s;
  38433. if (t2 == null)
  38434. t2 = A.AsyncError_defaultStackTrace(t1);
  38435. t3 = this._box_0;
  38436. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38437. t3.listenerHasError = true;
  38438. }
  38439. },
  38440. $signature: 0
  38441. };
  38442. A._Future__propagateToListeners_handleError.prototype = {
  38443. call$0() {
  38444. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38445. try {
  38446. asyncError = _this._box_1.source._resultOrListeners;
  38447. t1 = _this._box_0;
  38448. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38449. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38450. t1.listenerHasError = false;
  38451. }
  38452. } catch (exception) {
  38453. e = A.unwrapException(exception);
  38454. s = A.getTraceFromException(exception);
  38455. t1 = _this._box_1.source._resultOrListeners;
  38456. if (t1.error === e) {
  38457. t2 = _this._box_0;
  38458. t2.listenerValueOrError = t1;
  38459. t1 = t2;
  38460. } else {
  38461. t1 = e;
  38462. t2 = s;
  38463. if (t2 == null)
  38464. t2 = A.AsyncError_defaultStackTrace(t1);
  38465. t3 = _this._box_0;
  38466. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38467. t1 = t3;
  38468. }
  38469. t1.listenerHasError = true;
  38470. }
  38471. },
  38472. $signature: 0
  38473. };
  38474. A._AsyncCallbackEntry.prototype = {};
  38475. A.Stream.prototype = {
  38476. get$isBroadcast() {
  38477. return false;
  38478. },
  38479. get$length(_) {
  38480. var t1 = {},
  38481. future = new A._Future($.Zone__current, type$._Future_int);
  38482. t1.count = 0;
  38483. 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());
  38484. return future;
  38485. }
  38486. };
  38487. A.Stream_Stream$fromFuture_closure.prototype = {
  38488. call$1(value) {
  38489. var t1 = this.controller;
  38490. t1._async$_add$1(value);
  38491. t1._closeUnchecked$0();
  38492. },
  38493. $signature() {
  38494. return this.T._eval$1("Null(0)");
  38495. }
  38496. };
  38497. A.Stream_Stream$fromFuture_closure0.prototype = {
  38498. call$2(error, stackTrace) {
  38499. var t1 = this.controller;
  38500. t1._addError$2(error, stackTrace);
  38501. t1._closeUnchecked$0();
  38502. },
  38503. $signature: 388
  38504. };
  38505. A.Stream_length_closure.prototype = {
  38506. call$1(__wc0_formal) {
  38507. ++this._box_0.count;
  38508. },
  38509. $signature() {
  38510. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38511. }
  38512. };
  38513. A.Stream_length_closure0.prototype = {
  38514. call$0() {
  38515. this.future._complete$1(this._box_0.count);
  38516. },
  38517. $signature: 0
  38518. };
  38519. A._StreamController.prototype = {
  38520. get$stream() {
  38521. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38522. },
  38523. get$_pendingEvents() {
  38524. if ((this._state & 8) === 0)
  38525. return this._varData;
  38526. return this._varData._varData;
  38527. },
  38528. _ensurePendingEvents$0() {
  38529. var events, state, _this = this;
  38530. if ((_this._state & 8) === 0) {
  38531. events = _this._varData;
  38532. return events == null ? _this._varData = new A._PendingEvents() : events;
  38533. }
  38534. state = _this._varData;
  38535. events = state._varData;
  38536. return events == null ? state._varData = new A._PendingEvents() : events;
  38537. },
  38538. get$_subscription() {
  38539. var varData = this._varData;
  38540. return (this._state & 8) !== 0 ? varData._varData : varData;
  38541. },
  38542. _badEventState$0() {
  38543. if ((this._state & 4) !== 0)
  38544. return new A.StateError("Cannot add event after closing");
  38545. return new A.StateError("Cannot add event while adding a stream");
  38546. },
  38547. addStream$2$cancelOnError(source, cancelOnError) {
  38548. var t2, t3, t4, _this = this,
  38549. t1 = _this._state;
  38550. if (t1 >= 4)
  38551. throw A.wrapException(_this._badEventState$0());
  38552. if ((t1 & 2) !== 0) {
  38553. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38554. t1._asyncComplete$1(null);
  38555. return t1;
  38556. }
  38557. t1 = _this._varData;
  38558. t2 = cancelOnError === true;
  38559. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38560. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38561. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38562. t2 = _this._state;
  38563. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38564. t4.pause$0(0);
  38565. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38566. _this._state |= 8;
  38567. return t3;
  38568. },
  38569. _ensureDoneFuture$0() {
  38570. var t1 = this._doneFuture;
  38571. if (t1 == null)
  38572. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38573. return t1;
  38574. },
  38575. add$1(_, value) {
  38576. if (this._state >= 4)
  38577. throw A.wrapException(this._badEventState$0());
  38578. this._async$_add$1(value);
  38579. },
  38580. addError$2(error, stackTrace) {
  38581. var _0_0;
  38582. if (this._state >= 4)
  38583. throw A.wrapException(this._badEventState$0());
  38584. _0_0 = A._interceptUserError(error, stackTrace);
  38585. this._addError$2(_0_0.error, _0_0.stackTrace);
  38586. },
  38587. addError$1(error) {
  38588. return this.addError$2(error, null);
  38589. },
  38590. close$0(_) {
  38591. var _this = this,
  38592. t1 = _this._state;
  38593. if ((t1 & 4) !== 0)
  38594. return _this._ensureDoneFuture$0();
  38595. if (t1 >= 4)
  38596. throw A.wrapException(_this._badEventState$0());
  38597. _this._closeUnchecked$0();
  38598. return _this._ensureDoneFuture$0();
  38599. },
  38600. _closeUnchecked$0() {
  38601. var t1 = this._state |= 4;
  38602. if ((t1 & 1) !== 0)
  38603. this._sendDone$0();
  38604. else if ((t1 & 3) === 0)
  38605. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38606. },
  38607. _async$_add$1(value) {
  38608. var t1 = this._state;
  38609. if ((t1 & 1) !== 0)
  38610. this._sendData$1(value);
  38611. else if ((t1 & 3) === 0)
  38612. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38613. },
  38614. _addError$2(error, stackTrace) {
  38615. var t1 = this._state;
  38616. if ((t1 & 1) !== 0)
  38617. this._sendError$2(error, stackTrace);
  38618. else if ((t1 & 3) === 0)
  38619. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38620. },
  38621. _close$0() {
  38622. var addState = this._varData;
  38623. this._varData = addState._varData;
  38624. this._state &= 4294967287;
  38625. addState.addStreamFuture._asyncComplete$1(null);
  38626. },
  38627. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38628. var subscription, pendingEvents, addState, _this = this;
  38629. if ((_this._state & 3) !== 0)
  38630. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38631. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38632. pendingEvents = _this.get$_pendingEvents();
  38633. if (((_this._state |= 1) & 8) !== 0) {
  38634. addState = _this._varData;
  38635. addState._varData = subscription;
  38636. addState.addSubscription.resume$0(0);
  38637. } else
  38638. _this._varData = subscription;
  38639. subscription._setPendingEvents$1(pendingEvents);
  38640. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  38641. return subscription;
  38642. },
  38643. _recordCancel$1(subscription) {
  38644. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  38645. if ((_this._state & 8) !== 0)
  38646. result = _this._varData.cancel$0();
  38647. _this._varData = null;
  38648. _this._state = _this._state & 4294967286 | 2;
  38649. onCancel = _this.onCancel;
  38650. if (onCancel != null)
  38651. if (result == null)
  38652. try {
  38653. cancelResult = onCancel.call$0();
  38654. if (cancelResult instanceof A._Future)
  38655. result = cancelResult;
  38656. } catch (exception) {
  38657. e = A.unwrapException(exception);
  38658. s = A.getTraceFromException(exception);
  38659. result0 = new A._Future($.Zone__current, type$._Future_void);
  38660. result0._asyncCompleteErrorObject$1(new A.AsyncError(e, s));
  38661. result = result0;
  38662. }
  38663. else
  38664. result = result.whenComplete$1(onCancel);
  38665. t1 = new A._StreamController__recordCancel_complete(_this);
  38666. if (result != null)
  38667. result = result.whenComplete$1(t1);
  38668. else
  38669. t1.call$0();
  38670. return result;
  38671. },
  38672. _recordPause$1(subscription) {
  38673. if ((this._state & 8) !== 0)
  38674. this._varData.addSubscription.pause$0(0);
  38675. A._runGuarded(this.onPause);
  38676. },
  38677. _recordResume$1(subscription) {
  38678. if ((this._state & 8) !== 0)
  38679. this._varData.addSubscription.resume$0(0);
  38680. A._runGuarded(this.onResume);
  38681. },
  38682. $isEventSink: 1,
  38683. set$onPause(val) {
  38684. return this.onPause = val;
  38685. },
  38686. set$onResume(val) {
  38687. return this.onResume = val;
  38688. },
  38689. set$onCancel(val) {
  38690. return this.onCancel = val;
  38691. }
  38692. };
  38693. A._StreamController__subscribe_closure.prototype = {
  38694. call$0() {
  38695. A._runGuarded(this.$this.onListen);
  38696. },
  38697. $signature: 0
  38698. };
  38699. A._StreamController__recordCancel_complete.prototype = {
  38700. call$0() {
  38701. var doneFuture = this.$this._doneFuture;
  38702. if (doneFuture != null && (doneFuture._state & 30) === 0)
  38703. doneFuture._asyncComplete$1(null);
  38704. },
  38705. $signature: 0
  38706. };
  38707. A._SyncStreamControllerDispatch.prototype = {
  38708. _sendData$1(data) {
  38709. this.get$_subscription()._async$_add$1(data);
  38710. },
  38711. _sendError$2(error, stackTrace) {
  38712. this.get$_subscription()._addError$2(error, stackTrace);
  38713. },
  38714. _sendDone$0() {
  38715. this.get$_subscription()._close$0();
  38716. }
  38717. };
  38718. A._AsyncStreamControllerDispatch.prototype = {
  38719. _sendData$1(data) {
  38720. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  38721. },
  38722. _sendError$2(error, stackTrace) {
  38723. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  38724. },
  38725. _sendDone$0() {
  38726. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  38727. }
  38728. };
  38729. A._AsyncStreamController.prototype = {};
  38730. A._SyncStreamController.prototype = {};
  38731. A._ControllerStream.prototype = {
  38732. get$hashCode(_) {
  38733. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  38734. },
  38735. $eq(_, other) {
  38736. if (other == null)
  38737. return false;
  38738. if (this === other)
  38739. return true;
  38740. return other instanceof A._ControllerStream && other._controller === this._controller;
  38741. }
  38742. };
  38743. A._ControllerSubscription.prototype = {
  38744. _async$_onCancel$0() {
  38745. return this._controller._recordCancel$1(this);
  38746. },
  38747. _async$_onPause$0() {
  38748. this._controller._recordPause$1(this);
  38749. },
  38750. _async$_onResume$0() {
  38751. this._controller._recordResume$1(this);
  38752. }
  38753. };
  38754. A._AddStreamState.prototype = {
  38755. cancel$0() {
  38756. var cancel = this.addSubscription.cancel$0();
  38757. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  38758. }
  38759. };
  38760. A._AddStreamState_makeErrorHandler_closure.prototype = {
  38761. call$2(e, s) {
  38762. var t1 = this.controller;
  38763. t1._addError$2(e, s);
  38764. t1._close$0();
  38765. },
  38766. $signature: 51
  38767. };
  38768. A._AddStreamState_cancel_closure.prototype = {
  38769. call$0() {
  38770. this.$this.addStreamFuture._asyncComplete$1(null);
  38771. },
  38772. $signature: 1
  38773. };
  38774. A._StreamControllerAddStreamState.prototype = {};
  38775. A._BufferingStreamSubscription.prototype = {
  38776. _setPendingEvents$1(pendingEvents) {
  38777. var _this = this;
  38778. if (pendingEvents == null)
  38779. return;
  38780. _this._pending = pendingEvents;
  38781. if (pendingEvents.lastPendingEvent != null) {
  38782. _this._state = (_this._state | 128) >>> 0;
  38783. pendingEvents.schedule$1(_this);
  38784. }
  38785. },
  38786. pause$1(_, resumeSignal) {
  38787. var t2, t3, _this = this,
  38788. t1 = _this._state;
  38789. if ((t1 & 8) !== 0)
  38790. return;
  38791. t2 = (t1 + 256 | 4) >>> 0;
  38792. _this._state = t2;
  38793. if (t1 < 256) {
  38794. t3 = _this._pending;
  38795. if (t3 != null)
  38796. if (t3._state === 1)
  38797. t3._state = 3;
  38798. }
  38799. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  38800. _this._guardCallback$1(_this.get$_async$_onPause());
  38801. },
  38802. pause$0(_) {
  38803. return this.pause$1(0, null);
  38804. },
  38805. resume$0(_) {
  38806. var _this = this,
  38807. t1 = _this._state;
  38808. if ((t1 & 8) !== 0)
  38809. return;
  38810. if (t1 >= 256) {
  38811. t1 = _this._state = t1 - 256;
  38812. if (t1 < 256)
  38813. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  38814. _this._pending.schedule$1(_this);
  38815. else {
  38816. t1 = (t1 & 4294967291) >>> 0;
  38817. _this._state = t1;
  38818. if ((t1 & 64) === 0)
  38819. _this._guardCallback$1(_this.get$_async$_onResume());
  38820. }
  38821. }
  38822. },
  38823. cancel$0() {
  38824. var _this = this,
  38825. t1 = (_this._state & 4294967279) >>> 0;
  38826. _this._state = t1;
  38827. if ((t1 & 8) === 0)
  38828. _this._cancel$0();
  38829. t1 = _this._cancelFuture;
  38830. return t1 == null ? $.$get$Future__nullFuture() : t1;
  38831. },
  38832. _cancel$0() {
  38833. var t2, _this = this,
  38834. t1 = _this._state = (_this._state | 8) >>> 0;
  38835. if ((t1 & 128) !== 0) {
  38836. t2 = _this._pending;
  38837. if (t2._state === 1)
  38838. t2._state = 3;
  38839. }
  38840. if ((t1 & 64) === 0)
  38841. _this._pending = null;
  38842. _this._cancelFuture = _this._async$_onCancel$0();
  38843. },
  38844. _async$_add$1(data) {
  38845. var t1 = this._state;
  38846. if ((t1 & 8) !== 0)
  38847. return;
  38848. if (t1 < 64)
  38849. this._sendData$1(data);
  38850. else
  38851. this._addPending$1(new A._DelayedData(data));
  38852. },
  38853. _addError$2(error, stackTrace) {
  38854. var t1;
  38855. if (type$.Error._is(error))
  38856. A.Primitives_trySetStackTrace(error, stackTrace);
  38857. t1 = this._state;
  38858. if ((t1 & 8) !== 0)
  38859. return;
  38860. if (t1 < 64)
  38861. this._sendError$2(error, stackTrace);
  38862. else
  38863. this._addPending$1(new A._DelayedError(error, stackTrace));
  38864. },
  38865. _close$0() {
  38866. var _this = this,
  38867. t1 = _this._state;
  38868. if ((t1 & 8) !== 0)
  38869. return;
  38870. t1 = (t1 | 2) >>> 0;
  38871. _this._state = t1;
  38872. if (t1 < 64)
  38873. _this._sendDone$0();
  38874. else
  38875. _this._addPending$1(B.C__DelayedDone);
  38876. },
  38877. _async$_onPause$0() {
  38878. },
  38879. _async$_onResume$0() {
  38880. },
  38881. _async$_onCancel$0() {
  38882. return null;
  38883. },
  38884. _addPending$1($event) {
  38885. var t1, _this = this,
  38886. pending = _this._pending;
  38887. if (pending == null)
  38888. pending = _this._pending = new A._PendingEvents();
  38889. pending.add$1(0, $event);
  38890. t1 = _this._state;
  38891. if ((t1 & 128) === 0) {
  38892. t1 = (t1 | 128) >>> 0;
  38893. _this._state = t1;
  38894. if (t1 < 256)
  38895. pending.schedule$1(_this);
  38896. }
  38897. },
  38898. _sendData$1(data) {
  38899. var _this = this,
  38900. t1 = _this._state;
  38901. _this._state = (t1 | 64) >>> 0;
  38902. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  38903. _this._state = (_this._state & 4294967231) >>> 0;
  38904. _this._checkState$1((t1 & 4) !== 0);
  38905. },
  38906. _sendError$2(error, stackTrace) {
  38907. var cancelFuture, _this = this,
  38908. t1 = _this._state,
  38909. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  38910. if ((t1 & 1) !== 0) {
  38911. _this._state = (t1 | 16) >>> 0;
  38912. _this._cancel$0();
  38913. cancelFuture = _this._cancelFuture;
  38914. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  38915. cancelFuture.whenComplete$1(t2);
  38916. else
  38917. t2.call$0();
  38918. } else {
  38919. t2.call$0();
  38920. _this._checkState$1((t1 & 4) !== 0);
  38921. }
  38922. },
  38923. _sendDone$0() {
  38924. var cancelFuture, _this = this,
  38925. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  38926. _this._cancel$0();
  38927. _this._state = (_this._state | 16) >>> 0;
  38928. cancelFuture = _this._cancelFuture;
  38929. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  38930. cancelFuture.whenComplete$1(t1);
  38931. else
  38932. t1.call$0();
  38933. },
  38934. _guardCallback$1(callback) {
  38935. var _this = this,
  38936. t1 = _this._state;
  38937. _this._state = (t1 | 64) >>> 0;
  38938. callback.call$0();
  38939. _this._state = (_this._state & 4294967231) >>> 0;
  38940. _this._checkState$1((t1 & 4) !== 0);
  38941. },
  38942. _checkState$1(wasInputPaused) {
  38943. var t2, isInputPaused, _this = this,
  38944. t1 = _this._state;
  38945. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  38946. t1 = _this._state = (t1 & 4294967167) >>> 0;
  38947. t2 = false;
  38948. if ((t1 & 4) !== 0)
  38949. if (t1 < 256) {
  38950. t2 = _this._pending;
  38951. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  38952. t2 = t2 !== false;
  38953. }
  38954. if (t2) {
  38955. t1 = (t1 & 4294967291) >>> 0;
  38956. _this._state = t1;
  38957. }
  38958. }
  38959. for (; true; wasInputPaused = isInputPaused) {
  38960. if ((t1 & 8) !== 0) {
  38961. _this._pending = null;
  38962. return;
  38963. }
  38964. isInputPaused = (t1 & 4) !== 0;
  38965. if (wasInputPaused === isInputPaused)
  38966. break;
  38967. _this._state = (t1 ^ 64) >>> 0;
  38968. if (isInputPaused)
  38969. _this._async$_onPause$0();
  38970. else
  38971. _this._async$_onResume$0();
  38972. t1 = (_this._state & 4294967231) >>> 0;
  38973. _this._state = t1;
  38974. }
  38975. if ((t1 & 128) !== 0 && t1 < 256)
  38976. _this._pending.schedule$1(_this);
  38977. },
  38978. $isStreamSubscription: 1
  38979. };
  38980. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  38981. call$0() {
  38982. var onError, t3, t4,
  38983. t1 = this.$this,
  38984. t2 = t1._state;
  38985. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  38986. return;
  38987. t1._state = (t2 | 64) >>> 0;
  38988. onError = t1._onError;
  38989. t2 = this.error;
  38990. t3 = type$.Object;
  38991. t4 = t1._zone;
  38992. if (type$.void_Function_Object_StackTrace._is(onError))
  38993. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  38994. else
  38995. t4.runUnaryGuarded$1$2(onError, t2, t3);
  38996. t1._state = (t1._state & 4294967231) >>> 0;
  38997. },
  38998. $signature: 0
  38999. };
  39000. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39001. call$0() {
  39002. var t1 = this.$this,
  39003. t2 = t1._state;
  39004. if ((t2 & 16) === 0)
  39005. return;
  39006. t1._state = (t2 | 74) >>> 0;
  39007. t1._zone.runGuarded$1(t1._onDone);
  39008. t1._state = (t1._state & 4294967231) >>> 0;
  39009. },
  39010. $signature: 0
  39011. };
  39012. A._StreamImpl.prototype = {
  39013. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39014. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39015. },
  39016. listen$1(_, onData) {
  39017. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39018. },
  39019. listen$3$onDone$onError(_, onData, onDone, onError) {
  39020. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39021. }
  39022. };
  39023. A._DelayedEvent.prototype = {
  39024. get$next() {
  39025. return this.next;
  39026. },
  39027. set$next(val) {
  39028. return this.next = val;
  39029. }
  39030. };
  39031. A._DelayedData.prototype = {
  39032. perform$1(dispatch) {
  39033. dispatch._sendData$1(this.value);
  39034. }
  39035. };
  39036. A._DelayedError.prototype = {
  39037. perform$1(dispatch) {
  39038. dispatch._sendError$2(this.error, this.stackTrace);
  39039. }
  39040. };
  39041. A._DelayedDone.prototype = {
  39042. perform$1(dispatch) {
  39043. dispatch._sendDone$0();
  39044. },
  39045. get$next() {
  39046. return null;
  39047. },
  39048. set$next(__wc0_formal) {
  39049. throw A.wrapException(A.StateError$("No events after a done."));
  39050. }
  39051. };
  39052. A._PendingEvents.prototype = {
  39053. schedule$1(dispatch) {
  39054. var _this = this,
  39055. t1 = _this._state;
  39056. if (t1 === 1)
  39057. return;
  39058. if (t1 >= 1) {
  39059. _this._state = 1;
  39060. return;
  39061. }
  39062. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39063. _this._state = 1;
  39064. },
  39065. add$1(_, $event) {
  39066. var _this = this,
  39067. lastEvent = _this.lastPendingEvent;
  39068. if (lastEvent == null)
  39069. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39070. else {
  39071. lastEvent.set$next($event);
  39072. _this.lastPendingEvent = $event;
  39073. }
  39074. }
  39075. };
  39076. A._PendingEvents_schedule_closure.prototype = {
  39077. call$0() {
  39078. var $event, nextEvent,
  39079. t1 = this.$this,
  39080. oldState = t1._state;
  39081. t1._state = 0;
  39082. if (oldState === 3)
  39083. return;
  39084. $event = t1.firstPendingEvent;
  39085. nextEvent = $event.get$next();
  39086. t1.firstPendingEvent = nextEvent;
  39087. if (nextEvent == null)
  39088. t1.lastPendingEvent = null;
  39089. $event.perform$1(this.dispatch);
  39090. },
  39091. $signature: 0
  39092. };
  39093. A._StreamIterator.prototype = {
  39094. get$current(_) {
  39095. if (this._async$_hasValue)
  39096. return this._stateData;
  39097. return null;
  39098. },
  39099. moveNext$0() {
  39100. var future, _this = this,
  39101. subscription = _this._subscription;
  39102. if (subscription != null) {
  39103. if (_this._async$_hasValue) {
  39104. future = new A._Future($.Zone__current, type$._Future_bool);
  39105. _this._stateData = future;
  39106. _this._async$_hasValue = false;
  39107. subscription.resume$0(0);
  39108. return future;
  39109. }
  39110. throw A.wrapException(A.StateError$("Already waiting for next."));
  39111. }
  39112. return _this._initializeOrDone$0();
  39113. },
  39114. _initializeOrDone$0() {
  39115. var future, subscription, _this = this,
  39116. stateData = _this._stateData;
  39117. if (stateData != null) {
  39118. future = new A._Future($.Zone__current, type$._Future_bool);
  39119. _this._stateData = future;
  39120. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39121. if (_this._stateData != null)
  39122. _this._subscription = subscription;
  39123. return future;
  39124. }
  39125. return $.$get$Future__falseFuture();
  39126. },
  39127. cancel$0() {
  39128. var _this = this,
  39129. subscription = _this._subscription,
  39130. stateData = _this._stateData;
  39131. _this._stateData = null;
  39132. if (subscription != null) {
  39133. _this._subscription = null;
  39134. if (!_this._async$_hasValue)
  39135. stateData._asyncComplete$1(false);
  39136. else
  39137. _this._async$_hasValue = false;
  39138. return subscription.cancel$0();
  39139. }
  39140. return $.$get$Future__nullFuture();
  39141. },
  39142. _onData$1(data) {
  39143. var moveNextFuture, t1, _this = this;
  39144. if (_this._subscription == null)
  39145. return;
  39146. moveNextFuture = _this._stateData;
  39147. _this._stateData = data;
  39148. _this._async$_hasValue = true;
  39149. moveNextFuture._complete$1(true);
  39150. if (_this._async$_hasValue) {
  39151. t1 = _this._subscription;
  39152. if (t1 != null)
  39153. t1.pause$0(0);
  39154. }
  39155. },
  39156. _onError$2(error, stackTrace) {
  39157. var _this = this,
  39158. subscription = _this._subscription,
  39159. moveNextFuture = _this._stateData;
  39160. _this._stateData = _this._subscription = null;
  39161. if (subscription != null)
  39162. moveNextFuture._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  39163. else
  39164. moveNextFuture._asyncCompleteErrorObject$1(new A.AsyncError(error, stackTrace));
  39165. },
  39166. _onDone$0() {
  39167. var _this = this,
  39168. subscription = _this._subscription,
  39169. moveNextFuture = _this._stateData;
  39170. _this._stateData = _this._subscription = null;
  39171. if (subscription != null)
  39172. moveNextFuture._completeWithValue$1(false);
  39173. else
  39174. moveNextFuture._asyncCompleteWithValue$1(false);
  39175. }
  39176. };
  39177. A._ForwardingStream.prototype = {
  39178. get$isBroadcast() {
  39179. return this._async$_source.get$isBroadcast();
  39180. },
  39181. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39182. var t1 = this.$ti,
  39183. t2 = $.Zone__current,
  39184. t3 = cancelOnError === true ? 1 : 0,
  39185. t4 = onError != null ? 32 : 0,
  39186. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39187. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39188. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39189. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39190. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39191. return t1;
  39192. },
  39193. listen$1(_, onData) {
  39194. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39195. },
  39196. listen$3$onDone$onError(_, onData, onDone, onError) {
  39197. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39198. }
  39199. };
  39200. A._ForwardingStreamSubscription.prototype = {
  39201. _async$_add$1(data) {
  39202. if ((this._state & 2) !== 0)
  39203. return;
  39204. this.super$_BufferingStreamSubscription$_add(data);
  39205. },
  39206. _addError$2(error, stackTrace) {
  39207. if ((this._state & 2) !== 0)
  39208. return;
  39209. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39210. },
  39211. _async$_onPause$0() {
  39212. var t1 = this._subscription;
  39213. if (t1 != null)
  39214. t1.pause$0(0);
  39215. },
  39216. _async$_onResume$0() {
  39217. var t1 = this._subscription;
  39218. if (t1 != null)
  39219. t1.resume$0(0);
  39220. },
  39221. _async$_onCancel$0() {
  39222. var subscription = this._subscription;
  39223. if (subscription != null) {
  39224. this._subscription = null;
  39225. return subscription.cancel$0();
  39226. }
  39227. return null;
  39228. },
  39229. _handleData$1(data) {
  39230. this._stream._handleData$2(data, this);
  39231. },
  39232. _handleError$2(error, stackTrace) {
  39233. this._addError$2(error, stackTrace);
  39234. },
  39235. _handleDone$0() {
  39236. this._close$0();
  39237. }
  39238. };
  39239. A._MapStream.prototype = {
  39240. _handleData$2(inputEvent, sink) {
  39241. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39242. try {
  39243. outputEvent = this._transform.call$1(inputEvent);
  39244. } catch (exception) {
  39245. e = A.unwrapException(exception);
  39246. s = A.getTraceFromException(exception);
  39247. error = e;
  39248. stackTrace = s;
  39249. replacement = A._interceptError(error, stackTrace);
  39250. if (replacement != null) {
  39251. error = replacement.error;
  39252. stackTrace = replacement.stackTrace;
  39253. }
  39254. sink._addError$2(error, stackTrace);
  39255. return;
  39256. }
  39257. sink._async$_add$1(outputEvent);
  39258. }
  39259. };
  39260. A._ZoneFunction.prototype = {};
  39261. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39262. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39263. A._Zone.prototype = {
  39264. _processUncaughtError$3(zone, error, stackTrace) {
  39265. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39266. implementation = this.get$_handleUncaughtError(),
  39267. implZone = implementation.zone;
  39268. if (implZone === B.C__RootZone) {
  39269. A._rootHandleError(error, stackTrace);
  39270. return;
  39271. }
  39272. handler = implementation.$function;
  39273. parentDelegate = implZone.get$_parentDelegate();
  39274. t1 = J.get$parent$z(implZone);
  39275. t1.toString;
  39276. parentZone = t1;
  39277. currentZone = $.Zone__current;
  39278. try {
  39279. $.Zone__current = parentZone;
  39280. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39281. $.Zone__current = currentZone;
  39282. } catch (exception) {
  39283. e = A.unwrapException(exception);
  39284. s = A.getTraceFromException(exception);
  39285. $.Zone__current = currentZone;
  39286. t1 = error === e ? stackTrace : s;
  39287. parentZone._processUncaughtError$3(implZone, e, t1);
  39288. }
  39289. },
  39290. $isZone: 1
  39291. };
  39292. A._CustomZone.prototype = {
  39293. get$_delegate() {
  39294. var t1 = this._delegateCache;
  39295. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39296. },
  39297. get$_parentDelegate() {
  39298. return this.parent.get$_delegate();
  39299. },
  39300. get$errorZone() {
  39301. return this._handleUncaughtError.zone;
  39302. },
  39303. runGuarded$1(f) {
  39304. var e, s, exception;
  39305. try {
  39306. this.run$1$1(0, f, type$.void);
  39307. } catch (exception) {
  39308. e = A.unwrapException(exception);
  39309. s = A.getTraceFromException(exception);
  39310. this._processUncaughtError$3(this, e, s);
  39311. }
  39312. },
  39313. runUnaryGuarded$1$2(f, arg, $T) {
  39314. var e, s, exception;
  39315. try {
  39316. this.runUnary$2$2(f, arg, type$.void, $T);
  39317. } catch (exception) {
  39318. e = A.unwrapException(exception);
  39319. s = A.getTraceFromException(exception);
  39320. this._processUncaughtError$3(this, e, s);
  39321. }
  39322. },
  39323. runBinaryGuarded$2$3(f, arg1, arg2, $T1, $T2) {
  39324. var e, s, exception;
  39325. try {
  39326. this.runBinary$3$3(f, arg1, arg2, type$.void, $T1, $T2);
  39327. } catch (exception) {
  39328. e = A.unwrapException(exception);
  39329. s = A.getTraceFromException(exception);
  39330. this._processUncaughtError$3(this, e, s);
  39331. }
  39332. },
  39333. bindCallback$1$1(f, $R) {
  39334. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39335. },
  39336. bindUnaryCallback$2$1(f, $R, $T) {
  39337. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39338. },
  39339. bindCallbackGuarded$1(f) {
  39340. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39341. },
  39342. $index(_, key) {
  39343. var value,
  39344. t1 = this._async$_map,
  39345. result = t1.$index(0, key);
  39346. if (result != null || t1.containsKey$1(key))
  39347. return result;
  39348. value = this.parent.$index(0, key);
  39349. if (value != null)
  39350. t1.$indexSet(0, key, value);
  39351. return value;
  39352. },
  39353. handleUncaughtError$2(error, stackTrace) {
  39354. this._processUncaughtError$3(this, error, stackTrace);
  39355. },
  39356. fork$2$specification$zoneValues(specification, zoneValues) {
  39357. var implementation = this._fork,
  39358. t1 = implementation.zone;
  39359. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39360. },
  39361. run$1$1(_, f) {
  39362. var implementation = this._run,
  39363. t1 = implementation.zone;
  39364. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39365. },
  39366. runUnary$2$2(f, arg) {
  39367. var implementation = this._runUnary,
  39368. t1 = implementation.zone;
  39369. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39370. },
  39371. runBinary$3$3(f, arg1, arg2) {
  39372. var implementation = this._runBinary,
  39373. t1 = implementation.zone;
  39374. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39375. },
  39376. registerCallback$1$1(callback) {
  39377. var implementation = this._registerCallback,
  39378. t1 = implementation.zone;
  39379. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39380. },
  39381. registerUnaryCallback$2$1(callback) {
  39382. var implementation = this._registerUnaryCallback,
  39383. t1 = implementation.zone;
  39384. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39385. },
  39386. registerBinaryCallback$3$1(callback) {
  39387. var implementation = this._registerBinaryCallback,
  39388. t1 = implementation.zone;
  39389. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39390. },
  39391. errorCallback$2(error, stackTrace) {
  39392. var implementation = this._errorCallback,
  39393. implementationZone = implementation.zone;
  39394. if (implementationZone === B.C__RootZone)
  39395. return null;
  39396. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39397. },
  39398. scheduleMicrotask$1(f) {
  39399. var implementation = this._scheduleMicrotask,
  39400. t1 = implementation.zone;
  39401. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39402. },
  39403. createTimer$2(duration, f) {
  39404. var implementation = this._createTimer,
  39405. t1 = implementation.zone;
  39406. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39407. },
  39408. print$1(line) {
  39409. var implementation = this._print,
  39410. t1 = implementation.zone;
  39411. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39412. },
  39413. get$_run() {
  39414. return this._run;
  39415. },
  39416. get$_runUnary() {
  39417. return this._runUnary;
  39418. },
  39419. get$_runBinary() {
  39420. return this._runBinary;
  39421. },
  39422. get$_registerCallback() {
  39423. return this._registerCallback;
  39424. },
  39425. get$_registerUnaryCallback() {
  39426. return this._registerUnaryCallback;
  39427. },
  39428. get$_registerBinaryCallback() {
  39429. return this._registerBinaryCallback;
  39430. },
  39431. get$_errorCallback() {
  39432. return this._errorCallback;
  39433. },
  39434. get$_scheduleMicrotask() {
  39435. return this._scheduleMicrotask;
  39436. },
  39437. get$_createTimer() {
  39438. return this._createTimer;
  39439. },
  39440. get$_createPeriodicTimer() {
  39441. return this._createPeriodicTimer;
  39442. },
  39443. get$_print() {
  39444. return this._print;
  39445. },
  39446. get$_fork() {
  39447. return this._fork;
  39448. },
  39449. get$_handleUncaughtError() {
  39450. return this._handleUncaughtError;
  39451. },
  39452. get$parent(receiver) {
  39453. return this.parent;
  39454. },
  39455. get$_async$_map() {
  39456. return this._async$_map;
  39457. }
  39458. };
  39459. A._CustomZone_bindCallback_closure.prototype = {
  39460. call$0() {
  39461. return this.$this.run$1$1(0, this.registered, this.R);
  39462. },
  39463. $signature() {
  39464. return this.R._eval$1("0()");
  39465. }
  39466. };
  39467. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39468. call$1(arg) {
  39469. var _this = this;
  39470. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39471. },
  39472. $signature() {
  39473. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39474. }
  39475. };
  39476. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39477. call$0() {
  39478. return this.$this.runGuarded$1(this.registered);
  39479. },
  39480. $signature: 0
  39481. };
  39482. A._rootHandleError_closure.prototype = {
  39483. call$0() {
  39484. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39485. },
  39486. $signature: 0
  39487. };
  39488. A._RootZone.prototype = {
  39489. get$_run() {
  39490. return B._ZoneFunction__RootZone__rootRun;
  39491. },
  39492. get$_runUnary() {
  39493. return B._ZoneFunction__RootZone__rootRunUnary;
  39494. },
  39495. get$_runBinary() {
  39496. return B._ZoneFunction__RootZone__rootRunBinary;
  39497. },
  39498. get$_registerCallback() {
  39499. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39500. },
  39501. get$_registerUnaryCallback() {
  39502. return B._ZoneFunction_Xkh;
  39503. },
  39504. get$_registerBinaryCallback() {
  39505. return B._ZoneFunction_e9o;
  39506. },
  39507. get$_errorCallback() {
  39508. return B._ZoneFunction__RootZone__rootErrorCallback;
  39509. },
  39510. get$_scheduleMicrotask() {
  39511. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39512. },
  39513. get$_createTimer() {
  39514. return B._ZoneFunction__RootZone__rootCreateTimer;
  39515. },
  39516. get$_createPeriodicTimer() {
  39517. return B._ZoneFunction_PAY;
  39518. },
  39519. get$_print() {
  39520. return B._ZoneFunction__RootZone__rootPrint;
  39521. },
  39522. get$_fork() {
  39523. return B._ZoneFunction__RootZone__rootFork;
  39524. },
  39525. get$_handleUncaughtError() {
  39526. return B._ZoneFunction_KjJ;
  39527. },
  39528. get$parent(_) {
  39529. return null;
  39530. },
  39531. get$_async$_map() {
  39532. return $.$get$_RootZone__rootMap();
  39533. },
  39534. get$_delegate() {
  39535. var t1 = $._RootZone__rootDelegate;
  39536. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39537. },
  39538. get$_parentDelegate() {
  39539. var t1 = $._RootZone__rootDelegate;
  39540. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39541. },
  39542. get$errorZone() {
  39543. return this;
  39544. },
  39545. runGuarded$1(f) {
  39546. var e, s, exception;
  39547. try {
  39548. if (B.C__RootZone === $.Zone__current) {
  39549. f.call$0();
  39550. return;
  39551. }
  39552. A._rootRun(null, null, this, f);
  39553. } catch (exception) {
  39554. e = A.unwrapException(exception);
  39555. s = A.getTraceFromException(exception);
  39556. A._rootHandleError(e, s);
  39557. }
  39558. },
  39559. runUnaryGuarded$1$2(f, arg) {
  39560. var e, s, exception;
  39561. try {
  39562. if (B.C__RootZone === $.Zone__current) {
  39563. f.call$1(arg);
  39564. return;
  39565. }
  39566. A._rootRunUnary(null, null, this, f, arg);
  39567. } catch (exception) {
  39568. e = A.unwrapException(exception);
  39569. s = A.getTraceFromException(exception);
  39570. A._rootHandleError(e, s);
  39571. }
  39572. },
  39573. runBinaryGuarded$2$3(f, arg1, arg2) {
  39574. var e, s, exception;
  39575. try {
  39576. if (B.C__RootZone === $.Zone__current) {
  39577. f.call$2(arg1, arg2);
  39578. return;
  39579. }
  39580. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39581. } catch (exception) {
  39582. e = A.unwrapException(exception);
  39583. s = A.getTraceFromException(exception);
  39584. A._rootHandleError(e, s);
  39585. }
  39586. },
  39587. bindCallback$1$1(f, $R) {
  39588. return new A._RootZone_bindCallback_closure(this, f, $R);
  39589. },
  39590. bindUnaryCallback$2$1(f, $R, $T) {
  39591. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39592. },
  39593. bindCallbackGuarded$1(f) {
  39594. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39595. },
  39596. $index(_, key) {
  39597. return null;
  39598. },
  39599. handleUncaughtError$2(error, stackTrace) {
  39600. A._rootHandleError(error, stackTrace);
  39601. },
  39602. fork$2$specification$zoneValues(specification, zoneValues) {
  39603. return A._rootFork(null, null, this, specification, zoneValues);
  39604. },
  39605. run$1$1(_, f) {
  39606. if ($.Zone__current === B.C__RootZone)
  39607. return f.call$0();
  39608. return A._rootRun(null, null, this, f);
  39609. },
  39610. runUnary$2$2(f, arg) {
  39611. if ($.Zone__current === B.C__RootZone)
  39612. return f.call$1(arg);
  39613. return A._rootRunUnary(null, null, this, f, arg);
  39614. },
  39615. runBinary$3$3(f, arg1, arg2) {
  39616. if ($.Zone__current === B.C__RootZone)
  39617. return f.call$2(arg1, arg2);
  39618. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39619. },
  39620. registerCallback$1$1(f) {
  39621. return f;
  39622. },
  39623. registerUnaryCallback$2$1(f) {
  39624. return f;
  39625. },
  39626. registerBinaryCallback$3$1(f) {
  39627. return f;
  39628. },
  39629. errorCallback$2(error, stackTrace) {
  39630. return null;
  39631. },
  39632. scheduleMicrotask$1(f) {
  39633. A._rootScheduleMicrotask(null, null, this, f);
  39634. },
  39635. createTimer$2(duration, f) {
  39636. return A.Timer__createTimer(duration, f);
  39637. },
  39638. print$1(line) {
  39639. A.printString(line);
  39640. }
  39641. };
  39642. A._RootZone_bindCallback_closure.prototype = {
  39643. call$0() {
  39644. return this.$this.run$1$1(0, this.f, this.R);
  39645. },
  39646. $signature() {
  39647. return this.R._eval$1("0()");
  39648. }
  39649. };
  39650. A._RootZone_bindUnaryCallback_closure.prototype = {
  39651. call$1(arg) {
  39652. var _this = this;
  39653. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  39654. },
  39655. $signature() {
  39656. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39657. }
  39658. };
  39659. A._RootZone_bindCallbackGuarded_closure.prototype = {
  39660. call$0() {
  39661. return this.$this.runGuarded$1(this.f);
  39662. },
  39663. $signature: 0
  39664. };
  39665. A._HashMap.prototype = {
  39666. get$length(_) {
  39667. return this._collection$_length;
  39668. },
  39669. get$isEmpty(_) {
  39670. return this._collection$_length === 0;
  39671. },
  39672. get$isNotEmpty(_) {
  39673. return this._collection$_length !== 0;
  39674. },
  39675. get$keys(_) {
  39676. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  39677. },
  39678. get$values(_) {
  39679. var t1 = A._instanceType(this);
  39680. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  39681. },
  39682. containsKey$1(key) {
  39683. var strings, nums;
  39684. if (typeof key == "string" && key !== "__proto__") {
  39685. strings = this._collection$_strings;
  39686. return strings == null ? false : strings[key] != null;
  39687. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39688. nums = this._collection$_nums;
  39689. return nums == null ? false : nums[key] != null;
  39690. } else
  39691. return this._containsKey$1(key);
  39692. },
  39693. _containsKey$1(key) {
  39694. var rest = this._collection$_rest;
  39695. if (rest == null)
  39696. return false;
  39697. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  39698. },
  39699. addAll$1(_, other) {
  39700. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  39701. },
  39702. $index(_, key) {
  39703. var strings, t1, nums;
  39704. if (typeof key == "string" && key !== "__proto__") {
  39705. strings = this._collection$_strings;
  39706. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  39707. return t1;
  39708. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39709. nums = this._collection$_nums;
  39710. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  39711. return t1;
  39712. } else
  39713. return this._get$1(key);
  39714. },
  39715. _get$1(key) {
  39716. var bucket, index,
  39717. rest = this._collection$_rest;
  39718. if (rest == null)
  39719. return null;
  39720. bucket = this._getBucket$2(rest, key);
  39721. index = this._findBucketIndex$2(bucket, key);
  39722. return index < 0 ? null : bucket[index + 1];
  39723. },
  39724. $indexSet(_, key, value) {
  39725. var strings, nums, _this = this;
  39726. if (typeof key == "string" && key !== "__proto__") {
  39727. strings = _this._collection$_strings;
  39728. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  39729. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39730. nums = _this._collection$_nums;
  39731. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  39732. } else
  39733. _this._set$2(key, value);
  39734. },
  39735. _set$2(key, value) {
  39736. var hash, bucket, index, _this = this,
  39737. rest = _this._collection$_rest;
  39738. if (rest == null)
  39739. rest = _this._collection$_rest = A._HashMap__newHashTable();
  39740. hash = _this._computeHashCode$1(key);
  39741. bucket = rest[hash];
  39742. if (bucket == null) {
  39743. A._HashMap__setTableEntry(rest, hash, [key, value]);
  39744. ++_this._collection$_length;
  39745. _this._collection$_keys = null;
  39746. } else {
  39747. index = _this._findBucketIndex$2(bucket, key);
  39748. if (index >= 0)
  39749. bucket[index + 1] = value;
  39750. else {
  39751. bucket.push(key, value);
  39752. ++_this._collection$_length;
  39753. _this._collection$_keys = null;
  39754. }
  39755. }
  39756. },
  39757. remove$1(_, key) {
  39758. var t1;
  39759. if (key !== "__proto__")
  39760. return this._removeHashTableEntry$2(this._collection$_strings, key);
  39761. else {
  39762. t1 = this._remove$1(key);
  39763. return t1;
  39764. }
  39765. },
  39766. _remove$1(key) {
  39767. var hash, bucket, index, result, _this = this,
  39768. rest = _this._collection$_rest;
  39769. if (rest == null)
  39770. return null;
  39771. hash = _this._computeHashCode$1(key);
  39772. bucket = rest[hash];
  39773. index = _this._findBucketIndex$2(bucket, key);
  39774. if (index < 0)
  39775. return null;
  39776. --_this._collection$_length;
  39777. _this._collection$_keys = null;
  39778. result = bucket.splice(index, 2)[1];
  39779. if (0 === bucket.length)
  39780. delete rest[hash];
  39781. return result;
  39782. },
  39783. forEach$1(_, action) {
  39784. var $length, t1, i, key, t2, _this = this,
  39785. keys = _this._computeKeys$0();
  39786. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  39787. key = keys[i];
  39788. t2 = _this.$index(0, key);
  39789. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  39790. if (keys !== _this._collection$_keys)
  39791. throw A.wrapException(A.ConcurrentModificationError$(_this));
  39792. }
  39793. },
  39794. _computeKeys$0() {
  39795. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  39796. result = _this._collection$_keys;
  39797. if (result != null)
  39798. return result;
  39799. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  39800. strings = _this._collection$_strings;
  39801. index = 0;
  39802. if (strings != null) {
  39803. names = Object.getOwnPropertyNames(strings);
  39804. entries = names.length;
  39805. for (i = 0; i < entries; ++i) {
  39806. result[index] = names[i];
  39807. ++index;
  39808. }
  39809. }
  39810. nums = _this._collection$_nums;
  39811. if (nums != null) {
  39812. names = Object.getOwnPropertyNames(nums);
  39813. entries = names.length;
  39814. for (i = 0; i < entries; ++i) {
  39815. result[index] = +names[i];
  39816. ++index;
  39817. }
  39818. }
  39819. rest = _this._collection$_rest;
  39820. if (rest != null) {
  39821. names = Object.getOwnPropertyNames(rest);
  39822. entries = names.length;
  39823. for (i = 0; i < entries; ++i) {
  39824. bucket = rest[names[i]];
  39825. $length = bucket.length;
  39826. for (i0 = 0; i0 < $length; i0 += 2) {
  39827. result[index] = bucket[i0];
  39828. ++index;
  39829. }
  39830. }
  39831. }
  39832. return _this._collection$_keys = result;
  39833. },
  39834. _collection$_addHashTableEntry$3(table, key, value) {
  39835. if (table[key] == null) {
  39836. ++this._collection$_length;
  39837. this._collection$_keys = null;
  39838. }
  39839. A._HashMap__setTableEntry(table, key, value);
  39840. },
  39841. _removeHashTableEntry$2(table, key) {
  39842. var value;
  39843. if (table != null && table[key] != null) {
  39844. value = A._HashMap__getTableEntry(table, key);
  39845. delete table[key];
  39846. --this._collection$_length;
  39847. this._collection$_keys = null;
  39848. return value;
  39849. } else
  39850. return null;
  39851. },
  39852. _computeHashCode$1(key) {
  39853. return J.get$hashCode$(key) & 1073741823;
  39854. },
  39855. _getBucket$2(table, key) {
  39856. return table[this._computeHashCode$1(key)];
  39857. },
  39858. _findBucketIndex$2(bucket, key) {
  39859. var $length, i;
  39860. if (bucket == null)
  39861. return -1;
  39862. $length = bucket.length;
  39863. for (i = 0; i < $length; i += 2)
  39864. if (J.$eq$(bucket[i], key))
  39865. return i;
  39866. return -1;
  39867. }
  39868. };
  39869. A._HashMap_values_closure.prototype = {
  39870. call$1(each) {
  39871. var t1 = this.$this,
  39872. t2 = t1.$index(0, each);
  39873. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  39874. },
  39875. $signature() {
  39876. return A._instanceType(this.$this)._eval$1("2(1)");
  39877. }
  39878. };
  39879. A._HashMap_addAll_closure.prototype = {
  39880. call$2(key, value) {
  39881. this.$this.$indexSet(0, key, value);
  39882. },
  39883. $signature() {
  39884. return A._instanceType(this.$this)._eval$1("~(1,2)");
  39885. }
  39886. };
  39887. A._IdentityHashMap.prototype = {
  39888. _computeHashCode$1(key) {
  39889. return A.objectHashCode(key) & 1073741823;
  39890. },
  39891. _findBucketIndex$2(bucket, key) {
  39892. var $length, i, t1;
  39893. if (bucket == null)
  39894. return -1;
  39895. $length = bucket.length;
  39896. for (i = 0; i < $length; i += 2) {
  39897. t1 = bucket[i];
  39898. if (t1 == null ? key == null : t1 === key)
  39899. return i;
  39900. }
  39901. return -1;
  39902. }
  39903. };
  39904. A._HashMapKeyIterable.prototype = {
  39905. get$length(_) {
  39906. return this._map._collection$_length;
  39907. },
  39908. get$isEmpty(_) {
  39909. return this._map._collection$_length === 0;
  39910. },
  39911. get$isNotEmpty(_) {
  39912. return this._map._collection$_length !== 0;
  39913. },
  39914. get$iterator(_) {
  39915. var t1 = this._map;
  39916. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  39917. },
  39918. contains$1(_, element) {
  39919. return this._map.containsKey$1(element);
  39920. }
  39921. };
  39922. A._HashMapKeyIterator.prototype = {
  39923. get$current(_) {
  39924. var t1 = this._collection$_current;
  39925. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  39926. },
  39927. moveNext$0() {
  39928. var _this = this,
  39929. keys = _this._collection$_keys,
  39930. offset = _this._offset,
  39931. t1 = _this._map;
  39932. if (keys !== t1._collection$_keys)
  39933. throw A.wrapException(A.ConcurrentModificationError$(t1));
  39934. else if (offset >= keys.length) {
  39935. _this._collection$_current = null;
  39936. return false;
  39937. } else {
  39938. _this._collection$_current = keys[offset];
  39939. _this._offset = offset + 1;
  39940. return true;
  39941. }
  39942. }
  39943. };
  39944. A._LinkedCustomHashMap.prototype = {
  39945. $index(_, key) {
  39946. if (!this._validKey.call$1(key))
  39947. return null;
  39948. return this.super$JsLinkedHashMap$internalGet(key);
  39949. },
  39950. $indexSet(_, key, value) {
  39951. this.super$JsLinkedHashMap$internalSet(key, value);
  39952. },
  39953. containsKey$1(key) {
  39954. if (!this._validKey.call$1(key))
  39955. return false;
  39956. return this.super$JsLinkedHashMap$internalContainsKey(key);
  39957. },
  39958. remove$1(_, key) {
  39959. if (!this._validKey.call$1(key))
  39960. return null;
  39961. return this.super$JsLinkedHashMap$internalRemove(key);
  39962. },
  39963. internalComputeHashCode$1(key) {
  39964. return this._hashCode.call$1(key) & 1073741823;
  39965. },
  39966. internalFindBucketIndex$2(bucket, key) {
  39967. var $length, t1, i;
  39968. if (bucket == null)
  39969. return -1;
  39970. $length = bucket.length;
  39971. for (t1 = this._equals, i = 0; i < $length; ++i)
  39972. if (t1.call$2(bucket[i].hashMapCellKey, key))
  39973. return i;
  39974. return -1;
  39975. }
  39976. };
  39977. A._LinkedCustomHashMap_closure.prototype = {
  39978. call$1(v) {
  39979. return this.K._is(v);
  39980. },
  39981. $signature: 9
  39982. };
  39983. A._LinkedHashSet.prototype = {
  39984. _newSet$0() {
  39985. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  39986. },
  39987. _newSimilarSet$1$0($R) {
  39988. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  39989. },
  39990. _newSimilarSet$0() {
  39991. return this._newSimilarSet$1$0(type$.dynamic);
  39992. },
  39993. get$iterator(_) {
  39994. var _this = this,
  39995. t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  39996. t1._collection$_cell = _this._collection$_first;
  39997. return t1;
  39998. },
  39999. get$length(_) {
  40000. return this._collection$_length;
  40001. },
  40002. get$isEmpty(_) {
  40003. return this._collection$_length === 0;
  40004. },
  40005. get$isNotEmpty(_) {
  40006. return this._collection$_length !== 0;
  40007. },
  40008. contains$1(_, object) {
  40009. var strings, nums;
  40010. if (typeof object == "string" && object !== "__proto__") {
  40011. strings = this._collection$_strings;
  40012. if (strings == null)
  40013. return false;
  40014. return strings[object] != null;
  40015. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40016. nums = this._collection$_nums;
  40017. if (nums == null)
  40018. return false;
  40019. return nums[object] != null;
  40020. } else
  40021. return this._contains$1(object);
  40022. },
  40023. _contains$1(object) {
  40024. var rest = this._collection$_rest;
  40025. if (rest == null)
  40026. return false;
  40027. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40028. },
  40029. get$first(_) {
  40030. var first = this._collection$_first;
  40031. if (first == null)
  40032. throw A.wrapException(A.StateError$("No elements"));
  40033. return first._element;
  40034. },
  40035. get$last(_) {
  40036. var last = this._collection$_last;
  40037. if (last == null)
  40038. throw A.wrapException(A.StateError$("No elements"));
  40039. return last._element;
  40040. },
  40041. add$1(_, element) {
  40042. var strings, nums, _this = this;
  40043. if (typeof element == "string" && element !== "__proto__") {
  40044. strings = _this._collection$_strings;
  40045. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  40046. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40047. nums = _this._collection$_nums;
  40048. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  40049. } else
  40050. return _this._add$1(element);
  40051. },
  40052. _add$1(element) {
  40053. var hash, bucket, _this = this,
  40054. rest = _this._collection$_rest;
  40055. if (rest == null)
  40056. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40057. hash = _this._computeHashCode$1(element);
  40058. bucket = rest[hash];
  40059. if (bucket == null)
  40060. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  40061. else {
  40062. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40063. return false;
  40064. bucket.push(_this._collection$_newLinkedCell$1(element));
  40065. }
  40066. return true;
  40067. },
  40068. remove$1(_, object) {
  40069. var _this = this;
  40070. if (typeof object == "string" && object !== "__proto__")
  40071. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  40072. else if (typeof object == "number" && (object & 1073741823) === object)
  40073. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  40074. else
  40075. return _this._remove$1(object);
  40076. },
  40077. _remove$1(object) {
  40078. var hash, bucket, index, cell, _this = this,
  40079. rest = _this._collection$_rest;
  40080. if (rest == null)
  40081. return false;
  40082. hash = _this._computeHashCode$1(object);
  40083. bucket = rest[hash];
  40084. index = _this._findBucketIndex$2(bucket, object);
  40085. if (index < 0)
  40086. return false;
  40087. cell = bucket.splice(index, 1)[0];
  40088. if (0 === bucket.length)
  40089. delete rest[hash];
  40090. _this._unlinkCell$1(cell);
  40091. return true;
  40092. },
  40093. _collection$_addHashTableEntry$2(table, element) {
  40094. if (table[element] != null)
  40095. return false;
  40096. table[element] = this._collection$_newLinkedCell$1(element);
  40097. return true;
  40098. },
  40099. _removeHashTableEntry$2(table, element) {
  40100. var cell;
  40101. if (table == null)
  40102. return false;
  40103. cell = table[element];
  40104. if (cell == null)
  40105. return false;
  40106. this._unlinkCell$1(cell);
  40107. delete table[element];
  40108. return true;
  40109. },
  40110. _collection$_modified$0() {
  40111. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  40112. },
  40113. _collection$_newLinkedCell$1(element) {
  40114. var t1, _this = this,
  40115. cell = new A._LinkedHashSetCell(element);
  40116. if (_this._collection$_first == null)
  40117. _this._collection$_first = _this._collection$_last = cell;
  40118. else {
  40119. t1 = _this._collection$_last;
  40120. t1.toString;
  40121. cell._collection$_previous = t1;
  40122. _this._collection$_last = t1._collection$_next = cell;
  40123. }
  40124. ++_this._collection$_length;
  40125. _this._collection$_modified$0();
  40126. return cell;
  40127. },
  40128. _unlinkCell$1(cell) {
  40129. var _this = this,
  40130. previous = cell._collection$_previous,
  40131. next = cell._collection$_next;
  40132. if (previous == null)
  40133. _this._collection$_first = next;
  40134. else
  40135. previous._collection$_next = next;
  40136. if (next == null)
  40137. _this._collection$_last = previous;
  40138. else
  40139. next._collection$_previous = previous;
  40140. --_this._collection$_length;
  40141. _this._collection$_modified$0();
  40142. },
  40143. _computeHashCode$1(element) {
  40144. return J.get$hashCode$(element) & 1073741823;
  40145. },
  40146. _findBucketIndex$2(bucket, element) {
  40147. var $length, i;
  40148. if (bucket == null)
  40149. return -1;
  40150. $length = bucket.length;
  40151. for (i = 0; i < $length; ++i)
  40152. if (J.$eq$(bucket[i]._element, element))
  40153. return i;
  40154. return -1;
  40155. }
  40156. };
  40157. A._LinkedIdentityHashSet.prototype = {
  40158. _newSet$0() {
  40159. return new A._LinkedIdentityHashSet(this.$ti);
  40160. },
  40161. _newSimilarSet$1$0($R) {
  40162. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40163. },
  40164. _newSimilarSet$0() {
  40165. return this._newSimilarSet$1$0(type$.dynamic);
  40166. },
  40167. _computeHashCode$1(key) {
  40168. return A.objectHashCode(key) & 1073741823;
  40169. },
  40170. _findBucketIndex$2(bucket, element) {
  40171. var $length, i, t1;
  40172. if (bucket == null)
  40173. return -1;
  40174. $length = bucket.length;
  40175. for (i = 0; i < $length; ++i) {
  40176. t1 = bucket[i]._element;
  40177. if (t1 == null ? element == null : t1 === element)
  40178. return i;
  40179. }
  40180. return -1;
  40181. }
  40182. };
  40183. A._LinkedHashSetCell.prototype = {};
  40184. A._LinkedHashSetIterator.prototype = {
  40185. get$current(_) {
  40186. var t1 = this._collection$_current;
  40187. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40188. },
  40189. moveNext$0() {
  40190. var _this = this,
  40191. cell = _this._collection$_cell,
  40192. t1 = _this._set;
  40193. if (_this._collection$_modifications !== t1._collection$_modifications)
  40194. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40195. else if (cell == null) {
  40196. _this._collection$_current = null;
  40197. return false;
  40198. } else {
  40199. _this._collection$_current = cell._element;
  40200. _this._collection$_cell = cell._collection$_next;
  40201. return true;
  40202. }
  40203. }
  40204. };
  40205. A.UnmodifiableListView.prototype = {
  40206. cast$1$0(_, $R) {
  40207. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40208. },
  40209. get$length(_) {
  40210. return J.get$length$asx(this._collection$_source);
  40211. },
  40212. $index(_, index) {
  40213. return J.elementAt$1$ax(this._collection$_source, index);
  40214. }
  40215. };
  40216. A.HashMap_HashMap$from_closure.prototype = {
  40217. call$2(k, v) {
  40218. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40219. },
  40220. $signature: 162
  40221. };
  40222. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40223. call$2(k, v) {
  40224. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40225. },
  40226. $signature: 162
  40227. };
  40228. A.ListBase.prototype = {
  40229. get$iterator(receiver) {
  40230. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40231. },
  40232. elementAt$1(receiver, index) {
  40233. return this.$index(receiver, index);
  40234. },
  40235. forEach$1(receiver, action) {
  40236. var i,
  40237. $length = this.get$length(receiver);
  40238. for (i = 0; i < $length; ++i) {
  40239. action.call$1(this.$index(receiver, i));
  40240. if ($length !== this.get$length(receiver))
  40241. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40242. }
  40243. },
  40244. get$isEmpty(receiver) {
  40245. return this.get$length(receiver) === 0;
  40246. },
  40247. get$isNotEmpty(receiver) {
  40248. return !this.get$isEmpty(receiver);
  40249. },
  40250. get$first(receiver) {
  40251. if (this.get$length(receiver) === 0)
  40252. throw A.wrapException(A.IterableElementError_noElement());
  40253. return this.$index(receiver, 0);
  40254. },
  40255. get$last(receiver) {
  40256. if (this.get$length(receiver) === 0)
  40257. throw A.wrapException(A.IterableElementError_noElement());
  40258. return this.$index(receiver, this.get$length(receiver) - 1);
  40259. },
  40260. get$single(receiver) {
  40261. if (this.get$length(receiver) === 0)
  40262. throw A.wrapException(A.IterableElementError_noElement());
  40263. if (this.get$length(receiver) > 1)
  40264. throw A.wrapException(A.IterableElementError_tooMany());
  40265. return this.$index(receiver, 0);
  40266. },
  40267. contains$1(receiver, element) {
  40268. var i,
  40269. $length = this.get$length(receiver);
  40270. for (i = 0; i < $length; ++i) {
  40271. if (J.$eq$(this.$index(receiver, i), element))
  40272. return true;
  40273. if ($length !== this.get$length(receiver))
  40274. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40275. }
  40276. return false;
  40277. },
  40278. every$1(receiver, test) {
  40279. var i,
  40280. $length = this.get$length(receiver);
  40281. for (i = 0; i < $length; ++i) {
  40282. if (!test.call$1(this.$index(receiver, i)))
  40283. return false;
  40284. if ($length !== this.get$length(receiver))
  40285. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40286. }
  40287. return true;
  40288. },
  40289. any$1(receiver, test) {
  40290. var i,
  40291. $length = this.get$length(receiver);
  40292. for (i = 0; i < $length; ++i) {
  40293. if (test.call$1(this.$index(receiver, i)))
  40294. return true;
  40295. if ($length !== this.get$length(receiver))
  40296. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40297. }
  40298. return false;
  40299. },
  40300. lastWhere$2$orElse(receiver, test, orElse) {
  40301. var i, element,
  40302. $length = this.get$length(receiver);
  40303. for (i = $length - 1; i >= 0; --i) {
  40304. element = this.$index(receiver, i);
  40305. if (test.call$1(element))
  40306. return element;
  40307. if ($length !== this.get$length(receiver))
  40308. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40309. }
  40310. if (orElse != null)
  40311. return orElse.call$0();
  40312. throw A.wrapException(A.IterableElementError_noElement());
  40313. },
  40314. join$1(receiver, separator) {
  40315. var t1;
  40316. if (this.get$length(receiver) === 0)
  40317. return "";
  40318. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40319. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40320. },
  40321. where$1(receiver, test) {
  40322. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40323. },
  40324. map$1$1(receiver, f, $T) {
  40325. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40326. },
  40327. expand$1$1(receiver, f, $T) {
  40328. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40329. },
  40330. skip$1(receiver, count) {
  40331. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40332. },
  40333. take$1(receiver, count) {
  40334. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40335. },
  40336. toList$1$growable(receiver, growable) {
  40337. var t1, first, result, i, _this = this;
  40338. if (_this.get$isEmpty(receiver)) {
  40339. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40340. return t1;
  40341. }
  40342. first = _this.$index(receiver, 0);
  40343. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40344. for (i = 1; i < _this.get$length(receiver); ++i)
  40345. result[i] = _this.$index(receiver, i);
  40346. return result;
  40347. },
  40348. toList$0(receiver) {
  40349. return this.toList$1$growable(receiver, true);
  40350. },
  40351. toSet$0(receiver) {
  40352. var i,
  40353. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40354. for (i = 0; i < this.get$length(receiver); ++i)
  40355. result.add$1(0, this.$index(receiver, i));
  40356. return result;
  40357. },
  40358. add$1(receiver, element) {
  40359. var t1 = this.get$length(receiver);
  40360. this.set$length(receiver, t1 + 1);
  40361. this.$indexSet(receiver, t1, element);
  40362. },
  40363. addAll$1(receiver, iterable) {
  40364. var t1,
  40365. i = this.get$length(receiver);
  40366. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40367. this.add$1(receiver, t1.get$current(t1));
  40368. ++i;
  40369. }
  40370. },
  40371. _closeGap$2(receiver, start, end) {
  40372. var i, _this = this,
  40373. $length = _this.get$length(receiver),
  40374. size = end - start;
  40375. for (i = end; i < $length; ++i)
  40376. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40377. _this.set$length(receiver, $length - size);
  40378. },
  40379. cast$1$0(receiver, $R) {
  40380. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40381. },
  40382. sort$1(receiver, compare) {
  40383. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40384. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40385. },
  40386. sublist$2(receiver, start, end) {
  40387. var t1,
  40388. listLength = this.get$length(receiver);
  40389. A.RangeError_checkValidRange(start, listLength, listLength);
  40390. t1 = A.List_List$_of(this.getRange$2(receiver, start, listLength), A.instanceType(receiver)._eval$1("ListBase.E"));
  40391. return t1;
  40392. },
  40393. sublist$1(receiver, start) {
  40394. return this.sublist$2(receiver, start, null);
  40395. },
  40396. getRange$2(receiver, start, end) {
  40397. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40398. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40399. },
  40400. removeRange$2(receiver, start, end) {
  40401. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40402. if (end > start)
  40403. this._closeGap$2(receiver, start, end);
  40404. },
  40405. fillRange$3(receiver, start, end, fill) {
  40406. var i;
  40407. A.instanceType(receiver)._eval$1("ListBase.E")._as(fill);
  40408. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40409. for (i = start; i < end; ++i)
  40410. this.$indexSet(receiver, i, fill);
  40411. },
  40412. setRange$4(receiver, start, end, iterable, skipCount) {
  40413. var $length, otherStart, otherList, t1, i;
  40414. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40415. $length = end - start;
  40416. if ($length === 0)
  40417. return;
  40418. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40419. if (type$.List_dynamic._is(iterable)) {
  40420. otherStart = skipCount;
  40421. otherList = iterable;
  40422. } else {
  40423. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40424. otherStart = 0;
  40425. }
  40426. t1 = J.getInterceptor$asx(otherList);
  40427. if (otherStart + $length > t1.get$length(otherList))
  40428. throw A.wrapException(A.IterableElementError_tooFew());
  40429. if (otherStart < start)
  40430. for (i = $length - 1; i >= 0; --i)
  40431. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40432. else
  40433. for (i = 0; i < $length; ++i)
  40434. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40435. },
  40436. indexOf$1(receiver, element) {
  40437. var i;
  40438. for (i = 0; i < this.get$length(receiver); ++i)
  40439. if (J.$eq$(this.$index(receiver, i), element))
  40440. return i;
  40441. return -1;
  40442. },
  40443. get$reversed(receiver) {
  40444. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40445. },
  40446. toString$0(receiver) {
  40447. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40448. },
  40449. $isEfficientLengthIterable: 1,
  40450. $isIterable: 1,
  40451. $isList: 1
  40452. };
  40453. A.MapBase.prototype = {
  40454. cast$2$0(_, $RK, $RV) {
  40455. var t1 = A._instanceType(this);
  40456. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), $RK, $RV);
  40457. },
  40458. forEach$1(_, action) {
  40459. var t1, t2, key, t3, _this = this;
  40460. for (t1 = _this.get$keys(_this), t1 = t1.get$iterator(t1), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40461. key = t1.get$current(t1);
  40462. t3 = _this.$index(0, key);
  40463. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40464. }
  40465. },
  40466. addAll$1(_, other) {
  40467. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40468. },
  40469. get$entries(_) {
  40470. var _this = this,
  40471. t1 = _this.get$keys(_this);
  40472. return t1.map$1$1(t1, new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40473. },
  40474. containsKey$1(key) {
  40475. var t1 = this.get$keys(this);
  40476. return t1.contains$1(t1, key);
  40477. },
  40478. get$length(_) {
  40479. var t1 = this.get$keys(this);
  40480. return t1.get$length(t1);
  40481. },
  40482. get$isEmpty(_) {
  40483. var t1 = this.get$keys(this);
  40484. return t1.get$isEmpty(t1);
  40485. },
  40486. get$isNotEmpty(_) {
  40487. var t1 = this.get$keys(this);
  40488. return t1.get$isNotEmpty(t1);
  40489. },
  40490. get$values(_) {
  40491. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40492. },
  40493. toString$0(_) {
  40494. return A.MapBase_mapToString(this);
  40495. },
  40496. $isMap: 1
  40497. };
  40498. A.MapBase_addAll_closure.prototype = {
  40499. call$2(key, value) {
  40500. this.$this.$indexSet(0, key, value);
  40501. },
  40502. $signature() {
  40503. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40504. }
  40505. };
  40506. A.MapBase_entries_closure.prototype = {
  40507. call$1(key) {
  40508. var t1 = this.$this,
  40509. t2 = t1.$index(0, key);
  40510. if (t2 == null)
  40511. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40512. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40513. },
  40514. $signature() {
  40515. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40516. }
  40517. };
  40518. A.MapBase_mapToString_closure.prototype = {
  40519. call$2(k, v) {
  40520. var t2,
  40521. t1 = this._box_0;
  40522. if (!t1.first)
  40523. this.result._contents += ", ";
  40524. t1.first = false;
  40525. t1 = this.result;
  40526. t2 = A.S(k);
  40527. t1._contents = (t1._contents += t2) + ": ";
  40528. t2 = A.S(v);
  40529. t1._contents += t2;
  40530. },
  40531. $signature: 170
  40532. };
  40533. A.UnmodifiableMapBase.prototype = {};
  40534. A._MapBaseValueIterable.prototype = {
  40535. get$length(_) {
  40536. var t1 = this._map;
  40537. return t1.get$length(t1);
  40538. },
  40539. get$isEmpty(_) {
  40540. var t1 = this._map;
  40541. return t1.get$isEmpty(t1);
  40542. },
  40543. get$isNotEmpty(_) {
  40544. var t1 = this._map;
  40545. return t1.get$isNotEmpty(t1);
  40546. },
  40547. get$first(_) {
  40548. var t1 = this._map,
  40549. t2 = t1.get$keys(t1);
  40550. t2 = t1.$index(0, t2.get$first(t2));
  40551. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40552. },
  40553. get$single(_) {
  40554. var t1 = this._map,
  40555. t2 = t1.get$keys(t1);
  40556. t2 = t1.$index(0, t2.get$single(t2));
  40557. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40558. },
  40559. get$last(_) {
  40560. var t1 = this._map,
  40561. t2 = t1.get$keys(t1);
  40562. t2 = t1.$index(0, t2.get$last(t2));
  40563. return t2 == null ? this.$ti._rest[1]._as(t2) : t2;
  40564. },
  40565. get$iterator(_) {
  40566. var t1 = this._map,
  40567. t2 = t1.get$keys(t1);
  40568. return new A._MapBaseValueIterator(t2.get$iterator(t2), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40569. }
  40570. };
  40571. A._MapBaseValueIterator.prototype = {
  40572. moveNext$0() {
  40573. var _this = this,
  40574. t1 = _this._collection$_keys;
  40575. if (t1.moveNext$0()) {
  40576. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40577. return true;
  40578. }
  40579. _this._collection$_current = null;
  40580. return false;
  40581. },
  40582. get$current(_) {
  40583. var t1 = this._collection$_current;
  40584. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40585. }
  40586. };
  40587. A._UnmodifiableMapMixin.prototype = {
  40588. $indexSet(_, key, value) {
  40589. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40590. },
  40591. addAll$1(_, other) {
  40592. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40593. },
  40594. remove$1(_, key) {
  40595. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40596. }
  40597. };
  40598. A.MapView.prototype = {
  40599. cast$2$0(_, $RK, $RV) {
  40600. return this._map.cast$2$0(0, $RK, $RV);
  40601. },
  40602. $index(_, key) {
  40603. return this._map.$index(0, key);
  40604. },
  40605. $indexSet(_, key, value) {
  40606. this._map.$indexSet(0, key, value);
  40607. },
  40608. addAll$1(_, other) {
  40609. this._map.addAll$1(0, other);
  40610. },
  40611. containsKey$1(key) {
  40612. return this._map.containsKey$1(key);
  40613. },
  40614. forEach$1(_, action) {
  40615. this._map.forEach$1(0, action);
  40616. },
  40617. get$isEmpty(_) {
  40618. var t1 = this._map;
  40619. return t1.get$isEmpty(t1);
  40620. },
  40621. get$isNotEmpty(_) {
  40622. var t1 = this._map;
  40623. return t1.get$isNotEmpty(t1);
  40624. },
  40625. get$length(_) {
  40626. var t1 = this._map;
  40627. return t1.get$length(t1);
  40628. },
  40629. get$keys(_) {
  40630. var t1 = this._map;
  40631. return t1.get$keys(t1);
  40632. },
  40633. remove$1(_, key) {
  40634. return this._map.remove$1(0, key);
  40635. },
  40636. toString$0(_) {
  40637. return this._map.toString$0(0);
  40638. },
  40639. get$values(_) {
  40640. var t1 = this._map;
  40641. return t1.get$values(t1);
  40642. },
  40643. get$entries(_) {
  40644. var t1 = this._map;
  40645. return t1.get$entries(t1);
  40646. },
  40647. $isMap: 1
  40648. };
  40649. A.UnmodifiableMapView.prototype = {
  40650. cast$2$0(_, $RK, $RV) {
  40651. return new A.UnmodifiableMapView(this._map.cast$2$0(0, $RK, $RV), $RK._eval$1("@<0>")._bind$1($RV)._eval$1("UnmodifiableMapView<1,2>"));
  40652. }
  40653. };
  40654. A.ListQueue.prototype = {
  40655. get$iterator(_) {
  40656. var _this = this;
  40657. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  40658. },
  40659. get$isEmpty(_) {
  40660. return this._head === this._tail;
  40661. },
  40662. get$length(_) {
  40663. return (this._tail - this._head & this._table.length - 1) >>> 0;
  40664. },
  40665. get$first(_) {
  40666. var _this = this,
  40667. t1 = _this._head;
  40668. if (t1 === _this._tail)
  40669. throw A.wrapException(A.IterableElementError_noElement());
  40670. t1 = _this._table[t1];
  40671. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40672. },
  40673. get$last(_) {
  40674. var _this = this,
  40675. t1 = _this._head,
  40676. t2 = _this._tail;
  40677. if (t1 === t2)
  40678. throw A.wrapException(A.IterableElementError_noElement());
  40679. t1 = _this._table;
  40680. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  40681. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40682. },
  40683. get$single(_) {
  40684. var t1, _this = this;
  40685. if (_this._head === _this._tail)
  40686. throw A.wrapException(A.IterableElementError_noElement());
  40687. if (_this.get$length(0) > 1)
  40688. throw A.wrapException(A.IterableElementError_tooMany());
  40689. t1 = _this._table[_this._head];
  40690. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40691. },
  40692. elementAt$1(_, index) {
  40693. var t1, _this = this;
  40694. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  40695. t1 = _this._table;
  40696. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  40697. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40698. },
  40699. toList$1$growable(_, growable) {
  40700. var t1, list, t2, t3, i, t4, _this = this,
  40701. mask = _this._table.length - 1,
  40702. $length = (_this._tail - _this._head & mask) >>> 0;
  40703. if ($length === 0) {
  40704. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  40705. return t1;
  40706. }
  40707. t1 = _this.$ti._precomputed1;
  40708. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  40709. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  40710. t4 = t2[(t3 + i & mask) >>> 0];
  40711. list[i] = t4 == null ? t1._as(t4) : t4;
  40712. }
  40713. return list;
  40714. },
  40715. toList$0(_) {
  40716. return this.toList$1$growable(0, true);
  40717. },
  40718. addAll$1(_, elements) {
  40719. var newTable, endSpace, preSpace, _this = this,
  40720. addCount = elements.length,
  40721. $length = _this.get$length(0),
  40722. t1 = $length + addCount,
  40723. t2 = _this._table,
  40724. t3 = t2.length;
  40725. if (t1 >= t3) {
  40726. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t1 + (t1 >>> 1)), null, false, _this.$ti._eval$1("1?"));
  40727. _this._tail = _this._collection$_writeToList$1(newTable);
  40728. _this._table = newTable;
  40729. _this._head = 0;
  40730. B.JSArray_methods.setRange$4(newTable, $length, t1, elements, 0);
  40731. _this._tail += addCount;
  40732. } else {
  40733. t1 = _this._tail;
  40734. endSpace = t3 - t1;
  40735. if (addCount < endSpace) {
  40736. B.JSArray_methods.setRange$4(t2, t1, t1 + addCount, elements, 0);
  40737. _this._tail += addCount;
  40738. } else {
  40739. preSpace = addCount - endSpace;
  40740. B.JSArray_methods.setRange$4(t2, t1, t1 + endSpace, elements, 0);
  40741. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  40742. _this._tail = preSpace;
  40743. }
  40744. }
  40745. ++_this._modificationCount;
  40746. },
  40747. clear$0(_) {
  40748. var t2, t3, _this = this,
  40749. i = _this._head,
  40750. t1 = _this._tail;
  40751. if (i !== t1) {
  40752. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  40753. t2[i] = null;
  40754. _this._head = _this._tail = 0;
  40755. ++_this._modificationCount;
  40756. }
  40757. },
  40758. toString$0(_) {
  40759. return A.Iterable_iterableToFullString(this, "{", "}");
  40760. },
  40761. addFirst$1(value) {
  40762. var _this = this,
  40763. t1 = _this._head,
  40764. t2 = _this._table;
  40765. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  40766. t2[t1] = value;
  40767. if (t1 === _this._tail)
  40768. _this._grow$0();
  40769. ++_this._modificationCount;
  40770. },
  40771. removeFirst$0() {
  40772. var t2, result, _this = this,
  40773. t1 = _this._head;
  40774. if (t1 === _this._tail)
  40775. throw A.wrapException(A.IterableElementError_noElement());
  40776. ++_this._modificationCount;
  40777. t2 = _this._table;
  40778. result = t2[t1];
  40779. if (result == null)
  40780. result = _this.$ti._precomputed1._as(result);
  40781. t2[t1] = null;
  40782. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  40783. return result;
  40784. },
  40785. _add$1(element) {
  40786. var _this = this,
  40787. t1 = _this._table,
  40788. t2 = _this._tail;
  40789. t1[t2] = element;
  40790. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  40791. _this._tail = t1;
  40792. if (_this._head === t1)
  40793. _this._grow$0();
  40794. ++_this._modificationCount;
  40795. },
  40796. _grow$0() {
  40797. var _this = this,
  40798. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  40799. t1 = _this._table,
  40800. t2 = _this._head,
  40801. split = t1.length - t2;
  40802. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  40803. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  40804. _this._head = 0;
  40805. _this._tail = _this._table.length;
  40806. _this._table = newTable;
  40807. },
  40808. _collection$_writeToList$1(target) {
  40809. var $length, firstPartSize, _this = this,
  40810. t1 = _this._head,
  40811. t2 = _this._tail,
  40812. t3 = _this._table;
  40813. if (t1 <= t2) {
  40814. $length = t2 - t1;
  40815. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  40816. return $length;
  40817. } else {
  40818. firstPartSize = t3.length - t1;
  40819. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  40820. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  40821. return _this._tail + firstPartSize;
  40822. }
  40823. },
  40824. $isQueue: 1
  40825. };
  40826. A._ListQueueIterator.prototype = {
  40827. get$current(_) {
  40828. var t1 = this._collection$_current;
  40829. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40830. },
  40831. moveNext$0() {
  40832. var t2, _this = this,
  40833. t1 = _this._queue;
  40834. if (_this._modificationCount !== t1._modificationCount)
  40835. A.throwExpression(A.ConcurrentModificationError$(t1));
  40836. t2 = _this._collection$_position;
  40837. if (t2 === _this._collection$_end) {
  40838. _this._collection$_current = null;
  40839. return false;
  40840. }
  40841. t1 = t1._table;
  40842. _this._collection$_current = t1[t2];
  40843. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  40844. return true;
  40845. }
  40846. };
  40847. A.SetBase.prototype = {
  40848. get$isEmpty(_) {
  40849. return this.get$length(this) === 0;
  40850. },
  40851. get$isNotEmpty(_) {
  40852. return this.get$length(this) !== 0;
  40853. },
  40854. addAll$1(_, elements) {
  40855. var t1;
  40856. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40857. this.add$1(0, t1.get$current(t1));
  40858. },
  40859. removeAll$1(elements) {
  40860. var t1;
  40861. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40862. this.remove$1(0, t1.get$current(t1));
  40863. },
  40864. difference$1(other) {
  40865. var t1, t2, element,
  40866. result = this.toSet$0(0);
  40867. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  40868. element = t1.get$current(t1);
  40869. if (t2.contains$1(0, element))
  40870. result.remove$1(0, element);
  40871. }
  40872. return result;
  40873. },
  40874. toList$1$growable(_, growable) {
  40875. var t1 = A.List_List$_of(this, A._instanceType(this)._precomputed1);
  40876. return t1;
  40877. },
  40878. toList$0(_) {
  40879. return this.toList$1$growable(0, true);
  40880. },
  40881. map$1$1(_, f, $T) {
  40882. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  40883. },
  40884. get$single(_) {
  40885. var it, _this = this;
  40886. if (_this.get$length(_this) > 1)
  40887. throw A.wrapException(A.IterableElementError_tooMany());
  40888. it = _this.get$iterator(_this);
  40889. if (!it.moveNext$0())
  40890. throw A.wrapException(A.IterableElementError_noElement());
  40891. return it.get$current(it);
  40892. },
  40893. toString$0(_) {
  40894. return A.Iterable_iterableToFullString(this, "{", "}");
  40895. },
  40896. where$1(_, f) {
  40897. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  40898. },
  40899. forEach$1(_, f) {
  40900. var t1;
  40901. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40902. f.call$1(t1.get$current(t1));
  40903. },
  40904. every$1(_, f) {
  40905. var t1;
  40906. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40907. if (!f.call$1(t1.get$current(t1)))
  40908. return false;
  40909. return true;
  40910. },
  40911. any$1(_, test) {
  40912. var t1;
  40913. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40914. if (test.call$1(t1.get$current(t1)))
  40915. return true;
  40916. return false;
  40917. },
  40918. take$1(_, n) {
  40919. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  40920. },
  40921. skip$1(_, n) {
  40922. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  40923. },
  40924. get$first(_) {
  40925. var it = this.get$iterator(this);
  40926. if (!it.moveNext$0())
  40927. throw A.wrapException(A.IterableElementError_noElement());
  40928. return it.get$current(it);
  40929. },
  40930. get$last(_) {
  40931. var result,
  40932. it = this.get$iterator(this);
  40933. if (!it.moveNext$0())
  40934. throw A.wrapException(A.IterableElementError_noElement());
  40935. do
  40936. result = it.get$current(it);
  40937. while (it.moveNext$0());
  40938. return result;
  40939. },
  40940. elementAt$1(_, index) {
  40941. var iterator, skipCount;
  40942. A.RangeError_checkNotNegative(index, "index");
  40943. iterator = this.get$iterator(this);
  40944. for (skipCount = index; iterator.moveNext$0();) {
  40945. if (skipCount === 0)
  40946. return iterator.get$current(iterator);
  40947. --skipCount;
  40948. }
  40949. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  40950. },
  40951. $isEfficientLengthIterable: 1,
  40952. $isIterable: 1,
  40953. $isSet: 1
  40954. };
  40955. A._SetBase.prototype = {
  40956. difference$1(other) {
  40957. var t1, t2, element, _this = this,
  40958. result = _this._newSet$0();
  40959. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  40960. element = t1._collection$_current;
  40961. if (element == null)
  40962. element = t2._as(element);
  40963. if (!other.contains$1(0, element))
  40964. result.add$1(0, element);
  40965. }
  40966. return result;
  40967. },
  40968. intersection$1(other) {
  40969. var t1, t2, element, _this = this,
  40970. result = _this._newSet$0();
  40971. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  40972. element = t1._collection$_current;
  40973. if (element == null)
  40974. element = t2._as(element);
  40975. if (other.contains$1(0, element))
  40976. result.add$1(0, element);
  40977. }
  40978. return result;
  40979. },
  40980. toSet$0(_) {
  40981. var t1 = this._newSet$0();
  40982. t1.addAll$1(0, this);
  40983. return t1;
  40984. }
  40985. };
  40986. A._UnmodifiableSetMixin.prototype = {
  40987. add$1(_, value) {
  40988. return A._UnmodifiableSetMixin__throwUnmodifiable();
  40989. },
  40990. addAll$1(_, elements) {
  40991. return A._UnmodifiableSetMixin__throwUnmodifiable();
  40992. },
  40993. remove$1(_, value) {
  40994. return A._UnmodifiableSetMixin__throwUnmodifiable();
  40995. }
  40996. };
  40997. A.UnmodifiableSetView.prototype = {
  40998. contains$1(_, element) {
  40999. return this._collection$_source.contains$1(0, element);
  41000. },
  41001. get$length(_) {
  41002. return this._collection$_source._collection$_length;
  41003. },
  41004. get$iterator(_) {
  41005. var t1 = this._collection$_source;
  41006. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1);
  41007. },
  41008. toSet$0(_) {
  41009. return this._collection$_source.toSet$0(0);
  41010. }
  41011. };
  41012. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41013. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41014. A._JsonMap.prototype = {
  41015. $index(_, key) {
  41016. var result,
  41017. t1 = this._processed;
  41018. if (t1 == null)
  41019. return this._data.$index(0, key);
  41020. else if (typeof key != "string")
  41021. return null;
  41022. else {
  41023. result = t1[key];
  41024. return typeof result == "undefined" ? this._process$1(key) : result;
  41025. }
  41026. },
  41027. get$length(_) {
  41028. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41029. },
  41030. get$isEmpty(_) {
  41031. return this.get$length(0) === 0;
  41032. },
  41033. get$isNotEmpty(_) {
  41034. return this.get$length(0) > 0;
  41035. },
  41036. get$keys(_) {
  41037. var t1;
  41038. if (this._processed == null) {
  41039. t1 = this._data;
  41040. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41041. }
  41042. return new A._JsonMapKeyIterable(this);
  41043. },
  41044. get$values(_) {
  41045. var t1, _this = this;
  41046. if (_this._processed == null) {
  41047. t1 = _this._data;
  41048. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41049. }
  41050. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41051. },
  41052. $indexSet(_, key, value) {
  41053. var processed, original, _this = this;
  41054. if (_this._processed == null)
  41055. _this._data.$indexSet(0, key, value);
  41056. else if (_this.containsKey$1(key)) {
  41057. processed = _this._processed;
  41058. processed[key] = value;
  41059. original = _this._original;
  41060. if (original == null ? processed != null : original !== processed)
  41061. original[key] = null;
  41062. } else
  41063. _this._upgrade$0().$indexSet(0, key, value);
  41064. },
  41065. addAll$1(_, other) {
  41066. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41067. },
  41068. containsKey$1(key) {
  41069. if (this._processed == null)
  41070. return this._data.containsKey$1(key);
  41071. if (typeof key != "string")
  41072. return false;
  41073. return Object.prototype.hasOwnProperty.call(this._original, key);
  41074. },
  41075. remove$1(_, key) {
  41076. if (this._processed != null && !this.containsKey$1(key))
  41077. return null;
  41078. return this._upgrade$0().remove$1(0, key);
  41079. },
  41080. forEach$1(_, f) {
  41081. var keys, i, key, value, _this = this;
  41082. if (_this._processed == null)
  41083. return _this._data.forEach$1(0, f);
  41084. keys = _this._convert$_computeKeys$0();
  41085. for (i = 0; i < keys.length; ++i) {
  41086. key = keys[i];
  41087. value = _this._processed[key];
  41088. if (typeof value == "undefined") {
  41089. value = A._convertJsonToDartLazy(_this._original[key]);
  41090. _this._processed[key] = value;
  41091. }
  41092. f.call$2(key, value);
  41093. if (keys !== _this._data)
  41094. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41095. }
  41096. },
  41097. _convert$_computeKeys$0() {
  41098. var keys = this._data;
  41099. if (keys == null)
  41100. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41101. return keys;
  41102. },
  41103. _upgrade$0() {
  41104. var result, keys, i, t1, key, _this = this;
  41105. if (_this._processed == null)
  41106. return _this._data;
  41107. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41108. keys = _this._convert$_computeKeys$0();
  41109. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41110. key = keys[i];
  41111. result.$indexSet(0, key, _this.$index(0, key));
  41112. }
  41113. if (t1 === 0)
  41114. keys.push("");
  41115. else
  41116. B.JSArray_methods.clear$0(keys);
  41117. _this._original = _this._processed = null;
  41118. return _this._data = result;
  41119. },
  41120. _process$1(key) {
  41121. var result;
  41122. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41123. return null;
  41124. result = A._convertJsonToDartLazy(this._original[key]);
  41125. return this._processed[key] = result;
  41126. }
  41127. };
  41128. A._JsonMap_values_closure.prototype = {
  41129. call$1(each) {
  41130. return this.$this.$index(0, each);
  41131. },
  41132. $signature: 199
  41133. };
  41134. A._JsonMap_addAll_closure.prototype = {
  41135. call$2(key, value) {
  41136. this.$this.$indexSet(0, key, value);
  41137. },
  41138. $signature: 139
  41139. };
  41140. A._JsonMapKeyIterable.prototype = {
  41141. get$length(_) {
  41142. return this._convert$_parent.get$length(0);
  41143. },
  41144. elementAt$1(_, index) {
  41145. var t1 = this._convert$_parent;
  41146. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41147. },
  41148. get$iterator(_) {
  41149. var t1 = this._convert$_parent;
  41150. if (t1._processed == null) {
  41151. t1 = t1.get$keys(0);
  41152. t1 = t1.get$iterator(t1);
  41153. } else {
  41154. t1 = t1._convert$_computeKeys$0();
  41155. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41156. }
  41157. return t1;
  41158. },
  41159. contains$1(_, key) {
  41160. return this._convert$_parent.containsKey$1(key);
  41161. }
  41162. };
  41163. A._Utf8Decoder__decoder_closure.prototype = {
  41164. call$0() {
  41165. var t1, exception;
  41166. try {
  41167. t1 = new TextDecoder("utf-8", {fatal: true});
  41168. return t1;
  41169. } catch (exception) {
  41170. }
  41171. return null;
  41172. },
  41173. $signature: 59
  41174. };
  41175. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41176. call$0() {
  41177. var t1, exception;
  41178. try {
  41179. t1 = new TextDecoder("utf-8", {fatal: false});
  41180. return t1;
  41181. } catch (exception) {
  41182. }
  41183. return null;
  41184. },
  41185. $signature: 59
  41186. };
  41187. A.AsciiCodec.prototype = {
  41188. encode$1(source) {
  41189. return B.AsciiEncoder_127.convert$1(source);
  41190. }
  41191. };
  41192. A._UnicodeSubsetEncoder.prototype = {
  41193. convert$1(string) {
  41194. var t1, i, codeUnit,
  41195. end = A.RangeError_checkValidRange(0, null, string.length),
  41196. result = new Uint8Array(end);
  41197. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41198. codeUnit = string.charCodeAt(i);
  41199. if ((codeUnit & t1) !== 0)
  41200. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41201. result[i] = codeUnit;
  41202. }
  41203. return result;
  41204. }
  41205. };
  41206. A.AsciiEncoder.prototype = {};
  41207. A.Base64Codec.prototype = {
  41208. normalize$3(source, start, end) {
  41209. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41210. _s31_ = "Invalid base64 encoding length ";
  41211. end = A.RangeError_checkValidRange(start, end, source.length);
  41212. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41213. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41214. i0 = i + 1;
  41215. char = source.charCodeAt(i);
  41216. if (char === 37) {
  41217. i1 = i0 + 2;
  41218. if (i1 <= end) {
  41219. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41220. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41221. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41222. if (char0 === 37)
  41223. char0 = -1;
  41224. i0 = i1;
  41225. } else
  41226. char0 = -1;
  41227. } else
  41228. char0 = char;
  41229. if (0 <= char0 && char0 <= 127) {
  41230. value = inverseAlphabet[char0];
  41231. if (value >= 0) {
  41232. char0 = string$.ABCDEF.charCodeAt(value);
  41233. if (char0 === char)
  41234. continue;
  41235. char = char0;
  41236. } else {
  41237. if (value === -1) {
  41238. if (firstPadding < 0) {
  41239. t1 = buffer == null ? null : buffer._contents.length;
  41240. if (t1 == null)
  41241. t1 = 0;
  41242. firstPadding = t1 + (i - sliceStart);
  41243. firstPaddingSourceIndex = i;
  41244. }
  41245. ++paddingCount;
  41246. if (char === 61)
  41247. continue;
  41248. }
  41249. char = char0;
  41250. }
  41251. if (value !== -2) {
  41252. if (buffer == null) {
  41253. buffer = new A.StringBuffer("");
  41254. t1 = buffer;
  41255. } else
  41256. t1 = buffer;
  41257. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41258. t2 = A.Primitives_stringFromCharCode(char);
  41259. t1._contents += t2;
  41260. sliceStart = i0;
  41261. continue;
  41262. }
  41263. }
  41264. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41265. }
  41266. if (buffer != null) {
  41267. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41268. t1 = buffer._contents += t1;
  41269. t2 = t1.length;
  41270. if (firstPadding >= 0)
  41271. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41272. else {
  41273. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41274. if (endLength === 1)
  41275. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41276. for (; endLength < 4;) {
  41277. t1 += "=";
  41278. buffer._contents = t1;
  41279. ++endLength;
  41280. }
  41281. }
  41282. t1 = buffer._contents;
  41283. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41284. }
  41285. $length = end - start;
  41286. if (firstPadding >= 0)
  41287. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41288. else {
  41289. endLength = B.JSInt_methods.$mod($length, 4);
  41290. if (endLength === 1)
  41291. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41292. if (endLength > 1)
  41293. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41294. }
  41295. return source;
  41296. }
  41297. };
  41298. A.Base64Encoder.prototype = {
  41299. startChunkedConversion$1(sink) {
  41300. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41301. }
  41302. };
  41303. A._Base64Encoder.prototype = {
  41304. createBuffer$1(bufferLength) {
  41305. return new Uint8Array(bufferLength);
  41306. },
  41307. encode$4(bytes, start, end, isLast) {
  41308. var output, _this = this,
  41309. byteCount = (_this._convert$_state & 3) + (end - start),
  41310. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41311. bufferLength = fullChunks * 4;
  41312. if (isLast && byteCount - fullChunks * 3 > 0)
  41313. bufferLength += 4;
  41314. output = _this.createBuffer$1(bufferLength);
  41315. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41316. if (bufferLength > 0)
  41317. return output;
  41318. return null;
  41319. }
  41320. };
  41321. A._Base64EncoderSink.prototype = {};
  41322. A._Utf8Base64EncoderSink.prototype = {
  41323. _convert$_add$4(source, start, end, isLast) {
  41324. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41325. if (buffer != null)
  41326. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41327. }
  41328. };
  41329. A.ByteConversionSink.prototype = {};
  41330. A.Codec.prototype = {};
  41331. A.Converter.prototype = {};
  41332. A.Encoding.prototype = {};
  41333. A.JsonUnsupportedObjectError.prototype = {
  41334. toString$0(_) {
  41335. var safeString = A.Error_safeToString(this.unsupportedObject);
  41336. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41337. }
  41338. };
  41339. A.JsonCyclicError.prototype = {
  41340. toString$0(_) {
  41341. return "Cyclic error in JSON stringify";
  41342. }
  41343. };
  41344. A.JsonCodec.prototype = {
  41345. decode$1(source) {
  41346. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41347. return t1;
  41348. },
  41349. encode$2$toEncodable(value, toEncodable) {
  41350. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41351. return t1;
  41352. },
  41353. get$encoder() {
  41354. return B.JsonEncoder_null;
  41355. },
  41356. get$decoder() {
  41357. return B.JsonDecoder_null;
  41358. }
  41359. };
  41360. A.JsonEncoder.prototype = {};
  41361. A.JsonDecoder.prototype = {};
  41362. A._JsonStringifier.prototype = {
  41363. writeStringContent$1(s) {
  41364. var offset, i, charCode, t1, t2, _this = this,
  41365. $length = s.length;
  41366. for (offset = 0, i = 0; i < $length; ++i) {
  41367. charCode = s.charCodeAt(i);
  41368. if (charCode > 92) {
  41369. if (charCode >= 55296) {
  41370. t1 = charCode & 64512;
  41371. if (t1 === 55296) {
  41372. t2 = i + 1;
  41373. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41374. } else
  41375. t2 = false;
  41376. if (!t2)
  41377. if (t1 === 56320) {
  41378. t1 = i - 1;
  41379. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41380. } else
  41381. t1 = false;
  41382. else
  41383. t1 = true;
  41384. if (t1) {
  41385. if (i > offset)
  41386. _this.writeStringSlice$3(s, offset, i);
  41387. offset = i + 1;
  41388. _this.writeCharCode$1(92);
  41389. _this.writeCharCode$1(117);
  41390. _this.writeCharCode$1(100);
  41391. t1 = charCode >>> 8 & 15;
  41392. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41393. t1 = charCode >>> 4 & 15;
  41394. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41395. t1 = charCode & 15;
  41396. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41397. }
  41398. }
  41399. continue;
  41400. }
  41401. if (charCode < 32) {
  41402. if (i > offset)
  41403. _this.writeStringSlice$3(s, offset, i);
  41404. offset = i + 1;
  41405. _this.writeCharCode$1(92);
  41406. switch (charCode) {
  41407. case 8:
  41408. _this.writeCharCode$1(98);
  41409. break;
  41410. case 9:
  41411. _this.writeCharCode$1(116);
  41412. break;
  41413. case 10:
  41414. _this.writeCharCode$1(110);
  41415. break;
  41416. case 12:
  41417. _this.writeCharCode$1(102);
  41418. break;
  41419. case 13:
  41420. _this.writeCharCode$1(114);
  41421. break;
  41422. default:
  41423. _this.writeCharCode$1(117);
  41424. _this.writeCharCode$1(48);
  41425. _this.writeCharCode$1(48);
  41426. t1 = charCode >>> 4 & 15;
  41427. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41428. t1 = charCode & 15;
  41429. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41430. break;
  41431. }
  41432. } else if (charCode === 34 || charCode === 92) {
  41433. if (i > offset)
  41434. _this.writeStringSlice$3(s, offset, i);
  41435. offset = i + 1;
  41436. _this.writeCharCode$1(92);
  41437. _this.writeCharCode$1(charCode);
  41438. }
  41439. }
  41440. if (offset === 0)
  41441. _this.writeString$1(s);
  41442. else if (offset < $length)
  41443. _this.writeStringSlice$3(s, offset, $length);
  41444. },
  41445. _checkCycle$1(object) {
  41446. var t1, t2, i, t3;
  41447. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41448. t3 = t1[i];
  41449. if (object == null ? t3 == null : object === t3)
  41450. throw A.wrapException(new A.JsonCyclicError(object, null));
  41451. }
  41452. t1.push(object);
  41453. },
  41454. writeObject$1(object) {
  41455. var customJson, e, t1, exception, _this = this;
  41456. if (_this.writeJsonValue$1(object))
  41457. return;
  41458. _this._checkCycle$1(object);
  41459. try {
  41460. customJson = _this._toEncodable.call$1(object);
  41461. if (!_this.writeJsonValue$1(customJson)) {
  41462. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41463. throw A.wrapException(t1);
  41464. }
  41465. _this._seen.pop();
  41466. } catch (exception) {
  41467. e = A.unwrapException(exception);
  41468. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41469. throw A.wrapException(t1);
  41470. }
  41471. },
  41472. writeJsonValue$1(object) {
  41473. var success, _this = this;
  41474. if (typeof object == "number") {
  41475. if (!isFinite(object))
  41476. return false;
  41477. _this.writeNumber$1(object);
  41478. return true;
  41479. } else if (object === true) {
  41480. _this.writeString$1("true");
  41481. return true;
  41482. } else if (object === false) {
  41483. _this.writeString$1("false");
  41484. return true;
  41485. } else if (object == null) {
  41486. _this.writeString$1("null");
  41487. return true;
  41488. } else if (typeof object == "string") {
  41489. _this.writeString$1('"');
  41490. _this.writeStringContent$1(object);
  41491. _this.writeString$1('"');
  41492. return true;
  41493. } else if (type$.List_dynamic._is(object)) {
  41494. _this._checkCycle$1(object);
  41495. _this.writeList$1(object);
  41496. _this._seen.pop();
  41497. return true;
  41498. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41499. _this._checkCycle$1(object);
  41500. success = _this.writeMap$1(object);
  41501. _this._seen.pop();
  41502. return success;
  41503. } else
  41504. return false;
  41505. },
  41506. writeList$1(list) {
  41507. var t1, i, _this = this;
  41508. _this.writeString$1("[");
  41509. t1 = J.getInterceptor$asx(list);
  41510. if (t1.get$isNotEmpty(list)) {
  41511. _this.writeObject$1(t1.$index(list, 0));
  41512. for (i = 1; i < t1.get$length(list); ++i) {
  41513. _this.writeString$1(",");
  41514. _this.writeObject$1(t1.$index(list, i));
  41515. }
  41516. }
  41517. _this.writeString$1("]");
  41518. },
  41519. writeMap$1(map) {
  41520. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41521. if (map.get$isEmpty(map)) {
  41522. _this.writeString$1("{}");
  41523. return true;
  41524. }
  41525. t1 = map.get$length(map) * 2;
  41526. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41527. i = _box_0.i = 0;
  41528. _box_0.allStringKeys = true;
  41529. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41530. if (!_box_0.allStringKeys)
  41531. return false;
  41532. _this.writeString$1("{");
  41533. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41534. _this.writeString$1(separator);
  41535. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41536. _this.writeString$1('":');
  41537. _this.writeObject$1(keyValueList[i + 1]);
  41538. }
  41539. _this.writeString$1("}");
  41540. return true;
  41541. }
  41542. };
  41543. A._JsonStringifier_writeMap_closure.prototype = {
  41544. call$2(key, value) {
  41545. var t1, t2, t3, i;
  41546. if (typeof key != "string")
  41547. this._box_0.allStringKeys = false;
  41548. t1 = this.keyValueList;
  41549. t2 = this._box_0;
  41550. t3 = t2.i;
  41551. i = t2.i = t3 + 1;
  41552. t1[t3] = key;
  41553. t2.i = i + 1;
  41554. t1[i] = value;
  41555. },
  41556. $signature: 170
  41557. };
  41558. A._JsonStringStringifier.prototype = {
  41559. get$_partialResult() {
  41560. var t1 = this._sink._contents;
  41561. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41562. },
  41563. writeNumber$1(number) {
  41564. this._sink._contents += B.JSNumber_methods.toString$0(number);
  41565. },
  41566. writeString$1(string) {
  41567. this._sink._contents += string;
  41568. },
  41569. writeStringSlice$3(string, start, end) {
  41570. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41571. },
  41572. writeCharCode$1(charCode) {
  41573. var t1 = this._sink,
  41574. t2 = A.Primitives_stringFromCharCode(charCode);
  41575. t1._contents += t2;
  41576. }
  41577. };
  41578. A.StringConversionSink.prototype = {};
  41579. A._StringSinkConversionSink.prototype = {
  41580. close$0(_) {
  41581. }
  41582. };
  41583. A._StringCallbackSink.prototype = {
  41584. close$0(_) {
  41585. var t1 = this._stringSink,
  41586. t2 = t1._contents;
  41587. t1._contents = "";
  41588. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41589. },
  41590. asUtf8Sink$1(allowMalformed) {
  41591. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41592. }
  41593. };
  41594. A._Utf8StringSinkAdapter.prototype = {
  41595. close$0(_) {
  41596. this._decoder.flush$1(this._stringSink);
  41597. this._sink.close$0(0);
  41598. },
  41599. add$1(_, chunk) {
  41600. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41601. },
  41602. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41603. var t1 = this._stringSink,
  41604. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41605. t1._contents += t2;
  41606. if (isLast)
  41607. this.close$0(0);
  41608. }
  41609. };
  41610. A.Utf8Codec.prototype = {
  41611. encode$1(string) {
  41612. return B.C_Utf8Encoder.convert$1(string);
  41613. }
  41614. };
  41615. A.Utf8Encoder.prototype = {
  41616. convert$1(string) {
  41617. var t1, encoder,
  41618. end = A.RangeError_checkValidRange(0, null, string.length);
  41619. if (end === 0)
  41620. return new Uint8Array(0);
  41621. t1 = new Uint8Array(end * 3);
  41622. encoder = new A._Utf8Encoder(t1);
  41623. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41624. encoder._writeReplacementCharacter$0();
  41625. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41626. }
  41627. };
  41628. A._Utf8Encoder.prototype = {
  41629. _writeReplacementCharacter$0() {
  41630. var _this = this,
  41631. t1 = _this._buffer,
  41632. t2 = _this._bufferIndex,
  41633. t3 = _this._bufferIndex = t2 + 1;
  41634. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41635. t1[t2] = 239;
  41636. t2 = _this._bufferIndex = t3 + 1;
  41637. t1[t3] = 191;
  41638. _this._bufferIndex = t2 + 1;
  41639. t1[t2] = 189;
  41640. },
  41641. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  41642. var rune, t1, t2, t3, _this = this;
  41643. if ((nextCodeUnit & 64512) === 56320) {
  41644. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  41645. t1 = _this._buffer;
  41646. t2 = _this._bufferIndex;
  41647. t3 = _this._bufferIndex = t2 + 1;
  41648. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41649. t1[t2] = rune >>> 18 | 240;
  41650. t2 = _this._bufferIndex = t3 + 1;
  41651. t1[t3] = rune >>> 12 & 63 | 128;
  41652. t3 = _this._bufferIndex = t2 + 1;
  41653. t1[t2] = rune >>> 6 & 63 | 128;
  41654. _this._bufferIndex = t3 + 1;
  41655. t1[t3] = rune & 63 | 128;
  41656. return true;
  41657. } else {
  41658. _this._writeReplacementCharacter$0();
  41659. return false;
  41660. }
  41661. },
  41662. _fillBuffer$3(str, start, end) {
  41663. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  41664. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  41665. --end;
  41666. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  41667. codeUnit = str.charCodeAt(stringIndex);
  41668. if (codeUnit <= 127) {
  41669. t4 = _this._bufferIndex;
  41670. if (t4 >= t3)
  41671. break;
  41672. _this._bufferIndex = t4 + 1;
  41673. t2 & 2 && A.throwUnsupportedOperation(t1);
  41674. t1[t4] = codeUnit;
  41675. } else {
  41676. t4 = codeUnit & 64512;
  41677. if (t4 === 55296) {
  41678. if (_this._bufferIndex + 4 > t3)
  41679. break;
  41680. stringIndex0 = stringIndex + 1;
  41681. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  41682. stringIndex = stringIndex0;
  41683. } else if (t4 === 56320) {
  41684. if (_this._bufferIndex + 3 > t3)
  41685. break;
  41686. _this._writeReplacementCharacter$0();
  41687. } else if (codeUnit <= 2047) {
  41688. t4 = _this._bufferIndex;
  41689. t5 = t4 + 1;
  41690. if (t5 >= t3)
  41691. break;
  41692. _this._bufferIndex = t5;
  41693. t2 & 2 && A.throwUnsupportedOperation(t1);
  41694. t1[t4] = codeUnit >>> 6 | 192;
  41695. _this._bufferIndex = t5 + 1;
  41696. t1[t5] = codeUnit & 63 | 128;
  41697. } else {
  41698. t4 = _this._bufferIndex;
  41699. if (t4 + 2 >= t3)
  41700. break;
  41701. t5 = _this._bufferIndex = t4 + 1;
  41702. t2 & 2 && A.throwUnsupportedOperation(t1);
  41703. t1[t4] = codeUnit >>> 12 | 224;
  41704. t4 = _this._bufferIndex = t5 + 1;
  41705. t1[t5] = codeUnit >>> 6 & 63 | 128;
  41706. _this._bufferIndex = t4 + 1;
  41707. t1[t4] = codeUnit & 63 | 128;
  41708. }
  41709. }
  41710. }
  41711. return stringIndex;
  41712. }
  41713. };
  41714. A.Utf8Decoder.prototype = {
  41715. convert$1(codeUnits) {
  41716. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  41717. }
  41718. };
  41719. A._Utf8Decoder.prototype = {
  41720. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  41721. var casted, bytes, errorOffset, t1, result, message, _this = this,
  41722. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  41723. if (start === end)
  41724. return "";
  41725. if (codeUnits instanceof Uint8Array) {
  41726. casted = codeUnits;
  41727. bytes = casted;
  41728. errorOffset = 0;
  41729. } else {
  41730. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  41731. end -= start;
  41732. errorOffset = start;
  41733. start = 0;
  41734. }
  41735. if (single && end - start >= 15) {
  41736. t1 = _this.allowMalformed;
  41737. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  41738. if (result != null) {
  41739. if (!t1)
  41740. return result;
  41741. if (result.indexOf("\ufffd") < 0)
  41742. return result;
  41743. }
  41744. }
  41745. result = _this._decodeRecursive$4(bytes, start, end, single);
  41746. t1 = _this._convert$_state;
  41747. if ((t1 & 1) !== 0) {
  41748. message = A._Utf8Decoder_errorDescription(t1);
  41749. _this._convert$_state = 0;
  41750. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  41751. }
  41752. return result;
  41753. },
  41754. _decodeRecursive$4(bytes, start, end, single) {
  41755. var mid, s1, _this = this;
  41756. if (end - start > 1000) {
  41757. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  41758. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  41759. if ((_this._convert$_state & 1) !== 0)
  41760. return s1;
  41761. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  41762. }
  41763. return _this.decodeGeneral$4(bytes, start, end, single);
  41764. },
  41765. flush$1(sink) {
  41766. var t1,
  41767. state = this._convert$_state;
  41768. this._convert$_state = 0;
  41769. if (state <= 32)
  41770. return;
  41771. if (this.allowMalformed) {
  41772. t1 = A.Primitives_stringFromCharCode(65533);
  41773. sink._contents += t1;
  41774. } else
  41775. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  41776. },
  41777. decodeGeneral$4(bytes, start, end, single) {
  41778. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  41779. state = _this._convert$_state,
  41780. char = _this._charOrIndex,
  41781. buffer = new A.StringBuffer(""),
  41782. i = start + 1,
  41783. byte = bytes[start];
  41784. $label0$0:
  41785. for (t1 = _this.allowMalformed; true;) {
  41786. for (; true; i = i0) {
  41787. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  41788. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  41789. 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);
  41790. if (state === 0) {
  41791. t2 = A.Primitives_stringFromCharCode(char);
  41792. buffer._contents += t2;
  41793. if (i === end)
  41794. break $label0$0;
  41795. break;
  41796. } else if ((state & 1) !== 0) {
  41797. if (t1)
  41798. switch (state) {
  41799. case 69:
  41800. case 67:
  41801. t2 = A.Primitives_stringFromCharCode(_65533);
  41802. buffer._contents += t2;
  41803. break;
  41804. case 65:
  41805. t2 = A.Primitives_stringFromCharCode(_65533);
  41806. buffer._contents += t2;
  41807. --i;
  41808. break;
  41809. default:
  41810. t2 = A.Primitives_stringFromCharCode(_65533);
  41811. buffer._contents = (buffer._contents += t2) + t2;
  41812. break;
  41813. }
  41814. else {
  41815. _this._convert$_state = state;
  41816. _this._charOrIndex = i - 1;
  41817. return "";
  41818. }
  41819. state = 0;
  41820. }
  41821. if (i === end)
  41822. break $label0$0;
  41823. i0 = i + 1;
  41824. byte = bytes[i];
  41825. }
  41826. i0 = i + 1;
  41827. byte = bytes[i];
  41828. if (byte < 128) {
  41829. while (true) {
  41830. if (!(i0 < end)) {
  41831. markEnd = end;
  41832. break;
  41833. }
  41834. i1 = i0 + 1;
  41835. byte = bytes[i0];
  41836. if (byte >= 128) {
  41837. markEnd = i1 - 1;
  41838. i0 = i1;
  41839. break;
  41840. }
  41841. i0 = i1;
  41842. }
  41843. if (markEnd - i < 20)
  41844. for (m = i; m < markEnd; ++m) {
  41845. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  41846. buffer._contents += t2;
  41847. }
  41848. else {
  41849. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  41850. buffer._contents += t2;
  41851. }
  41852. if (markEnd === end)
  41853. break $label0$0;
  41854. i = i0;
  41855. } else
  41856. i = i0;
  41857. }
  41858. if (single && state > 32)
  41859. if (t1) {
  41860. t1 = A.Primitives_stringFromCharCode(_65533);
  41861. buffer._contents += t1;
  41862. } else {
  41863. _this._convert$_state = 77;
  41864. _this._charOrIndex = end;
  41865. return "";
  41866. }
  41867. _this._convert$_state = state;
  41868. _this._charOrIndex = char;
  41869. t1 = buffer._contents;
  41870. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41871. }
  41872. };
  41873. A.NoSuchMethodError_toString_closure.prototype = {
  41874. call$2(key, value) {
  41875. var t1 = this.sb,
  41876. t2 = this._box_0,
  41877. t3 = (t1._contents += t2.comma) + key.__internal$_name;
  41878. t1._contents = t3;
  41879. t1._contents = t3 + ": ";
  41880. t3 = A.Error_safeToString(value);
  41881. t1._contents += t3;
  41882. t2.comma = ", ";
  41883. },
  41884. $signature: 467
  41885. };
  41886. A.DateTime.prototype = {
  41887. $eq(_, other) {
  41888. var t1;
  41889. if (other == null)
  41890. return false;
  41891. t1 = false;
  41892. if (other instanceof A.DateTime)
  41893. if (this._value === other._value)
  41894. t1 = this._microsecond === other._microsecond;
  41895. return t1;
  41896. },
  41897. get$hashCode(_) {
  41898. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  41899. },
  41900. isAfter$1(other) {
  41901. var t1 = this._value,
  41902. t2 = other._value;
  41903. if (t1 <= t2)
  41904. t1 = t1 === t2 && this._microsecond > other._microsecond;
  41905. else
  41906. t1 = true;
  41907. return t1;
  41908. },
  41909. compareTo$1(_, other) {
  41910. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  41911. if (r !== 0)
  41912. return r;
  41913. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  41914. },
  41915. toString$0(_) {
  41916. var _this = this,
  41917. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  41918. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  41919. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  41920. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  41921. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  41922. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  41923. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  41924. t1 = _this._microsecond,
  41925. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  41926. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  41927. },
  41928. $isComparable: 1
  41929. };
  41930. A.Duration.prototype = {
  41931. $eq(_, other) {
  41932. if (other == null)
  41933. return false;
  41934. return other instanceof A.Duration && this._duration === other._duration;
  41935. },
  41936. get$hashCode(_) {
  41937. return B.JSInt_methods.get$hashCode(this._duration);
  41938. },
  41939. compareTo$1(_, other) {
  41940. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  41941. },
  41942. toString$0(_) {
  41943. var sign, minutes, minutesPadding, seconds, secondsPadding,
  41944. microseconds = this._duration,
  41945. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  41946. microseconds0 = microseconds % 3600000000;
  41947. if (microseconds < 0) {
  41948. hours = 0 - hours;
  41949. microseconds = 0 - microseconds0;
  41950. sign = "-";
  41951. } else {
  41952. microseconds = microseconds0;
  41953. sign = "";
  41954. }
  41955. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  41956. microseconds %= 60000000;
  41957. minutesPadding = minutes < 10 ? "0" : "";
  41958. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  41959. secondsPadding = seconds < 10 ? "0" : "";
  41960. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  41961. },
  41962. $isComparable: 1
  41963. };
  41964. A._Enum.prototype = {
  41965. toString$0(_) {
  41966. return this._enumToString$0();
  41967. }
  41968. };
  41969. A.Error.prototype = {
  41970. get$stackTrace() {
  41971. return A.Primitives_extractStackTrace(this);
  41972. }
  41973. };
  41974. A.AssertionError.prototype = {
  41975. toString$0(_) {
  41976. var t1 = this.message;
  41977. if (t1 != null)
  41978. return "Assertion failed: " + A.Error_safeToString(t1);
  41979. return "Assertion failed";
  41980. },
  41981. get$message(receiver) {
  41982. return this.message;
  41983. }
  41984. };
  41985. A.TypeError.prototype = {};
  41986. A.ArgumentError.prototype = {
  41987. get$_errorName() {
  41988. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  41989. },
  41990. get$_errorExplanation() {
  41991. return "";
  41992. },
  41993. toString$0(_) {
  41994. var _this = this,
  41995. $name = _this.name,
  41996. nameString = $name == null ? "" : " (" + $name + ")",
  41997. message = _this.message,
  41998. messageString = message == null ? "" : ": " + A.S(message),
  41999. prefix = _this.get$_errorName() + nameString + messageString;
  42000. if (!_this._hasValue)
  42001. return prefix;
  42002. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42003. },
  42004. get$invalidValue() {
  42005. return this.invalidValue;
  42006. },
  42007. get$message(receiver) {
  42008. return this.message;
  42009. }
  42010. };
  42011. A.RangeError.prototype = {
  42012. get$invalidValue() {
  42013. return this.invalidValue;
  42014. },
  42015. get$_errorName() {
  42016. return "RangeError";
  42017. },
  42018. get$_errorExplanation() {
  42019. var explanation,
  42020. start = this.start,
  42021. end = this.end;
  42022. if (start == null)
  42023. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42024. else if (end == null)
  42025. explanation = ": Not greater than or equal to " + A.S(start);
  42026. else if (end > start)
  42027. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42028. else
  42029. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42030. return explanation;
  42031. }
  42032. };
  42033. A.IndexError.prototype = {
  42034. get$invalidValue() {
  42035. return this.invalidValue;
  42036. },
  42037. get$_errorName() {
  42038. return "RangeError";
  42039. },
  42040. get$_errorExplanation() {
  42041. if (this.invalidValue < 0)
  42042. return ": index must not be negative";
  42043. var t1 = this.length;
  42044. if (t1 === 0)
  42045. return ": no indices are valid";
  42046. return ": index should be less than " + t1;
  42047. },
  42048. $isRangeError: 1,
  42049. get$length(receiver) {
  42050. return this.length;
  42051. }
  42052. };
  42053. A.NoSuchMethodError.prototype = {
  42054. toString$0(_) {
  42055. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42056. sb = new A.StringBuffer("");
  42057. _box_0.comma = "";
  42058. $arguments = _this._core$_arguments;
  42059. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42060. argument = $arguments[_i];
  42061. sb._contents = t2 + t3;
  42062. t2 = A.Error_safeToString(argument);
  42063. t2 = sb._contents += t2;
  42064. _box_0.comma = ", ";
  42065. }
  42066. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42067. receiverText = A.Error_safeToString(_this._core$_receiver);
  42068. actualParameters = sb.toString$0(0);
  42069. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42070. }
  42071. };
  42072. A.UnsupportedError.prototype = {
  42073. toString$0(_) {
  42074. return "Unsupported operation: " + this.message;
  42075. },
  42076. get$message(receiver) {
  42077. return this.message;
  42078. }
  42079. };
  42080. A.UnimplementedError.prototype = {
  42081. toString$0(_) {
  42082. return "UnimplementedError: " + this.message;
  42083. },
  42084. get$message(receiver) {
  42085. return this.message;
  42086. }
  42087. };
  42088. A.StateError.prototype = {
  42089. toString$0(_) {
  42090. return "Bad state: " + this.message;
  42091. },
  42092. get$message(receiver) {
  42093. return this.message;
  42094. }
  42095. };
  42096. A.ConcurrentModificationError.prototype = {
  42097. toString$0(_) {
  42098. var t1 = this.modifiedObject;
  42099. if (t1 == null)
  42100. return "Concurrent modification during iteration.";
  42101. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42102. }
  42103. };
  42104. A.OutOfMemoryError.prototype = {
  42105. toString$0(_) {
  42106. return "Out of Memory";
  42107. },
  42108. get$stackTrace() {
  42109. return null;
  42110. },
  42111. $isError: 1
  42112. };
  42113. A.StackOverflowError.prototype = {
  42114. toString$0(_) {
  42115. return "Stack Overflow";
  42116. },
  42117. get$stackTrace() {
  42118. return null;
  42119. },
  42120. $isError: 1
  42121. };
  42122. A._Exception.prototype = {
  42123. toString$0(_) {
  42124. return "Exception: " + this.message;
  42125. },
  42126. $isException: 1,
  42127. get$message(receiver) {
  42128. return this.message;
  42129. }
  42130. };
  42131. A.FormatException.prototype = {
  42132. toString$0(_) {
  42133. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42134. message = this.message,
  42135. report = "" !== message ? "FormatException: " + message : "FormatException",
  42136. offset = this.offset,
  42137. source = this.source;
  42138. if (typeof source == "string") {
  42139. if (offset != null)
  42140. t1 = offset < 0 || offset > source.length;
  42141. else
  42142. t1 = false;
  42143. if (t1)
  42144. offset = null;
  42145. if (offset == null) {
  42146. if (source.length > 78)
  42147. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42148. return report + "\n" + source;
  42149. }
  42150. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42151. char = source.charCodeAt(i);
  42152. if (char === 10) {
  42153. if (lineStart !== i || !previousCharWasCR)
  42154. ++lineNum;
  42155. lineStart = i + 1;
  42156. previousCharWasCR = false;
  42157. } else if (char === 13) {
  42158. ++lineNum;
  42159. lineStart = i + 1;
  42160. previousCharWasCR = true;
  42161. }
  42162. }
  42163. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42164. lineEnd = source.length;
  42165. for (i = offset; i < lineEnd; ++i) {
  42166. char = source.charCodeAt(i);
  42167. if (char === 10 || char === 13) {
  42168. lineEnd = i;
  42169. break;
  42170. }
  42171. }
  42172. prefix = "";
  42173. if (lineEnd - lineStart > 78) {
  42174. postfix = "...";
  42175. if (offset - lineStart < 75) {
  42176. end = lineStart + 75;
  42177. start = lineStart;
  42178. } else {
  42179. if (lineEnd - offset < 75) {
  42180. start = lineEnd - 75;
  42181. end = lineEnd;
  42182. postfix = "";
  42183. } else {
  42184. start = offset - 36;
  42185. end = offset + 36;
  42186. }
  42187. prefix = "...";
  42188. }
  42189. } else {
  42190. end = lineEnd;
  42191. start = lineStart;
  42192. postfix = "";
  42193. }
  42194. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42195. } else
  42196. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42197. },
  42198. $isException: 1,
  42199. get$message(receiver) {
  42200. return this.message;
  42201. }
  42202. };
  42203. A.Iterable.prototype = {
  42204. cast$1$0(_, $R) {
  42205. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42206. },
  42207. followedBy$1(_, other) {
  42208. var _this = this;
  42209. if (type$.EfficientLengthIterable_dynamic._is(_this))
  42210. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, A._instanceType(_this)._eval$1("Iterable.E"));
  42211. return new A.FollowedByIterable(_this, other, A._instanceType(_this)._eval$1("FollowedByIterable<Iterable.E>"));
  42212. },
  42213. map$1$1(_, toElement, $T) {
  42214. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42215. },
  42216. where$1(_, test) {
  42217. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42218. },
  42219. expand$1$1(_, toElements, $T) {
  42220. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42221. },
  42222. contains$1(_, element) {
  42223. var t1;
  42224. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42225. if (J.$eq$(t1.get$current(t1), element))
  42226. return true;
  42227. return false;
  42228. },
  42229. forEach$1(_, action) {
  42230. var t1;
  42231. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42232. action.call$1(t1.get$current(t1));
  42233. },
  42234. fold$1$2(_, initialValue, combine) {
  42235. var t1, value;
  42236. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42237. value = combine.call$2(value, t1.get$current(t1));
  42238. return value;
  42239. },
  42240. fold$2(_, initialValue, combine) {
  42241. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42242. },
  42243. every$1(_, test) {
  42244. var t1;
  42245. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42246. if (!test.call$1(t1.get$current(t1)))
  42247. return false;
  42248. return true;
  42249. },
  42250. join$1(_, separator) {
  42251. var first, t1,
  42252. iterator = this.get$iterator(this);
  42253. if (!iterator.moveNext$0())
  42254. return "";
  42255. first = J.toString$0$(iterator.get$current(iterator));
  42256. if (!iterator.moveNext$0())
  42257. return first;
  42258. if (separator.length === 0) {
  42259. t1 = first;
  42260. do
  42261. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42262. while (iterator.moveNext$0());
  42263. } else {
  42264. t1 = first;
  42265. do
  42266. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42267. while (iterator.moveNext$0());
  42268. }
  42269. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42270. },
  42271. any$1(_, test) {
  42272. var t1;
  42273. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42274. if (test.call$1(t1.get$current(t1)))
  42275. return true;
  42276. return false;
  42277. },
  42278. toList$1$growable(_, growable) {
  42279. var t1 = A._instanceType(this)._eval$1("Iterable.E");
  42280. if (growable)
  42281. t1 = A.List_List$_of(this, t1);
  42282. else {
  42283. t1 = A.List_List$_of(this, t1);
  42284. t1.$flags = 1;
  42285. t1 = t1;
  42286. }
  42287. return t1;
  42288. },
  42289. toList$0(_) {
  42290. return this.toList$1$growable(0, true);
  42291. },
  42292. toSet$0(_) {
  42293. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42294. },
  42295. get$length(_) {
  42296. var count,
  42297. it = this.get$iterator(this);
  42298. for (count = 0; it.moveNext$0();)
  42299. ++count;
  42300. return count;
  42301. },
  42302. get$isEmpty(_) {
  42303. return !this.get$iterator(this).moveNext$0();
  42304. },
  42305. get$isNotEmpty(_) {
  42306. return !this.get$isEmpty(this);
  42307. },
  42308. take$1(_, count) {
  42309. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42310. },
  42311. skip$1(_, count) {
  42312. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42313. },
  42314. skipWhile$1(_, test) {
  42315. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42316. },
  42317. get$first(_) {
  42318. var it = this.get$iterator(this);
  42319. if (!it.moveNext$0())
  42320. throw A.wrapException(A.IterableElementError_noElement());
  42321. return it.get$current(it);
  42322. },
  42323. get$last(_) {
  42324. var result,
  42325. it = this.get$iterator(this);
  42326. if (!it.moveNext$0())
  42327. throw A.wrapException(A.IterableElementError_noElement());
  42328. do
  42329. result = it.get$current(it);
  42330. while (it.moveNext$0());
  42331. return result;
  42332. },
  42333. get$single(_) {
  42334. var result,
  42335. it = this.get$iterator(this);
  42336. if (!it.moveNext$0())
  42337. throw A.wrapException(A.IterableElementError_noElement());
  42338. result = it.get$current(it);
  42339. if (it.moveNext$0())
  42340. throw A.wrapException(A.IterableElementError_tooMany());
  42341. return result;
  42342. },
  42343. elementAt$1(_, index) {
  42344. var iterator, skipCount;
  42345. A.RangeError_checkNotNegative(index, "index");
  42346. iterator = this.get$iterator(this);
  42347. for (skipCount = index; iterator.moveNext$0();) {
  42348. if (skipCount === 0)
  42349. return iterator.get$current(iterator);
  42350. --skipCount;
  42351. }
  42352. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42353. },
  42354. toString$0(_) {
  42355. return A.Iterable_iterableToShortString(this, "(", ")");
  42356. }
  42357. };
  42358. A._GeneratorIterable.prototype = {
  42359. elementAt$1(_, index) {
  42360. A.IndexError_check(index, this.length, this, null, null);
  42361. return this._generator.call$1(index);
  42362. },
  42363. get$length(receiver) {
  42364. return this.length;
  42365. }
  42366. };
  42367. A.MapEntry.prototype = {
  42368. toString$0(_) {
  42369. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42370. }
  42371. };
  42372. A.Null.prototype = {
  42373. get$hashCode(_) {
  42374. return A.Object.prototype.get$hashCode.call(this, 0);
  42375. },
  42376. toString$0(_) {
  42377. return "null";
  42378. }
  42379. };
  42380. A.Object.prototype = {$isObject: 1,
  42381. $eq(_, other) {
  42382. return this === other;
  42383. },
  42384. get$hashCode(_) {
  42385. return A.Primitives_objectHashCode(this);
  42386. },
  42387. toString$0(_) {
  42388. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42389. },
  42390. noSuchMethod$1(_, invocation) {
  42391. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42392. },
  42393. get$runtimeType(_) {
  42394. return A.getRuntimeTypeOfDartObject(this);
  42395. },
  42396. toString() {
  42397. return this.toString$0(this);
  42398. }
  42399. };
  42400. A._StringStackTrace.prototype = {
  42401. toString$0(_) {
  42402. return this._stackTrace;
  42403. },
  42404. $isStackTrace: 1
  42405. };
  42406. A.Runes.prototype = {
  42407. get$iterator(_) {
  42408. return new A.RuneIterator(this.string);
  42409. },
  42410. get$last(_) {
  42411. var code, previousCode,
  42412. t1 = this.string,
  42413. t2 = t1.length;
  42414. if (t2 === 0)
  42415. throw A.wrapException(A.StateError$("No elements."));
  42416. code = t1.charCodeAt(t2 - 1);
  42417. if ((code & 64512) === 56320 && t2 > 1) {
  42418. previousCode = t1.charCodeAt(t2 - 2);
  42419. if ((previousCode & 64512) === 55296)
  42420. return A._combineSurrogatePair(previousCode, code);
  42421. }
  42422. return code;
  42423. }
  42424. };
  42425. A.RuneIterator.prototype = {
  42426. get$current(_) {
  42427. return this._currentCodePoint;
  42428. },
  42429. moveNext$0() {
  42430. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42431. t1 = _this._position = _this._nextPosition,
  42432. t2 = _this.string,
  42433. t3 = t2.length;
  42434. if (t1 === t3) {
  42435. _this._currentCodePoint = -1;
  42436. return false;
  42437. }
  42438. codeUnit = t2.charCodeAt(t1);
  42439. nextPosition = t1 + 1;
  42440. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42441. nextCodeUnit = t2.charCodeAt(nextPosition);
  42442. if ((nextCodeUnit & 64512) === 56320) {
  42443. _this._nextPosition = nextPosition + 1;
  42444. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42445. return true;
  42446. }
  42447. }
  42448. _this._nextPosition = nextPosition;
  42449. _this._currentCodePoint = codeUnit;
  42450. return true;
  42451. }
  42452. };
  42453. A.StringBuffer.prototype = {
  42454. get$length(_) {
  42455. return this._contents.length;
  42456. },
  42457. write$1(_, obj) {
  42458. var t1 = A.S(obj);
  42459. this._contents += t1;
  42460. },
  42461. writeCharCode$1(charCode) {
  42462. var t1 = A.Primitives_stringFromCharCode(charCode);
  42463. this._contents += t1;
  42464. },
  42465. toString$0(_) {
  42466. var t1 = this._contents;
  42467. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42468. }
  42469. };
  42470. A.Uri__parseIPv4Address_error.prototype = {
  42471. call$2(msg, position) {
  42472. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  42473. },
  42474. $signature: 531
  42475. };
  42476. A.Uri_parseIPv6Address_error.prototype = {
  42477. call$2(msg, position) {
  42478. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42479. },
  42480. $signature: 533
  42481. };
  42482. A.Uri_parseIPv6Address_parseHex.prototype = {
  42483. call$2(start, end) {
  42484. var value;
  42485. if (end - start > 4)
  42486. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  42487. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  42488. if (value < 0 || value > 65535)
  42489. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  42490. return value;
  42491. },
  42492. $signature: 582
  42493. };
  42494. A._Uri.prototype = {
  42495. get$_text() {
  42496. var t1, t2, t3, t4, _this = this,
  42497. value = _this.___Uri__text_FI;
  42498. if (value === $) {
  42499. t1 = _this.scheme;
  42500. t2 = t1.length !== 0 ? t1 + ":" : "";
  42501. t3 = _this._host;
  42502. t4 = t3 == null;
  42503. if (!t4 || t1 === "file") {
  42504. t1 = t2 + "//";
  42505. t2 = _this._userInfo;
  42506. if (t2.length !== 0)
  42507. t1 = t1 + t2 + "@";
  42508. if (!t4)
  42509. t1 += t3;
  42510. t2 = _this._port;
  42511. if (t2 != null)
  42512. t1 = t1 + ":" + A.S(t2);
  42513. } else
  42514. t1 = t2;
  42515. t1 += _this.path;
  42516. t2 = _this._query;
  42517. if (t2 != null)
  42518. t1 = t1 + "?" + t2;
  42519. t2 = _this._fragment;
  42520. if (t2 != null)
  42521. t1 = t1 + "#" + t2;
  42522. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42523. }
  42524. return value;
  42525. },
  42526. get$pathSegments() {
  42527. var pathToSplit, result, _this = this,
  42528. value = _this.___Uri_pathSegments_FI;
  42529. if (value === $) {
  42530. pathToSplit = _this.path;
  42531. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42532. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42533. 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);
  42534. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42535. value = _this.___Uri_pathSegments_FI = result;
  42536. }
  42537. return value;
  42538. },
  42539. get$hashCode(_) {
  42540. var result, _this = this,
  42541. value = _this.___Uri_hashCode_FI;
  42542. if (value === $) {
  42543. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42544. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42545. _this.___Uri_hashCode_FI = result;
  42546. value = result;
  42547. }
  42548. return value;
  42549. },
  42550. get$userInfo() {
  42551. return this._userInfo;
  42552. },
  42553. get$host() {
  42554. var host = this._host;
  42555. if (host == null)
  42556. return "";
  42557. if (B.JSString_methods.startsWith$1(host, "[") && !B.JSString_methods.startsWith$2(host, "v", 1))
  42558. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42559. return host;
  42560. },
  42561. get$port(_) {
  42562. var t1 = this._port;
  42563. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42564. },
  42565. get$query() {
  42566. var t1 = this._query;
  42567. return t1 == null ? "" : t1;
  42568. },
  42569. get$fragment() {
  42570. var t1 = this._fragment;
  42571. return t1 == null ? "" : t1;
  42572. },
  42573. isScheme$1(scheme) {
  42574. var thisScheme = this.scheme;
  42575. if (scheme.length !== thisScheme.length)
  42576. return false;
  42577. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42578. },
  42579. replace$1$scheme(scheme) {
  42580. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42581. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42582. isFile = scheme === "file";
  42583. userInfo = _this._userInfo;
  42584. port = _this._port;
  42585. if (scheme !== _this.scheme)
  42586. port = A._Uri__makePort(port, scheme);
  42587. host = _this._host;
  42588. if (!(host != null))
  42589. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42590. currentPath = _this.path;
  42591. if (!isFile)
  42592. t1 = host != null && currentPath.length !== 0;
  42593. else
  42594. t1 = true;
  42595. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42596. currentPath = "/" + currentPath;
  42597. path = currentPath;
  42598. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42599. },
  42600. _mergePaths$2(base, reference) {
  42601. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42602. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42603. refStart += 3;
  42604. ++backCount;
  42605. }
  42606. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42607. while (true) {
  42608. if (!(baseEnd > 0 && backCount > 0))
  42609. break;
  42610. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42611. if (newEnd < 0)
  42612. break;
  42613. delta = baseEnd - newEnd;
  42614. t1 = delta !== 2;
  42615. t2 = false;
  42616. if (!t1 || delta === 3)
  42617. if (base.charCodeAt(newEnd + 1) === 46)
  42618. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42619. else
  42620. t1 = t2;
  42621. else
  42622. t1 = t2;
  42623. if (t1)
  42624. break;
  42625. --backCount;
  42626. baseEnd = newEnd;
  42627. }
  42628. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42629. },
  42630. resolve$1(_, reference) {
  42631. return this.resolveUri$1(A.Uri_parse(reference));
  42632. },
  42633. resolveUri$1(reference) {
  42634. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42635. if (reference.get$scheme().length !== 0) {
  42636. if (type$._PlatformUri._is(reference))
  42637. return reference;
  42638. targetScheme = reference.get$scheme();
  42639. if (reference.get$hasAuthority()) {
  42640. targetUserInfo = reference.get$userInfo();
  42641. targetHost = reference.get$host();
  42642. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42643. } else {
  42644. targetPort = _null;
  42645. targetHost = targetPort;
  42646. targetUserInfo = "";
  42647. }
  42648. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42649. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42650. split = 0;
  42651. } else {
  42652. targetScheme = _this.scheme;
  42653. if (reference.get$hasAuthority()) {
  42654. if (type$._PlatformUri._is(reference))
  42655. return reference.replace$1$scheme(targetScheme);
  42656. targetUserInfo = reference.get$userInfo();
  42657. targetHost = reference.get$host();
  42658. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42659. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42660. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42661. split = 1;
  42662. } else {
  42663. targetUserInfo = _this._userInfo;
  42664. targetHost = _this._host;
  42665. targetPort = _this._port;
  42666. targetPath = _this.path;
  42667. if (reference.get$hasEmptyPath())
  42668. if (reference.get$hasQuery()) {
  42669. targetQuery = reference.get$query();
  42670. split = 3;
  42671. } else {
  42672. targetQuery = _this._query;
  42673. split = 4;
  42674. }
  42675. else {
  42676. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  42677. if (packageNameEnd > 0) {
  42678. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  42679. 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)));
  42680. } else if (reference.get$hasAbsolutePath())
  42681. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42682. else if (targetPath.length === 0)
  42683. if (targetHost == null)
  42684. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  42685. else
  42686. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  42687. else {
  42688. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  42689. t1 = targetScheme.length === 0;
  42690. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  42691. targetPath = A._Uri__removeDotSegments(mergedPath);
  42692. else
  42693. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  42694. }
  42695. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42696. split = 2;
  42697. }
  42698. }
  42699. }
  42700. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  42701. if (!type$._PlatformUri._is(reference)) {
  42702. if (split === 0)
  42703. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  42704. if (split <= 1) {
  42705. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  42706. if (targetPort != null)
  42707. targetPort = A._Uri__makePort(targetPort, targetScheme);
  42708. if (targetHost != null && targetHost.length !== 0)
  42709. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  42710. }
  42711. t1 = split <= 3;
  42712. if (t1)
  42713. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  42714. if (t1 && targetQuery != null)
  42715. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  42716. if (fragment != null)
  42717. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  42718. }
  42719. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  42720. },
  42721. get$hasAuthority() {
  42722. return this._host != null;
  42723. },
  42724. get$hasPort() {
  42725. return this._port != null;
  42726. },
  42727. get$hasQuery() {
  42728. return this._query != null;
  42729. },
  42730. get$hasFragment() {
  42731. return this._fragment != null;
  42732. },
  42733. get$hasEmptyPath() {
  42734. return this.path.length === 0;
  42735. },
  42736. get$hasAbsolutePath() {
  42737. return B.JSString_methods.startsWith$1(this.path, "/");
  42738. },
  42739. toFilePath$0() {
  42740. var pathSegments, _this = this,
  42741. t1 = _this.scheme;
  42742. if (t1 !== "" && t1 !== "file")
  42743. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  42744. t1 = _this._query;
  42745. if ((t1 == null ? "" : t1) !== "")
  42746. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  42747. t1 = _this._fragment;
  42748. if ((t1 == null ? "" : t1) !== "")
  42749. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  42750. t1 = $.$get$_Uri__isWindowsCached();
  42751. if (t1)
  42752. t1 = A._Uri__toWindowsFilePath(_this);
  42753. else {
  42754. if (_this._host != null && _this.get$host() !== "")
  42755. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  42756. pathSegments = _this.get$pathSegments();
  42757. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  42758. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/");
  42759. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  42760. }
  42761. return t1;
  42762. },
  42763. toString$0(_) {
  42764. return this.get$_text();
  42765. },
  42766. $eq(_, other) {
  42767. var t1, t2, t3, _this = this;
  42768. if (other == null)
  42769. return false;
  42770. if (_this === other)
  42771. return true;
  42772. t1 = false;
  42773. if (type$.Uri._is(other))
  42774. if (_this.scheme === other.get$scheme())
  42775. if (_this._host != null === other.get$hasAuthority())
  42776. if (_this._userInfo === other.get$userInfo())
  42777. if (_this.get$host() === other.get$host())
  42778. if (_this.get$port(0) === other.get$port(other))
  42779. if (_this.path === other.get$path(other)) {
  42780. t2 = _this._query;
  42781. t3 = t2 == null;
  42782. if (!t3 === other.get$hasQuery()) {
  42783. if (t3)
  42784. t2 = "";
  42785. if (t2 === other.get$query()) {
  42786. t2 = _this._fragment;
  42787. t3 = t2 == null;
  42788. if (!t3 === other.get$hasFragment()) {
  42789. t1 = t3 ? "" : t2;
  42790. t1 = t1 === other.get$fragment();
  42791. }
  42792. }
  42793. }
  42794. }
  42795. return t1;
  42796. },
  42797. $isUri: 1,
  42798. $is_PlatformUri: 1,
  42799. get$scheme() {
  42800. return this.scheme;
  42801. },
  42802. get$path(receiver) {
  42803. return this.path;
  42804. }
  42805. };
  42806. A._Uri__makePath_closure.prototype = {
  42807. call$1(s) {
  42808. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  42809. },
  42810. $signature: 6
  42811. };
  42812. A.UriData.prototype = {
  42813. get$uri() {
  42814. var t2, queryIndex, end, query, _this = this, _null = null,
  42815. t1 = _this._uriCache;
  42816. if (t1 == null) {
  42817. t1 = _this._text;
  42818. t2 = _this._separatorIndices[0] + 1;
  42819. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  42820. end = t1.length;
  42821. if (queryIndex >= 0) {
  42822. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  42823. end = queryIndex;
  42824. } else
  42825. query = _null;
  42826. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  42827. }
  42828. return t1;
  42829. },
  42830. toString$0(_) {
  42831. var t1 = this._text;
  42832. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  42833. }
  42834. };
  42835. A._SimpleUri.prototype = {
  42836. get$hasAuthority() {
  42837. return this._hostStart > 0;
  42838. },
  42839. get$hasPort() {
  42840. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  42841. },
  42842. get$hasQuery() {
  42843. return this._queryStart < this._fragmentStart;
  42844. },
  42845. get$hasFragment() {
  42846. return this._fragmentStart < this._uri.length;
  42847. },
  42848. get$hasAbsolutePath() {
  42849. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  42850. },
  42851. get$hasEmptyPath() {
  42852. return this._pathStart === this._queryStart;
  42853. },
  42854. get$scheme() {
  42855. var t1 = this._schemeCache;
  42856. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  42857. },
  42858. _computeScheme$0() {
  42859. var t2, _this = this,
  42860. t1 = _this._schemeEnd;
  42861. if (t1 <= 0)
  42862. return "";
  42863. t2 = t1 === 4;
  42864. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42865. return "http";
  42866. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42867. return "https";
  42868. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  42869. return "file";
  42870. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  42871. return "package";
  42872. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  42873. },
  42874. get$userInfo() {
  42875. var t1 = this._hostStart,
  42876. t2 = this._schemeEnd + 3;
  42877. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  42878. },
  42879. get$host() {
  42880. var t1 = this._hostStart;
  42881. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  42882. },
  42883. get$port(_) {
  42884. var t1, _this = this;
  42885. if (_this.get$hasPort())
  42886. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  42887. t1 = _this._schemeEnd;
  42888. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42889. return 80;
  42890. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42891. return 443;
  42892. return 0;
  42893. },
  42894. get$path(_) {
  42895. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  42896. },
  42897. get$query() {
  42898. var t1 = this._queryStart,
  42899. t2 = this._fragmentStart;
  42900. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  42901. },
  42902. get$fragment() {
  42903. var t1 = this._fragmentStart,
  42904. t2 = this._uri;
  42905. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  42906. },
  42907. get$pathSegments() {
  42908. var parts, i,
  42909. start = this._pathStart,
  42910. end = this._queryStart,
  42911. t1 = this._uri;
  42912. if (B.JSString_methods.startsWith$2(t1, "/", start))
  42913. ++start;
  42914. if (start === end)
  42915. return B.List_empty;
  42916. parts = A._setArrayType([], type$.JSArray_String);
  42917. for (i = start; i < end; ++i)
  42918. if (t1.charCodeAt(i) === 47) {
  42919. parts.push(B.JSString_methods.substring$2(t1, start, i));
  42920. start = i + 1;
  42921. }
  42922. parts.push(B.JSString_methods.substring$2(t1, start, end));
  42923. return A.List_List$unmodifiable(parts, type$.String);
  42924. },
  42925. _isPort$1(port) {
  42926. var portDigitStart = this._portStart + 1;
  42927. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  42928. },
  42929. removeFragment$0() {
  42930. var _this = this,
  42931. t1 = _this._fragmentStart,
  42932. t2 = _this._uri;
  42933. if (t1 >= t2.length)
  42934. return _this;
  42935. 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);
  42936. },
  42937. replace$1$scheme(scheme) {
  42938. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  42939. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42940. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  42941. isFile = scheme === "file";
  42942. t1 = _this._hostStart;
  42943. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  42944. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  42945. if (schemeChanged)
  42946. port = A._Uri__makePort(port, scheme);
  42947. t1 = _this._hostStart;
  42948. if (t1 > 0)
  42949. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  42950. else
  42951. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  42952. t1 = _this._uri;
  42953. t2 = _this._queryStart;
  42954. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  42955. if (!isFile)
  42956. t3 = host != null && path.length !== 0;
  42957. else
  42958. t3 = true;
  42959. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  42960. path = "/" + path;
  42961. t3 = _this._fragmentStart;
  42962. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  42963. t2 = _this._fragmentStart;
  42964. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  42965. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  42966. },
  42967. resolve$1(_, reference) {
  42968. return this.resolveUri$1(A.Uri_parse(reference));
  42969. },
  42970. resolveUri$1(reference) {
  42971. if (reference instanceof A._SimpleUri)
  42972. return this._simpleMerge$2(this, reference);
  42973. return this._toNonSimple$0().resolveUri$1(reference);
  42974. },
  42975. _simpleMerge$2(base, ref) {
  42976. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  42977. t1 = ref._schemeEnd;
  42978. if (t1 > 0)
  42979. return ref;
  42980. t2 = ref._hostStart;
  42981. if (t2 > 0) {
  42982. t3 = base._schemeEnd;
  42983. if (t3 <= 0)
  42984. return ref;
  42985. t4 = t3 === 4;
  42986. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  42987. isSimple = ref._pathStart !== ref._queryStart;
  42988. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  42989. isSimple = !ref._isPort$1("80");
  42990. else
  42991. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  42992. if (isSimple) {
  42993. delta = t3 + 1;
  42994. 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);
  42995. } else
  42996. return this._toNonSimple$0().resolveUri$1(ref);
  42997. }
  42998. refStart = ref._pathStart;
  42999. t1 = ref._queryStart;
  43000. if (refStart === t1) {
  43001. t2 = ref._fragmentStart;
  43002. if (t1 < t2) {
  43003. t3 = base._queryStart;
  43004. delta = t3 - t1;
  43005. 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);
  43006. }
  43007. t1 = ref._uri;
  43008. if (t2 < t1.length) {
  43009. t3 = base._fragmentStart;
  43010. 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);
  43011. }
  43012. return base.removeFragment$0();
  43013. }
  43014. t2 = ref._uri;
  43015. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43016. basePathStart = base._pathStart;
  43017. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43018. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43019. delta = basePathStart0 - refStart;
  43020. 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);
  43021. }
  43022. baseStart = base._pathStart;
  43023. baseEnd = base._queryStart;
  43024. if (baseStart === baseEnd && base._hostStart > 0) {
  43025. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  43026. refStart += 3;
  43027. delta = baseStart - refStart + 1;
  43028. 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);
  43029. }
  43030. baseUri = base._uri;
  43031. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43032. if (packageNameEnd >= 0)
  43033. baseStart0 = packageNameEnd;
  43034. else
  43035. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43036. baseStart0 += 3;
  43037. backCount = 0;
  43038. while (true) {
  43039. refStart0 = refStart + 3;
  43040. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43041. break;
  43042. ++backCount;
  43043. refStart = refStart0;
  43044. }
  43045. for (insert = ""; baseEnd > baseStart0;) {
  43046. --baseEnd;
  43047. if (baseUri.charCodeAt(baseEnd) === 47) {
  43048. if (backCount === 0) {
  43049. insert = "/";
  43050. break;
  43051. }
  43052. --backCount;
  43053. insert = "/";
  43054. }
  43055. }
  43056. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43057. refStart -= backCount * 3;
  43058. insert = "";
  43059. }
  43060. delta = baseEnd - refStart + insert.length;
  43061. 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);
  43062. },
  43063. toFilePath$0() {
  43064. var t2, t3, _this = this,
  43065. t1 = _this._schemeEnd;
  43066. if (t1 >= 0) {
  43067. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43068. t1 = t2;
  43069. } else
  43070. t1 = false;
  43071. if (t1)
  43072. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43073. t1 = _this._queryStart;
  43074. t2 = _this._uri;
  43075. if (t1 < t2.length) {
  43076. if (t1 < _this._fragmentStart)
  43077. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43078. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43079. }
  43080. t3 = $.$get$_Uri__isWindowsCached();
  43081. if (t3)
  43082. t1 = A._Uri__toWindowsFilePath(_this);
  43083. else {
  43084. if (_this._hostStart < _this._portStart)
  43085. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43086. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43087. }
  43088. return t1;
  43089. },
  43090. get$hashCode(_) {
  43091. var t1 = this._hashCodeCache;
  43092. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43093. },
  43094. $eq(_, other) {
  43095. if (other == null)
  43096. return false;
  43097. if (this === other)
  43098. return true;
  43099. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43100. },
  43101. _toNonSimple$0() {
  43102. var _this = this, _null = null,
  43103. t1 = _this.get$scheme(),
  43104. t2 = _this.get$userInfo(),
  43105. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43106. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43107. t5 = _this._uri,
  43108. t6 = _this._queryStart,
  43109. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43110. t8 = _this._fragmentStart;
  43111. t6 = t6 < t8 ? _this.get$query() : _null;
  43112. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43113. },
  43114. toString$0(_) {
  43115. return this._uri;
  43116. },
  43117. $isUri: 1,
  43118. $is_PlatformUri: 1
  43119. };
  43120. A._DataUri.prototype = {};
  43121. A.Expando.prototype = {
  43122. $indexSet(_, object, value) {
  43123. if (object instanceof A._Record)
  43124. A.Expando__badExpandoKey(object);
  43125. this._jsWeakMap.set(object, value);
  43126. },
  43127. toString$0(_) {
  43128. return "Expando:null";
  43129. }
  43130. };
  43131. A.jsify__convert.prototype = {
  43132. call$1(o) {
  43133. var t1, convertedMap, key, convertedList;
  43134. if (A._noJsifyRequired(o))
  43135. return o;
  43136. t1 = this._convertedObjects;
  43137. if (t1.containsKey$1(o))
  43138. return t1.$index(0, o);
  43139. if (type$.Map_dynamic_dynamic._is(o)) {
  43140. convertedMap = {};
  43141. t1.$indexSet(0, o, convertedMap);
  43142. for (t1 = o.get$keys(o), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43143. key = t1.get$current(t1);
  43144. convertedMap[key] = this.call$1(o.$index(0, key));
  43145. }
  43146. return convertedMap;
  43147. } else if (type$.Iterable_dynamic._is(o)) {
  43148. convertedList = [];
  43149. t1.$indexSet(0, o, convertedList);
  43150. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43151. return convertedList;
  43152. } else
  43153. return o;
  43154. },
  43155. $signature: 335
  43156. };
  43157. A.promiseToFuture_closure.prototype = {
  43158. call$1(r) {
  43159. return this.completer.complete$1(r);
  43160. },
  43161. $signature: 75
  43162. };
  43163. A.promiseToFuture_closure0.prototype = {
  43164. call$1(e) {
  43165. if (e == null)
  43166. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43167. return this.completer.completeError$1(e);
  43168. },
  43169. $signature: 75
  43170. };
  43171. A.NullRejectionException.prototype = {
  43172. toString$0(_) {
  43173. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43174. },
  43175. $isException: 1
  43176. };
  43177. A._JSRandom.prototype = {
  43178. nextInt$1(max) {
  43179. if (max <= 0 || max > 4294967296)
  43180. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43181. return Math.random() * max >>> 0;
  43182. },
  43183. nextDouble$0() {
  43184. return Math.random();
  43185. }
  43186. };
  43187. A.ArgParser.prototype = {
  43188. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43189. var _null = null;
  43190. this._addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, false, negatable);
  43191. },
  43192. addFlag$2$hide($name, hide) {
  43193. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43194. },
  43195. addFlag$2$help($name, help) {
  43196. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43197. },
  43198. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43199. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43200. },
  43201. addFlag$3$help$negatable($name, help, negatable) {
  43202. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43203. },
  43204. addFlag$3$abbr$help($name, abbr, help) {
  43205. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43206. },
  43207. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43208. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43209. },
  43210. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43211. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43212. },
  43213. addOption$2$hide($name, hide) {
  43214. var _null = null;
  43215. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43216. },
  43217. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43218. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43219. },
  43220. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43221. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43222. },
  43223. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43224. var t1 = A._setArrayType([], type$.JSArray_String);
  43225. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43226. },
  43227. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43228. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43229. },
  43230. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43231. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43232. },
  43233. addMultiOption$2$help($name, help) {
  43234. var _null = null;
  43235. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43236. },
  43237. _addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, mandatory, negatable, splitCommas) {
  43238. var existing, t2, t3, option, _i, _this = this, _null = null,
  43239. t1 = A._setArrayType([$name], type$.JSArray_String);
  43240. B.JSArray_methods.addAll$1(t1, aliases);
  43241. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43242. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43243. t1 = abbr != null;
  43244. if (t1) {
  43245. existing = _this.findByAbbreviation$1(abbr);
  43246. if (existing != null)
  43247. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43248. }
  43249. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43250. if (allowedHelp == null)
  43251. t3 = _null;
  43252. else {
  43253. t3 = type$.String;
  43254. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43255. }
  43256. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, false, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43257. if ($name.length === 0)
  43258. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43259. else if (B.JSString_methods.startsWith$1($name, "-"))
  43260. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43261. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43262. if (t2.test($name))
  43263. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43264. if (t1) {
  43265. if (abbr.length !== 1)
  43266. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43267. else if (abbr === "-")
  43268. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43269. if (t2.test(abbr))
  43270. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43271. }
  43272. _this._arg_parser$_options.$indexSet(0, $name, option);
  43273. _this._optionsAndSeparators.push(option);
  43274. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43275. t1.$indexSet(0, aliases[_i], $name);
  43276. },
  43277. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43278. 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);
  43279. },
  43280. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43281. 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);
  43282. },
  43283. _addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, negatable) {
  43284. 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);
  43285. },
  43286. findByAbbreviation$1(abbr) {
  43287. var t1, t2;
  43288. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43289. t2 = t1.get$current(t1);
  43290. if (t2.abbr === abbr)
  43291. return t2;
  43292. }
  43293. return null;
  43294. },
  43295. findByNameOrAlias$1($name) {
  43296. var t1 = this._aliases.$index(0, $name);
  43297. if (t1 == null)
  43298. t1 = $name;
  43299. return this.options._map.$index(0, t1);
  43300. }
  43301. };
  43302. A.ArgParser__addOption_closure.prototype = {
  43303. call$1($name) {
  43304. return this.$this.findByNameOrAlias$1($name) != null;
  43305. },
  43306. $signature: 5
  43307. };
  43308. A.ArgParserException.prototype = {};
  43309. A.ArgResults.prototype = {
  43310. $index(_, $name) {
  43311. var t1 = this._parser.options._map;
  43312. if (!t1.containsKey$1($name))
  43313. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43314. t1 = t1.$index(0, $name);
  43315. t1.toString;
  43316. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43317. },
  43318. wasParsed$1($name) {
  43319. if (!this._parser.options._map.containsKey$1($name))
  43320. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43321. return this._parsed.containsKey$1($name);
  43322. }
  43323. };
  43324. A.Option.prototype = {
  43325. valueOrDefault$1(value) {
  43326. var t1;
  43327. if (value != null)
  43328. return value;
  43329. if (this.type === B.OptionType_1Ol) {
  43330. t1 = this.defaultsTo;
  43331. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43332. }
  43333. return this.defaultsTo;
  43334. }
  43335. };
  43336. A.OptionType.prototype = {};
  43337. A.Parser0.prototype = {
  43338. parse$0(_) {
  43339. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43340. t2 = _this._args;
  43341. t2.toList$0(0);
  43342. commandResults = null;
  43343. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43344. t7 = t2._head;
  43345. if (t7 === t2._tail)
  43346. A.throwExpression(A.IterableElementError_noElement());
  43347. t7 = t2._table[t7];
  43348. t8 = t7 == null;
  43349. if ((t8 ? t6._as(t7) : t7) === "--") {
  43350. t2.removeFirst$0();
  43351. break;
  43352. }
  43353. if (t8)
  43354. t7 = t6._as(t7);
  43355. command = t5._map.$index(0, t7);
  43356. if (command != null) {
  43357. t5 = t3.length;
  43358. t7 = t2._head;
  43359. if (t7 === t2._tail)
  43360. A.throwExpression(A.IterableElementError_noElement());
  43361. t7 = t2._table[t7];
  43362. t6 = t7 == null ? t6._as(t7) : t7;
  43363. if (t5 !== 0)
  43364. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43365. commandName = t2.removeFirst$0();
  43366. t5 = type$.JSArray_String;
  43367. t6 = A._setArrayType([], t5);
  43368. B.JSArray_methods.addAll$1(t6, t3);
  43369. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43370. try {
  43371. commandResults = J.parse$0$z(commandParser);
  43372. } catch (exception) {
  43373. t2 = A.unwrapException(exception);
  43374. if (t2 instanceof A.ArgParserException) {
  43375. error = t2;
  43376. t2 = error.message;
  43377. t1 = A._setArrayType([commandName], t5);
  43378. J.addAll$1$ax(t1, error.commands);
  43379. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43380. } else
  43381. throw exception;
  43382. }
  43383. B.JSArray_methods.clear$0(t3);
  43384. break;
  43385. }
  43386. if (_this._parseSoloOption$0())
  43387. continue;
  43388. if (_this._parseAbbreviation$1(_this))
  43389. continue;
  43390. if (_this._parseLongOption$0())
  43391. continue;
  43392. t3.push(t2.removeFirst$0());
  43393. }
  43394. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43395. B.JSArray_methods.addAll$1(t3, t2);
  43396. t2.clear$0(0);
  43397. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43398. },
  43399. _readNextArgAsValue$2(option, arg) {
  43400. var _this = this,
  43401. t1 = _this._args;
  43402. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43403. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43404. t1.removeFirst$0();
  43405. },
  43406. _parseSoloOption$0() {
  43407. var opt,
  43408. t1 = this._args;
  43409. if (t1.get$first(0).length !== 2)
  43410. return false;
  43411. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43412. return false;
  43413. opt = t1.get$first(0)[1];
  43414. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43415. return false;
  43416. this._handleSoloOption$1(opt);
  43417. return true;
  43418. },
  43419. _handleSoloOption$1(opt) {
  43420. var t1, _this = this,
  43421. option = _this._grammar.findByAbbreviation$1(opt);
  43422. if (option == null) {
  43423. t1 = _this._parser$_parent;
  43424. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43425. t1._handleSoloOption$1(opt);
  43426. return true;
  43427. }
  43428. _this._args.removeFirst$0();
  43429. if (option.type === B.OptionType_tI9)
  43430. _this._results.$indexSet(0, option.name, true);
  43431. else
  43432. _this._readNextArgAsValue$2(option, "-" + opt);
  43433. return true;
  43434. },
  43435. _parseAbbreviation$1(innermostCommand) {
  43436. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43437. t1 = this._args;
  43438. if (t1.get$first(0).length < 2)
  43439. return false;
  43440. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43441. return false;
  43442. t2 = t1.$ti._precomputed1;
  43443. index = 1;
  43444. while (true) {
  43445. t3 = t1._head;
  43446. if (t3 === t1._tail)
  43447. A.throwExpression(A.IterableElementError_noElement());
  43448. t3 = t1._table[t3];
  43449. t4 = t3 == null;
  43450. if (index < (t4 ? t2._as(t3) : t3).length) {
  43451. t5 = true;
  43452. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43453. if (!(t3 >= 65 && t3 <= 90))
  43454. if (!(t3 >= 97 && t3 <= 122))
  43455. t3 = t3 >= 48 && t3 <= 57;
  43456. else
  43457. t3 = t5;
  43458. else
  43459. t3 = t5;
  43460. } else
  43461. t3 = false;
  43462. if (!t3)
  43463. break;
  43464. ++index;
  43465. }
  43466. if (index === 1)
  43467. return false;
  43468. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43469. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43470. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43471. return false;
  43472. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43473. return true;
  43474. },
  43475. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43476. var t1, i, i0, _this = this,
  43477. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43478. first = _this._grammar.findByAbbreviation$1(c);
  43479. if (first == null) {
  43480. t1 = _this._parser$_parent;
  43481. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43482. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43483. return true;
  43484. } else {
  43485. t1 = "-" + c;
  43486. if (first.type !== B.OptionType_tI9)
  43487. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43488. else {
  43489. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43490. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43491. i0 = i + 1;
  43492. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43493. }
  43494. }
  43495. }
  43496. _this._args.removeFirst$0();
  43497. return true;
  43498. },
  43499. _parseShortFlag$1(c) {
  43500. var t1, _this = this,
  43501. option = _this._grammar.findByAbbreviation$1(c);
  43502. if (option == null) {
  43503. t1 = _this._parser$_parent;
  43504. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43505. t1._parseShortFlag$1(c);
  43506. return;
  43507. }
  43508. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43509. _this._results.$indexSet(0, option.name, true);
  43510. },
  43511. _parseLongOption$0() {
  43512. var index, t2, $name, t3, i, t4, t5, value,
  43513. t1 = this._args;
  43514. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43515. return false;
  43516. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43517. t2 = index === -1;
  43518. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43519. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43520. t4 = $name.charCodeAt(i);
  43521. t5 = true;
  43522. if (!(t4 >= 65 && t4 <= 90))
  43523. if (!(t4 >= 97 && t4 <= 122))
  43524. t5 = t4 >= 48 && t4 <= 57;
  43525. if (!(t5 || t4 === 45 || t4 === 95))
  43526. return false;
  43527. }
  43528. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43529. if (value != null)
  43530. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43531. else
  43532. t1 = false;
  43533. if (t1)
  43534. return false;
  43535. this._handleLongOption$2($name, value);
  43536. return true;
  43537. },
  43538. _handleLongOption$2($name, value) {
  43539. var _this = this,
  43540. _s34_ = 'Could not find an option named "--',
  43541. t1 = _this._grammar,
  43542. option = t1.findByNameOrAlias$1($name);
  43543. if (option != null) {
  43544. _this._args.removeFirst$0();
  43545. if (option.type === B.OptionType_tI9) {
  43546. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43547. _this._results.$indexSet(0, option.name, true);
  43548. } else {
  43549. t1 = "--" + $name;
  43550. if (value != null)
  43551. _this._setOption$4(_this._results, option, value, t1);
  43552. else
  43553. _this._readNextArgAsValue$2(option, t1);
  43554. }
  43555. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43556. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43557. if (option == null) {
  43558. t1 = _this._parser$_parent;
  43559. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43560. t1._handleLongOption$2($name, value);
  43561. return true;
  43562. }
  43563. _this._args.removeFirst$0();
  43564. t1 = "--" + $name;
  43565. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43566. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43567. _this._results.$indexSet(0, option.name, false);
  43568. } else {
  43569. t1 = _this._parser$_parent;
  43570. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43571. t1._handleLongOption$2($name, value);
  43572. return true;
  43573. }
  43574. return true;
  43575. },
  43576. _validate$3(condition, message, args) {
  43577. if (!condition)
  43578. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43579. },
  43580. _setOption$4(results, option, value, arg) {
  43581. var list, t1, t2, t3, _i, element;
  43582. if (option.type !== B.OptionType_1Ol) {
  43583. this._validateAllowed$3(option, value, arg);
  43584. results.$indexSet(0, option.name, value);
  43585. return;
  43586. }
  43587. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43588. if (option.splitCommas)
  43589. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43590. element = t1[_i];
  43591. this._validateAllowed$3(option, element, arg);
  43592. t3.add$1(list, element);
  43593. }
  43594. else {
  43595. this._validateAllowed$3(option, value, arg);
  43596. J.add$1$ax(list, value);
  43597. }
  43598. },
  43599. _validateAllowed$3(option, value, arg) {
  43600. var t1 = option.allowed;
  43601. if (t1 == null)
  43602. return;
  43603. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43604. }
  43605. };
  43606. A.Parser_parse_closure.prototype = {
  43607. call$2($name, option) {
  43608. var parsedOption = this.$this._results.$index(0, $name),
  43609. callback = option.callback;
  43610. if (callback == null)
  43611. return;
  43612. callback.call$1(option.valueOrDefault$1(parsedOption));
  43613. },
  43614. $signature: 386
  43615. };
  43616. A.Parser__setOption_closure.prototype = {
  43617. call$0() {
  43618. return A._setArrayType([], type$.JSArray_String);
  43619. },
  43620. $signature: 138
  43621. };
  43622. A._Usage.prototype = {
  43623. get$_columnWidths() {
  43624. var result, _this = this,
  43625. value = _this.___Usage__columnWidths_FI;
  43626. if (value === $) {
  43627. result = _this._calculateColumnWidths$0();
  43628. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43629. _this.___Usage__columnWidths_FI = result;
  43630. value = result;
  43631. }
  43632. return value;
  43633. },
  43634. generate$0() {
  43635. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43636. 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) {
  43637. optionOrSeparator = t1[_i];
  43638. if (typeof optionOrSeparator == "string") {
  43639. t5 = t4._contents;
  43640. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43641. _this._newlinesNeeded = 1;
  43642. continue;
  43643. }
  43644. t3._as(optionOrSeparator);
  43645. if (optionOrSeparator.hide)
  43646. continue;
  43647. _this._writeOption$1(optionOrSeparator);
  43648. }
  43649. t1 = t4._contents;
  43650. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43651. },
  43652. _writeOption$1(option) {
  43653. var _0_0, _1_0, t2, t3, t4, $name, $content, _this = this,
  43654. t1 = option.abbr;
  43655. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43656. t1 = _this._longOption$1(option);
  43657. _this._write$2(1, t1);
  43658. _0_0 = option.help;
  43659. if (_0_0 != null)
  43660. _this._write$2(2, _0_0);
  43661. _1_0 = option.allowedHelp;
  43662. if (_1_0 != null) {
  43663. _this._newline$0();
  43664. 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();) {
  43665. t4 = t1.get$current(t1);
  43666. $name = t4.key;
  43667. $content = t4.value;
  43668. t4 = (t3 ? B.JSArray_methods.contains$1(t2, $name) : t2 === $name) ? " (default)" : "";
  43669. _this._write$2(1, " [" + $name + "]" + t4);
  43670. _this._write$2(2, $content);
  43671. }
  43672. _this._newline$0();
  43673. } else if (option.allowed != null)
  43674. _this._write$2(2, _this._buildAllowedList$1(option));
  43675. else {
  43676. t1 = option.type;
  43677. if (t1 === B.OptionType_tI9) {
  43678. if (option.defaultsTo === true)
  43679. _this._write$2(2, "(defaults to on)");
  43680. } else if (t1 === B.OptionType_1Ol) {
  43681. t1 = option.defaultsTo;
  43682. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  43683. type$.List_dynamic._as(t1);
  43684. _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, ", ") + ")");
  43685. }
  43686. } else {
  43687. t1 = option.defaultsTo;
  43688. if (t1 != null)
  43689. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  43690. }
  43691. }
  43692. },
  43693. _longOption$1(option) {
  43694. var t1 = option.name,
  43695. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  43696. t1 = option.valueHelp;
  43697. return t1 != null ? result + ("=<" + t1 + ">") : result;
  43698. },
  43699. _calculateColumnWidths$0() {
  43700. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  43701. 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) {
  43702. option = t1[_i];
  43703. if (!(option instanceof A.Option))
  43704. continue;
  43705. if (option.hide)
  43706. continue;
  43707. t4 = option.abbr;
  43708. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  43709. t4 = this._longOption$1(option);
  43710. title = Math.max(title, t4.length);
  43711. t4 = option.allowedHelp;
  43712. if (t4 != null)
  43713. for (t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  43714. t7 = t4.get$current(t4);
  43715. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  43716. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  43717. }
  43718. }
  43719. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  43720. },
  43721. _newline$0() {
  43722. ++this._newlinesNeeded;
  43723. this._currentColumn = 0;
  43724. },
  43725. _write$2(column, text) {
  43726. var t1, _i,
  43727. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  43728. this.get$_columnWidths();
  43729. while (true) {
  43730. if (!(lines.length !== 0 && B.JSString_methods.trim$0(B.JSArray_methods.get$first(lines)) === ""))
  43731. break;
  43732. B.JSArray_methods.removeAt$1(lines, 0);
  43733. }
  43734. while (true) {
  43735. if (!(lines.length !== 0 && B.JSString_methods.trim$0(B.JSArray_methods.get$last(lines)) === ""))
  43736. break;
  43737. lines.pop();
  43738. }
  43739. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  43740. this._writeLine$2(column, lines[_i]);
  43741. },
  43742. _writeLine$2(column, text) {
  43743. var t1, t2, t3, _this = this;
  43744. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  43745. t1._contents += "\n";
  43746. _this._newlinesNeeded = t2 - 1;
  43747. }
  43748. for (; t2 = _this._currentColumn, t2 !== column;) {
  43749. if (t2 < 2) {
  43750. t2 = _this.get$_columnWidths();
  43751. t3 = _this._currentColumn;
  43752. t2 = B.JSString_methods.$mul(" ", t2[t3]);
  43753. t1._contents += t2;
  43754. t2 = t3;
  43755. } else
  43756. t1._contents += "\n";
  43757. _this._currentColumn = (t2 + 1) % 3;
  43758. }
  43759. t2 = _this.get$_columnWidths();
  43760. t3 = t1._contents;
  43761. if (column < 2)
  43762. t1._contents = t3 + B.JSString_methods.padRight$1(text, t2[column]);
  43763. else
  43764. t1._contents = t3 + text;
  43765. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43766. if (column === 2)
  43767. ++_this._newlinesNeeded;
  43768. },
  43769. _buildAllowedList$1(option) {
  43770. var t2, first, _i, t3, allowed,
  43771. t1 = option.defaultsTo,
  43772. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  43773. for (t1 = option.allowed, t2 = t1.length, first = true, _i = 0, t3 = "["; _i < t2; ++_i, first = false) {
  43774. allowed = t1[_i];
  43775. t3 = (!first ? t3 + ", " : t3) + allowed;
  43776. if (isDefault.call$1(allowed))
  43777. t3 += " (default)";
  43778. }
  43779. t1 = t3 + "]";
  43780. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43781. }
  43782. };
  43783. A._Usage__writeOption_closure.prototype = {
  43784. call$1(value) {
  43785. return '"' + A.S(value) + '"';
  43786. },
  43787. $signature: 134
  43788. };
  43789. A._Usage__buildAllowedList_closure.prototype = {
  43790. call$1(value) {
  43791. return value === this.option.defaultsTo;
  43792. },
  43793. $signature: 5
  43794. };
  43795. A.FutureGroup.prototype = {
  43796. add$1(_, task) {
  43797. var t1, index, _this = this;
  43798. if (_this._future_group$_closed)
  43799. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  43800. t1 = _this._future_group$_values;
  43801. index = t1.length;
  43802. t1.push(null);
  43803. ++_this._future_group$_pending;
  43804. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  43805. },
  43806. close$0(_) {
  43807. var t1, t2, _this = this;
  43808. _this._future_group$_closed = true;
  43809. if (_this._future_group$_pending !== 0)
  43810. return;
  43811. t1 = _this._future_group$_completer;
  43812. if ((t1.future._state & 30) !== 0)
  43813. return;
  43814. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  43815. t2 = A.List_List$_of(new A.WhereTypeIterable(_this._future_group$_values, t2), t2._eval$1("Iterable.E"));
  43816. t1.complete$1(t2);
  43817. }
  43818. };
  43819. A.FutureGroup_add_closure.prototype = {
  43820. call$1(value) {
  43821. var t3, t4,
  43822. t1 = this.$this,
  43823. t2 = t1._future_group$_completer;
  43824. if ((t2.future._state & 30) !== 0)
  43825. return null;
  43826. t3 = --t1._future_group$_pending;
  43827. t4 = t1._future_group$_values;
  43828. t4[this.index] = value;
  43829. if (t3 !== 0)
  43830. return null;
  43831. if (!t1._future_group$_closed)
  43832. return null;
  43833. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  43834. t1 = A.List_List$_of(new A.WhereTypeIterable(t4, t1), t1._eval$1("Iterable.E"));
  43835. t2.complete$1(t1);
  43836. },
  43837. $signature() {
  43838. return this.$this.$ti._eval$1("Null(1)");
  43839. }
  43840. };
  43841. A.FutureGroup_add_closure0.prototype = {
  43842. call$2(error, stackTrace) {
  43843. var t1 = this.$this._future_group$_completer;
  43844. if ((t1.future._state & 30) !== 0)
  43845. return null;
  43846. t1.completeError$2(error, stackTrace);
  43847. },
  43848. $signature: 51
  43849. };
  43850. A.ErrorResult.prototype = {
  43851. complete$1(completer) {
  43852. completer.completeError$2(this.error, this.stackTrace);
  43853. },
  43854. get$hashCode(_) {
  43855. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  43856. },
  43857. $eq(_, other) {
  43858. if (other == null)
  43859. return false;
  43860. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  43861. },
  43862. $isResult: 1
  43863. };
  43864. A.ValueResult.prototype = {
  43865. complete$1(completer) {
  43866. completer.complete$1(this.value);
  43867. },
  43868. get$hashCode(_) {
  43869. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  43870. },
  43871. $eq(_, other) {
  43872. if (other == null)
  43873. return false;
  43874. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  43875. },
  43876. $isResult: 1
  43877. };
  43878. A.StreamCompleter.prototype = {
  43879. setSourceStream$1(sourceStream) {
  43880. var t1 = this._stream_completer$_stream;
  43881. if (t1._sourceStream != null)
  43882. throw A.wrapException(A.StateError$("Source stream already set"));
  43883. t1._sourceStream = sourceStream;
  43884. if (t1._stream_completer$_controller != null)
  43885. t1._linkStreamToController$0();
  43886. },
  43887. setError$2(error, stackTrace) {
  43888. var t1 = this.$ti,
  43889. t2 = A._interceptUserError(error, stackTrace),
  43890. t3 = new A._Future($.Zone__current, t1._eval$1("_Future<1>"));
  43891. t3._asyncCompleteErrorObject$1(t2);
  43892. this.setSourceStream$1(A.Stream_Stream$fromFuture(t3, t1._precomputed1));
  43893. },
  43894. setError$1(error) {
  43895. return this.setError$2(error, null);
  43896. }
  43897. };
  43898. A._CompleterStream.prototype = {
  43899. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  43900. var sourceStream, t1, _this = this, _null = null;
  43901. if (_this._stream_completer$_controller == null) {
  43902. sourceStream = _this._sourceStream;
  43903. if (sourceStream != null && !sourceStream.get$isBroadcast())
  43904. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43905. if (_this._stream_completer$_controller == null)
  43906. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  43907. if (_this._sourceStream != null)
  43908. _this._linkStreamToController$0();
  43909. }
  43910. t1 = _this._stream_completer$_controller;
  43911. t1.toString;
  43912. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43913. },
  43914. listen$1(_, onData) {
  43915. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  43916. },
  43917. listen$3$onDone$onError(_, onData, onDone, onError) {
  43918. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  43919. },
  43920. _linkStreamToController$0() {
  43921. var t2,
  43922. t1 = this._stream_completer$_controller;
  43923. t1.toString;
  43924. t2 = this._sourceStream;
  43925. t2.toString;
  43926. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  43927. }
  43928. };
  43929. A.StreamGroup.prototype = {
  43930. add$1(_, stream) {
  43931. var t1, _this = this;
  43932. if (_this._closed)
  43933. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  43934. t1 = _this._stream_group$_state;
  43935. if (t1 === B._StreamGroupState_dormant)
  43936. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  43937. else if (t1 === B._StreamGroupState_canceled)
  43938. return stream.listen$1(0, null).cancel$0();
  43939. else
  43940. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  43941. return null;
  43942. },
  43943. remove$1(_, stream) {
  43944. var t1 = this._subscriptions,
  43945. subscription = t1.remove$1(0, stream),
  43946. future = subscription == null ? null : subscription.cancel$0();
  43947. if (t1.__js_helper$_length === 0)
  43948. if (this._closed) {
  43949. t1 = this.__StreamGroup__controller_A;
  43950. t1 === $ && A.throwUnnamedLateFieldNI();
  43951. A.scheduleMicrotask(t1.get$close(t1));
  43952. }
  43953. return future;
  43954. },
  43955. _onListen$0() {
  43956. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  43957. _this._stream_group$_state = B._StreamGroupState_listening;
  43958. t1 = _this._subscriptions;
  43959. 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>?>"));
  43960. t3 = t2.length;
  43961. _i = 0;
  43962. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  43963. entry = t2[_i];
  43964. if (entry.value != null)
  43965. continue;
  43966. stream = entry.key;
  43967. try {
  43968. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  43969. } catch (exception) {
  43970. t1 = _this._onCancel$0();
  43971. if (t1 != null)
  43972. t1.catchError$1(new A.StreamGroup__onListen_closure());
  43973. throw exception;
  43974. }
  43975. }
  43976. },
  43977. _onPause$0() {
  43978. this._stream_group$_state = B._StreamGroupState_paused;
  43979. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  43980. t1.__js_helper$_current.pause$0(0);
  43981. },
  43982. _onResume$0() {
  43983. this._stream_group$_state = B._StreamGroupState_listening;
  43984. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  43985. t1.__js_helper$_current.resume$0(0);
  43986. },
  43987. _onCancel$0() {
  43988. var t1, t2, t3, futures;
  43989. this._stream_group$_state = B._StreamGroupState_canceled;
  43990. t1 = this._subscriptions;
  43991. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  43992. t3 = type$.NonNullsIterable_Future_void;
  43993. 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"));
  43994. t1.clear$0(0);
  43995. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  43996. },
  43997. _listenToStream$1(stream) {
  43998. var subscription,
  43999. t1 = this.__StreamGroup__controller_A;
  44000. t1 === $ && A.throwUnnamedLateFieldNI();
  44001. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44002. if (this._stream_group$_state === B._StreamGroupState_paused)
  44003. subscription.pause$0(0);
  44004. return subscription;
  44005. }
  44006. };
  44007. A.StreamGroup_add_closure.prototype = {
  44008. call$0() {
  44009. return null;
  44010. },
  44011. $signature: 1
  44012. };
  44013. A.StreamGroup_add_closure0.prototype = {
  44014. call$0() {
  44015. return this.$this._listenToStream$1(this.stream);
  44016. },
  44017. $signature() {
  44018. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44019. }
  44020. };
  44021. A.StreamGroup__onListen_closure.prototype = {
  44022. call$1(_) {
  44023. },
  44024. $signature: 64
  44025. };
  44026. A.StreamGroup__onCancel_closure.prototype = {
  44027. call$1(entry) {
  44028. var t1, exception,
  44029. subscription = entry.value;
  44030. try {
  44031. if (subscription != null) {
  44032. t1 = subscription.cancel$0();
  44033. return t1;
  44034. }
  44035. t1 = entry.key.listen$1(0, null).cancel$0();
  44036. return t1;
  44037. } catch (exception) {
  44038. return null;
  44039. }
  44040. },
  44041. $signature() {
  44042. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44043. }
  44044. };
  44045. A.StreamGroup__listenToStream_closure.prototype = {
  44046. call$0() {
  44047. return this.$this.remove$1(0, this.stream);
  44048. },
  44049. $signature: 0
  44050. };
  44051. A._StreamGroupState.prototype = {
  44052. toString$0(_) {
  44053. return this.name;
  44054. }
  44055. };
  44056. A.StreamQueue.prototype = {
  44057. _updateRequests$0() {
  44058. var t1, t2, t3, t4, _this = this;
  44059. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44060. t4 = t1._head;
  44061. if (t4 === t1._tail)
  44062. A.throwExpression(A.IterableElementError_noElement());
  44063. t4 = t1._table[t4];
  44064. if (t4 == null)
  44065. t4 = t3._as(t4);
  44066. if (t4.update$2(t2, _this._isDone))
  44067. t1.removeFirst$0();
  44068. else
  44069. return;
  44070. }
  44071. if (!_this._isDone)
  44072. _this._stream_queue$_subscription.pause$0(0);
  44073. },
  44074. _ensureListening$0() {
  44075. var t1, _this = this;
  44076. if (_this._isDone)
  44077. return;
  44078. t1 = _this._stream_queue$_subscription;
  44079. if (t1 == null)
  44080. _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));
  44081. else
  44082. t1.resume$0(0);
  44083. },
  44084. _addResult$1(result) {
  44085. ++this._eventsReceived;
  44086. this._eventQueue._queue_list$_add$1(result);
  44087. this._updateRequests$0();
  44088. },
  44089. _addRequest$1(request) {
  44090. var _this = this,
  44091. t1 = _this._requestQueue;
  44092. if (t1._head === t1._tail) {
  44093. if (request.update$2(_this._eventQueue, _this._isDone))
  44094. return;
  44095. _this._ensureListening$0();
  44096. }
  44097. t1._add$1(request);
  44098. }
  44099. };
  44100. A.StreamQueue__ensureListening_closure.prototype = {
  44101. call$1(data) {
  44102. var t1 = this.$this;
  44103. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44104. },
  44105. $signature() {
  44106. return this.$this.$ti._eval$1("~(1)");
  44107. }
  44108. };
  44109. A.StreamQueue__ensureListening_closure1.prototype = {
  44110. call$2(error, stackTrace) {
  44111. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44112. },
  44113. $signature: 51
  44114. };
  44115. A.StreamQueue__ensureListening_closure0.prototype = {
  44116. call$0() {
  44117. var t1 = this.$this;
  44118. t1._stream_queue$_subscription = null;
  44119. t1._isDone = true;
  44120. t1._updateRequests$0();
  44121. },
  44122. $signature: 0
  44123. };
  44124. A._NextRequest.prototype = {
  44125. update$2(events, isDone) {
  44126. if (!events.get$isEmpty(events)) {
  44127. events.removeFirst$0().complete$1(this._completer);
  44128. return true;
  44129. }
  44130. if (isDone) {
  44131. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44132. return true;
  44133. }
  44134. return false;
  44135. },
  44136. $is_EventRequest: 1
  44137. };
  44138. A._isStrictMode_closure.prototype = {
  44139. call$0() {
  44140. var exception;
  44141. try {
  44142. "".name = null;
  44143. return false;
  44144. } catch (exception) {
  44145. return true;
  44146. }
  44147. },
  44148. $signature: 20
  44149. };
  44150. A.Repl.prototype = {};
  44151. A.alwaysValid_closure.prototype = {
  44152. call$1(text) {
  44153. return true;
  44154. },
  44155. $signature: 5
  44156. };
  44157. A.ReplAdapter.prototype = {
  44158. runAsync$0() {
  44159. var rl, runController, _this = this, t1 = {},
  44160. t2 = J.get$isTTY$x(self.process.stdin),
  44161. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44162. t2 = _this.repl.prompt;
  44163. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44164. _this.rl = rl;
  44165. t1.statement = "";
  44166. t1.prompt = t2;
  44167. runController = A._Cell$();
  44168. 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);
  44169. return runController._readLocal$0().get$stream();
  44170. },
  44171. exit$0(_) {
  44172. var t1 = this.rl;
  44173. if (t1 != null)
  44174. J.close$0$x(t1);
  44175. this.rl = null;
  44176. }
  44177. };
  44178. A.ReplAdapter_runAsync_closure.prototype = {
  44179. call$0() {
  44180. var $async$goto = 0,
  44181. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44182. $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;
  44183. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44184. if ($async$errorCode === 1) {
  44185. $async$errorStack.push($async$result);
  44186. $async$goto = $async$handler;
  44187. }
  44188. while (true)
  44189. switch ($async$goto) {
  44190. case 0:
  44191. // Function start
  44192. $async$handler = 3;
  44193. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44194. t1 = lineController;
  44195. t2 = A.QueueList$(null, type$.Result_String);
  44196. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44197. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44198. t1 = $async$self.rl;
  44199. t2 = J.getInterceptor$x(t1);
  44200. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44201. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44202. case 6:
  44203. // for condition
  44204. // trivial condition
  44205. t6 = J.get$isTTY$x(self.process.stdin);
  44206. if (t6 == null ? false : t6)
  44207. J.write$1$x(self.process.stdout, t3.prompt);
  44208. t6 = lineQueue;
  44209. t6.toString;
  44210. t7 = t6.$ti;
  44211. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44212. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44213. $async$goto = 8;
  44214. return A._asyncAwait(t8, $async$call$0);
  44215. case 8:
  44216. // returning from await.
  44217. line = $async$result;
  44218. t6 = J.get$isTTY$x(self.process.stdin);
  44219. if (!(t6 == null ? false : t6)) {
  44220. line0 = t3.prompt + A.S(line);
  44221. toZone = $.printToZone;
  44222. if (toZone == null)
  44223. A.printString(line0);
  44224. else
  44225. toZone.call$1(line0);
  44226. }
  44227. statement = B.JSString_methods.$add(t3.statement, line);
  44228. t3.statement = statement;
  44229. if (t4.validator.call$1(statement)) {
  44230. t6 = t5.__late_helper$_value;
  44231. if (t6 === t5)
  44232. A.throwExpression(A.LateError$localNI(""));
  44233. J.add$1$ax(t6, t3.statement);
  44234. t3.statement = "";
  44235. t3.prompt = prompt0;
  44236. t2.setPrompt$1(t1, prompt0);
  44237. } else {
  44238. t3.statement += "\n";
  44239. t3.prompt = $prompt;
  44240. t2.setPrompt$1(t1, $prompt);
  44241. }
  44242. // goto for condition
  44243. $async$goto = 6;
  44244. break;
  44245. case 7:
  44246. // after for
  44247. $async$handler = 1;
  44248. // goto after finally
  44249. $async$goto = 5;
  44250. break;
  44251. case 3:
  44252. // catch
  44253. $async$handler = 2;
  44254. $async$exception = $async$errorStack.pop();
  44255. error = A.unwrapException($async$exception);
  44256. stackTrace = A.getTraceFromException($async$exception);
  44257. t1 = $async$self.runController;
  44258. t1._readLocal$0().addError$2(error, stackTrace);
  44259. t2 = $async$self.$this.exit$0(0);
  44260. t2 = A._Future$value(t2, type$.void);
  44261. $async$goto = 9;
  44262. return A._asyncAwait(t2, $async$call$0);
  44263. case 9:
  44264. // returning from await.
  44265. J.close$0$x(t1._readLocal$0());
  44266. // goto after finally
  44267. $async$goto = 5;
  44268. break;
  44269. case 2:
  44270. // uncaught
  44271. // goto rethrow
  44272. $async$goto = 1;
  44273. break;
  44274. case 5:
  44275. // after finally
  44276. // implicit return
  44277. return A._asyncReturn(null, $async$completer);
  44278. case 1:
  44279. // rethrow
  44280. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44281. }
  44282. });
  44283. return A._asyncStartSync($async$call$0, $async$completer);
  44284. },
  44285. $signature: 32
  44286. };
  44287. A.ReplAdapter_runAsync__closure.prototype = {
  44288. call$1(value) {
  44289. return this.lineController.add$1(0, A._asString(value));
  44290. },
  44291. $signature: 75
  44292. };
  44293. A.Stdin.prototype = {};
  44294. A.Stdout.prototype = {};
  44295. A.ReadlineModule.prototype = {};
  44296. A.ReadlineOptions.prototype = {};
  44297. A.ReadlineInterface.prototype = {};
  44298. A.EmptyUnmodifiableSet.prototype = {
  44299. get$iterator(_) {
  44300. return B.C_EmptyIterator;
  44301. },
  44302. get$length(_) {
  44303. return 0;
  44304. },
  44305. contains$1(_, element) {
  44306. return false;
  44307. },
  44308. toSet$0(_) {
  44309. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44310. },
  44311. $isEfficientLengthIterable: 1,
  44312. $isSet: 1
  44313. };
  44314. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44315. A.DefaultEquality.prototype = {};
  44316. A.IterableEquality.prototype = {
  44317. equals$2(_, elements1, elements2) {
  44318. var it1, it2, hasNext;
  44319. if (elements1 === elements2)
  44320. return true;
  44321. it1 = J.get$iterator$ax(elements1);
  44322. it2 = J.get$iterator$ax(elements2);
  44323. for (; true;) {
  44324. hasNext = it1.moveNext$0();
  44325. if (hasNext !== it2.moveNext$0())
  44326. return false;
  44327. if (!hasNext)
  44328. return true;
  44329. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44330. return false;
  44331. }
  44332. },
  44333. hash$1(elements) {
  44334. var t1, hash, _i;
  44335. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44336. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44337. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44338. hash ^= hash >>> 6;
  44339. }
  44340. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44341. hash ^= hash >>> 11;
  44342. return hash + (hash << 15 >>> 0) & 2147483647;
  44343. }
  44344. };
  44345. A.ListEquality.prototype = {
  44346. equals$2(_, list1, list2) {
  44347. var t1, $length, t2, i;
  44348. if (list1 == null ? list2 == null : list1 === list2)
  44349. return true;
  44350. if (list1 == null || list2 == null)
  44351. return false;
  44352. t1 = J.getInterceptor$asx(list1);
  44353. $length = t1.get$length(list1);
  44354. t2 = J.getInterceptor$asx(list2);
  44355. if ($length !== t2.get$length(list2))
  44356. return false;
  44357. for (i = 0; i < $length; ++i)
  44358. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44359. return false;
  44360. return true;
  44361. },
  44362. hash$1(list) {
  44363. var hash, i;
  44364. for (hash = 0, i = 0; i < list.length; ++i) {
  44365. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44366. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44367. hash ^= hash >>> 6;
  44368. }
  44369. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44370. hash ^= hash >>> 11;
  44371. return hash + (hash << 15 >>> 0) & 2147483647;
  44372. }
  44373. };
  44374. A._MapEntry.prototype = {
  44375. get$hashCode(_) {
  44376. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44377. },
  44378. $eq(_, other) {
  44379. if (other == null)
  44380. return false;
  44381. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44382. }
  44383. };
  44384. A.MapEquality.prototype = {
  44385. equals$2(_, map1, map2) {
  44386. var equalElementCounts, t1, key, entry, count;
  44387. if (map1 === map2)
  44388. return true;
  44389. if (map1.get$length(map1) !== map2.get$length(map2))
  44390. return false;
  44391. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44392. for (t1 = map1.get$keys(map1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  44393. key = t1.get$current(t1);
  44394. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44395. count = equalElementCounts.$index(0, entry);
  44396. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44397. }
  44398. for (t1 = map2.get$keys(map2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  44399. key = t1.get$current(t1);
  44400. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44401. count = equalElementCounts.$index(0, entry);
  44402. if (count == null || count === 0)
  44403. return false;
  44404. equalElementCounts.$indexSet(0, entry, count - 1);
  44405. }
  44406. return true;
  44407. },
  44408. hash$1(map) {
  44409. var t1, t2, hash, key, keyHash, t3;
  44410. for (t1 = map.get$keys(map), t1 = t1.get$iterator(t1), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44411. key = t1.get$current(t1);
  44412. keyHash = J.get$hashCode$(key);
  44413. t3 = map.$index(0, key);
  44414. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44415. }
  44416. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44417. hash ^= hash >>> 11;
  44418. return hash + (hash << 15 >>> 0) & 2147483647;
  44419. }
  44420. };
  44421. A.QueueList.prototype = {
  44422. add$1(_, element) {
  44423. this._queue_list$_add$1(element);
  44424. },
  44425. addAll$1(_, iterable) {
  44426. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44427. if (type$.List_dynamic._is(iterable)) {
  44428. addCount = J.get$length$asx(iterable);
  44429. $length = _this.get$length(0);
  44430. t1 = $length + addCount;
  44431. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44432. _this._preGrow$1(t1);
  44433. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44434. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44435. } else {
  44436. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44437. t1 = _this._queue_list$_table;
  44438. t2 = J.getInterceptor$ax(t1);
  44439. if (addCount < endSpace) {
  44440. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44441. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44442. } else {
  44443. preSpace = addCount - endSpace;
  44444. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44445. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44446. _this.set$_queue_list$_tail(preSpace);
  44447. }
  44448. }
  44449. } else
  44450. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44451. _this._queue_list$_add$1(t1.get$current(t1));
  44452. },
  44453. cast$1$0(_, $T) {
  44454. 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>"));
  44455. },
  44456. toString$0(_) {
  44457. return A.Iterable_iterableToFullString(this, "{", "}");
  44458. },
  44459. addFirst$1(element) {
  44460. var _this = this;
  44461. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44462. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44463. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44464. _this._queue_list$_grow$0();
  44465. },
  44466. removeFirst$0() {
  44467. var result, _this = this;
  44468. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44469. throw A.wrapException(A.StateError$("No element"));
  44470. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44471. if (result == null)
  44472. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44473. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44474. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44475. return result;
  44476. },
  44477. removeLast$0(_) {
  44478. var result, _this = this;
  44479. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44480. throw A.wrapException(A.StateError$("No element"));
  44481. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44482. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44483. if (result == null)
  44484. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44485. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44486. return result;
  44487. },
  44488. get$length(_) {
  44489. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44490. },
  44491. set$length(_, value) {
  44492. var delta, newTail, t1, t2, _this = this;
  44493. if (value < 0)
  44494. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44495. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44496. 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) + "`."));
  44497. delta = value - _this.get$length(0);
  44498. if (delta >= 0) {
  44499. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44500. _this._preGrow$1(value);
  44501. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44502. return;
  44503. }
  44504. newTail = _this.get$_queue_list$_tail() + delta;
  44505. t1 = _this._queue_list$_table;
  44506. if (newTail >= 0)
  44507. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44508. else {
  44509. newTail += J.get$length$asx(t1);
  44510. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44511. t1 = _this._queue_list$_table;
  44512. t2 = J.getInterceptor$asx(t1);
  44513. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44514. }
  44515. _this.set$_queue_list$_tail(newTail);
  44516. },
  44517. $index(_, index) {
  44518. var t1, _this = this;
  44519. if (index < 0 || index >= _this.get$length(0))
  44520. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44521. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44522. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44523. },
  44524. $indexSet(_, index, value) {
  44525. var _this = this;
  44526. if (index < 0 || index >= _this.get$length(0))
  44527. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44528. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44529. },
  44530. _queue_list$_add$1(element) {
  44531. var _this = this;
  44532. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44533. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44534. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44535. _this._queue_list$_grow$0();
  44536. },
  44537. _queue_list$_grow$0() {
  44538. var _this = this,
  44539. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44540. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44541. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44542. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44543. _this.set$_queue_list$_head(0);
  44544. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44545. _this._queue_list$_table = newTable;
  44546. },
  44547. _writeToList$1(target) {
  44548. var $length, firstPartSize, _this = this;
  44549. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44550. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44551. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44552. return $length;
  44553. } else {
  44554. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44555. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44556. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44557. return _this.get$_queue_list$_tail() + firstPartSize;
  44558. }
  44559. },
  44560. _preGrow$1(newElementCount) {
  44561. var _this = this,
  44562. 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?"));
  44563. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44564. _this._queue_list$_table = newTable;
  44565. _this.set$_queue_list$_head(0);
  44566. },
  44567. $isEfficientLengthIterable: 1,
  44568. $isQueue: 1,
  44569. $isIterable: 1,
  44570. $isList: 1,
  44571. get$_queue_list$_head() {
  44572. return this._queue_list$_head;
  44573. },
  44574. get$_queue_list$_tail() {
  44575. return this._queue_list$_tail;
  44576. },
  44577. set$_queue_list$_head(val) {
  44578. return this._queue_list$_head = val;
  44579. },
  44580. set$_queue_list$_tail(val) {
  44581. return this._queue_list$_tail = val;
  44582. }
  44583. };
  44584. A._CastQueueList.prototype = {
  44585. get$_queue_list$_head() {
  44586. return this._queue_list$_delegate.get$_queue_list$_head();
  44587. },
  44588. set$_queue_list$_head(value) {
  44589. this._queue_list$_delegate.set$_queue_list$_head(value);
  44590. },
  44591. get$_queue_list$_tail() {
  44592. return this._queue_list$_delegate.get$_queue_list$_tail();
  44593. },
  44594. set$_queue_list$_tail(value) {
  44595. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44596. }
  44597. };
  44598. A._QueueList_Object_ListMixin.prototype = {};
  44599. A.UnionSet.prototype = {
  44600. get$length(_) {
  44601. var t1 = this.get$_union_set$_iterable().get$length(0);
  44602. return t1;
  44603. },
  44604. get$iterator(_) {
  44605. var t1 = this.get$_union_set$_iterable();
  44606. return t1.get$iterator(t1);
  44607. },
  44608. get$_union_set$_iterable() {
  44609. var t1 = this._sets,
  44610. t2 = this.$ti._precomputed1,
  44611. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44612. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44613. 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>"));
  44614. },
  44615. contains$1(_, element) {
  44616. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44617. },
  44618. toSet$0(_) {
  44619. var t2, t3, t4,
  44620. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44621. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44622. t4 = t2._collection$_current;
  44623. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44624. }
  44625. return t1;
  44626. }
  44627. };
  44628. A.UnionSet__iterable_closure.prototype = {
  44629. call$1(set) {
  44630. return set;
  44631. },
  44632. $signature() {
  44633. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44634. }
  44635. };
  44636. A.UnionSet_contains_closure.prototype = {
  44637. call$1(set) {
  44638. return set.contains$1(0, this.element);
  44639. },
  44640. $signature() {
  44641. return this.$this.$ti._eval$1("bool(Set<1>)");
  44642. }
  44643. };
  44644. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44645. A.UnmodifiableSetView0.prototype = {};
  44646. A.UnmodifiableSetMixin.prototype = {
  44647. add$1(_, value) {
  44648. return A.UnmodifiableSetMixin__throw();
  44649. },
  44650. addAll$1(_, elements) {
  44651. return A.UnmodifiableSetMixin__throw();
  44652. },
  44653. remove$1(_, value) {
  44654. return A.UnmodifiableSetMixin__throw();
  44655. }
  44656. };
  44657. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  44658. A._DelegatingIterableBase.prototype = {
  44659. any$1(_, test) {
  44660. var t1 = this.get$_base();
  44661. return t1.any$1(t1, test);
  44662. },
  44663. contains$1(_, element) {
  44664. var t1 = this.get$_base();
  44665. return t1.contains$1(t1, element);
  44666. },
  44667. elementAt$1(_, index) {
  44668. var t1 = this.get$_base();
  44669. return t1.elementAt$1(t1, index);
  44670. },
  44671. every$1(_, test) {
  44672. var t1 = this.get$_base();
  44673. return t1.every$1(t1, test);
  44674. },
  44675. get$first(_) {
  44676. var t1 = this.get$_base();
  44677. return t1.get$first(t1);
  44678. },
  44679. get$isEmpty(_) {
  44680. var t1 = this.get$_base();
  44681. return t1.get$isEmpty(t1);
  44682. },
  44683. get$isNotEmpty(_) {
  44684. var t1 = this.get$_base();
  44685. return t1.get$isNotEmpty(t1);
  44686. },
  44687. get$iterator(_) {
  44688. var t1 = this.get$_base();
  44689. return t1.get$iterator(t1);
  44690. },
  44691. get$last(_) {
  44692. var t1 = this.get$_base();
  44693. return t1.get$last(t1);
  44694. },
  44695. get$length(_) {
  44696. var t1 = this.get$_base();
  44697. return t1.get$length(t1);
  44698. },
  44699. map$1$1(_, f, $T) {
  44700. var t1 = this.get$_base();
  44701. return t1.map$1$1(t1, f, $T);
  44702. },
  44703. get$single(_) {
  44704. var t1 = this.get$_base();
  44705. return t1.get$single(t1);
  44706. },
  44707. skip$1(_, n) {
  44708. var t1 = this.get$_base();
  44709. return t1.skip$1(t1, n);
  44710. },
  44711. take$1(_, n) {
  44712. var t1 = this.get$_base();
  44713. return t1.take$1(t1, n);
  44714. },
  44715. toList$1$growable(_, growable) {
  44716. var t1 = this.get$_base();
  44717. return t1.toList$1$growable(t1, true);
  44718. },
  44719. toList$0(_) {
  44720. return this.toList$1$growable(0, true);
  44721. },
  44722. toSet$0(_) {
  44723. var t1 = this.get$_base();
  44724. return t1.toSet$0(t1);
  44725. },
  44726. where$1(_, test) {
  44727. var t1 = this.get$_base();
  44728. return t1.where$1(t1, test);
  44729. },
  44730. toString$0(_) {
  44731. var t1 = this.get$_base();
  44732. return t1.toString$0(t1);
  44733. },
  44734. $isIterable: 1
  44735. };
  44736. A.DelegatingSet.prototype = {
  44737. add$1(_, value) {
  44738. return this._base.add$1(0, value);
  44739. },
  44740. addAll$1(_, elements) {
  44741. this._base.addAll$1(0, elements);
  44742. },
  44743. toSet$0(_) {
  44744. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  44745. },
  44746. $isEfficientLengthIterable: 1,
  44747. $isSet: 1,
  44748. get$_base() {
  44749. return this._base;
  44750. }
  44751. };
  44752. A.MapKeySet.prototype = {
  44753. get$_base() {
  44754. var t1 = this._baseMap;
  44755. return t1.get$keys(t1);
  44756. },
  44757. contains$1(_, element) {
  44758. return this._baseMap.containsKey$1(element);
  44759. },
  44760. get$isEmpty(_) {
  44761. var t1 = this._baseMap;
  44762. return t1.get$isEmpty(t1);
  44763. },
  44764. get$isNotEmpty(_) {
  44765. var t1 = this._baseMap;
  44766. return t1.get$isNotEmpty(t1);
  44767. },
  44768. get$length(_) {
  44769. var t1 = this._baseMap;
  44770. return t1.get$length(t1);
  44771. },
  44772. toString$0(_) {
  44773. return A.Iterable_iterableToFullString(this, "{", "}");
  44774. },
  44775. difference$1(other) {
  44776. var t1 = this.get$_base();
  44777. return t1.where$1(t1, new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  44778. },
  44779. intersection$1(other) {
  44780. var t1 = this.get$_base();
  44781. return t1.where$1(t1, other.get$contains(other)).toSet$0(0);
  44782. },
  44783. $isEfficientLengthIterable: 1,
  44784. $isSet: 1
  44785. };
  44786. A.MapKeySet_difference_closure.prototype = {
  44787. call$1(element) {
  44788. return !this.other.contains$1(0, element);
  44789. },
  44790. $signature() {
  44791. return this.$this.$ti._eval$1("bool(1)");
  44792. }
  44793. };
  44794. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  44795. A.BufferModule.prototype = {};
  44796. A.BufferConstants.prototype = {};
  44797. A.Buffer.prototype = {};
  44798. A.ConsoleModule.prototype = {};
  44799. A.Console.prototype = {};
  44800. A.EventEmitter.prototype = {};
  44801. A.FS.prototype = {};
  44802. A.FSConstants.prototype = {};
  44803. A.Realpath.prototype = {};
  44804. A.RealpathSync.prototype = {};
  44805. A.FSWatcher.prototype = {};
  44806. A.ReadStream.prototype = {};
  44807. A.ReadStreamOptions.prototype = {};
  44808. A.WriteStream.prototype = {};
  44809. A.WriteStreamOptions.prototype = {};
  44810. A.FileOptions.prototype = {};
  44811. A.StatOptions.prototype = {};
  44812. A.MkdirOptions.prototype = {};
  44813. A.RmdirOptions.prototype = {};
  44814. A.WatchOptions.prototype = {};
  44815. A.WatchFileOptions.prototype = {};
  44816. A.Stats.prototype = {};
  44817. A.Promise.prototype = {};
  44818. A.Date.prototype = {};
  44819. A.JsError.prototype = {};
  44820. A.Atomics.prototype = {};
  44821. A.Modules.prototype = {};
  44822. A.Module.prototype = {};
  44823. A.Net.prototype = {};
  44824. A.Socket.prototype = {};
  44825. A.NetAddress.prototype = {};
  44826. A.NetServer.prototype = {};
  44827. A.NodeJsError.prototype = {};
  44828. A.JsAssertionError.prototype = {};
  44829. A.JsRangeError.prototype = {};
  44830. A.JsReferenceError.prototype = {};
  44831. A.JsSyntaxError.prototype = {};
  44832. A.JsTypeError.prototype = {};
  44833. A.JsSystemError.prototype = {};
  44834. A.Process.prototype = {};
  44835. A.CPUUsage.prototype = {};
  44836. A.Release.prototype = {};
  44837. A.StreamModule.prototype = {};
  44838. A.Readable.prototype = {};
  44839. A.Writable.prototype = {};
  44840. A.Duplex.prototype = {};
  44841. A.Transform.prototype = {};
  44842. A.WritableOptions.prototype = {};
  44843. A.ReadableOptions.prototype = {};
  44844. A.Immediate.prototype = {};
  44845. A.Timeout.prototype = {};
  44846. A.TTY.prototype = {};
  44847. A.TTYReadStream.prototype = {};
  44848. A.TTYWriteStream.prototype = {};
  44849. A.Util.prototype = {};
  44850. A.promiseToFuture_closure1.prototype = {
  44851. call$1(value) {
  44852. this.completer.complete$1(value);
  44853. },
  44854. $signature: 64
  44855. };
  44856. A.promiseToFuture_closure2.prototype = {
  44857. call$1(error) {
  44858. this.completer.completeError$1(error);
  44859. },
  44860. $signature: 64
  44861. };
  44862. A.futureToPromise_closure.prototype = {
  44863. call$2(resolve, reject) {
  44864. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  44865. },
  44866. $signature: 391
  44867. };
  44868. A.futureToPromise__closure.prototype = {
  44869. call$1(result) {
  44870. return this.resolve.call$1(result);
  44871. },
  44872. $signature() {
  44873. return this.T._eval$1("@(0)");
  44874. }
  44875. };
  44876. A.Context.prototype = {
  44877. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  44878. var t1;
  44879. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  44880. if (part2 == null) {
  44881. t1 = this.style;
  44882. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  44883. } else
  44884. t1 = false;
  44885. if (t1)
  44886. return part1;
  44887. t1 = this._context$_current;
  44888. 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);
  44889. },
  44890. absolute$1(part1) {
  44891. var _null = null;
  44892. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44893. },
  44894. dirname$1(path) {
  44895. var t1, t2,
  44896. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44897. parsed.removeTrailingSeparators$0();
  44898. t1 = parsed.parts;
  44899. t2 = t1.length;
  44900. if (t2 === 0) {
  44901. t1 = parsed.root;
  44902. return t1 == null ? "." : t1;
  44903. }
  44904. if (t2 === 1) {
  44905. t1 = parsed.root;
  44906. return t1 == null ? "." : t1;
  44907. }
  44908. B.JSArray_methods.removeLast$0(t1);
  44909. parsed.separators.pop();
  44910. parsed.removeTrailingSeparators$0();
  44911. return parsed.toString$0(0);
  44912. },
  44913. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  44914. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  44915. A._validateArgList("join", parts);
  44916. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  44917. },
  44918. join$2(_, part1, part2) {
  44919. var _null = null;
  44920. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44921. },
  44922. joinAll$1(parts) {
  44923. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  44924. 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();) {
  44925. t5 = t2.get$current(t2);
  44926. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  44927. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  44928. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  44929. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  44930. parsed.root = t4;
  44931. if (t3.needsSeparator$1(t4))
  44932. parsed.separators[0] = t3.get$separator(t3);
  44933. t4 = parsed.toString$0(0);
  44934. } else if (t3.rootLength$1(t5) > 0) {
  44935. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  44936. t4 = t5;
  44937. } else {
  44938. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  44939. if (needsSeparator)
  44940. t4 += t3.get$separator(t3);
  44941. t4 += t5;
  44942. }
  44943. needsSeparator = t3.needsSeparator$1(t5);
  44944. }
  44945. return t4.charCodeAt(0) == 0 ? t4 : t4;
  44946. },
  44947. split$1(_, path) {
  44948. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  44949. t1 = parsed.parts,
  44950. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  44951. t1 = A.List_List$_of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), t2._eval$1("Iterable.E"));
  44952. parsed.parts = t1;
  44953. t2 = parsed.root;
  44954. if (t2 != null)
  44955. B.JSArray_methods.insert$2(t1, 0, t2);
  44956. return parsed.parts;
  44957. },
  44958. canonicalize$1(_, path) {
  44959. var t1, parsed;
  44960. path = this.absolute$1(path);
  44961. t1 = this.style;
  44962. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  44963. return path;
  44964. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  44965. parsed.normalize$1$canonicalize(true);
  44966. return parsed.toString$0(0);
  44967. },
  44968. normalize$1(path) {
  44969. var parsed;
  44970. if (!this._needsNormalization$1(path))
  44971. return path;
  44972. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44973. parsed.normalize$0();
  44974. return parsed.toString$0(0);
  44975. },
  44976. _needsNormalization$1(path) {
  44977. var i, start, previous, t2, previousPrevious, codeUnit, t3,
  44978. t1 = this.style,
  44979. root = t1.rootLength$1(path);
  44980. if (root !== 0) {
  44981. if (t1 === $.$get$Style_windows())
  44982. for (i = 0; i < root; ++i)
  44983. if (path.charCodeAt(i) === 47)
  44984. return true;
  44985. start = root;
  44986. previous = 47;
  44987. } else {
  44988. start = 0;
  44989. previous = null;
  44990. }
  44991. for (t2 = path.length, i = start, previousPrevious = null; i < t2; ++i, previousPrevious = previous, previous = codeUnit) {
  44992. codeUnit = path.charCodeAt(i);
  44993. if (t1.isSeparator$1(codeUnit)) {
  44994. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  44995. return true;
  44996. if (previous != null && t1.isSeparator$1(previous))
  44997. return true;
  44998. if (previous === 46)
  44999. t3 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45000. else
  45001. t3 = false;
  45002. if (t3)
  45003. return true;
  45004. }
  45005. }
  45006. if (previous == null)
  45007. return true;
  45008. if (t1.isSeparator$1(previous))
  45009. return true;
  45010. if (previous === 46)
  45011. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45012. else
  45013. t1 = false;
  45014. if (t1)
  45015. return true;
  45016. return false;
  45017. },
  45018. relative$2$from(path, from) {
  45019. var fromParsed, pathParsed, t2, t3, _this = this,
  45020. _s26_ = 'Unable to find a path to "',
  45021. t1 = from == null;
  45022. if (t1 && _this.style.rootLength$1(path) <= 0)
  45023. return _this.normalize$1(path);
  45024. if (t1) {
  45025. t1 = _this._context$_current;
  45026. from = t1 == null ? A.current() : t1;
  45027. } else
  45028. from = _this.absolute$1(from);
  45029. t1 = _this.style;
  45030. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45031. return _this.normalize$1(path);
  45032. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45033. path = _this.absolute$1(path);
  45034. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45035. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45036. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45037. fromParsed.normalize$0();
  45038. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45039. pathParsed.normalize$0();
  45040. t2 = fromParsed.parts;
  45041. if (t2.length !== 0 && t2[0] === ".")
  45042. return pathParsed.toString$0(0);
  45043. t2 = fromParsed.root;
  45044. t3 = pathParsed.root;
  45045. if (t2 != t3)
  45046. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45047. else
  45048. t2 = false;
  45049. if (t2)
  45050. return pathParsed.toString$0(0);
  45051. while (true) {
  45052. t2 = fromParsed.parts;
  45053. if (t2.length !== 0) {
  45054. t3 = pathParsed.parts;
  45055. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45056. } else
  45057. t2 = false;
  45058. if (!t2)
  45059. break;
  45060. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45061. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45062. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45063. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45064. }
  45065. t2 = fromParsed.parts;
  45066. t3 = t2.length;
  45067. if (t3 !== 0 && t2[0] === "..")
  45068. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45069. t2 = type$.String;
  45070. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45071. t3 = pathParsed.separators;
  45072. t3[0] = "";
  45073. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45074. t1 = pathParsed.parts;
  45075. t2 = t1.length;
  45076. if (t2 === 0)
  45077. return ".";
  45078. if (t2 > 1 && B.JSArray_methods.get$last(t1) === ".") {
  45079. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45080. t1 = pathParsed.separators;
  45081. t1.pop();
  45082. t1.pop();
  45083. t1.push("");
  45084. }
  45085. pathParsed.root = "";
  45086. pathParsed.removeTrailingSeparators$0();
  45087. return pathParsed.toString$0(0);
  45088. },
  45089. relative$1(path) {
  45090. return this.relative$2$from(path, null);
  45091. },
  45092. _isWithinOrEquals$2($parent, child) {
  45093. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45094. $parent = $parent;
  45095. child = child;
  45096. t1 = _this.style;
  45097. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45098. childIsAbsolute = t1.rootLength$1(child) > 0;
  45099. if (parentIsAbsolute && !childIsAbsolute) {
  45100. child = _this.absolute$1(child);
  45101. if (t1.isRootRelative$1($parent))
  45102. $parent = _this.absolute$1($parent);
  45103. } else if (childIsAbsolute && !parentIsAbsolute) {
  45104. $parent = _this.absolute$1($parent);
  45105. if (t1.isRootRelative$1(child))
  45106. child = _this.absolute$1(child);
  45107. } else if (childIsAbsolute && parentIsAbsolute) {
  45108. childIsRootRelative = t1.isRootRelative$1(child);
  45109. parentIsRootRelative = t1.isRootRelative$1($parent);
  45110. if (childIsRootRelative && !parentIsRootRelative)
  45111. child = _this.absolute$1(child);
  45112. else if (parentIsRootRelative && !childIsRootRelative)
  45113. $parent = _this.absolute$1($parent);
  45114. }
  45115. result = _this._isWithinOrEqualsFast$2($parent, child);
  45116. if (result !== B._PathRelation_inconclusive)
  45117. return result;
  45118. relative = null;
  45119. try {
  45120. relative = _this.relative$2$from(child, $parent);
  45121. } catch (exception) {
  45122. if (A.unwrapException(exception) instanceof A.PathException)
  45123. return B._PathRelation_different;
  45124. else
  45125. throw exception;
  45126. }
  45127. if (t1.rootLength$1(relative) > 0)
  45128. return B._PathRelation_different;
  45129. if (J.$eq$(relative, "."))
  45130. return B._PathRelation_equal;
  45131. if (J.$eq$(relative, ".."))
  45132. return B._PathRelation_different;
  45133. 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;
  45134. },
  45135. _isWithinOrEqualsFast$2($parent, child) {
  45136. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45137. if ($parent === ".")
  45138. $parent = "";
  45139. t1 = _this.style;
  45140. parentRootLength = t1.rootLength$1($parent);
  45141. childRootLength = t1.rootLength$1(child);
  45142. if (parentRootLength !== childRootLength)
  45143. return B._PathRelation_different;
  45144. for (i = 0; i < parentRootLength; ++i)
  45145. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45146. return B._PathRelation_different;
  45147. t2 = child.length;
  45148. t3 = $parent.length;
  45149. childIndex = childRootLength;
  45150. parentIndex = parentRootLength;
  45151. lastCodeUnit = 47;
  45152. lastParentSeparator = null;
  45153. while (true) {
  45154. if (!(parentIndex < t3 && childIndex < t2))
  45155. break;
  45156. c$0: {
  45157. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45158. childCodeUnit = child.charCodeAt(childIndex);
  45159. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45160. if (t1.isSeparator$1(parentCodeUnit))
  45161. lastParentSeparator = parentIndex;
  45162. ++parentIndex;
  45163. ++childIndex;
  45164. lastCodeUnit = parentCodeUnit;
  45165. break c$0;
  45166. }
  45167. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45168. parentIndex0 = parentIndex + 1;
  45169. lastParentSeparator = parentIndex;
  45170. parentIndex = parentIndex0;
  45171. break c$0;
  45172. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45173. ++childIndex;
  45174. break c$0;
  45175. }
  45176. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45177. ++parentIndex;
  45178. if (parentIndex === t3)
  45179. break;
  45180. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45181. if (t1.isSeparator$1(parentCodeUnit)) {
  45182. parentIndex0 = parentIndex + 1;
  45183. lastParentSeparator = parentIndex;
  45184. parentIndex = parentIndex0;
  45185. break c$0;
  45186. }
  45187. if (parentCodeUnit === 46) {
  45188. ++parentIndex;
  45189. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45190. return B._PathRelation_inconclusive;
  45191. }
  45192. }
  45193. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45194. ++childIndex;
  45195. if (childIndex === t2)
  45196. break;
  45197. childCodeUnit = child.charCodeAt(childIndex);
  45198. if (t1.isSeparator$1(childCodeUnit)) {
  45199. ++childIndex;
  45200. break c$0;
  45201. }
  45202. if (childCodeUnit === 46) {
  45203. ++childIndex;
  45204. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45205. return B._PathRelation_inconclusive;
  45206. }
  45207. }
  45208. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45209. return B._PathRelation_inconclusive;
  45210. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45211. return B._PathRelation_inconclusive;
  45212. return B._PathRelation_different;
  45213. }
  45214. }
  45215. if (childIndex === t2) {
  45216. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45217. lastParentSeparator = parentIndex;
  45218. else if (lastParentSeparator == null)
  45219. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45220. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45221. if (direction === B._PathDirection_dMN)
  45222. return B._PathRelation_equal;
  45223. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45224. }
  45225. direction = _this._pathDirection$2(child, childIndex);
  45226. if (direction === B._PathDirection_dMN)
  45227. return B._PathRelation_equal;
  45228. if (direction === B._PathDirection_vgO)
  45229. return B._PathRelation_inconclusive;
  45230. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45231. },
  45232. _pathDirection$2(path, index) {
  45233. var t1, t2, i, depth, reachedRoot, i0, t3;
  45234. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45235. while (true) {
  45236. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45237. break;
  45238. ++i;
  45239. }
  45240. if (i === t1)
  45241. break;
  45242. i0 = i;
  45243. while (true) {
  45244. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45245. break;
  45246. ++i0;
  45247. }
  45248. t3 = i0 - i;
  45249. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45250. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45251. --depth;
  45252. if (depth < 0)
  45253. break;
  45254. if (depth === 0)
  45255. reachedRoot = true;
  45256. } else
  45257. ++depth;
  45258. if (i0 === t1)
  45259. break;
  45260. i = i0 + 1;
  45261. }
  45262. if (depth < 0)
  45263. return B._PathDirection_vgO;
  45264. if (depth === 0)
  45265. return B._PathDirection_dMN;
  45266. if (reachedRoot)
  45267. return B._PathDirection_6kc;
  45268. return B._PathDirection_Wme;
  45269. },
  45270. hash$1(path) {
  45271. var result, parsed, t1, _this = this;
  45272. path = _this.absolute$1(path);
  45273. result = _this._hashFast$1(path);
  45274. if (result != null)
  45275. return result;
  45276. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45277. parsed.normalize$0();
  45278. t1 = _this._hashFast$1(parsed.toString$0(0));
  45279. t1.toString;
  45280. return t1;
  45281. },
  45282. _hashFast$1(path) {
  45283. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45284. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45285. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45286. if (t2.isSeparator$1(codeUnit)) {
  45287. wasSeparator = true;
  45288. continue;
  45289. }
  45290. if (codeUnit === 46 && wasSeparator) {
  45291. t3 = i + 1;
  45292. if (t3 === t1)
  45293. break;
  45294. next = path.charCodeAt(t3);
  45295. if (t2.isSeparator$1(next))
  45296. continue;
  45297. t3 = false;
  45298. if (!beginning)
  45299. if (next === 46) {
  45300. t3 = i + 2;
  45301. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45302. }
  45303. if (t3)
  45304. return null;
  45305. }
  45306. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45307. beginning = false;
  45308. wasSeparator = false;
  45309. }
  45310. return hash;
  45311. },
  45312. withoutExtension$1(path) {
  45313. var t1, i,
  45314. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45315. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45316. if (t1[i].length !== 0) {
  45317. t1[i] = parsed._splitExtension$0()[0];
  45318. break;
  45319. }
  45320. return parsed.toString$0(0);
  45321. },
  45322. toUri$1(path) {
  45323. var t2,
  45324. t1 = this.style;
  45325. if (t1.rootLength$1(path) <= 0)
  45326. return t1.relativePathToUri$1(path);
  45327. else {
  45328. t2 = this._context$_current;
  45329. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45330. }
  45331. },
  45332. prettyUri$1(uri) {
  45333. var path, rel, _this = this,
  45334. typedUri = A._parseUri(uri);
  45335. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45336. return typedUri.toString$0(0);
  45337. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45338. return typedUri.toString$0(0);
  45339. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45340. rel = _this.relative$1(path);
  45341. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45342. }
  45343. };
  45344. A.Context_joinAll_closure.prototype = {
  45345. call$1(part) {
  45346. return part !== "";
  45347. },
  45348. $signature: 5
  45349. };
  45350. A.Context_split_closure.prototype = {
  45351. call$1(part) {
  45352. return part.length !== 0;
  45353. },
  45354. $signature: 5
  45355. };
  45356. A._validateArgList_closure.prototype = {
  45357. call$1(arg) {
  45358. return arg == null ? "null" : '"' + arg + '"';
  45359. },
  45360. $signature: 392
  45361. };
  45362. A._PathDirection.prototype = {
  45363. toString$0(_) {
  45364. return this.name;
  45365. }
  45366. };
  45367. A._PathRelation.prototype = {
  45368. toString$0(_) {
  45369. return this.name;
  45370. }
  45371. };
  45372. A.InternalStyle.prototype = {
  45373. getRoot$1(path) {
  45374. var $length = this.rootLength$1(path);
  45375. if ($length > 0)
  45376. return B.JSString_methods.substring$2(path, 0, $length);
  45377. return this.isRootRelative$1(path) ? path[0] : null;
  45378. },
  45379. relativePathToUri$1(path) {
  45380. var segments, _null = null,
  45381. t1 = path.length;
  45382. if (t1 === 0)
  45383. return A._Uri__Uri(_null, _null, _null, _null);
  45384. segments = A.Context_Context(this).split$1(0, path);
  45385. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45386. B.JSArray_methods.add$1(segments, "");
  45387. return A._Uri__Uri(_null, _null, segments, _null);
  45388. },
  45389. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45390. return codeUnit1 === codeUnit2;
  45391. },
  45392. pathsEqual$2(path1, path2) {
  45393. return path1 === path2;
  45394. },
  45395. canonicalizeCodeUnit$1(codeUnit) {
  45396. return codeUnit;
  45397. },
  45398. canonicalizePart$1(part) {
  45399. return part;
  45400. }
  45401. };
  45402. A.ParsedPath.prototype = {
  45403. get$basename() {
  45404. var _this = this,
  45405. t1 = type$.String,
  45406. 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));
  45407. copy.removeTrailingSeparators$0();
  45408. t1 = copy.parts;
  45409. if (t1.length === 0) {
  45410. t1 = _this.root;
  45411. return t1 == null ? "" : t1;
  45412. }
  45413. return B.JSArray_methods.get$last(t1);
  45414. },
  45415. get$hasTrailingSeparator() {
  45416. var t1 = this.parts;
  45417. if (t1.length !== 0)
  45418. t1 = B.JSArray_methods.get$last(t1) === "" || B.JSArray_methods.get$last(this.separators) !== "";
  45419. else
  45420. t1 = false;
  45421. return t1;
  45422. },
  45423. removeTrailingSeparators$0() {
  45424. var t1, t2, _this = this;
  45425. while (true) {
  45426. t1 = _this.parts;
  45427. if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1) === ""))
  45428. break;
  45429. B.JSArray_methods.removeLast$0(_this.parts);
  45430. _this.separators.pop();
  45431. }
  45432. t1 = _this.separators;
  45433. t2 = t1.length;
  45434. if (t2 !== 0)
  45435. t1[t2 - 1] = "";
  45436. },
  45437. normalize$1$canonicalize(canonicalize) {
  45438. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45439. newParts = A._setArrayType([], type$.JSArray_String);
  45440. 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) {
  45441. part = t1[_i];
  45442. if (!(part === "." || part === ""))
  45443. if (part === "..")
  45444. if (newParts.length !== 0)
  45445. newParts.pop();
  45446. else
  45447. ++leadingDoubles;
  45448. else
  45449. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45450. }
  45451. if (_this.root == null)
  45452. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45453. if (newParts.length === 0 && _this.root == null)
  45454. newParts.push(".");
  45455. _this.parts = newParts;
  45456. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45457. t1 = _this.root;
  45458. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45459. _this.separators[0] = "";
  45460. t1 = _this.root;
  45461. if (t1 != null && t3 === $.$get$Style_windows()) {
  45462. if (canonicalize)
  45463. t1 = _this.root = t1.toLowerCase();
  45464. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45465. }
  45466. _this.removeTrailingSeparators$0();
  45467. },
  45468. normalize$0() {
  45469. return this.normalize$1$canonicalize(false);
  45470. },
  45471. toString$0(_) {
  45472. var t2, t3, t4, i,
  45473. t1 = this.root;
  45474. t1 = t1 != null ? t1 : "";
  45475. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45476. t1 = t1 + t4[i] + t2[i];
  45477. t1 += B.JSArray_methods.get$last(t4);
  45478. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45479. },
  45480. _kthLastIndexOf$3(path, character, k) {
  45481. var index, count, leftMostIndexedCharacter;
  45482. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45483. if (path[index] === character) {
  45484. ++count;
  45485. if (count === k)
  45486. return index;
  45487. leftMostIndexedCharacter = index;
  45488. }
  45489. return leftMostIndexedCharacter;
  45490. },
  45491. _splitExtension$1(level) {
  45492. var t1, file, lastDot;
  45493. if (level <= 0)
  45494. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45495. t1 = this.parts;
  45496. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45497. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45498. if (file == null)
  45499. return A._setArrayType(["", ""], type$.JSArray_String);
  45500. if (file === "..")
  45501. return A._setArrayType(["..", ""], type$.JSArray_String);
  45502. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45503. if (lastDot <= 0)
  45504. return A._setArrayType([file, ""], type$.JSArray_String);
  45505. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45506. },
  45507. _splitExtension$0() {
  45508. return this._splitExtension$1(1);
  45509. }
  45510. };
  45511. A.ParsedPath__splitExtension_closure.prototype = {
  45512. call$1(p) {
  45513. return p !== "";
  45514. },
  45515. $signature: 271
  45516. };
  45517. A.ParsedPath__splitExtension_closure0.prototype = {
  45518. call$0() {
  45519. return null;
  45520. },
  45521. $signature: 1
  45522. };
  45523. A.PathException.prototype = {
  45524. toString$0(_) {
  45525. return "PathException: " + this.message;
  45526. },
  45527. $isException: 1,
  45528. get$message(receiver) {
  45529. return this.message;
  45530. }
  45531. };
  45532. A.PathMap.prototype = {};
  45533. A.PathMap__create_closure.prototype = {
  45534. call$2(path1, path2) {
  45535. if (path1 == null)
  45536. return path2 == null;
  45537. if (path2 == null)
  45538. return false;
  45539. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45540. },
  45541. $signature: 450
  45542. };
  45543. A.PathMap__create_closure0.prototype = {
  45544. call$1(path) {
  45545. return path == null ? 0 : this._box_0.context.hash$1(path);
  45546. },
  45547. $signature: 470
  45548. };
  45549. A.PathMap__create_closure1.prototype = {
  45550. call$1(path) {
  45551. return typeof path == "string" || path == null;
  45552. },
  45553. $signature: 482
  45554. };
  45555. A.Style.prototype = {
  45556. toString$0(_) {
  45557. return this.get$name(this);
  45558. }
  45559. };
  45560. A.PosixStyle.prototype = {
  45561. containsSeparator$1(path) {
  45562. return B.JSString_methods.contains$1(path, "/");
  45563. },
  45564. isSeparator$1(codeUnit) {
  45565. return codeUnit === 47;
  45566. },
  45567. needsSeparator$1(path) {
  45568. var t1 = path.length;
  45569. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45570. },
  45571. rootLength$2$withDrive(path, withDrive) {
  45572. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45573. return 1;
  45574. return 0;
  45575. },
  45576. rootLength$1(path) {
  45577. return this.rootLength$2$withDrive(path, false);
  45578. },
  45579. isRootRelative$1(path) {
  45580. return false;
  45581. },
  45582. pathFromUri$1(uri) {
  45583. var t1;
  45584. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45585. t1 = uri.get$path(uri);
  45586. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45587. }
  45588. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45589. },
  45590. absolutePathToUri$1(path) {
  45591. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45592. t1 = parsed.parts;
  45593. if (t1.length === 0)
  45594. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45595. else if (parsed.get$hasTrailingSeparator())
  45596. B.JSArray_methods.add$1(parsed.parts, "");
  45597. return A._Uri__Uri(null, null, parsed.parts, "file");
  45598. },
  45599. get$name() {
  45600. return "posix";
  45601. },
  45602. get$separator() {
  45603. return "/";
  45604. }
  45605. };
  45606. A.UrlStyle.prototype = {
  45607. containsSeparator$1(path) {
  45608. return B.JSString_methods.contains$1(path, "/");
  45609. },
  45610. isSeparator$1(codeUnit) {
  45611. return codeUnit === 47;
  45612. },
  45613. needsSeparator$1(path) {
  45614. var t1 = path.length;
  45615. if (t1 === 0)
  45616. return false;
  45617. if (path.charCodeAt(t1 - 1) !== 47)
  45618. return true;
  45619. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45620. },
  45621. rootLength$2$withDrive(path, withDrive) {
  45622. var i, codeUnit, index,
  45623. t1 = path.length;
  45624. if (t1 === 0)
  45625. return 0;
  45626. if (path.charCodeAt(0) === 47)
  45627. return 1;
  45628. for (i = 0; i < t1; ++i) {
  45629. codeUnit = path.charCodeAt(i);
  45630. if (codeUnit === 47)
  45631. return 0;
  45632. if (codeUnit === 58) {
  45633. if (i === 0)
  45634. return 0;
  45635. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45636. if (index <= 0)
  45637. return t1;
  45638. if (!withDrive || t1 < index + 3)
  45639. return index;
  45640. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45641. return index;
  45642. t1 = A.driveLetterEnd(path, index + 1);
  45643. return t1 == null ? index : t1;
  45644. }
  45645. }
  45646. return 0;
  45647. },
  45648. rootLength$1(path) {
  45649. return this.rootLength$2$withDrive(path, false);
  45650. },
  45651. isRootRelative$1(path) {
  45652. return path.length !== 0 && path.charCodeAt(0) === 47;
  45653. },
  45654. pathFromUri$1(uri) {
  45655. return uri.toString$0(0);
  45656. },
  45657. relativePathToUri$1(path) {
  45658. return A.Uri_parse(path);
  45659. },
  45660. absolutePathToUri$1(path) {
  45661. return A.Uri_parse(path);
  45662. },
  45663. get$name() {
  45664. return "url";
  45665. },
  45666. get$separator() {
  45667. return "/";
  45668. }
  45669. };
  45670. A.WindowsStyle.prototype = {
  45671. containsSeparator$1(path) {
  45672. return B.JSString_methods.contains$1(path, "/");
  45673. },
  45674. isSeparator$1(codeUnit) {
  45675. return codeUnit === 47 || codeUnit === 92;
  45676. },
  45677. needsSeparator$1(path) {
  45678. var t1 = path.length;
  45679. if (t1 === 0)
  45680. return false;
  45681. t1 = path.charCodeAt(t1 - 1);
  45682. return !(t1 === 47 || t1 === 92);
  45683. },
  45684. rootLength$2$withDrive(path, withDrive) {
  45685. var index,
  45686. t1 = path.length;
  45687. if (t1 === 0)
  45688. return 0;
  45689. if (path.charCodeAt(0) === 47)
  45690. return 1;
  45691. if (path.charCodeAt(0) === 92) {
  45692. if (t1 < 2 || path.charCodeAt(1) !== 92)
  45693. return 1;
  45694. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  45695. if (index > 0) {
  45696. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  45697. if (index > 0)
  45698. return index;
  45699. }
  45700. return t1;
  45701. }
  45702. if (t1 < 3)
  45703. return 0;
  45704. if (!A.isAlphabetic(path.charCodeAt(0)))
  45705. return 0;
  45706. if (path.charCodeAt(1) !== 58)
  45707. return 0;
  45708. t1 = path.charCodeAt(2);
  45709. if (!(t1 === 47 || t1 === 92))
  45710. return 0;
  45711. return 3;
  45712. },
  45713. rootLength$1(path) {
  45714. return this.rootLength$2$withDrive(path, false);
  45715. },
  45716. isRootRelative$1(path) {
  45717. return this.rootLength$1(path) === 1;
  45718. },
  45719. pathFromUri$1(uri) {
  45720. var path, t1;
  45721. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  45722. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45723. path = uri.get$path(uri);
  45724. if (uri.get$host() === "") {
  45725. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  45726. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  45727. } else
  45728. path = "\\\\" + uri.get$host() + path;
  45729. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  45730. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45731. },
  45732. absolutePathToUri$1(path) {
  45733. var rootParts, t2,
  45734. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45735. t1 = parsed.root;
  45736. t1.toString;
  45737. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  45738. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  45739. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  45740. if (parsed.get$hasTrailingSeparator())
  45741. B.JSArray_methods.add$1(parsed.parts, "");
  45742. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  45743. } else {
  45744. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  45745. B.JSArray_methods.add$1(parsed.parts, "");
  45746. t1 = parsed.parts;
  45747. t2 = parsed.root;
  45748. t2.toString;
  45749. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  45750. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  45751. return A._Uri__Uri(null, null, parsed.parts, "file");
  45752. }
  45753. },
  45754. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45755. var upperCase1;
  45756. if (codeUnit1 === codeUnit2)
  45757. return true;
  45758. if (codeUnit1 === 47)
  45759. return codeUnit2 === 92;
  45760. if (codeUnit1 === 92)
  45761. return codeUnit2 === 47;
  45762. if ((codeUnit1 ^ codeUnit2) !== 32)
  45763. return false;
  45764. upperCase1 = codeUnit1 | 32;
  45765. return upperCase1 >= 97 && upperCase1 <= 122;
  45766. },
  45767. pathsEqual$2(path1, path2) {
  45768. var t1, i;
  45769. if (path1 === path2)
  45770. return true;
  45771. t1 = path1.length;
  45772. if (t1 !== path2.length)
  45773. return false;
  45774. for (i = 0; i < t1; ++i)
  45775. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  45776. return false;
  45777. return true;
  45778. },
  45779. canonicalizeCodeUnit$1(codeUnit) {
  45780. if (codeUnit === 47)
  45781. return 92;
  45782. if (codeUnit < 65)
  45783. return codeUnit;
  45784. if (codeUnit > 90)
  45785. return codeUnit;
  45786. return codeUnit | 32;
  45787. },
  45788. canonicalizePart$1(part) {
  45789. return part.toLowerCase();
  45790. },
  45791. get$name() {
  45792. return "windows";
  45793. },
  45794. get$separator() {
  45795. return "\\";
  45796. }
  45797. };
  45798. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  45799. call$1(part) {
  45800. return part !== "";
  45801. },
  45802. $signature: 5
  45803. };
  45804. A.Version.prototype = {
  45805. get$min() {
  45806. return this;
  45807. },
  45808. get$max() {
  45809. return this;
  45810. },
  45811. get$includeMin() {
  45812. return true;
  45813. },
  45814. get$includeMax() {
  45815. return true;
  45816. },
  45817. $eq(_, other) {
  45818. var _this = this;
  45819. if (other == null)
  45820. return false;
  45821. 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);
  45822. },
  45823. get$hashCode(_) {
  45824. var _this = this;
  45825. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  45826. },
  45827. compareTo$1(_, other) {
  45828. var t1, t2, t3, comparison, _this = this;
  45829. if (other instanceof A.Version) {
  45830. t1 = _this.major;
  45831. t2 = other.major;
  45832. if (t1 !== t2)
  45833. return B.JSInt_methods.compareTo$1(t1, t2);
  45834. t1 = _this.minor;
  45835. t2 = other.minor;
  45836. if (t1 !== t2)
  45837. return B.JSInt_methods.compareTo$1(t1, t2);
  45838. t1 = _this.patch;
  45839. t2 = other.patch;
  45840. if (t1 !== t2)
  45841. return B.JSInt_methods.compareTo$1(t1, t2);
  45842. t1 = _this.preRelease;
  45843. t2 = t1.length === 0;
  45844. if (t2 && other.preRelease.length !== 0)
  45845. return 1;
  45846. t3 = other.preRelease;
  45847. if (t3.length === 0 && !t2)
  45848. return -1;
  45849. comparison = _this._compareLists$2(t1, t3);
  45850. if (comparison !== 0)
  45851. return comparison;
  45852. t1 = _this.build;
  45853. t2 = t1.length === 0;
  45854. if (t2 && other.build.length !== 0)
  45855. return -1;
  45856. t3 = other.build;
  45857. if (t3.length === 0 && !t2)
  45858. return 1;
  45859. return _this._compareLists$2(t1, t3);
  45860. } else
  45861. return -other.compareTo$1(0, _this);
  45862. },
  45863. toString$0(_) {
  45864. return this._version$_text;
  45865. },
  45866. _compareLists$2(a, b) {
  45867. var i, t1, t2, aPart, bPart;
  45868. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  45869. aPart = i < t1 ? a[i] : null;
  45870. bPart = i < t2 ? b[i] : null;
  45871. if (J.$eq$(aPart, bPart))
  45872. continue;
  45873. if (aPart == null)
  45874. return -1;
  45875. if (bPart == null)
  45876. return 1;
  45877. if (typeof aPart == "number")
  45878. if (typeof bPart == "number")
  45879. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  45880. else
  45881. return -1;
  45882. else if (typeof bPart == "number")
  45883. return 1;
  45884. else {
  45885. A._asString(aPart);
  45886. A._asString(bPart);
  45887. if (aPart === bPart)
  45888. t1 = 0;
  45889. else
  45890. t1 = aPart < bPart ? -1 : 1;
  45891. return t1;
  45892. }
  45893. }
  45894. return 0;
  45895. },
  45896. $isComparable: 1,
  45897. $isVersionRange: 1
  45898. };
  45899. A.Version__splitParts_closure.prototype = {
  45900. call$1(part) {
  45901. var t1 = A.Primitives_parseInt(part, null);
  45902. return t1 == null ? part : t1;
  45903. },
  45904. $signature: 596
  45905. };
  45906. A.VersionRange.prototype = {
  45907. $eq(_, other) {
  45908. var t1;
  45909. if (other == null)
  45910. return false;
  45911. if (!type$.VersionRange._is(other))
  45912. return false;
  45913. t1 = false;
  45914. if (this.min == other.get$min())
  45915. if (J.$eq$(this.max, other.get$max())) {
  45916. t1 = !other.get$includeMin();
  45917. if (t1)
  45918. other.get$includeMax();
  45919. }
  45920. return t1;
  45921. },
  45922. get$hashCode(_) {
  45923. var t1 = B.JSNull_methods.get$hashCode(this.min),
  45924. t2 = J.get$hashCode$(this.max);
  45925. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  45926. },
  45927. allows$1(other) {
  45928. var t1 = this.max;
  45929. if (t1 != null)
  45930. if (other.compareTo$1(0, t1) > 0)
  45931. return false;
  45932. return true;
  45933. },
  45934. compareTo$1(_, other) {
  45935. if (other.get$min() == null)
  45936. return this._compareMax$1(other);
  45937. return -1;
  45938. },
  45939. _compareMax$1(other) {
  45940. var t2, result,
  45941. t1 = this.max;
  45942. if (t1 == null) {
  45943. if (other.get$max() == null)
  45944. return 0;
  45945. return 1;
  45946. } else if (other.get$max() == null)
  45947. return -1;
  45948. t2 = other.get$max();
  45949. t2.toString;
  45950. result = t1.compareTo$1(0, t2);
  45951. if (result !== 0)
  45952. return result;
  45953. other.get$includeMax();
  45954. return 0;
  45955. },
  45956. toString$0(_) {
  45957. var t2,
  45958. max = this.max,
  45959. t1 = max == null;
  45960. if (!t1)
  45961. t2 = "<=" + max.toString$0(0);
  45962. else
  45963. t2 = "";
  45964. t1 = t1 ? t2 + "any" : t2;
  45965. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45966. },
  45967. $isComparable: 1,
  45968. get$min() {
  45969. return this.min;
  45970. },
  45971. get$max() {
  45972. return this.max;
  45973. },
  45974. get$includeMin() {
  45975. return this.includeMin;
  45976. },
  45977. get$includeMax() {
  45978. return this.includeMax;
  45979. }
  45980. };
  45981. A.CssMediaQuery.prototype = {
  45982. merge$1(other) {
  45983. 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";
  45984. if (!_this.conjunction || !other.conjunction)
  45985. return B._SingletonCssMediaQueryMergeResult_1;
  45986. t1 = _this.modifier;
  45987. ourModifier = t1 == null ? _null : t1.toLowerCase();
  45988. t2 = _this.type;
  45989. t3 = t2 == null;
  45990. ourType = t3 ? _null : t2.toLowerCase();
  45991. t4 = other.modifier;
  45992. theirModifier = t4 == null ? _null : t4.toLowerCase();
  45993. t5 = other.type;
  45994. t6 = t5 == null;
  45995. theirType = t6 ? _null : t5.toLowerCase();
  45996. t7 = ourType == null;
  45997. if (t7 && theirType == null) {
  45998. t1 = A.List_List$_of(_this.conditions, type$.String);
  45999. B.JSArray_methods.addAll$1(t1, other.conditions);
  46000. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46001. }
  46002. t8 = ourModifier === "not";
  46003. if (t8 !== (theirModifier === "not")) {
  46004. if (ourType == theirType) {
  46005. negativeConditions = t8 ? _this.conditions : other.conditions;
  46006. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46007. return B._SingletonCssMediaQueryMergeResult_0;
  46008. else
  46009. return B._SingletonCssMediaQueryMergeResult_1;
  46010. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46011. return B._SingletonCssMediaQueryMergeResult_1;
  46012. if (t8) {
  46013. conditions = other.conditions;
  46014. type = theirType;
  46015. modifier = theirModifier;
  46016. } else {
  46017. conditions = _this.conditions;
  46018. type = ourType;
  46019. modifier = ourModifier;
  46020. }
  46021. } else if (t8) {
  46022. if (ourType != theirType)
  46023. return B._SingletonCssMediaQueryMergeResult_1;
  46024. fewerConditions = _this.conditions;
  46025. fewerConditions0 = other.conditions;
  46026. t3 = fewerConditions.length > fewerConditions0.length;
  46027. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46028. if (t3)
  46029. fewerConditions = fewerConditions0;
  46030. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46031. return B._SingletonCssMediaQueryMergeResult_1;
  46032. conditions = moreConditions;
  46033. type = ourType;
  46034. modifier = ourModifier;
  46035. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46036. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46037. t3 = A.List_List$_of(_this.conditions, type$.String);
  46038. B.JSArray_methods.addAll$1(t3, other.conditions);
  46039. conditions = t3;
  46040. modifier = theirModifier;
  46041. } else {
  46042. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46043. t3 = A.List_List$_of(_this.conditions, type$.String);
  46044. B.JSArray_methods.addAll$1(t3, other.conditions);
  46045. conditions = t3;
  46046. modifier = ourModifier;
  46047. } else {
  46048. if (ourType != theirType)
  46049. return B._SingletonCssMediaQueryMergeResult_0;
  46050. else {
  46051. modifier = ourModifier == null ? theirModifier : ourModifier;
  46052. t3 = A.List_List$_of(_this.conditions, type$.String);
  46053. B.JSArray_methods.addAll$1(t3, other.conditions);
  46054. }
  46055. conditions = t3;
  46056. }
  46057. type = ourType;
  46058. }
  46059. t2 = type == ourType ? t2 : t5;
  46060. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46061. },
  46062. $eq(_, other) {
  46063. if (other == null)
  46064. return false;
  46065. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46066. },
  46067. get$hashCode(_) {
  46068. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46069. },
  46070. toString$0(_) {
  46071. var t2, _this = this,
  46072. t1 = _this.modifier;
  46073. t1 = t1 != null ? t1 + " " : "";
  46074. t2 = _this.type;
  46075. if (t2 != null) {
  46076. t1 += t2;
  46077. if (_this.conditions.length !== 0)
  46078. t1 += " and ";
  46079. }
  46080. t2 = _this.conjunction ? " and " : " or ";
  46081. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46082. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46083. }
  46084. };
  46085. A._SingletonCssMediaQueryMergeResult.prototype = {
  46086. _enumToString$0() {
  46087. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46088. }
  46089. };
  46090. A.MediaQuerySuccessfulMergeResult.prototype = {
  46091. toString$0(_) {
  46092. return this.query.toString$0(0);
  46093. }
  46094. };
  46095. A.ModifiableCssAtRule.prototype = {
  46096. accept$1$1(visitor) {
  46097. return visitor.visitCssAtRule$1(this);
  46098. },
  46099. accept$1(visitor) {
  46100. return this.accept$1$1(visitor, type$.dynamic);
  46101. },
  46102. equalsIgnoringChildren$1(other) {
  46103. var t1, t2;
  46104. if (other instanceof A.ModifiableCssAtRule) {
  46105. t1 = this.name;
  46106. t2 = other.name;
  46107. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46108. } else
  46109. t1 = false;
  46110. return t1;
  46111. },
  46112. copyWithoutChildren$0() {
  46113. var _this = this;
  46114. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46115. },
  46116. addChild$1(child) {
  46117. this.super$ModifiableCssParentNode$addChild(child);
  46118. },
  46119. get$isChildless() {
  46120. return this.isChildless;
  46121. },
  46122. get$span(receiver) {
  46123. return this.span;
  46124. }
  46125. };
  46126. A.ModifiableCssComment.prototype = {
  46127. accept$1$1(visitor) {
  46128. return visitor.visitCssComment$1(this);
  46129. },
  46130. accept$1(visitor) {
  46131. return this.accept$1$1(visitor, type$.dynamic);
  46132. },
  46133. $isCssComment: 1,
  46134. get$span(receiver) {
  46135. return this.span;
  46136. }
  46137. };
  46138. A.ModifiableCssDeclaration.prototype = {
  46139. accept$1$1(visitor) {
  46140. return visitor.visitCssDeclaration$1(this);
  46141. },
  46142. accept$1(visitor) {
  46143. return this.accept$1$1(visitor, type$.dynamic);
  46144. },
  46145. toString$0(_) {
  46146. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46147. },
  46148. get$span(receiver) {
  46149. return this.span;
  46150. }
  46151. };
  46152. A.ModifiableCssImport.prototype = {
  46153. accept$1$1(visitor) {
  46154. return visitor.visitCssImport$1(this);
  46155. },
  46156. accept$1(visitor) {
  46157. return this.accept$1$1(visitor, type$.dynamic);
  46158. },
  46159. get$span(receiver) {
  46160. return this.span;
  46161. }
  46162. };
  46163. A.ModifiableCssKeyframeBlock.prototype = {
  46164. accept$1$1(visitor) {
  46165. return visitor.visitCssKeyframeBlock$1(this);
  46166. },
  46167. accept$1(visitor) {
  46168. return this.accept$1$1(visitor, type$.dynamic);
  46169. },
  46170. equalsIgnoringChildren$1(other) {
  46171. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46172. },
  46173. copyWithoutChildren$0() {
  46174. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46175. },
  46176. get$span(receiver) {
  46177. return this.span;
  46178. }
  46179. };
  46180. A.ModifiableCssMediaRule.prototype = {
  46181. accept$1$1(visitor) {
  46182. return visitor.visitCssMediaRule$1(this);
  46183. },
  46184. accept$1(visitor) {
  46185. return this.accept$1$1(visitor, type$.dynamic);
  46186. },
  46187. equalsIgnoringChildren$1(other) {
  46188. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46189. },
  46190. copyWithoutChildren$0() {
  46191. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46192. },
  46193. get$span(receiver) {
  46194. return this.span;
  46195. }
  46196. };
  46197. A.ModifiableCssNode.prototype = {
  46198. get$parent(_) {
  46199. return this._parent;
  46200. },
  46201. get$hasFollowingSibling() {
  46202. var t2,
  46203. t1 = this._parent;
  46204. if (t1 == null)
  46205. t1 = null;
  46206. else {
  46207. t1 = t1.children;
  46208. t2 = this._indexInParent;
  46209. t2.toString;
  46210. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46211. }
  46212. return t1 === true;
  46213. },
  46214. get$isGroupEnd() {
  46215. return this.isGroupEnd;
  46216. }
  46217. };
  46218. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46219. call$1(sibling) {
  46220. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46221. },
  46222. $signature: 325
  46223. };
  46224. A.ModifiableCssParentNode.prototype = {
  46225. get$isChildless() {
  46226. return false;
  46227. },
  46228. addChild$1(child) {
  46229. var t1;
  46230. child._parent = this;
  46231. t1 = this._children;
  46232. child._indexInParent = t1.length;
  46233. t1.push(child);
  46234. },
  46235. clearChildren$0() {
  46236. var t1, t2, _i, child;
  46237. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46238. child = t1[_i];
  46239. child._indexInParent = child._parent = null;
  46240. }
  46241. B.JSArray_methods.clear$0(t1);
  46242. },
  46243. $isCssParentNode: 1,
  46244. get$children(receiver) {
  46245. return this.children;
  46246. }
  46247. };
  46248. A.ModifiableCssStyleRule.prototype = {
  46249. accept$1$1(visitor) {
  46250. return visitor.visitCssStyleRule$1(this);
  46251. },
  46252. accept$1(visitor) {
  46253. return this.accept$1$1(visitor, type$.dynamic);
  46254. },
  46255. equalsIgnoringChildren$1(other) {
  46256. var t1;
  46257. if (other instanceof A.ModifiableCssStyleRule)
  46258. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46259. else
  46260. t1 = false;
  46261. return t1;
  46262. },
  46263. copyWithoutChildren$0() {
  46264. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46265. },
  46266. $isCssStyleRule: 1,
  46267. get$span(receiver) {
  46268. return this.span;
  46269. }
  46270. };
  46271. A.ModifiableCssStylesheet.prototype = {
  46272. accept$1$1(visitor) {
  46273. return visitor.visitCssStylesheet$1(this);
  46274. },
  46275. accept$1(visitor) {
  46276. return this.accept$1$1(visitor, type$.dynamic);
  46277. },
  46278. equalsIgnoringChildren$1(other) {
  46279. return other instanceof A.ModifiableCssStylesheet;
  46280. },
  46281. copyWithoutChildren$0() {
  46282. return A.ModifiableCssStylesheet$(this.span);
  46283. },
  46284. $isCssStylesheet: 1,
  46285. get$span(receiver) {
  46286. return this.span;
  46287. }
  46288. };
  46289. A.ModifiableCssSupportsRule.prototype = {
  46290. accept$1$1(visitor) {
  46291. return visitor.visitCssSupportsRule$1(this);
  46292. },
  46293. accept$1(visitor) {
  46294. return this.accept$1$1(visitor, type$.dynamic);
  46295. },
  46296. equalsIgnoringChildren$1(other) {
  46297. var t1, t2;
  46298. if (other instanceof A.ModifiableCssSupportsRule) {
  46299. t1 = this.condition;
  46300. t2 = other.condition;
  46301. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46302. } else
  46303. t1 = false;
  46304. return t1;
  46305. },
  46306. copyWithoutChildren$0() {
  46307. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46308. },
  46309. get$span(receiver) {
  46310. return this.span;
  46311. }
  46312. };
  46313. A.CssNode.prototype = {
  46314. toString$0(_) {
  46315. var _null = null;
  46316. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46317. },
  46318. $isAstNode: 1
  46319. };
  46320. A.CssParentNode.prototype = {};
  46321. A._IsInvisibleVisitor.prototype = {
  46322. visitCssAtRule$1(rule) {
  46323. return false;
  46324. },
  46325. visitCssComment$1(comment) {
  46326. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46327. },
  46328. visitCssStyleRule$1(rule) {
  46329. var t1 = rule._style_rule$_selector._box$_inner;
  46330. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46331. }
  46332. };
  46333. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46334. A.CssStylesheet.prototype = {
  46335. get$parent(_) {
  46336. return null;
  46337. },
  46338. get$isGroupEnd() {
  46339. return false;
  46340. },
  46341. get$isChildless() {
  46342. return false;
  46343. },
  46344. accept$1$1(visitor) {
  46345. return visitor.visitCssStylesheet$1(this);
  46346. },
  46347. accept$1(visitor) {
  46348. return this.accept$1$1(visitor, type$.dynamic);
  46349. },
  46350. get$children(receiver) {
  46351. return this.children;
  46352. },
  46353. get$span(receiver) {
  46354. return this.span;
  46355. }
  46356. };
  46357. A.CssValue.prototype = {
  46358. $eq(_, other) {
  46359. if (other == null)
  46360. return false;
  46361. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46362. },
  46363. get$hashCode(_) {
  46364. return J.get$hashCode$(this.value);
  46365. },
  46366. toString$0(_) {
  46367. return J.toString$0$(this.value);
  46368. },
  46369. $isAstNode: 1,
  46370. get$span(receiver) {
  46371. return this.span;
  46372. }
  46373. };
  46374. A._FakeAstNode.prototype = {
  46375. get$span(_) {
  46376. return this._callback.call$0();
  46377. },
  46378. $isAstNode: 1
  46379. };
  46380. A.ArgumentList.prototype = {
  46381. get$isEmpty(_) {
  46382. var t1;
  46383. if (this.positional.length === 0) {
  46384. t1 = this.named;
  46385. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46386. } else
  46387. t1 = false;
  46388. return t1;
  46389. },
  46390. toString$0(_) {
  46391. var t2, t3, _i, _1_0, _2_0, _this = this,
  46392. t1 = A._setArrayType([], type$.JSArray_String);
  46393. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46394. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46395. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46396. t3 = t2.get$current(t2);
  46397. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46398. }
  46399. _1_0 = _this.rest;
  46400. if (_1_0 != null)
  46401. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46402. _2_0 = _this.keywordRest;
  46403. if (_2_0 != null)
  46404. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46405. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46406. },
  46407. _parenthesizeArgument$1(argument) {
  46408. var t1;
  46409. $label0$0: {
  46410. if (argument instanceof A.ListExpression && B.ListSeparator_qVN === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46411. t1 = "(" + argument.toString$0(0) + ")";
  46412. break $label0$0;
  46413. }
  46414. t1 = argument.toString$0(0);
  46415. break $label0$0;
  46416. }
  46417. return t1;
  46418. },
  46419. $isAstNode: 1,
  46420. get$span(receiver) {
  46421. return this.span;
  46422. }
  46423. };
  46424. A.AtRootQuery.prototype = {
  46425. excludes$1(node) {
  46426. var t1, _this = this;
  46427. if (_this._all)
  46428. return !_this.include;
  46429. $label0$0: {
  46430. if (node instanceof A.ModifiableCssStyleRule) {
  46431. t1 = _this._at_root_query$_rule !== _this.include;
  46432. break $label0$0;
  46433. }
  46434. if (node instanceof A.ModifiableCssMediaRule) {
  46435. t1 = _this.excludesName$1("media");
  46436. break $label0$0;
  46437. }
  46438. if (node instanceof A.ModifiableCssSupportsRule) {
  46439. t1 = _this.excludesName$1("supports");
  46440. break $label0$0;
  46441. }
  46442. if (node instanceof A.ModifiableCssAtRule) {
  46443. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46444. break $label0$0;
  46445. }
  46446. t1 = false;
  46447. break $label0$0;
  46448. }
  46449. return t1;
  46450. },
  46451. excludesName$1($name) {
  46452. var t1 = this._all || this.names.contains$1(0, $name);
  46453. return t1 !== this.include;
  46454. }
  46455. };
  46456. A.ConfiguredVariable.prototype = {
  46457. toString$0(_) {
  46458. var t1 = this.expression.toString$0(0),
  46459. t2 = this.isGuarded ? " !default" : "";
  46460. return "$" + this.name + ": " + t1 + t2;
  46461. },
  46462. $isAstNode: 1,
  46463. get$span(receiver) {
  46464. return this.span;
  46465. }
  46466. };
  46467. A.Expression.prototype = {$isAstNode: 1};
  46468. A.BinaryOperationExpression.prototype = {
  46469. get$span(_) {
  46470. var right,
  46471. left = this.left;
  46472. for (; left instanceof A.BinaryOperationExpression;)
  46473. left = left.left;
  46474. right = this.right;
  46475. for (; right instanceof A.BinaryOperationExpression;)
  46476. right = right.right;
  46477. return left.get$span(left).expand$1(0, right.get$span(right));
  46478. },
  46479. get$operatorSpan() {
  46480. var t3, t4,
  46481. t1 = this.left,
  46482. t2 = t1.get$span(t1);
  46483. t2 = t2.get$file(t2);
  46484. t3 = this.right;
  46485. t4 = t3.get$span(t3);
  46486. if (t2 === t4.get$file(t4)) {
  46487. t2 = t1.get$span(t1);
  46488. t2 = t2.get$end(t2);
  46489. t4 = t3.get$span(t3);
  46490. t4 = t2.offset < t4.get$start(t4).offset;
  46491. t2 = t4;
  46492. } else
  46493. t2 = false;
  46494. if (t2) {
  46495. t2 = t1.get$span(t1);
  46496. t2 = t2.get$file(t2);
  46497. t1 = t1.get$span(t1);
  46498. t1 = t1.get$end(t1);
  46499. t3 = t3.get$span(t3);
  46500. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46501. t1 = t3;
  46502. } else
  46503. t1 = this.get$span(0);
  46504. return t1;
  46505. },
  46506. accept$1$1(visitor) {
  46507. return visitor.visitBinaryOperationExpression$1(0, this);
  46508. },
  46509. accept$1(visitor) {
  46510. return this.accept$1$1(visitor, type$.dynamic);
  46511. },
  46512. toString$0(_) {
  46513. var t1, t2, t3, right, operator, _this = this,
  46514. _0_0 = _this.left;
  46515. $label0$0: {
  46516. if (_0_0 instanceof A.BinaryOperationExpression) {
  46517. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46518. break $label0$0;
  46519. }
  46520. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46521. t1 = true;
  46522. break $label0$0;
  46523. }
  46524. t1 = false;
  46525. break $label0$0;
  46526. }
  46527. t2 = t1 ? A.Primitives_stringFromCharCode(40) : "";
  46528. t2 += _0_0.toString$0(0);
  46529. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46530. t2 = A.Primitives_stringFromCharCode(32);
  46531. t3 = _this.operator;
  46532. t2 = t1 + t2 + t3.operator + t2;
  46533. right = _this.right;
  46534. $label1$1: {
  46535. t1 = false;
  46536. if (right instanceof A.BinaryOperationExpression) {
  46537. operator = right.operator;
  46538. if (operator.precedence <= t3.precedence)
  46539. t1 = !(operator === t3 && operator.isAssociative);
  46540. break $label1$1;
  46541. }
  46542. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46543. t1 = true;
  46544. break $label1$1;
  46545. }
  46546. break $label1$1;
  46547. }
  46548. if (t1)
  46549. t2 += A.Primitives_stringFromCharCode(40);
  46550. t2 += right.toString$0(0);
  46551. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46552. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46553. }
  46554. };
  46555. A.BinaryOperator.prototype = {
  46556. _enumToString$0() {
  46557. return "BinaryOperator." + this._name;
  46558. },
  46559. toString$0(_) {
  46560. return this.name;
  46561. }
  46562. };
  46563. A.BooleanExpression.prototype = {
  46564. accept$1$1(visitor) {
  46565. return visitor.visitBooleanExpression$1(0, this);
  46566. },
  46567. accept$1(visitor) {
  46568. return this.accept$1$1(visitor, type$.dynamic);
  46569. },
  46570. toString$0(_) {
  46571. return String(this.value);
  46572. },
  46573. get$span(receiver) {
  46574. return this.span;
  46575. }
  46576. };
  46577. A.ColorExpression.prototype = {
  46578. accept$1$1(visitor) {
  46579. return visitor.visitColorExpression$1(0, this);
  46580. },
  46581. accept$1(visitor) {
  46582. return this.accept$1$1(visitor, type$.dynamic);
  46583. },
  46584. toString$0(_) {
  46585. return A.serializeValue(this.value, true, true);
  46586. },
  46587. get$span(receiver) {
  46588. return this.span;
  46589. }
  46590. };
  46591. A.FunctionExpression.prototype = {
  46592. get$nameSpan() {
  46593. if (this.namespace == null)
  46594. return A.SpanExtensions_initialIdentifier(this.span);
  46595. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  46596. },
  46597. accept$1$1(visitor) {
  46598. return visitor.visitFunctionExpression$1(0, this);
  46599. },
  46600. accept$1(visitor) {
  46601. return this.accept$1$1(visitor, type$.dynamic);
  46602. },
  46603. toString$0(_) {
  46604. var t1 = this.namespace;
  46605. t1 = t1 != null ? t1 + "." : "";
  46606. t1 += this.originalName + this.$arguments.toString$0(0);
  46607. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46608. },
  46609. get$span(receiver) {
  46610. return this.span;
  46611. }
  46612. };
  46613. A.IfExpression.prototype = {
  46614. accept$1$1(visitor) {
  46615. return visitor.visitIfExpression$1(0, this);
  46616. },
  46617. accept$1(visitor) {
  46618. return this.accept$1$1(visitor, type$.dynamic);
  46619. },
  46620. toString$0(_) {
  46621. return "if" + this.$arguments.toString$0(0);
  46622. },
  46623. get$span(receiver) {
  46624. return this.span;
  46625. }
  46626. };
  46627. A.InterpolatedFunctionExpression.prototype = {
  46628. accept$1$1(visitor) {
  46629. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46630. },
  46631. accept$1(visitor) {
  46632. return this.accept$1$1(visitor, type$.dynamic);
  46633. },
  46634. toString$0(_) {
  46635. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46636. },
  46637. get$span(receiver) {
  46638. return this.span;
  46639. }
  46640. };
  46641. A.ListExpression.prototype = {
  46642. accept$1$1(visitor) {
  46643. return visitor.visitListExpression$1(0, this);
  46644. },
  46645. accept$1(visitor) {
  46646. return this.accept$1$1(visitor, type$.dynamic);
  46647. },
  46648. toString$0(_) {
  46649. var t2, t3, t4, t5, _this = this,
  46650. t1 = _this.hasBrackets;
  46651. if (t1)
  46652. t2 = A.Primitives_stringFromCharCode(91);
  46653. else {
  46654. t2 = _this.contents.length;
  46655. if (t2 !== 0)
  46656. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN;
  46657. else
  46658. t2 = true;
  46659. t2 = t2 ? A.Primitives_stringFromCharCode(40) : "";
  46660. }
  46661. t3 = _this.contents;
  46662. t4 = _this.separator === B.ListSeparator_qVN;
  46663. t5 = t4 ? ", " : " ";
  46664. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46665. if (t1)
  46666. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46667. else {
  46668. t1 = t3.length;
  46669. if (t1 === 0)
  46670. t1 = t5 + A.Primitives_stringFromCharCode(41);
  46671. else
  46672. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  46673. }
  46674. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46675. },
  46676. _list0$_elementNeedsParens$1(expression) {
  46677. var childSeparator, t1, _0_13;
  46678. $label0$0: {
  46679. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  46680. childSeparator = expression.separator;
  46681. t1 = this.separator === B.ListSeparator_qVN ? childSeparator === B.ListSeparator_qVN : childSeparator !== B.ListSeparator_undecided_null_undecided;
  46682. break $label0$0;
  46683. }
  46684. if (expression instanceof A.UnaryOperationExpression) {
  46685. _0_13 = expression.operator;
  46686. if (B.UnaryOperator_Rbl !== _0_13)
  46687. t1 = B.UnaryOperator_UCP === _0_13;
  46688. else
  46689. t1 = true;
  46690. } else
  46691. t1 = false;
  46692. if (t1) {
  46693. t1 = this.separator === B.ListSeparator_qSL;
  46694. break $label0$0;
  46695. }
  46696. t1 = false;
  46697. break $label0$0;
  46698. }
  46699. return t1;
  46700. },
  46701. get$span(receiver) {
  46702. return this.span;
  46703. }
  46704. };
  46705. A.ListExpression_toString_closure.prototype = {
  46706. call$1(element) {
  46707. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  46708. },
  46709. $signature: 133
  46710. };
  46711. A.MapExpression.prototype = {
  46712. accept$1$1(visitor) {
  46713. return visitor.visitMapExpression$1(0, this);
  46714. },
  46715. accept$1(visitor) {
  46716. return this.accept$1$1(visitor, type$.dynamic);
  46717. },
  46718. toString$0(_) {
  46719. var t2, t3, _i, t4,
  46720. t1 = A._setArrayType([], type$.JSArray_String);
  46721. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  46722. t4 = t2[_i];
  46723. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  46724. }
  46725. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46726. },
  46727. get$span(receiver) {
  46728. return this.span;
  46729. }
  46730. };
  46731. A.NullExpression.prototype = {
  46732. accept$1$1(visitor) {
  46733. return visitor.visitNullExpression$1(0, this);
  46734. },
  46735. accept$1(visitor) {
  46736. return this.accept$1$1(visitor, type$.dynamic);
  46737. },
  46738. toString$0(_) {
  46739. return "null";
  46740. },
  46741. get$span(receiver) {
  46742. return this.span;
  46743. }
  46744. };
  46745. A.NumberExpression.prototype = {
  46746. accept$1$1(visitor) {
  46747. return visitor.visitNumberExpression$1(0, this);
  46748. },
  46749. accept$1(visitor) {
  46750. return this.accept$1$1(visitor, type$.dynamic);
  46751. },
  46752. toString$0(_) {
  46753. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  46754. },
  46755. get$span(receiver) {
  46756. return this.span;
  46757. }
  46758. };
  46759. A.ParenthesizedExpression.prototype = {
  46760. accept$1$1(visitor) {
  46761. return visitor.visitParenthesizedExpression$1(0, this);
  46762. },
  46763. accept$1(visitor) {
  46764. return this.accept$1$1(visitor, type$.dynamic);
  46765. },
  46766. toString$0(_) {
  46767. return "(" + this.expression.toString$0(0) + ")";
  46768. },
  46769. get$span(receiver) {
  46770. return this.span;
  46771. }
  46772. };
  46773. A.SelectorExpression.prototype = {
  46774. accept$1$1(visitor) {
  46775. return visitor.visitSelectorExpression$1(0, this);
  46776. },
  46777. accept$1(visitor) {
  46778. return this.accept$1$1(visitor, type$.dynamic);
  46779. },
  46780. toString$0(_) {
  46781. return "&";
  46782. },
  46783. get$span(receiver) {
  46784. return this.span;
  46785. }
  46786. };
  46787. A.StringExpression.prototype = {
  46788. get$span(_) {
  46789. return this.text.span;
  46790. },
  46791. accept$1$1(visitor) {
  46792. return visitor.visitStringExpression$1(0, this);
  46793. },
  46794. accept$1(visitor) {
  46795. return this.accept$1$1(visitor, type$.dynamic);
  46796. },
  46797. asInterpolation$1$static($static) {
  46798. var t1, t2, quote, t3, t4, t5, buffer, t6, t7, i, value, t8;
  46799. if (!this.hasQuotes)
  46800. return this.text;
  46801. t1 = this.text;
  46802. t2 = t1.contents;
  46803. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  46804. t3 = new A.StringBuffer("");
  46805. t4 = A._setArrayType([], type$.JSArray_Object);
  46806. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  46807. buffer = new A.InterpolationBuffer(t3, t4, t5);
  46808. t6 = A.Primitives_stringFromCharCode(quote);
  46809. t3._contents += t6;
  46810. for (t7 = t2.length, i = 0; i < t7; ++i) {
  46811. value = t2[i];
  46812. if (value instanceof A.Expression) {
  46813. t8 = t1.spanForElement$1(i);
  46814. buffer._flushText$0();
  46815. t4.push(value);
  46816. t5.push(t8);
  46817. continue;
  46818. }
  46819. if (typeof value == "string")
  46820. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  46821. }
  46822. t3._contents += t6;
  46823. return buffer.interpolation$1(t1.span);
  46824. },
  46825. asInterpolation$0() {
  46826. return this.asInterpolation$1$static(false);
  46827. },
  46828. toString$0(_) {
  46829. return this.asInterpolation$0().toString$0(0);
  46830. }
  46831. };
  46832. A.SupportsExpression.prototype = {
  46833. get$span(_) {
  46834. var t1 = this.condition;
  46835. return t1.get$span(t1);
  46836. },
  46837. accept$1$1(visitor) {
  46838. return visitor.visitSupportsExpression$1(0, this);
  46839. },
  46840. accept$1(visitor) {
  46841. return this.accept$1$1(visitor, type$.dynamic);
  46842. },
  46843. toString$0(_) {
  46844. return this.condition.toString$0(0);
  46845. }
  46846. };
  46847. A.UnaryOperationExpression.prototype = {
  46848. accept$1$1(visitor) {
  46849. return visitor.visitUnaryOperationExpression$1(0, this);
  46850. },
  46851. accept$1(visitor) {
  46852. return this.accept$1$1(visitor, type$.dynamic);
  46853. },
  46854. toString$0(_) {
  46855. var operand,
  46856. t1 = this.operator,
  46857. t2 = t1.operator;
  46858. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  46859. operand = this.operand;
  46860. $label0$0: {
  46861. t2 = true;
  46862. if (!(operand instanceof A.BinaryOperationExpression))
  46863. if (!(operand instanceof A.UnaryOperationExpression))
  46864. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  46865. break $label0$0;
  46866. }
  46867. if (t2)
  46868. t1 += "40";
  46869. t1 += operand.toString$0(0);
  46870. if (t2)
  46871. t1 += "41";
  46872. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46873. },
  46874. get$span(receiver) {
  46875. return this.span;
  46876. }
  46877. };
  46878. A.UnaryOperator.prototype = {
  46879. _enumToString$0() {
  46880. return "UnaryOperator." + this._name;
  46881. },
  46882. toString$0(_) {
  46883. return this.name;
  46884. }
  46885. };
  46886. A.ValueExpression.prototype = {
  46887. accept$1$1(visitor) {
  46888. return visitor.visitValueExpression$1(0, this);
  46889. },
  46890. accept$1(visitor) {
  46891. return this.accept$1$1(visitor, type$.dynamic);
  46892. },
  46893. toString$0(_) {
  46894. return this.value.toString$0(0);
  46895. },
  46896. get$span(receiver) {
  46897. return this.span;
  46898. }
  46899. };
  46900. A.VariableExpression.prototype = {
  46901. accept$1$1(visitor) {
  46902. return visitor.visitVariableExpression$1(0, this);
  46903. },
  46904. accept$1(visitor) {
  46905. return this.accept$1$1(visitor, type$.dynamic);
  46906. },
  46907. toString$0(_) {
  46908. return this.span.get$text();
  46909. },
  46910. get$span(receiver) {
  46911. return this.span;
  46912. }
  46913. };
  46914. A.DynamicImport.prototype = {
  46915. toString$0(_) {
  46916. return A.StringExpression_quoteText(this.urlString);
  46917. },
  46918. $isAstNode: 1,
  46919. $isImport: 1,
  46920. get$span(receiver) {
  46921. return this.span;
  46922. }
  46923. };
  46924. A.StaticImport.prototype = {
  46925. toString$0(_) {
  46926. var t1 = this.url.toString$0(0),
  46927. t2 = this.modifiers;
  46928. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  46929. },
  46930. $isAstNode: 1,
  46931. $isImport: 1,
  46932. get$span(receiver) {
  46933. return this.span;
  46934. }
  46935. };
  46936. A.Interpolation.prototype = {
  46937. get$asPlain() {
  46938. var _0_1, t1, _0_6_isSet, _0_6, first,
  46939. _0_0 = this.contents;
  46940. $label0$0: {
  46941. _0_1 = _0_0.length;
  46942. if (_0_1 <= 0) {
  46943. t1 = "";
  46944. break $label0$0;
  46945. }
  46946. _0_6_isSet = _0_1 === 1;
  46947. if (_0_6_isSet) {
  46948. _0_6 = _0_0[0];
  46949. t1 = typeof _0_6 == "string";
  46950. } else {
  46951. _0_6 = null;
  46952. t1 = false;
  46953. }
  46954. if (t1) {
  46955. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  46956. t1 = first;
  46957. break $label0$0;
  46958. }
  46959. t1 = null;
  46960. break $label0$0;
  46961. }
  46962. return t1;
  46963. },
  46964. get$initialPlain() {
  46965. var _0_4_isSet, _0_4, t1, first,
  46966. _0_0 = this.contents;
  46967. $label0$0: {
  46968. _0_4_isSet = _0_0.length >= 1;
  46969. if (_0_4_isSet) {
  46970. _0_4 = _0_0[0];
  46971. t1 = typeof _0_4 == "string";
  46972. } else {
  46973. _0_4 = null;
  46974. t1 = false;
  46975. }
  46976. if (t1) {
  46977. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  46978. t1 = first;
  46979. break $label0$0;
  46980. }
  46981. t1 = "";
  46982. break $label0$0;
  46983. }
  46984. return t1;
  46985. },
  46986. spanForElement$1(index) {
  46987. var t1, t2, t3, t4, t5, _this = this;
  46988. $label0$0: {
  46989. if (typeof _this.contents[index] == "string") {
  46990. t1 = _this.span;
  46991. t2 = t1.file;
  46992. if (index === 0)
  46993. t3 = A.FileLocation$_(t2, t1._file$_start);
  46994. else {
  46995. t3 = _this.spans[index - 1];
  46996. t3 = t3.get$end(t3);
  46997. }
  46998. t4 = index + 1;
  46999. t5 = _this.spans;
  47000. if (t4 === t5.length)
  47001. t1 = A.FileLocation$_(t2, t1._end);
  47002. else {
  47003. t1 = t5[t4];
  47004. t1 = t1.get$start(t1);
  47005. }
  47006. t1 = t2.span$2(0, t3.offset, t1.offset);
  47007. break $label0$0;
  47008. }
  47009. t1 = _this.spans[index];
  47010. t1.toString;
  47011. break $label0$0;
  47012. }
  47013. return t1;
  47014. },
  47015. Interpolation$3(contents, spans, span) {
  47016. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47017. _s8_ = "contents";
  47018. if (spans.length !== J.get$length$asx(contents))
  47019. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47020. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47021. t5 = t1[i];
  47022. isString = typeof t5 == "string";
  47023. if (!isString && !(t5 instanceof A.Expression))
  47024. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47025. else if (isString) {
  47026. if (i !== 0 && typeof t1[i - 1] == "string")
  47027. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47028. else if (i < t3 && t4[i] != null)
  47029. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47030. } else if (i >= t3 || t4[i] == null)
  47031. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47032. }
  47033. },
  47034. toString$0(_) {
  47035. var t1 = this.contents;
  47036. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47037. },
  47038. $isAstNode: 1,
  47039. get$span(receiver) {
  47040. return this.span;
  47041. }
  47042. };
  47043. A.Interpolation_toString_closure.prototype = {
  47044. call$1(value) {
  47045. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47046. },
  47047. $signature: 132
  47048. };
  47049. A.Parameter.prototype = {
  47050. toString$0(_) {
  47051. var t1 = this.defaultValue,
  47052. t2 = this.name;
  47053. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47054. },
  47055. $isAstNode: 1,
  47056. get$span(receiver) {
  47057. return this.span;
  47058. }
  47059. };
  47060. A.ParameterList.prototype = {
  47061. get$spanWithName() {
  47062. var t3, t4,
  47063. t1 = this.span,
  47064. t2 = t1.file,
  47065. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  47066. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  47067. while (true) {
  47068. if (i > 0) {
  47069. t3 = text.charCodeAt(i);
  47070. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47071. } else
  47072. t3 = false;
  47073. if (!t3)
  47074. break;
  47075. --i;
  47076. }
  47077. t3 = text.charCodeAt(i);
  47078. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47079. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47080. else
  47081. t3 = true;
  47082. if (!t3)
  47083. return t1;
  47084. --i;
  47085. while (true) {
  47086. if (i >= 0) {
  47087. t3 = text.charCodeAt(i);
  47088. if (t3 !== 95) {
  47089. if (!(t3 >= 97 && t3 <= 122))
  47090. t4 = t3 >= 65 && t3 <= 90;
  47091. else
  47092. t4 = true;
  47093. t4 = t4 || t3 >= 128;
  47094. } else
  47095. t4 = true;
  47096. if (!t4)
  47097. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47098. else
  47099. t3 = true;
  47100. } else
  47101. t3 = false;
  47102. if (!t3)
  47103. break;
  47104. --i;
  47105. }
  47106. t3 = i + 1;
  47107. t4 = text.charCodeAt(t3);
  47108. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  47109. return t1;
  47110. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  47111. },
  47112. verify$2(positional, names) {
  47113. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47114. _s10_ = "invocation";
  47115. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47116. parameter = t1[i];
  47117. if (i < positional) {
  47118. t4 = parameter.name;
  47119. if (t3.containsKey$1(t4))
  47120. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47121. } else {
  47122. t4 = parameter.name;
  47123. if (t3.containsKey$1(t4))
  47124. ++namedUsed;
  47125. else if (parameter.defaultValue == null)
  47126. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47127. }
  47128. }
  47129. if (_this.restParameter != null)
  47130. return;
  47131. if (positional > t2) {
  47132. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47133. 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)));
  47134. }
  47135. if (namedUsed < t3.get$length(t3)) {
  47136. t2 = type$.String;
  47137. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47138. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47139. 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)));
  47140. }
  47141. },
  47142. _originalParameterName$1($name) {
  47143. var t1, text, t2, _i, parameter, t3, end;
  47144. if ($name === this.restParameter) {
  47145. t1 = this.span;
  47146. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  47147. 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, "."));
  47148. }
  47149. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47150. parameter = t1[_i];
  47151. if (parameter.name === $name) {
  47152. t1 = parameter.span;
  47153. if (parameter.defaultValue == null) {
  47154. t2 = t1._file$_start;
  47155. t3 = t1.file._decodedChars;
  47156. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  47157. t1 = t3;
  47158. } else {
  47159. text = t1.get$text();
  47160. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47161. end = A._lastNonWhitespace(t1, false);
  47162. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47163. }
  47164. return t1;
  47165. }
  47166. }
  47167. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47168. },
  47169. matches$2(positional, names) {
  47170. var t1, t2, t3, namedUsed, i, parameter;
  47171. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47172. parameter = t1[i];
  47173. if (i < positional) {
  47174. if (t3.containsKey$1(parameter.name))
  47175. return false;
  47176. } else if (t3.containsKey$1(parameter.name))
  47177. ++namedUsed;
  47178. else if (parameter.defaultValue == null)
  47179. return false;
  47180. }
  47181. if (this.restParameter != null)
  47182. return true;
  47183. if (positional > t2)
  47184. return false;
  47185. if (namedUsed < t3.get$length(t3))
  47186. return false;
  47187. return true;
  47188. },
  47189. toString$0(_) {
  47190. var t2, t3, _i,
  47191. t1 = A._setArrayType([], type$.JSArray_String);
  47192. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47193. t1.push("$" + t2[_i].toString$0(0));
  47194. t2 = this.restParameter;
  47195. if (t2 != null)
  47196. t1.push("$" + t2 + "...");
  47197. return B.JSArray_methods.join$1(t1, ", ");
  47198. },
  47199. $isAstNode: 1,
  47200. get$span(receiver) {
  47201. return this.span;
  47202. }
  47203. };
  47204. A.ParameterList_verify_closure.prototype = {
  47205. call$1(parameter) {
  47206. return parameter.name;
  47207. },
  47208. $signature: 342
  47209. };
  47210. A.ParameterList_verify_closure0.prototype = {
  47211. call$1($name) {
  47212. return "$" + $name;
  47213. },
  47214. $signature: 6
  47215. };
  47216. A.Statement.prototype = {$isAstNode: 1};
  47217. A.AtRootRule.prototype = {
  47218. accept$1$1(visitor) {
  47219. return visitor.visitAtRootRule$1(0, this);
  47220. },
  47221. accept$1(visitor) {
  47222. return this.accept$1$1(visitor, type$.dynamic);
  47223. },
  47224. toString$0(_) {
  47225. var buffer = new A.StringBuffer("@at-root "),
  47226. t1 = this.query;
  47227. if (t1 != null)
  47228. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47229. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47230. },
  47231. get$span(receiver) {
  47232. return this.span;
  47233. }
  47234. };
  47235. A.AtRule.prototype = {
  47236. accept$1$1(visitor) {
  47237. return visitor.visitAtRule$1(0, this);
  47238. },
  47239. accept$1(visitor) {
  47240. return this.accept$1$1(visitor, type$.dynamic);
  47241. },
  47242. toString$0(_) {
  47243. var children,
  47244. t1 = "@" + this.name.toString$0(0),
  47245. buffer = new A.StringBuffer(t1),
  47246. t2 = this.value;
  47247. if (t2 != null)
  47248. buffer._contents = t1 + (" " + t2.toString$0(0));
  47249. children = this.children;
  47250. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47251. },
  47252. get$span(receiver) {
  47253. return this.span;
  47254. }
  47255. };
  47256. A.CallableDeclaration.prototype = {
  47257. get$span(receiver) {
  47258. return this.span;
  47259. }
  47260. };
  47261. A.ContentBlock.prototype = {
  47262. accept$1$1(visitor) {
  47263. return visitor.visitContentBlock$1(0, this);
  47264. },
  47265. accept$1(visitor) {
  47266. return this.accept$1$1(visitor, type$.dynamic);
  47267. },
  47268. toString$0(_) {
  47269. var t1 = this.parameters;
  47270. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47271. return t1 + (" {" + B.JSArray_methods.join$1(this.children, " ") + "}");
  47272. }
  47273. };
  47274. A.ContentRule.prototype = {
  47275. accept$1$1(visitor) {
  47276. return visitor.visitContentRule$1(0, this);
  47277. },
  47278. accept$1(visitor) {
  47279. return this.accept$1$1(visitor, type$.dynamic);
  47280. },
  47281. toString$0(_) {
  47282. var t1 = this.$arguments;
  47283. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47284. },
  47285. get$span(receiver) {
  47286. return this.span;
  47287. }
  47288. };
  47289. A.DebugRule.prototype = {
  47290. accept$1$1(visitor) {
  47291. return visitor.visitDebugRule$1(0, this);
  47292. },
  47293. accept$1(visitor) {
  47294. return this.accept$1$1(visitor, type$.dynamic);
  47295. },
  47296. toString$0(_) {
  47297. return "@debug " + this.expression.toString$0(0) + ";";
  47298. },
  47299. get$span(receiver) {
  47300. return this.span;
  47301. }
  47302. };
  47303. A.Declaration.prototype = {
  47304. accept$1$1(visitor) {
  47305. return visitor.visitDeclaration$1(0, this);
  47306. },
  47307. accept$1(visitor) {
  47308. return this.accept$1$1(visitor, type$.dynamic);
  47309. },
  47310. toString$0(_) {
  47311. var t3, _0_0,
  47312. buffer = new A.StringBuffer(""),
  47313. t1 = this.name,
  47314. t2 = t1.toString$0(0);
  47315. buffer._contents = t2;
  47316. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  47317. t3 = this.value;
  47318. if (t3 != null) {
  47319. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  47320. buffer._contents = t1 + t3.toString$0(0);
  47321. }
  47322. _0_0 = this.children;
  47323. if (_0_0 != null)
  47324. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47325. else
  47326. return buffer.toString$0(0) + ";";
  47327. },
  47328. get$span(receiver) {
  47329. return this.span;
  47330. }
  47331. };
  47332. A.EachRule.prototype = {
  47333. accept$1$1(visitor) {
  47334. return visitor.visitEachRule$1(0, this);
  47335. },
  47336. accept$1(visitor) {
  47337. return this.accept$1$1(visitor, type$.dynamic);
  47338. },
  47339. toString$0(_) {
  47340. var t1 = this.variables;
  47341. 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) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47342. },
  47343. get$span(receiver) {
  47344. return this.span;
  47345. }
  47346. };
  47347. A.EachRule_toString_closure.prototype = {
  47348. call$1(variable) {
  47349. return "$" + variable;
  47350. },
  47351. $signature: 6
  47352. };
  47353. A.ErrorRule.prototype = {
  47354. accept$1$1(visitor) {
  47355. return visitor.visitErrorRule$1(0, this);
  47356. },
  47357. accept$1(visitor) {
  47358. return this.accept$1$1(visitor, type$.dynamic);
  47359. },
  47360. toString$0(_) {
  47361. return "@error " + this.expression.toString$0(0) + ";";
  47362. },
  47363. get$span(receiver) {
  47364. return this.span;
  47365. }
  47366. };
  47367. A.ExtendRule.prototype = {
  47368. accept$1$1(visitor) {
  47369. return visitor.visitExtendRule$1(0, this);
  47370. },
  47371. accept$1(visitor) {
  47372. return this.accept$1$1(visitor, type$.dynamic);
  47373. },
  47374. toString$0(_) {
  47375. var t1 = this.selector.toString$0(0),
  47376. t2 = this.isOptional ? " !optional" : "";
  47377. return "@extend " + t1 + t2 + ";";
  47378. },
  47379. get$span(receiver) {
  47380. return this.span;
  47381. }
  47382. };
  47383. A.ForRule.prototype = {
  47384. accept$1$1(visitor) {
  47385. return visitor.visitForRule$1(0, this);
  47386. },
  47387. accept$1(visitor) {
  47388. return this.accept$1$1(visitor, type$.dynamic);
  47389. },
  47390. toString$0(_) {
  47391. var _this = this,
  47392. t1 = _this.from.toString$0(0),
  47393. t2 = _this.isExclusive ? "to" : "through";
  47394. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + B.JSArray_methods.join$1(_this.children, " ") + "}";
  47395. },
  47396. get$span(receiver) {
  47397. return this.span;
  47398. }
  47399. };
  47400. A.ForwardRule.prototype = {
  47401. accept$1$1(visitor) {
  47402. return visitor.visitForwardRule$1(0, this);
  47403. },
  47404. accept$1(visitor) {
  47405. return this.accept$1$1(visitor, type$.dynamic);
  47406. },
  47407. toString$0(_) {
  47408. var t2, prefix, _this = this,
  47409. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47410. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47411. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47412. if (shownMixinsAndFunctions != null) {
  47413. t2 = _this.shownVariables;
  47414. t2.toString;
  47415. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47416. t1 = t2;
  47417. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47418. t2 = _this.hiddenVariables;
  47419. t2.toString;
  47420. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47421. t1 = t2;
  47422. }
  47423. prefix = _this.prefix;
  47424. if (prefix != null)
  47425. t1 += " as " + prefix + "*";
  47426. t2 = _this.configuration;
  47427. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47428. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47429. },
  47430. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47431. var t2,
  47432. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  47433. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47434. t1.push("$" + t2.get$current(0));
  47435. return B.JSArray_methods.join$1(t1, ", ");
  47436. },
  47437. get$span(receiver) {
  47438. return this.span;
  47439. }
  47440. };
  47441. A.FunctionRule.prototype = {
  47442. accept$1$1(visitor) {
  47443. return visitor.visitFunctionRule$1(0, this);
  47444. },
  47445. accept$1(visitor) {
  47446. return this.accept$1$1(visitor, type$.dynamic);
  47447. },
  47448. toString$0(_) {
  47449. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47450. }
  47451. };
  47452. A.IfRule.prototype = {
  47453. accept$1$1(visitor) {
  47454. return visitor.visitIfRule$1(0, this);
  47455. },
  47456. accept$1(visitor) {
  47457. return this.accept$1$1(visitor, type$.dynamic);
  47458. },
  47459. toString$0(_) {
  47460. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47461. lastClause = this.lastClause;
  47462. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47463. },
  47464. get$span(receiver) {
  47465. return this.span;
  47466. }
  47467. };
  47468. A.IfRule_toString_closure.prototype = {
  47469. call$2(index, clause) {
  47470. var t1 = index === 0 ? "if" : "else if";
  47471. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47472. },
  47473. $signature: 395
  47474. };
  47475. A.IfRuleClause.prototype = {};
  47476. A.IfRuleClause$__closure.prototype = {
  47477. call$1(child) {
  47478. var t1;
  47479. $label0$0: {
  47480. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47481. t1 = true;
  47482. break $label0$0;
  47483. }
  47484. if (child instanceof A.ImportRule) {
  47485. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47486. break $label0$0;
  47487. }
  47488. t1 = false;
  47489. break $label0$0;
  47490. }
  47491. return t1;
  47492. },
  47493. $signature: 150
  47494. };
  47495. A.IfRuleClause$___closure.prototype = {
  47496. call$1($import) {
  47497. return $import instanceof A.DynamicImport;
  47498. },
  47499. $signature: 151
  47500. };
  47501. A.IfClause.prototype = {
  47502. toString$0(_) {
  47503. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47504. }
  47505. };
  47506. A.ElseClause.prototype = {
  47507. toString$0(_) {
  47508. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47509. }
  47510. };
  47511. A.ImportRule.prototype = {
  47512. accept$1$1(visitor) {
  47513. return visitor.visitImportRule$1(0, this);
  47514. },
  47515. accept$1(visitor) {
  47516. return this.accept$1$1(visitor, type$.dynamic);
  47517. },
  47518. toString$0(_) {
  47519. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47520. },
  47521. get$span(receiver) {
  47522. return this.span;
  47523. }
  47524. };
  47525. A.IncludeRule.prototype = {
  47526. get$spanWithoutContent() {
  47527. var t2, t3,
  47528. t1 = this.span;
  47529. if (!(this.content == null)) {
  47530. t2 = t1.file;
  47531. t3 = this.$arguments.span;
  47532. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  47533. t1 = t3;
  47534. }
  47535. return t1;
  47536. },
  47537. get$nameSpan() {
  47538. var startSpan, scanner, _null = null,
  47539. t1 = this.span,
  47540. t2 = t1._file$_start,
  47541. t3 = t1._end,
  47542. t4 = t1.file._decodedChars;
  47543. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  47544. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47545. else {
  47546. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  47547. scanner.expectChar$1(64);
  47548. A._scanIdentifier(scanner);
  47549. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47550. }
  47551. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  47552. },
  47553. accept$1$1(visitor) {
  47554. return visitor.visitIncludeRule$1(0, this);
  47555. },
  47556. accept$1(visitor) {
  47557. return this.accept$1$1(visitor, type$.dynamic);
  47558. },
  47559. toString$0(_) {
  47560. var t2, _this = this,
  47561. t1 = _this.namespace;
  47562. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47563. t1 += _this.name;
  47564. t2 = _this.$arguments;
  47565. if (!t2.get$isEmpty(0))
  47566. t1 += "(" + t2.toString$0(0) + ")";
  47567. t2 = _this.content;
  47568. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47569. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47570. },
  47571. get$span(receiver) {
  47572. return this.span;
  47573. }
  47574. };
  47575. A.LoudComment.prototype = {
  47576. get$span(_) {
  47577. return this.text.span;
  47578. },
  47579. accept$1$1(visitor) {
  47580. return visitor.visitLoudComment$1(0, this);
  47581. },
  47582. accept$1(visitor) {
  47583. return this.accept$1$1(visitor, type$.dynamic);
  47584. },
  47585. toString$0(_) {
  47586. return this.text.toString$0(0);
  47587. }
  47588. };
  47589. A.MediaRule.prototype = {
  47590. accept$1$1(visitor) {
  47591. return visitor.visitMediaRule$1(0, this);
  47592. },
  47593. accept$1(visitor) {
  47594. return this.accept$1$1(visitor, type$.dynamic);
  47595. },
  47596. toString$0(_) {
  47597. return "@media " + this.query.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47598. },
  47599. get$span(receiver) {
  47600. return this.span;
  47601. }
  47602. };
  47603. A.MixinRule.prototype = {
  47604. get$hasContent() {
  47605. var result, _this = this,
  47606. value = _this.__MixinRule_hasContent_FI;
  47607. if (value === $) {
  47608. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47609. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47610. _this.__MixinRule_hasContent_FI = result;
  47611. value = result;
  47612. }
  47613. return value;
  47614. },
  47615. accept$1$1(visitor) {
  47616. return visitor.visitMixinRule$1(0, this);
  47617. },
  47618. accept$1(visitor) {
  47619. return this.accept$1$1(visitor, type$.dynamic);
  47620. },
  47621. toString$0(_) {
  47622. var t1 = "@mixin " + this.name,
  47623. t2 = this.parameters;
  47624. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47625. t1 += "(" + t2.toString$0(0) + ")";
  47626. t1 += " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47627. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47628. }
  47629. };
  47630. A._HasContentVisitor.prototype = {
  47631. visitContentRule$1(_, _0) {
  47632. return true;
  47633. }
  47634. };
  47635. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47636. A.ParentStatement.prototype = {};
  47637. A.ParentStatement_closure.prototype = {
  47638. call$1(child) {
  47639. var t1;
  47640. $label0$0: {
  47641. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47642. t1 = true;
  47643. break $label0$0;
  47644. }
  47645. if (child instanceof A.ImportRule) {
  47646. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47647. break $label0$0;
  47648. }
  47649. t1 = false;
  47650. break $label0$0;
  47651. }
  47652. return t1;
  47653. },
  47654. $signature: 150
  47655. };
  47656. A.ParentStatement__closure.prototype = {
  47657. call$1($import) {
  47658. return $import instanceof A.DynamicImport;
  47659. },
  47660. $signature: 151
  47661. };
  47662. A.ReturnRule.prototype = {
  47663. accept$1$1(visitor) {
  47664. return visitor.visitReturnRule$1(0, this);
  47665. },
  47666. accept$1(visitor) {
  47667. return this.accept$1$1(visitor, type$.dynamic);
  47668. },
  47669. toString$0(_) {
  47670. return "@return " + this.expression.toString$0(0) + ";";
  47671. },
  47672. get$span(receiver) {
  47673. return this.span;
  47674. }
  47675. };
  47676. A.SilentComment.prototype = {
  47677. accept$1$1(visitor) {
  47678. return visitor.visitSilentComment$1(0, this);
  47679. },
  47680. accept$1(visitor) {
  47681. return this.accept$1$1(visitor, type$.dynamic);
  47682. },
  47683. toString$0(_) {
  47684. return this.text;
  47685. },
  47686. get$span(receiver) {
  47687. return this.span;
  47688. }
  47689. };
  47690. A.StyleRule.prototype = {
  47691. accept$1$1(visitor) {
  47692. return visitor.visitStyleRule$1(0, this);
  47693. },
  47694. accept$1(visitor) {
  47695. return this.accept$1$1(visitor, type$.dynamic);
  47696. },
  47697. toString$0(_) {
  47698. return this.selector.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47699. },
  47700. get$span(receiver) {
  47701. return this.span;
  47702. }
  47703. };
  47704. A.Stylesheet.prototype = {
  47705. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  47706. var t1, t2, t3, t4, _i, child;
  47707. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  47708. child = t1[_i];
  47709. if (child instanceof A.UseRule) {
  47710. t4.push(child);
  47711. continue;
  47712. }
  47713. if (child instanceof A.ForwardRule) {
  47714. t3.push(child);
  47715. continue;
  47716. }
  47717. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  47718. continue;
  47719. break;
  47720. }
  47721. },
  47722. accept$1$1(visitor) {
  47723. return visitor.visitStylesheet$1(0, this);
  47724. },
  47725. accept$1(visitor) {
  47726. return this.accept$1$1(visitor, type$.dynamic);
  47727. },
  47728. toString$0(_) {
  47729. return B.JSArray_methods.join$1(this.children, " ");
  47730. },
  47731. get$span(receiver) {
  47732. return this.span;
  47733. }
  47734. };
  47735. A.SupportsRule.prototype = {
  47736. accept$1$1(visitor) {
  47737. return visitor.visitSupportsRule$1(0, this);
  47738. },
  47739. accept$1(visitor) {
  47740. return this.accept$1$1(visitor, type$.dynamic);
  47741. },
  47742. toString$0(_) {
  47743. return "@supports " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47744. },
  47745. get$span(receiver) {
  47746. return this.span;
  47747. }
  47748. };
  47749. A.UseRule.prototype = {
  47750. UseRule$4$configuration(url, namespace, span, configuration) {
  47751. var t1, t2, _i, variable;
  47752. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47753. variable = t1[_i];
  47754. if (variable.isGuarded)
  47755. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  47756. }
  47757. },
  47758. accept$1$1(visitor) {
  47759. return visitor.visitUseRule$1(0, this);
  47760. },
  47761. accept$1(visitor) {
  47762. return this.accept$1$1(visitor, type$.dynamic);
  47763. },
  47764. toString$0(_) {
  47765. var t1 = this.url,
  47766. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  47767. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  47768. dot = B.JSString_methods.indexOf$1(basename, ".");
  47769. t1 = this.namespace;
  47770. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  47771. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  47772. else
  47773. t1 = t2;
  47774. t2 = this.configuration;
  47775. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47776. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47777. },
  47778. get$span(receiver) {
  47779. return this.span;
  47780. }
  47781. };
  47782. A.VariableDeclaration.prototype = {
  47783. accept$1$1(visitor) {
  47784. return visitor.visitVariableDeclaration$1(0, this);
  47785. },
  47786. accept$1(visitor) {
  47787. return this.accept$1$1(visitor, type$.dynamic);
  47788. },
  47789. toString$0(_) {
  47790. var t1 = this.namespace;
  47791. t1 = t1 != null ? t1 + "." : "";
  47792. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  47793. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47794. },
  47795. get$span(receiver) {
  47796. return this.span;
  47797. }
  47798. };
  47799. A.WarnRule.prototype = {
  47800. accept$1$1(visitor) {
  47801. return visitor.visitWarnRule$1(0, this);
  47802. },
  47803. accept$1(visitor) {
  47804. return this.accept$1$1(visitor, type$.dynamic);
  47805. },
  47806. toString$0(_) {
  47807. return "@warn " + this.expression.toString$0(0) + ";";
  47808. },
  47809. get$span(receiver) {
  47810. return this.span;
  47811. }
  47812. };
  47813. A.WhileRule.prototype = {
  47814. accept$1$1(visitor) {
  47815. return visitor.visitWhileRule$1(0, this);
  47816. },
  47817. accept$1(visitor) {
  47818. return this.accept$1$1(visitor, type$.dynamic);
  47819. },
  47820. toString$0(_) {
  47821. return "@while " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47822. },
  47823. get$span(receiver) {
  47824. return this.span;
  47825. }
  47826. };
  47827. A.SupportsAnything.prototype = {
  47828. withSpan$1(span) {
  47829. return new A.SupportsAnything(this.contents, span);
  47830. },
  47831. toString$0(_) {
  47832. return "(" + this.contents.toString$0(0) + ")";
  47833. },
  47834. $isAstNode: 1,
  47835. get$span(receiver) {
  47836. return this.span;
  47837. }
  47838. };
  47839. A.SupportsDeclaration.prototype = {
  47840. get$isCustomProperty() {
  47841. var t1,
  47842. _0_0 = this.name;
  47843. $label0$0: {
  47844. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  47845. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  47846. break $label0$0;
  47847. }
  47848. t1 = false;
  47849. break $label0$0;
  47850. }
  47851. return t1;
  47852. },
  47853. withSpan$1(span) {
  47854. return new A.SupportsDeclaration(this.name, this.value, span);
  47855. },
  47856. toString$0(_) {
  47857. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  47858. },
  47859. $isAstNode: 1,
  47860. get$span(receiver) {
  47861. return this.span;
  47862. }
  47863. };
  47864. A.SupportsFunction.prototype = {
  47865. withSpan$1(span) {
  47866. return new A.SupportsFunction(this.name, this.$arguments, span);
  47867. },
  47868. toString$0(_) {
  47869. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  47870. },
  47871. $isAstNode: 1,
  47872. get$span(receiver) {
  47873. return this.span;
  47874. }
  47875. };
  47876. A.SupportsInterpolation.prototype = {
  47877. withSpan$1(span) {
  47878. return new A.SupportsInterpolation(this.expression, span);
  47879. },
  47880. toString$0(_) {
  47881. return "#{" + this.expression.toString$0(0) + "}";
  47882. },
  47883. $isAstNode: 1,
  47884. get$span(receiver) {
  47885. return this.span;
  47886. }
  47887. };
  47888. A.SupportsNegation.prototype = {
  47889. withSpan$1(span) {
  47890. return new A.SupportsNegation(this.condition, span);
  47891. },
  47892. toString$0(_) {
  47893. var t1 = this.condition;
  47894. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  47895. return "not (" + t1.toString$0(0) + ")";
  47896. else
  47897. return "not " + t1.toString$0(0);
  47898. },
  47899. $isAstNode: 1,
  47900. get$span(receiver) {
  47901. return this.span;
  47902. }
  47903. };
  47904. A.SupportsOperation.prototype = {
  47905. withSpan$1(span) {
  47906. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  47907. },
  47908. toString$0(_) {
  47909. var _this = this;
  47910. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  47911. },
  47912. _parenthesize$1(condition) {
  47913. var t1;
  47914. if (!(condition instanceof A.SupportsNegation))
  47915. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  47916. else
  47917. t1 = true;
  47918. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  47919. },
  47920. $isAstNode: 1,
  47921. get$span(receiver) {
  47922. return this.span;
  47923. }
  47924. };
  47925. A.Selector.prototype = {
  47926. assertNotBogus$1$name($name) {
  47927. if (!this.accept$1(B._IsBogusVisitor_true))
  47928. return;
  47929. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_9hF);
  47930. },
  47931. toString$0(_) {
  47932. var _null = null,
  47933. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  47934. this.accept$1(visitor);
  47935. return visitor._serialize$_buffer.toString$0(0);
  47936. },
  47937. $isAstNode: 1,
  47938. get$span(receiver) {
  47939. return this.span;
  47940. }
  47941. };
  47942. A._IsInvisibleVisitor0.prototype = {
  47943. visitSelectorList$1(list) {
  47944. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  47945. },
  47946. visitComplexSelector$1(complex) {
  47947. var t1;
  47948. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  47949. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  47950. else
  47951. t1 = true;
  47952. return t1;
  47953. },
  47954. visitPlaceholderSelector$1(placeholder) {
  47955. return true;
  47956. },
  47957. visitPseudoSelector$1(pseudo) {
  47958. var t1,
  47959. _0_0 = pseudo.selector;
  47960. if (_0_0 != null) {
  47961. if (pseudo.name === "not")
  47962. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  47963. else
  47964. t1 = this.visitSelectorList$1(_0_0);
  47965. return t1;
  47966. } else
  47967. return false;
  47968. }
  47969. };
  47970. A._IsBogusVisitor.prototype = {
  47971. visitComplexSelector$1(complex) {
  47972. var t2,
  47973. t1 = complex.components;
  47974. if (t1.length === 0)
  47975. return complex.leadingCombinators.length !== 0;
  47976. else {
  47977. t2 = this.includeLeadingCombinator ? 0 : 1;
  47978. 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));
  47979. }
  47980. },
  47981. visitPseudoSelector$1(pseudo) {
  47982. var selector = pseudo.selector;
  47983. if (selector == null)
  47984. return false;
  47985. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  47986. }
  47987. };
  47988. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  47989. call$1(component) {
  47990. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  47991. },
  47992. $signature: 52
  47993. };
  47994. A._IsUselessVisitor.prototype = {
  47995. visitComplexSelector$1(complex) {
  47996. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  47997. },
  47998. visitPseudoSelector$1(pseudo) {
  47999. return pseudo.accept$1(B._IsBogusVisitor_true);
  48000. }
  48001. };
  48002. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48003. call$1(component) {
  48004. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48005. },
  48006. $signature: 52
  48007. };
  48008. A._ContainsParentSelectorVisitor.prototype = {
  48009. visitParentSelector$1(_) {
  48010. return true;
  48011. }
  48012. };
  48013. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor.prototype = {};
  48014. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48015. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48016. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48017. A.AttributeSelector.prototype = {
  48018. accept$1$1(visitor) {
  48019. return visitor.visitAttributeSelector$1(this);
  48020. },
  48021. accept$1(visitor) {
  48022. return this.accept$1$1(visitor, type$.dynamic);
  48023. },
  48024. $eq(_, other) {
  48025. var _this = this;
  48026. if (other == null)
  48027. return false;
  48028. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48029. },
  48030. get$hashCode(_) {
  48031. var _this = this,
  48032. t1 = _this.name;
  48033. 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;
  48034. }
  48035. };
  48036. A.AttributeOperator.prototype = {
  48037. _enumToString$0() {
  48038. return "AttributeOperator." + this._name;
  48039. },
  48040. toString$0(_) {
  48041. return this._attribute$_text;
  48042. }
  48043. };
  48044. A.ClassSelector.prototype = {
  48045. $eq(_, other) {
  48046. if (other == null)
  48047. return false;
  48048. return other instanceof A.ClassSelector && other.name === this.name;
  48049. },
  48050. accept$1$1(visitor) {
  48051. return visitor.visitClassSelector$1(this);
  48052. },
  48053. accept$1(visitor) {
  48054. return this.accept$1$1(visitor, type$.dynamic);
  48055. },
  48056. addSuffix$1(suffix) {
  48057. return new A.ClassSelector(this.name + suffix, this.span);
  48058. },
  48059. get$hashCode(_) {
  48060. return B.JSString_methods.get$hashCode(this.name);
  48061. }
  48062. };
  48063. A.Combinator.prototype = {
  48064. _enumToString$0() {
  48065. return "Combinator." + this._name;
  48066. },
  48067. toString$0(_) {
  48068. return this._combinator$_text;
  48069. }
  48070. };
  48071. A.ComplexSelector.prototype = {
  48072. get$specificity() {
  48073. var result, _this = this,
  48074. value = _this.__ComplexSelector_specificity_FI;
  48075. if (value === $) {
  48076. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48077. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48078. _this.__ComplexSelector_specificity_FI = result;
  48079. value = result;
  48080. }
  48081. return value;
  48082. },
  48083. get$singleCompound() {
  48084. var _0_0, t1, _0_4, selector;
  48085. if (this.leadingCombinators.length !== 0)
  48086. return null;
  48087. _0_0 = this.components;
  48088. $label0$0: {
  48089. t1 = false;
  48090. if (_0_0.length === 1) {
  48091. _0_4 = _0_0[0];
  48092. selector = _0_4.selector;
  48093. t1 = _0_4.combinators.length <= 0;
  48094. } else
  48095. selector = null;
  48096. if (t1) {
  48097. t1 = selector;
  48098. break $label0$0;
  48099. }
  48100. t1 = null;
  48101. break $label0$0;
  48102. }
  48103. return t1;
  48104. },
  48105. accept$1$1(visitor) {
  48106. return visitor.visitComplexSelector$1(this);
  48107. },
  48108. accept$1(visitor) {
  48109. return this.accept$1$1(visitor, type$.dynamic);
  48110. },
  48111. isSuperselector$1(other) {
  48112. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48113. },
  48114. withAdditionalCombinators$1(combinators) {
  48115. var _0_0, _0_1, t1, initial, last, _this = this;
  48116. if (combinators.length === 0)
  48117. return _this;
  48118. _0_0 = _this.components;
  48119. $label0$0: {
  48120. _0_1 = _0_0.length;
  48121. if (_0_1 >= 1) {
  48122. t1 = _0_1 - 1;
  48123. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48124. last = _0_0[t1];
  48125. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48126. t1.push(last.withAdditionalCombinators$1(combinators));
  48127. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48128. break $label0$0;
  48129. }
  48130. if (_0_1 <= 0) {
  48131. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48132. B.JSArray_methods.addAll$1(t1, combinators);
  48133. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48134. break $label0$0;
  48135. }
  48136. t1 = null;
  48137. }
  48138. return t1;
  48139. },
  48140. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48141. var t2, _0_1, initial, last, _this = this,
  48142. t1 = child.leadingCombinators,
  48143. _0_0 = _this.components;
  48144. if (t1.length === 0) {
  48145. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent);
  48146. B.JSArray_methods.addAll$1(t1, child.components);
  48147. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48148. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48149. } else {
  48150. _0_1 = _0_0.length;
  48151. if (_0_1 >= 1) {
  48152. t2 = _0_1 - 1;
  48153. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48154. last = _0_0[t2];
  48155. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48156. t2.push(last.withAdditionalCombinators$1(t1));
  48157. B.JSArray_methods.addAll$1(t2, child.components);
  48158. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48159. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48160. } else {
  48161. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48162. B.JSArray_methods.addAll$1(t2, t1);
  48163. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48164. return A.ComplexSelector$(t2, child.components, span, t1);
  48165. }
  48166. }
  48167. },
  48168. concatenate$2(child, span) {
  48169. return this.concatenate$3$forceLineBreak(child, span, false);
  48170. },
  48171. get$hashCode(_) {
  48172. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48173. },
  48174. $eq(_, other) {
  48175. if (other == null)
  48176. return false;
  48177. 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);
  48178. }
  48179. };
  48180. A.ComplexSelector_specificity_closure.prototype = {
  48181. call$2(sum, component) {
  48182. return sum + component.selector.get$specificity();
  48183. },
  48184. $signature: 359
  48185. };
  48186. A.ComplexSelectorComponent.prototype = {
  48187. withAdditionalCombinators$1(combinators) {
  48188. var t1, t2, _this = this;
  48189. if (combinators.length === 0)
  48190. t1 = _this;
  48191. else {
  48192. t1 = type$.CssValue_Combinator;
  48193. t2 = A.List_List$_of(_this.combinators, t1);
  48194. B.JSArray_methods.addAll$1(t2, combinators);
  48195. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48196. }
  48197. return t1;
  48198. },
  48199. get$hashCode(_) {
  48200. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48201. },
  48202. $eq(_, other) {
  48203. var t1;
  48204. if (other == null)
  48205. return false;
  48206. if (other instanceof A.ComplexSelectorComponent) {
  48207. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48208. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48209. } else
  48210. t1 = false;
  48211. return t1;
  48212. },
  48213. toString$0(_) {
  48214. var t1 = this.combinators;
  48215. 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, "");
  48216. }
  48217. };
  48218. A.ComplexSelectorComponent_toString_closure.prototype = {
  48219. call$1(combinator) {
  48220. return " " + combinator.toString$0(0);
  48221. },
  48222. $signature: 440
  48223. };
  48224. A.CompoundSelector.prototype = {
  48225. get$specificity() {
  48226. var result, _this = this,
  48227. value = _this.__CompoundSelector_specificity_FI;
  48228. if (value === $) {
  48229. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48230. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48231. _this.__CompoundSelector_specificity_FI = result;
  48232. value = result;
  48233. }
  48234. return value;
  48235. },
  48236. get$hasComplicatedSuperselectorSemantics() {
  48237. var result, _this = this,
  48238. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48239. if (value === $) {
  48240. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48241. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48242. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48243. value = result;
  48244. }
  48245. return value;
  48246. },
  48247. accept$1$1(visitor) {
  48248. return visitor.visitCompoundSelector$1(this);
  48249. },
  48250. accept$1(visitor) {
  48251. return this.accept$1$1(visitor, type$.dynamic);
  48252. },
  48253. get$hashCode(_) {
  48254. return B.C_ListEquality0.hash$1(this.components);
  48255. },
  48256. $eq(_, other) {
  48257. if (other == null)
  48258. return false;
  48259. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48260. }
  48261. };
  48262. A.CompoundSelector_specificity_closure.prototype = {
  48263. call$2(sum, component) {
  48264. return sum + component.get$specificity();
  48265. },
  48266. $signature: 444
  48267. };
  48268. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48269. call$1(component) {
  48270. return component.get$hasComplicatedSuperselectorSemantics();
  48271. },
  48272. $signature: 14
  48273. };
  48274. A.IDSelector.prototype = {
  48275. get$specificity() {
  48276. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48277. },
  48278. accept$1$1(visitor) {
  48279. return visitor.visitIDSelector$1(this);
  48280. },
  48281. accept$1(visitor) {
  48282. return this.accept$1$1(visitor, type$.dynamic);
  48283. },
  48284. addSuffix$1(suffix) {
  48285. return new A.IDSelector(this.name + suffix, this.span);
  48286. },
  48287. unify$1(compound) {
  48288. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48289. return null;
  48290. return this.super$SimpleSelector$unify(compound);
  48291. },
  48292. $eq(_, other) {
  48293. if (other == null)
  48294. return false;
  48295. return other instanceof A.IDSelector && other.name === this.name;
  48296. },
  48297. get$hashCode(_) {
  48298. return B.JSString_methods.get$hashCode(this.name);
  48299. }
  48300. };
  48301. A.IDSelector_unify_closure.prototype = {
  48302. call$1(simple) {
  48303. var t1;
  48304. if (simple instanceof A.IDSelector)
  48305. t1 = this.$this.name !== simple.name;
  48306. else
  48307. t1 = false;
  48308. return t1;
  48309. },
  48310. $signature: 14
  48311. };
  48312. A.SelectorList.prototype = {
  48313. get$asSassList() {
  48314. var t1 = this.components;
  48315. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  48316. },
  48317. accept$1$1(visitor) {
  48318. return visitor.visitSelectorList$1(this);
  48319. },
  48320. accept$1(visitor) {
  48321. return this.accept$1$1(visitor, type$.dynamic);
  48322. },
  48323. unify$1(other) {
  48324. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48325. t1 = type$.JSArray_ComplexSelector,
  48326. t2 = A._setArrayType([], t1);
  48327. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48328. complex1 = t3[_i];
  48329. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48330. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48331. if (t8 != null)
  48332. B.JSArray_methods.addAll$1(t2, t8);
  48333. }
  48334. }
  48335. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48336. },
  48337. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48338. var parentSelector, t1, _this = this;
  48339. if ($parent == null) {
  48340. if (preserveParentSelectors)
  48341. return _this;
  48342. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48343. if (parentSelector == null)
  48344. return _this;
  48345. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48346. }
  48347. t1 = _this.components;
  48348. 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);
  48349. },
  48350. nestWithin$1($parent) {
  48351. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48352. },
  48353. nestWithin$2$implicitParent($parent, implicitParent) {
  48354. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48355. },
  48356. _nestWithinCompound$2(component, $parent) {
  48357. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48358. t1 = component.selector,
  48359. simples = t1.components,
  48360. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48361. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48362. return null;
  48363. if (containsSelectorPseudo) {
  48364. t2 = simples;
  48365. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48366. } else
  48367. resolvedSimples0 = simples;
  48368. resolvedSimples = resolvedSimples0;
  48369. parentSelector = J.get$first$ax(simples);
  48370. try {
  48371. if (!(parentSelector instanceof A.ParentSelector)) {
  48372. t2 = component.span;
  48373. 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);
  48374. return t2;
  48375. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48376. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48377. return t1.components;
  48378. }
  48379. } catch (exception) {
  48380. t1 = A.unwrapException(exception);
  48381. if (t1 instanceof A.SassException) {
  48382. error = t1;
  48383. stackTrace = A.getTraceFromException(exception);
  48384. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48385. } else
  48386. throw exception;
  48387. }
  48388. t1 = $parent.components;
  48389. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48390. },
  48391. isSuperselector$1(other) {
  48392. return A.listIsSuperselector(this.components, other.components);
  48393. },
  48394. withAdditionalCombinators$1(combinators) {
  48395. var t1;
  48396. if (combinators.length === 0)
  48397. t1 = this;
  48398. else {
  48399. t1 = this.components;
  48400. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48401. }
  48402. return t1;
  48403. },
  48404. get$hashCode(_) {
  48405. return B.C_ListEquality0.hash$1(this.components);
  48406. },
  48407. $eq(_, other) {
  48408. if (other == null)
  48409. return false;
  48410. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48411. }
  48412. };
  48413. A.SelectorList_asSassList_closure.prototype = {
  48414. call$1(complex) {
  48415. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48416. t1 = type$.JSArray_Value,
  48417. t2 = A._setArrayType([], t1);
  48418. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48419. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48420. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48421. component = t3[_i];
  48422. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48423. component.selector.accept$1(visitor);
  48424. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48425. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48426. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48427. B.JSArray_methods.addAll$1(t2, t5);
  48428. }
  48429. return A.SassList$(t2, B.ListSeparator_qSL, false);
  48430. },
  48431. $signature: 332
  48432. };
  48433. A.SelectorList_nestWithin_closure.prototype = {
  48434. call$1(complex) {
  48435. 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;
  48436. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48437. if (!_this.implicitParent)
  48438. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48439. t1 = _this.parent.components;
  48440. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48441. }
  48442. t1 = type$.JSArray_ComplexSelector;
  48443. newComplexes = A._setArrayType([], t1);
  48444. 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) {
  48445. component = t2[_i];
  48446. resolved = t4._nestWithinCompound$2(component, t5);
  48447. if (resolved == null)
  48448. if (newComplexes.length === 0)
  48449. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48450. else
  48451. for (i = 0; i < newComplexes.length; ++i) {
  48452. t12 = newComplexes[i];
  48453. t13 = A.List_List$_of(t12.components, t10);
  48454. t13.push(component);
  48455. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48456. }
  48457. else if (newComplexes.length === 0)
  48458. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48459. else {
  48460. t12 = A._setArrayType([], t1);
  48461. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48462. newComplex = newComplexes[_i0];
  48463. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48464. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48465. }
  48466. newComplexes = t12;
  48467. }
  48468. }
  48469. return newComplexes;
  48470. },
  48471. $signature: 344
  48472. };
  48473. A.SelectorList_nestWithin__closure.prototype = {
  48474. call$1(parentComplex) {
  48475. var t1 = this.complex;
  48476. return parentComplex.concatenate$2(t1, t1.span);
  48477. },
  48478. $signature: 60
  48479. };
  48480. A.SelectorList_nestWithin__closure0.prototype = {
  48481. call$1(resolvedComplex) {
  48482. var t1 = resolvedComplex.leadingCombinators,
  48483. t2 = this.complex,
  48484. t3 = t2.leadingCombinators;
  48485. if (t1.length === 0)
  48486. t1 = t3;
  48487. else {
  48488. t3 = A.List_List$_of(t3, type$.CssValue_Combinator);
  48489. B.JSArray_methods.addAll$1(t3, t1);
  48490. t1 = t3;
  48491. }
  48492. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48493. },
  48494. $signature: 60
  48495. };
  48496. A.SelectorList__nestWithinCompound_closure.prototype = {
  48497. call$1(simple) {
  48498. var selector;
  48499. if (!(simple instanceof A.PseudoSelector))
  48500. return false;
  48501. selector = simple.selector;
  48502. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48503. },
  48504. $signature: 14
  48505. };
  48506. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48507. call$1(simple) {
  48508. var selector, t1, _0_2;
  48509. $label0$0: {
  48510. selector = null;
  48511. t1 = false;
  48512. if (simple instanceof A.PseudoSelector) {
  48513. _0_2 = simple.selector;
  48514. if (_0_2 != null) {
  48515. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48516. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48517. }
  48518. }
  48519. if (t1) {
  48520. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48521. break $label0$0;
  48522. }
  48523. t1 = simple;
  48524. break $label0$0;
  48525. }
  48526. return t1;
  48527. },
  48528. $signature: 368
  48529. };
  48530. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48531. call$1(complex) {
  48532. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  48533. try {
  48534. t4 = complex.components;
  48535. lastComponent = B.JSArray_methods.get$last(t4);
  48536. if (lastComponent.combinators.length !== 0) {
  48537. 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);
  48538. throw A.wrapException(t1);
  48539. }
  48540. suffix = _this.parentSelector.suffix;
  48541. lastSimples = lastComponent.selector.components;
  48542. t5 = type$.SimpleSelector;
  48543. if (suffix == null) {
  48544. t2 = A.List_List$_of(lastSimples, t5);
  48545. t1 = t2;
  48546. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  48547. t1 = t1;
  48548. } else {
  48549. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(lastSimples), t5);
  48550. t2 = t1;
  48551. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48552. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  48553. t1 = t2;
  48554. }
  48555. t2 = _this.component;
  48556. last = A.CompoundSelector$(t1, t2.selector.span);
  48557. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t4), type$.ComplexSelectorComponent);
  48558. t3 = t1;
  48559. t1 = t2.span;
  48560. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t1));
  48561. t1 = A.ComplexSelector$(complex.leadingCombinators, t3, t1, complex.lineBreak);
  48562. return t1;
  48563. } catch (exception) {
  48564. t1 = A.unwrapException(exception);
  48565. if (t1 instanceof A.SassException) {
  48566. error = t1;
  48567. stackTrace = A.getTraceFromException(exception);
  48568. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48569. } else
  48570. throw exception;
  48571. }
  48572. },
  48573. $signature: 60
  48574. };
  48575. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48576. call$1(complex) {
  48577. return complex.withAdditionalCombinators$1(this.combinators);
  48578. },
  48579. $signature: 60
  48580. };
  48581. A._ParentSelectorVisitor.prototype = {
  48582. visitParentSelector$1(selector) {
  48583. return selector;
  48584. }
  48585. };
  48586. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48587. A.ParentSelector.prototype = {
  48588. accept$1$1(visitor) {
  48589. return visitor.visitParentSelector$1(this);
  48590. },
  48591. accept$1(visitor) {
  48592. return this.accept$1$1(visitor, type$.dynamic);
  48593. },
  48594. unify$1(compound) {
  48595. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48596. }
  48597. };
  48598. A.PlaceholderSelector.prototype = {
  48599. accept$1$1(visitor) {
  48600. return visitor.visitPlaceholderSelector$1(this);
  48601. },
  48602. accept$1(visitor) {
  48603. return this.accept$1$1(visitor, type$.dynamic);
  48604. },
  48605. addSuffix$1(suffix) {
  48606. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48607. },
  48608. $eq(_, other) {
  48609. if (other == null)
  48610. return false;
  48611. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48612. },
  48613. get$hashCode(_) {
  48614. return B.JSString_methods.get$hashCode(this.name);
  48615. }
  48616. };
  48617. A.PseudoSelector.prototype = {
  48618. get$isHostContext() {
  48619. return this.isClass && this.name === "host-context" && this.selector != null;
  48620. },
  48621. get$hasComplicatedSuperselectorSemantics() {
  48622. return !this.isClass || this.selector != null;
  48623. },
  48624. get$specificity() {
  48625. var result, _this = this,
  48626. value = _this.__PseudoSelector_specificity_FI;
  48627. if (value === $) {
  48628. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48629. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48630. _this.__PseudoSelector_specificity_FI = result;
  48631. value = result;
  48632. }
  48633. return value;
  48634. },
  48635. withSelector$1(selector) {
  48636. var _this = this;
  48637. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48638. },
  48639. addSuffix$1(suffix) {
  48640. var _this = this;
  48641. if (_this.argument != null || _this.selector != null)
  48642. _this.super$SimpleSelector$addSuffix(suffix);
  48643. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48644. },
  48645. unify$1(compound) {
  48646. var other, result, t2, addedThis, _i, simple, _this = this,
  48647. t1 = _this.name;
  48648. if (t1 === "host" || t1 === "host-context") {
  48649. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48650. return null;
  48651. } else {
  48652. t1 = false;
  48653. if (compound.length === 1) {
  48654. other = compound[0];
  48655. if (!(other instanceof A.UniversalSelector)) {
  48656. if (other instanceof A.PseudoSelector)
  48657. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48658. } else
  48659. t1 = true;
  48660. } else
  48661. other = null;
  48662. if (t1)
  48663. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48664. }
  48665. if (B.JSArray_methods.contains$1(compound, _this))
  48666. return compound;
  48667. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48668. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48669. simple = compound[_i];
  48670. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48671. if (t2)
  48672. return null;
  48673. result.push(_this);
  48674. addedThis = true;
  48675. }
  48676. result.push(simple);
  48677. }
  48678. if (!addedThis)
  48679. result.push(_this);
  48680. return result;
  48681. },
  48682. isSuperselector$1(other) {
  48683. var selector, t1, t2, _this = this;
  48684. if (_this.super$SimpleSelector$isSuperselector(other))
  48685. return true;
  48686. selector = _this.selector;
  48687. if (selector == null)
  48688. return _this.$eq(0, other);
  48689. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  48690. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  48691. return t1 == null ? false : t1;
  48692. }
  48693. t1 = type$.JSArray_SimpleSelector;
  48694. t2 = _this.span;
  48695. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  48696. },
  48697. accept$1$1(visitor) {
  48698. return visitor.visitPseudoSelector$1(this);
  48699. },
  48700. accept$1(visitor) {
  48701. return this.accept$1$1(visitor, type$.dynamic);
  48702. },
  48703. $eq(_, other) {
  48704. var _this = this;
  48705. if (other == null)
  48706. return false;
  48707. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  48708. },
  48709. get$hashCode(_) {
  48710. var _this = this,
  48711. t1 = B.JSString_methods.get$hashCode(_this.name),
  48712. t2 = !_this.isClass ? 519018 : 218159;
  48713. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  48714. }
  48715. };
  48716. A.PseudoSelector_specificity_closure.prototype = {
  48717. call$0() {
  48718. var selector, t2,
  48719. t1 = this.$this;
  48720. if (!t1.isClass)
  48721. return 1;
  48722. selector = t1.selector;
  48723. if (selector == null)
  48724. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48725. switch (t1.normalizedName) {
  48726. case "where":
  48727. return 0;
  48728. case "is":
  48729. case "not":
  48730. case "has":
  48731. case "matches":
  48732. t1 = selector.components;
  48733. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  48734. case "nth-child":
  48735. case "nth-last-child":
  48736. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  48737. t2 = selector.components;
  48738. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  48739. default:
  48740. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48741. }
  48742. },
  48743. $signature: 10
  48744. };
  48745. A.PseudoSelector_specificity__closure.prototype = {
  48746. call$1(component) {
  48747. return component.get$specificity();
  48748. },
  48749. $signature: 171
  48750. };
  48751. A.PseudoSelector_specificity__closure0.prototype = {
  48752. call$1(component) {
  48753. return component.get$specificity();
  48754. },
  48755. $signature: 171
  48756. };
  48757. A.PseudoSelector_unify_closure.prototype = {
  48758. call$1(simple) {
  48759. var t1;
  48760. if (simple instanceof A.PseudoSelector)
  48761. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  48762. else
  48763. t1 = false;
  48764. return t1;
  48765. },
  48766. $signature: 14
  48767. };
  48768. A.QualifiedName.prototype = {
  48769. $eq(_, other) {
  48770. if (other == null)
  48771. return false;
  48772. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  48773. },
  48774. get$hashCode(_) {
  48775. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  48776. },
  48777. toString$0(_) {
  48778. var t1 = this.namespace,
  48779. t2 = this.name;
  48780. return t1 == null ? t2 : t1 + "|" + t2;
  48781. }
  48782. };
  48783. A.SimpleSelector.prototype = {
  48784. get$specificity() {
  48785. return 1000;
  48786. },
  48787. get$hasComplicatedSuperselectorSemantics() {
  48788. return false;
  48789. },
  48790. addSuffix$1(suffix) {
  48791. 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));
  48792. },
  48793. unify$1(compound) {
  48794. var other, result, addedThis, _i, simple, _this = this,
  48795. t1 = false;
  48796. if (compound.length === 1) {
  48797. other = compound[0];
  48798. if (!(other instanceof A.UniversalSelector)) {
  48799. if (other instanceof A.PseudoSelector)
  48800. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48801. } else
  48802. t1 = true;
  48803. } else
  48804. other = null;
  48805. if (t1)
  48806. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48807. if (B.JSArray_methods.contains$1(compound, _this))
  48808. return compound;
  48809. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48810. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48811. simple = compound[_i];
  48812. if (!addedThis && simple instanceof A.PseudoSelector) {
  48813. result.push(_this);
  48814. addedThis = true;
  48815. }
  48816. result.push(simple);
  48817. }
  48818. if (!addedThis)
  48819. result.push(_this);
  48820. return result;
  48821. },
  48822. isSuperselector$1(other) {
  48823. var list;
  48824. if (this.$eq(0, other))
  48825. return true;
  48826. if (other instanceof A.PseudoSelector && other.isClass) {
  48827. list = other.selector;
  48828. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  48829. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  48830. }
  48831. return false;
  48832. }
  48833. };
  48834. A.SimpleSelector_isSuperselector_closure.prototype = {
  48835. call$1(complex) {
  48836. var t1 = complex.components;
  48837. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  48838. },
  48839. $signature: 19
  48840. };
  48841. A.SimpleSelector_isSuperselector__closure.prototype = {
  48842. call$1(simple) {
  48843. return this.$this.isSuperselector$1(simple);
  48844. },
  48845. $signature: 14
  48846. };
  48847. A.TypeSelector.prototype = {
  48848. get$specificity() {
  48849. return 1;
  48850. },
  48851. accept$1$1(visitor) {
  48852. return visitor.visitTypeSelector$1(this);
  48853. },
  48854. accept$1(visitor) {
  48855. return this.accept$1$1(visitor, type$.dynamic);
  48856. },
  48857. addSuffix$1(suffix) {
  48858. var t1 = this.name;
  48859. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  48860. },
  48861. unify$1(compound) {
  48862. var unified, t1,
  48863. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  48864. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  48865. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  48866. if (unified == null)
  48867. return null;
  48868. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48869. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  48870. return t1;
  48871. } else {
  48872. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  48873. B.JSArray_methods.addAll$1(t1, compound);
  48874. return t1;
  48875. }
  48876. },
  48877. isSuperselector$1(other) {
  48878. var t1, t2, t3;
  48879. if (!this.super$SimpleSelector$isSuperselector(other)) {
  48880. t1 = false;
  48881. if (other instanceof A.TypeSelector) {
  48882. t2 = this.name;
  48883. t3 = other.name;
  48884. if (t2.name === t3.name) {
  48885. t1 = t2.namespace;
  48886. t1 = t1 === "*" || t1 == t3.namespace;
  48887. }
  48888. }
  48889. } else
  48890. t1 = true;
  48891. return t1;
  48892. },
  48893. $eq(_, other) {
  48894. if (other == null)
  48895. return false;
  48896. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  48897. },
  48898. get$hashCode(_) {
  48899. var t1 = this.name;
  48900. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  48901. }
  48902. };
  48903. A.UniversalSelector.prototype = {
  48904. get$specificity() {
  48905. return 0;
  48906. },
  48907. accept$1$1(visitor) {
  48908. return visitor.visitUniversalSelector$1(this);
  48909. },
  48910. accept$1(visitor) {
  48911. return this.accept$1$1(visitor, type$.dynamic);
  48912. },
  48913. unify$1(compound) {
  48914. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  48915. _0_1 = compound.length,
  48916. _0_4_isSet = _0_1 >= 1;
  48917. if (_0_4_isSet) {
  48918. _0_4 = compound[0];
  48919. if (!(_0_4 instanceof A.UniversalSelector))
  48920. t1 = _0_4 instanceof A.TypeSelector;
  48921. else
  48922. t1 = true;
  48923. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  48924. } else {
  48925. rest = _null;
  48926. _0_4 = rest;
  48927. t1 = false;
  48928. }
  48929. if (t1) {
  48930. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  48931. if (unified == null)
  48932. return _null;
  48933. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48934. B.JSArray_methods.addAll$1(t1, rest);
  48935. return t1;
  48936. }
  48937. t1 = false;
  48938. if (_0_1 === 1) {
  48939. if (_0_4_isSet)
  48940. t2 = _0_4;
  48941. else {
  48942. _0_4 = compound[0];
  48943. t2 = _0_4;
  48944. _0_4_isSet = true;
  48945. }
  48946. if (t2 instanceof A.PseudoSelector) {
  48947. t2 = _0_4_isSet ? _0_4 : compound[0];
  48948. type$.PseudoSelector._as(t2);
  48949. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  48950. }
  48951. }
  48952. if (t1)
  48953. return _null;
  48954. if (_0_1 <= 0)
  48955. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  48956. t1 = _this.namespace;
  48957. if (t1 == null || t1 === "*")
  48958. t1 = compound;
  48959. else {
  48960. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  48961. B.JSArray_methods.addAll$1(t1, compound);
  48962. }
  48963. return t1;
  48964. },
  48965. isSuperselector$1(other) {
  48966. var t1 = this.namespace;
  48967. if (t1 === "*")
  48968. return true;
  48969. if (other instanceof A.TypeSelector)
  48970. return t1 == other.name.namespace;
  48971. if (other instanceof A.UniversalSelector)
  48972. return t1 == other.namespace;
  48973. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  48974. },
  48975. $eq(_, other) {
  48976. if (other == null)
  48977. return false;
  48978. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  48979. },
  48980. get$hashCode(_) {
  48981. return J.get$hashCode$(this.namespace);
  48982. }
  48983. };
  48984. A._compileStylesheet_closure0.prototype = {
  48985. call$1(url) {
  48986. var t1;
  48987. if (url === "") {
  48988. t1 = this.stylesheet.span;
  48989. 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();
  48990. } else
  48991. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  48992. return t1;
  48993. },
  48994. $signature: 6
  48995. };
  48996. A.AsyncEnvironment.prototype = {
  48997. closure$0() {
  48998. var t4, t5, t6, _this = this,
  48999. t1 = _this._async_environment$_forwardedModules,
  49000. t2 = _this._async_environment$_nestedForwardedModules,
  49001. t3 = _this._async_environment$_variables;
  49002. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49003. t4 = _this._async_environment$_variableNodes;
  49004. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49005. t5 = _this._async_environment$_functions;
  49006. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49007. t6 = _this._async_environment$_mixins;
  49008. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49009. 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);
  49010. },
  49011. forwardModule$2(module, rule) {
  49012. var view, t1, t2, _this = this,
  49013. forwardedModules = _this._async_environment$_forwardedModules;
  49014. if (forwardedModules == null)
  49015. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49016. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49017. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  49018. t2 = t1.__js_helper$_current;
  49019. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49020. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49021. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49022. }
  49023. _this._async_environment$_allModules.push(module);
  49024. forwardedModules.$indexSet(0, view, rule);
  49025. },
  49026. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49027. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49028. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49029. larger = oldMembers;
  49030. smaller = newMembers;
  49031. } else {
  49032. larger = newMembers;
  49033. smaller = oldMembers;
  49034. }
  49035. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49036. t4 = t2.get$current(t2);
  49037. $name = t4._0;
  49038. small = t4._1;
  49039. large = larger.$index(0, $name);
  49040. if (large == null)
  49041. continue;
  49042. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49043. continue;
  49044. if (t3)
  49045. $name = "$" + $name;
  49046. t2 = this._async_environment$_forwardedModules;
  49047. if (t2 == null)
  49048. span = null;
  49049. else {
  49050. t2 = t2.$index(0, oldModule);
  49051. span = t2 == null ? null : t2.get$span(t2);
  49052. }
  49053. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49054. if (span != null)
  49055. t2.$indexSet(0, span, "original @forward");
  49056. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49057. }
  49058. },
  49059. importForwards$1(module) {
  49060. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49061. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49062. if (forwarded == null)
  49063. return;
  49064. forwardedModules = _this._async_environment$_forwardedModules;
  49065. if (forwardedModules != null) {
  49066. t1 = type$.Module_AsyncCallable;
  49067. t2 = type$.AstNode;
  49068. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49069. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49070. t4 = t1.get$current(t1);
  49071. module = t4._0;
  49072. node = t4._1;
  49073. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49074. t3.$indexSet(0, module, node);
  49075. }
  49076. forwarded = t3;
  49077. } else
  49078. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49079. t1 = type$.String;
  49080. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49081. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  49082. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  49083. t2.add$1(0, t4.get$current(t4));
  49084. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49085. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  49086. t5 = t4.__js_helper$_current;
  49087. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  49088. t3.add$1(0, t5.get$current(t5));
  49089. }
  49090. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49091. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  49092. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  49093. t1.add$1(0, t5.get$current(t5));
  49094. t4 = _this._async_environment$_variables;
  49095. t5 = t4.length;
  49096. if (t5 === 1) {
  49097. 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) {
  49098. t11 = t8[_i];
  49099. module = t11._0;
  49100. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49101. if (shadowed != null) {
  49102. t5.remove$1(0, module);
  49103. t12 = shadowed.variables;
  49104. t13 = false;
  49105. if (t12.get$isEmpty(t12)) {
  49106. t12 = shadowed.functions;
  49107. if (t12.get$isEmpty(t12)) {
  49108. t12 = shadowed.mixins;
  49109. if (t12.get$isEmpty(t12)) {
  49110. t12 = shadowed._shadowed_view$_inner;
  49111. t12 = t12.get$css(t12);
  49112. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49113. } else
  49114. t12 = t13;
  49115. } else
  49116. t12 = t13;
  49117. } else
  49118. t12 = t13;
  49119. if (!t12)
  49120. t5.$indexSet(0, shadowed, t11._1);
  49121. }
  49122. }
  49123. 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) {
  49124. t8 = t6[_i];
  49125. module = t8._0;
  49126. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49127. if (shadowed != null) {
  49128. forwardedModules.remove$1(0, module);
  49129. t9 = shadowed.variables;
  49130. t11 = false;
  49131. if (t9.get$isEmpty(t9)) {
  49132. t9 = shadowed.functions;
  49133. if (t9.get$isEmpty(t9)) {
  49134. t9 = shadowed.mixins;
  49135. if (t9.get$isEmpty(t9)) {
  49136. t9 = shadowed._shadowed_view$_inner;
  49137. t9 = t9.get$css(t9);
  49138. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49139. } else
  49140. t9 = t11;
  49141. } else
  49142. t9 = t11;
  49143. } else
  49144. t9 = t11;
  49145. if (!t9)
  49146. forwardedModules.$indexSet(0, shadowed, t8._1);
  49147. }
  49148. }
  49149. t5.addAll$1(0, forwarded);
  49150. forwardedModules.addAll$1(0, forwarded);
  49151. } else {
  49152. t6 = _this._async_environment$_nestedForwardedModules;
  49153. if (t6 == null) {
  49154. _length = t5 - 1;
  49155. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49156. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49157. _list[_i] = A._setArrayType([], t5);
  49158. _this._async_environment$_nestedForwardedModules = _list;
  49159. t5 = _list;
  49160. } else
  49161. t5 = t6;
  49162. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49163. }
  49164. 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();) {
  49165. t8 = t2._collection$_current;
  49166. if (t8 == null)
  49167. t8 = t7._as(t8);
  49168. t5.remove$1(0, t8);
  49169. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  49170. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  49171. }
  49172. 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();) {
  49173. t6 = t2._collection$_current;
  49174. if (t6 == null)
  49175. t6 = t5._as(t6);
  49176. t3.remove$1(0, t6);
  49177. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  49178. }
  49179. 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();) {
  49180. t5 = t1._collection$_current;
  49181. if (t5 == null)
  49182. t5 = t4._as(t5);
  49183. t2.remove$1(0, t5);
  49184. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  49185. }
  49186. },
  49187. getVariable$2$namespace($name, namespace) {
  49188. var t1, _0_0, _1_0, _this = this;
  49189. if (namespace != null)
  49190. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49191. if (_this._async_environment$_lastVariableName === $name) {
  49192. t1 = _this._async_environment$_lastVariableIndex;
  49193. t1.toString;
  49194. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49195. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49196. }
  49197. t1 = _this._async_environment$_variableIndices;
  49198. _0_0 = t1.$index(0, $name);
  49199. if (_0_0 != null) {
  49200. _this._async_environment$_lastVariableName = $name;
  49201. _this._async_environment$_lastVariableIndex = _0_0;
  49202. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49203. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49204. } else {
  49205. _1_0 = _this._async_environment$_variableIndex$1($name);
  49206. if (_1_0 != null) {
  49207. _this._async_environment$_lastVariableName = $name;
  49208. _this._async_environment$_lastVariableIndex = _1_0;
  49209. t1.$indexSet(0, $name, _1_0);
  49210. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49211. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49212. } else
  49213. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49214. }
  49215. },
  49216. getVariable$1($name) {
  49217. return this.getVariable$2$namespace($name, null);
  49218. },
  49219. _async_environment$_getVariableFromGlobalModule$1($name) {
  49220. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49221. },
  49222. getVariableNode$2$namespace($name, namespace) {
  49223. var t1, _0_0, _1_0, _this = this;
  49224. if (namespace != null)
  49225. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49226. if (_this._async_environment$_lastVariableName === $name) {
  49227. t1 = _this._async_environment$_lastVariableIndex;
  49228. t1.toString;
  49229. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49230. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49231. }
  49232. t1 = _this._async_environment$_variableIndices;
  49233. _0_0 = t1.$index(0, $name);
  49234. if (_0_0 != null) {
  49235. _this._async_environment$_lastVariableName = $name;
  49236. _this._async_environment$_lastVariableIndex = _0_0;
  49237. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49238. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49239. } else {
  49240. _1_0 = _this._async_environment$_variableIndex$1($name);
  49241. if (_1_0 != null) {
  49242. _this._async_environment$_lastVariableName = $name;
  49243. _this._async_environment$_lastVariableIndex = _1_0;
  49244. t1.$indexSet(0, $name, _1_0);
  49245. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49246. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49247. } else
  49248. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49249. }
  49250. },
  49251. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49252. var t1, t2, _0_0;
  49253. 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();) {
  49254. t1 = t2._currentIterator;
  49255. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49256. if (_0_0 != null)
  49257. return _0_0;
  49258. }
  49259. return null;
  49260. },
  49261. globalVariableExists$2$namespace($name, namespace) {
  49262. if (namespace != null)
  49263. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49264. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49265. return true;
  49266. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49267. },
  49268. globalVariableExists$1($name) {
  49269. return this.globalVariableExists$2$namespace($name, null);
  49270. },
  49271. _async_environment$_variableIndex$1($name) {
  49272. var t1, i;
  49273. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49274. if (t1[i].containsKey$1($name))
  49275. return i;
  49276. return null;
  49277. },
  49278. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49279. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49280. if (namespace != null) {
  49281. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49282. return;
  49283. }
  49284. if (global || _this._async_environment$_variables.length === 1) {
  49285. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49286. t1 = _this._async_environment$_variables;
  49287. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49288. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49289. if (moduleWithName != null) {
  49290. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49291. return;
  49292. }
  49293. }
  49294. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  49295. B.JSArray_methods.get$first(_this._async_environment$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  49296. return;
  49297. }
  49298. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49299. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49300. 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();) {
  49301. t3 = t2.__internal$_current;
  49302. 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();) {
  49303. t5 = t3.__internal$_current;
  49304. if (t5 == null)
  49305. t5 = t4._as(t5);
  49306. if (t5.get$variables().containsKey$1($name)) {
  49307. t5.setVariable$3($name, value, nodeWithSpan);
  49308. return;
  49309. }
  49310. }
  49311. }
  49312. if (_this._async_environment$_lastVariableName === $name) {
  49313. t1 = _this._async_environment$_lastVariableIndex;
  49314. t1.toString;
  49315. index = t1;
  49316. } else
  49317. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49318. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49319. index = _this._async_environment$_variables.length - 1;
  49320. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49321. }
  49322. _this._async_environment$_lastVariableName = $name;
  49323. _this._async_environment$_lastVariableIndex = index;
  49324. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49325. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49326. },
  49327. setVariable$4$global($name, value, nodeWithSpan, global) {
  49328. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49329. },
  49330. setLocalVariable$3($name, value, nodeWithSpan) {
  49331. var index, _this = this,
  49332. t1 = _this._async_environment$_variables,
  49333. t2 = t1.length;
  49334. _this._async_environment$_lastVariableName = $name;
  49335. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49336. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49337. t1[index].$indexSet(0, $name, value);
  49338. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49339. },
  49340. getFunction$2$namespace($name, namespace) {
  49341. var t1, _0_0, _1_0, _this = this;
  49342. if (namespace != null) {
  49343. t1 = _this._async_environment$_getModule$1(namespace);
  49344. return t1.get$functions(t1).$index(0, $name);
  49345. }
  49346. t1 = _this._async_environment$_functionIndices;
  49347. _0_0 = t1.$index(0, $name);
  49348. if (_0_0 != null) {
  49349. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49350. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49351. } else {
  49352. _1_0 = _this._async_environment$_functionIndex$1($name);
  49353. if (_1_0 != null) {
  49354. t1.$indexSet(0, $name, _1_0);
  49355. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49356. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49357. } else
  49358. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49359. }
  49360. },
  49361. getFunction$1($name) {
  49362. return this.getFunction$2$namespace($name, null);
  49363. },
  49364. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49365. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49366. },
  49367. _async_environment$_functionIndex$1($name) {
  49368. var t1, i;
  49369. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49370. if (t1[i].containsKey$1($name))
  49371. return i;
  49372. return null;
  49373. },
  49374. getMixin$2$namespace($name, namespace) {
  49375. var t1, _0_0, _1_0, _this = this;
  49376. if (namespace != null)
  49377. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49378. t1 = _this._async_environment$_mixinIndices;
  49379. _0_0 = t1.$index(0, $name);
  49380. if (_0_0 != null) {
  49381. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49382. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49383. } else {
  49384. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49385. if (_1_0 != null) {
  49386. t1.$indexSet(0, $name, _1_0);
  49387. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49388. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49389. } else
  49390. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49391. }
  49392. },
  49393. _async_environment$_getMixinFromGlobalModule$1($name) {
  49394. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49395. },
  49396. _async_environment$_mixinIndex$1($name) {
  49397. var t1, i;
  49398. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49399. if (t1[i].containsKey$1($name))
  49400. return i;
  49401. return null;
  49402. },
  49403. withContent$2($content, callback) {
  49404. return this.withContent$body$AsyncEnvironment($content, callback);
  49405. },
  49406. withContent$body$AsyncEnvironment($content, callback) {
  49407. var $async$goto = 0,
  49408. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49409. $async$self = this, oldContent;
  49410. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49411. if ($async$errorCode === 1)
  49412. return A._asyncRethrow($async$result, $async$completer);
  49413. while (true)
  49414. switch ($async$goto) {
  49415. case 0:
  49416. // Function start
  49417. oldContent = $async$self._async_environment$_content;
  49418. $async$self._async_environment$_content = $content;
  49419. $async$goto = 2;
  49420. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49421. case 2:
  49422. // returning from await.
  49423. $async$self._async_environment$_content = oldContent;
  49424. // implicit return
  49425. return A._asyncReturn(null, $async$completer);
  49426. }
  49427. });
  49428. return A._asyncStartSync($async$withContent$2, $async$completer);
  49429. },
  49430. asMixin$1(callback) {
  49431. var $async$goto = 0,
  49432. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49433. $async$self = this, oldInMixin;
  49434. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49435. if ($async$errorCode === 1)
  49436. return A._asyncRethrow($async$result, $async$completer);
  49437. while (true)
  49438. switch ($async$goto) {
  49439. case 0:
  49440. // Function start
  49441. oldInMixin = $async$self._async_environment$_inMixin;
  49442. $async$self._async_environment$_inMixin = true;
  49443. $async$goto = 2;
  49444. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49445. case 2:
  49446. // returning from await.
  49447. $async$self._async_environment$_inMixin = oldInMixin;
  49448. // implicit return
  49449. return A._asyncReturn(null, $async$completer);
  49450. }
  49451. });
  49452. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49453. },
  49454. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49455. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49456. },
  49457. scope$1$1(callback, $T) {
  49458. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49459. },
  49460. scope$1$2$when(callback, when, $T) {
  49461. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49462. },
  49463. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49464. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49465. },
  49466. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49467. var $async$goto = 0,
  49468. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49469. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49470. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49471. if ($async$errorCode === 1) {
  49472. $async$errorStack.push($async$result);
  49473. $async$goto = $async$handler;
  49474. }
  49475. while (true)
  49476. switch ($async$goto) {
  49477. case 0:
  49478. // Function start
  49479. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49480. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49481. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49482. $async$goto = !when ? 3 : 4;
  49483. break;
  49484. case 3:
  49485. // then
  49486. $async$handler = 5;
  49487. $async$goto = 8;
  49488. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49489. case 8:
  49490. // returning from await.
  49491. t1 = $async$result;
  49492. $async$returnValue = t1;
  49493. $async$next = [1];
  49494. // goto finally
  49495. $async$goto = 6;
  49496. break;
  49497. $async$next.push(7);
  49498. // goto finally
  49499. $async$goto = 6;
  49500. break;
  49501. case 5:
  49502. // uncaught
  49503. $async$next = [2];
  49504. case 6:
  49505. // finally
  49506. $async$handler = 2;
  49507. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49508. // goto the next finally handler
  49509. $async$goto = $async$next.pop();
  49510. break;
  49511. case 7:
  49512. // after finally
  49513. case 4:
  49514. // join
  49515. t1 = $async$self._async_environment$_variables;
  49516. t2 = type$.String;
  49517. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49518. t3 = $async$self._async_environment$_variableNodes;
  49519. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49520. t4 = $async$self._async_environment$_functions;
  49521. t5 = type$.AsyncCallable;
  49522. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49523. t6 = $async$self._async_environment$_mixins;
  49524. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49525. t5 = $async$self._async_environment$_nestedForwardedModules;
  49526. if (t5 != null)
  49527. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49528. $async$handler = 9;
  49529. $async$goto = 12;
  49530. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49531. case 12:
  49532. // returning from await.
  49533. t2 = $async$result;
  49534. $async$returnValue = t2;
  49535. $async$next = [1];
  49536. // goto finally
  49537. $async$goto = 10;
  49538. break;
  49539. $async$next.push(11);
  49540. // goto finally
  49541. $async$goto = 10;
  49542. break;
  49543. case 9:
  49544. // uncaught
  49545. $async$next = [2];
  49546. case 10:
  49547. // finally
  49548. $async$handler = 2;
  49549. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49550. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49551. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_variableIndices; t1.moveNext$0();) {
  49552. $name = t1.get$current(t1);
  49553. t2.remove$1(0, $name);
  49554. }
  49555. B.JSArray_methods.removeLast$0(t3);
  49556. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_functionIndices; t1.moveNext$0();) {
  49557. name0 = t1.get$current(t1);
  49558. t2.remove$1(0, name0);
  49559. }
  49560. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment$_mixinIndices; t1.moveNext$0();) {
  49561. name1 = t1.get$current(t1);
  49562. t2.remove$1(0, name1);
  49563. }
  49564. t1 = $async$self._async_environment$_nestedForwardedModules;
  49565. if (t1 != null)
  49566. t1.pop();
  49567. // goto the next finally handler
  49568. $async$goto = $async$next.pop();
  49569. break;
  49570. case 11:
  49571. // after finally
  49572. case 1:
  49573. // return
  49574. return A._asyncReturn($async$returnValue, $async$completer);
  49575. case 2:
  49576. // rethrow
  49577. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49578. }
  49579. });
  49580. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49581. },
  49582. toImplicitConfiguration$0() {
  49583. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  49584. t1 = type$.String,
  49585. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49586. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49587. values = t2[i];
  49588. nodes = t4[i];
  49589. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49590. t6 = t5.get$current(t5);
  49591. $name = t6._0;
  49592. value = t6._1;
  49593. t6 = nodes.$index(0, $name);
  49594. t6.toString;
  49595. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49596. }
  49597. }
  49598. return new A.Configuration(configuration, null);
  49599. },
  49600. toModule$3(css, preModuleComments, extensionStore) {
  49601. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49602. },
  49603. toDummyModule$0() {
  49604. 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()));
  49605. },
  49606. _async_environment$_getModule$1(namespace) {
  49607. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49608. if (_0_0 != null)
  49609. return _0_0;
  49610. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49611. },
  49612. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49613. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49614. _0_0 = this._async_environment$_nestedForwardedModules;
  49615. if (_0_0 != null)
  49616. 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();) {
  49617. t3 = t2.__internal$_current;
  49618. 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();) {
  49619. t5 = t3.__internal$_current;
  49620. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49621. if (_1_0 != null)
  49622. return _1_0;
  49623. }
  49624. }
  49625. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  49626. _2_0 = callback.call$1(t1.__js_helper$_current);
  49627. if (_2_0 != null)
  49628. return _2_0;
  49629. }
  49630. 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();) {
  49631. t4 = t2.__js_helper$_current;
  49632. valueInModule = callback.call$1(t4);
  49633. if (valueInModule == null)
  49634. continue;
  49635. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49636. if (identityFromModule.$eq(0, identity))
  49637. continue;
  49638. if (value != null) {
  49639. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49640. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49641. t1 = t3.get$current(t3);
  49642. module = t1._0;
  49643. node = t1._1;
  49644. if (callback.call$1(module) != null)
  49645. t2.$indexSet(0, node.get$span(node), t4);
  49646. }
  49647. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49648. }
  49649. identity = identityFromModule;
  49650. value = valueInModule;
  49651. }
  49652. return value;
  49653. },
  49654. _async_environment$_fromOneModule$3($name, type, callback) {
  49655. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49656. }
  49657. };
  49658. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49659. call$1(module) {
  49660. return module.get$variables().$index(0, this.name);
  49661. },
  49662. $signature: 397
  49663. };
  49664. A.AsyncEnvironment_setVariable_closure.prototype = {
  49665. call$0() {
  49666. var t1 = this.$this;
  49667. t1._async_environment$_lastVariableName = this.name;
  49668. return t1._async_environment$_lastVariableIndex = 0;
  49669. },
  49670. $signature: 10
  49671. };
  49672. A.AsyncEnvironment_setVariable_closure0.prototype = {
  49673. call$1(module) {
  49674. return module.get$variables().containsKey$1(this.name) ? module : null;
  49675. },
  49676. $signature: 412
  49677. };
  49678. A.AsyncEnvironment_setVariable_closure1.prototype = {
  49679. call$0() {
  49680. var t1 = this.$this,
  49681. t2 = t1._async_environment$_variableIndex$1(this.name);
  49682. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  49683. },
  49684. $signature: 10
  49685. };
  49686. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  49687. call$1(module) {
  49688. return module.get$functions(module).$index(0, this.name);
  49689. },
  49690. $signature: 173
  49691. };
  49692. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  49693. call$1(module) {
  49694. return module.get$mixins().$index(0, this.name);
  49695. },
  49696. $signature: 173
  49697. };
  49698. A.AsyncEnvironment_toModule_closure.prototype = {
  49699. call$1(modules) {
  49700. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49701. },
  49702. $signature: 175
  49703. };
  49704. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  49705. call$1(modules) {
  49706. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49707. },
  49708. $signature: 175
  49709. };
  49710. A._EnvironmentModule0.prototype = {
  49711. get$url(_) {
  49712. var t1 = this.css;
  49713. t1 = t1.get$span(t1);
  49714. return t1.get$sourceUrl(t1);
  49715. },
  49716. setVariable$3($name, value, nodeWithSpan) {
  49717. var t1, t2,
  49718. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  49719. if (_0_0 != null) {
  49720. _0_0.setVariable$3($name, value, nodeWithSpan);
  49721. return;
  49722. }
  49723. t1 = this._async_environment$_environment;
  49724. t2 = t1._async_environment$_variables;
  49725. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  49726. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  49727. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  49728. B.JSArray_methods.get$first(t1._async_environment$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  49729. return;
  49730. },
  49731. variableIdentity$1($name) {
  49732. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  49733. return module == null ? this : module.variableIdentity$1($name);
  49734. },
  49735. couldHaveBeenConfigured$1(variables) {
  49736. var t2, t3, _0_0, variable, module,
  49737. t1 = this._async_environment$_environment._async_environment$_configurableVariables;
  49738. 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)))) {
  49739. t1 = this._async_environment$_modulesByVariable;
  49740. t2 = type$.Module_AsyncCallable;
  49741. if (variables.get$length(variables) < t1.get$length(t1)) {
  49742. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  49743. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  49744. _0_0 = t1.$index(0, t3.get$current(t3));
  49745. if (_0_0 != null)
  49746. t2.add$1(0, _0_0);
  49747. }
  49748. t1 = t2;
  49749. } else {
  49750. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  49751. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  49752. t2 = t1.get$current(t1);
  49753. variable = t2._0;
  49754. module = t2._1;
  49755. if (variables.contains$1(0, variable))
  49756. t3.add$1(0, module);
  49757. }
  49758. t1 = t3;
  49759. }
  49760. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure0(variables));
  49761. } else
  49762. t1 = true;
  49763. return t1;
  49764. },
  49765. cloneCss$0() {
  49766. var _0_0, _this = this;
  49767. if (!_this.transitivelyContainsCss)
  49768. return _this;
  49769. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  49770. 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);
  49771. },
  49772. toString$0(_) {
  49773. var t1 = this.css,
  49774. t2 = t1.get$span(t1);
  49775. if (t2.get$sourceUrl(t2) == null)
  49776. t1 = "<unknown url>";
  49777. else {
  49778. t1 = t1.get$span(t1);
  49779. t1 = t1.get$sourceUrl(t1);
  49780. t2 = $.$get$context();
  49781. t1.toString;
  49782. t1 = t2.prettyUri$1(t1);
  49783. }
  49784. return t1;
  49785. },
  49786. $isModule0: 1,
  49787. get$upstream() {
  49788. return this.upstream;
  49789. },
  49790. get$variables() {
  49791. return this.variables;
  49792. },
  49793. get$variableNodes() {
  49794. return this.variableNodes;
  49795. },
  49796. get$functions(receiver) {
  49797. return this.functions;
  49798. },
  49799. get$mixins() {
  49800. return this.mixins;
  49801. },
  49802. get$extensionStore() {
  49803. return this.extensionStore;
  49804. },
  49805. get$css(receiver) {
  49806. return this.css;
  49807. },
  49808. get$preModuleComments() {
  49809. return this.preModuleComments;
  49810. },
  49811. get$transitivelyContainsCss() {
  49812. return this.transitivelyContainsCss;
  49813. },
  49814. get$transitivelyContainsExtensions() {
  49815. return this.transitivelyContainsExtensions;
  49816. }
  49817. };
  49818. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  49819. call$1(module) {
  49820. return module.get$variables();
  49821. },
  49822. $signature: 439
  49823. };
  49824. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  49825. call$1(module) {
  49826. return module.get$variableNodes();
  49827. },
  49828. $signature: 443
  49829. };
  49830. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  49831. call$1(module) {
  49832. return module.get$functions(module);
  49833. },
  49834. $signature: 180
  49835. };
  49836. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  49837. call$1(module) {
  49838. return module.get$mixins();
  49839. },
  49840. $signature: 180
  49841. };
  49842. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  49843. call$1(module) {
  49844. return module.get$transitivelyContainsCss();
  49845. },
  49846. $signature: 103
  49847. };
  49848. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  49849. call$1(module) {
  49850. return module.get$transitivelyContainsExtensions();
  49851. },
  49852. $signature: 103
  49853. };
  49854. A._EnvironmentModule_couldHaveBeenConfigured_closure0.prototype = {
  49855. call$1(module) {
  49856. return module.couldHaveBeenConfigured$1(this.variables);
  49857. },
  49858. $signature: 103
  49859. };
  49860. A.AsyncImportCache.prototype = {
  49861. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  49862. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  49863. },
  49864. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  49865. var $async$goto = 0,
  49866. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  49867. $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;
  49868. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49869. if ($async$errorCode === 1)
  49870. return A._asyncRethrow($async$result, $async$completer);
  49871. while (true)
  49872. switch ($async$goto) {
  49873. case 0:
  49874. // Function start
  49875. if (A.isBrowser())
  49876. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  49877. else
  49878. t1 = false;
  49879. if (t1)
  49880. throw A.wrapException(string$.Custom);
  49881. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  49882. break;
  49883. case 3:
  49884. // then
  49885. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  49886. if (resolvedUrl == null)
  49887. resolvedUrl = url;
  49888. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  49889. $async$goto = 5;
  49890. 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);
  49891. case 5:
  49892. // returning from await.
  49893. relativeResult = $async$result;
  49894. if (relativeResult != null) {
  49895. $async$returnValue = relativeResult;
  49896. // goto return
  49897. $async$goto = 1;
  49898. break;
  49899. }
  49900. case 4:
  49901. // join
  49902. key = new A._Record_2_forImport(url, forImport);
  49903. t1 = $async$self._async_import_cache$_canonicalizeCache;
  49904. if (t1.containsKey$1(key)) {
  49905. $async$returnValue = t1.$index(0, key);
  49906. // goto return
  49907. $async$goto = 1;
  49908. break;
  49909. }
  49910. 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;
  49911. case 6:
  49912. // for condition
  49913. if (!(i < t2.length)) {
  49914. // goto after for
  49915. $async$goto = 8;
  49916. break;
  49917. }
  49918. importer = t2[i];
  49919. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  49920. if (t4.containsKey$1(perImporterKey)) {
  49921. t7 = t4.$index(0, perImporterKey);
  49922. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  49923. } else
  49924. _1_0 = null;
  49925. _1_2_isSet = t3._is(_1_0);
  49926. result = null;
  49927. if (_1_2_isSet) {
  49928. _1_2 = _1_0._0;
  49929. t7 = _1_2 != null;
  49930. if (t7) {
  49931. t6._as(_1_2);
  49932. result = _1_2;
  49933. }
  49934. } else {
  49935. _1_2 = null;
  49936. t7 = false;
  49937. }
  49938. if (t7) {
  49939. $async$returnValue = result;
  49940. // goto return
  49941. $async$goto = 1;
  49942. break;
  49943. }
  49944. if (_1_2_isSet)
  49945. t7 = _1_2 == null;
  49946. else
  49947. t7 = false;
  49948. if (t7) {
  49949. // goto for update
  49950. $async$goto = 7;
  49951. break;
  49952. }
  49953. $async$goto = 10;
  49954. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  49955. case 10:
  49956. // returning from await.
  49957. _2_0 = $async$result;
  49958. _2_1 = _2_0._0;
  49959. _2_5_isSet = _2_1 != null;
  49960. _2_5 = null;
  49961. _2_3 = null;
  49962. t7 = false;
  49963. if (_2_5_isSet) {
  49964. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  49965. _2_3 = _2_0._1;
  49966. t7 = _2_3;
  49967. _2_5 = t7;
  49968. t7 = t7 && cacheable;
  49969. } else
  49970. result = null;
  49971. if (t7) {
  49972. t1.$indexSet(0, key, result);
  49973. $async$returnValue = result;
  49974. // goto return
  49975. $async$goto = 1;
  49976. break;
  49977. }
  49978. if (_2_5_isSet) {
  49979. t7 = _2_5;
  49980. _2_3_isSet = _2_5_isSet;
  49981. } else {
  49982. _2_3 = _2_0._1;
  49983. t7 = _2_3;
  49984. _2_3_isSet = true;
  49985. }
  49986. t7 = t7 && !cacheable;
  49987. if (t7) {
  49988. t4.$indexSet(0, perImporterKey, _2_1);
  49989. if (_2_1 != null) {
  49990. $async$returnValue = _2_1;
  49991. // goto return
  49992. $async$goto = 1;
  49993. break;
  49994. }
  49995. // goto break $label0$1
  49996. $async$goto = 9;
  49997. break;
  49998. }
  49999. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  50000. if (t7) {
  50001. if (cacheable) {
  50002. for (j = 0; j < i; ++j)
  50003. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50004. cacheable = false;
  50005. }
  50006. if (_2_1 != null) {
  50007. $async$returnValue = _2_1;
  50008. // goto return
  50009. $async$goto = 1;
  50010. break;
  50011. }
  50012. }
  50013. case 9:
  50014. // break $label0$1
  50015. case 7:
  50016. // for update
  50017. ++i;
  50018. // goto for condition
  50019. $async$goto = 6;
  50020. break;
  50021. case 8:
  50022. // after for
  50023. if (cacheable)
  50024. t1.$indexSet(0, key, null);
  50025. $async$returnValue = null;
  50026. // goto return
  50027. $async$goto = 1;
  50028. break;
  50029. case 1:
  50030. // return
  50031. return A._asyncReturn($async$returnValue, $async$completer);
  50032. }
  50033. });
  50034. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50035. },
  50036. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50037. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50038. },
  50039. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50040. var $async$goto = 0,
  50041. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50042. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50043. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50044. if ($async$errorCode === 1)
  50045. return A._asyncRethrow($async$result, $async$completer);
  50046. while (true)
  50047. switch ($async$goto) {
  50048. case 0:
  50049. // Function start
  50050. $async$goto = baseUrl != null ? 3 : 5;
  50051. break;
  50052. case 3:
  50053. // then
  50054. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50055. break;
  50056. case 6:
  50057. // then
  50058. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50059. $async$goto = 9;
  50060. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50061. case 9:
  50062. // returning from await.
  50063. t1 = $async$result;
  50064. passContainingUrl = t1;
  50065. // goto join
  50066. $async$goto = 7;
  50067. break;
  50068. case 8:
  50069. // else
  50070. passContainingUrl = true;
  50071. case 7:
  50072. // join
  50073. // goto join
  50074. $async$goto = 4;
  50075. break;
  50076. case 5:
  50077. // else
  50078. passContainingUrl = false;
  50079. case 4:
  50080. // join
  50081. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50082. t1 = type$.nullable_Object;
  50083. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50084. $async$goto = 10;
  50085. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50086. case 10:
  50087. // returning from await.
  50088. result = $async$result;
  50089. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50090. if (result == null) {
  50091. $async$returnValue = new A._Record_2(null, cacheable);
  50092. // goto return
  50093. $async$goto = 1;
  50094. break;
  50095. }
  50096. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50097. break;
  50098. case 11:
  50099. // then
  50100. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50101. $async$goto = 14;
  50102. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50103. case 14:
  50104. // returning from await.
  50105. t1 = $async$result;
  50106. // goto join
  50107. $async$goto = 12;
  50108. break;
  50109. case 13:
  50110. // else
  50111. t1 = false;
  50112. case 12:
  50113. // join
  50114. if (t1)
  50115. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50116. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50117. // goto return
  50118. $async$goto = 1;
  50119. break;
  50120. case 1:
  50121. // return
  50122. return A._asyncReturn($async$returnValue, $async$completer);
  50123. }
  50124. });
  50125. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50126. },
  50127. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50128. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50129. },
  50130. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50131. var $async$goto = 0,
  50132. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50133. $async$returnValue, $async$self = this;
  50134. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50135. if ($async$errorCode === 1)
  50136. return A._asyncRethrow($async$result, $async$completer);
  50137. while (true)
  50138. switch ($async$goto) {
  50139. case 0:
  50140. // Function start
  50141. $async$goto = 3;
  50142. 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);
  50143. case 3:
  50144. // returning from await.
  50145. $async$returnValue = $async$result;
  50146. // goto return
  50147. $async$goto = 1;
  50148. break;
  50149. case 1:
  50150. // return
  50151. return A._asyncReturn($async$returnValue, $async$completer);
  50152. }
  50153. });
  50154. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50155. },
  50156. humanize$1(canonicalUrl) {
  50157. var t1 = this._async_import_cache$_canonicalizeCache,
  50158. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50159. 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));
  50160. return t2 == null ? canonicalUrl : t2;
  50161. },
  50162. sourceMapUrl$1(_, canonicalUrl) {
  50163. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50164. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50165. return t1 == null ? canonicalUrl : t1;
  50166. }
  50167. };
  50168. A.AsyncImportCache_canonicalize_closure.prototype = {
  50169. call$0() {
  50170. var $async$goto = 0,
  50171. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50172. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50173. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50174. if ($async$errorCode === 1)
  50175. return A._asyncRethrow($async$result, $async$completer);
  50176. while (true)
  50177. switch ($async$goto) {
  50178. case 0:
  50179. // Function start
  50180. t1 = $async$self.$this;
  50181. t2 = $async$self.baseUrl;
  50182. $async$goto = 3;
  50183. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50184. case 3:
  50185. // returning from await.
  50186. _0_0 = $async$result;
  50187. result = _0_0._0;
  50188. _0_0._1;
  50189. if (t2 != null)
  50190. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50191. $async$returnValue = result;
  50192. // goto return
  50193. $async$goto = 1;
  50194. break;
  50195. case 1:
  50196. // return
  50197. return A._asyncReturn($async$returnValue, $async$completer);
  50198. }
  50199. });
  50200. return A._asyncStartSync($async$call$0, $async$completer);
  50201. },
  50202. $signature: 468
  50203. };
  50204. A.AsyncImportCache__canonicalize_closure.prototype = {
  50205. call$0() {
  50206. return this.importer.canonicalize$1(0, this.url);
  50207. },
  50208. $signature: 182
  50209. };
  50210. A.AsyncImportCache_importCanonical_closure.prototype = {
  50211. call$0() {
  50212. var $async$goto = 0,
  50213. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50214. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50215. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50216. if ($async$errorCode === 1)
  50217. return A._asyncRethrow($async$result, $async$completer);
  50218. while (true)
  50219. switch ($async$goto) {
  50220. case 0:
  50221. // Function start
  50222. t1 = Date.now();
  50223. t2 = $async$self.canonicalUrl;
  50224. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50225. $async$goto = 3;
  50226. return A._asyncAwait(t3, $async$call$0);
  50227. case 3:
  50228. // returning from await.
  50229. result = $async$result;
  50230. if (result == null) {
  50231. $async$returnValue = null;
  50232. // goto return
  50233. $async$goto = 1;
  50234. break;
  50235. }
  50236. t3 = $async$self.$this;
  50237. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50238. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50239. t3 = result.contents;
  50240. t1 = result.syntax;
  50241. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50242. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50243. // goto return
  50244. $async$goto = 1;
  50245. break;
  50246. case 1:
  50247. // return
  50248. return A._asyncReturn($async$returnValue, $async$completer);
  50249. }
  50250. });
  50251. return A._asyncStartSync($async$call$0, $async$completer);
  50252. },
  50253. $signature: 487
  50254. };
  50255. A.AsyncImportCache_humanize_closure.prototype = {
  50256. call$1(result) {
  50257. return result._1.$eq(0, this.canonicalUrl);
  50258. },
  50259. $signature: 507
  50260. };
  50261. A.AsyncImportCache_humanize_closure0.prototype = {
  50262. call$1(result) {
  50263. return result._2;
  50264. },
  50265. $signature: 509
  50266. };
  50267. A.AsyncImportCache_humanize_closure1.prototype = {
  50268. call$1(url) {
  50269. return url.get$path(url).length;
  50270. },
  50271. $signature: 102
  50272. };
  50273. A.AsyncImportCache_humanize_closure2.prototype = {
  50274. call$1(url) {
  50275. var t1 = $.$get$url(),
  50276. t2 = this.canonicalUrl;
  50277. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50278. },
  50279. $signature: 48
  50280. };
  50281. A.AsyncBuiltInCallable.prototype = {
  50282. callbackFor$2(positional, names) {
  50283. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50284. },
  50285. withDeprecationWarning$1(module) {
  50286. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50287. },
  50288. $isAsyncCallable: 1,
  50289. get$name(receiver) {
  50290. return this.name;
  50291. },
  50292. get$acceptsContent() {
  50293. return this.acceptsContent;
  50294. }
  50295. };
  50296. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50297. call$1($arguments) {
  50298. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50299. },
  50300. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50301. var $async$goto = 0,
  50302. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50303. $async$returnValue, $async$self = this, t1;
  50304. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50305. if ($async$errorCode === 1)
  50306. return A._asyncRethrow($async$result, $async$completer);
  50307. while (true)
  50308. switch ($async$goto) {
  50309. case 0:
  50310. // Function start
  50311. t1 = $async$self.callback.call$1($arguments);
  50312. $async$goto = 3;
  50313. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50314. case 3:
  50315. // returning from await.
  50316. $async$returnValue = B.C__SassNull;
  50317. // goto return
  50318. $async$goto = 1;
  50319. break;
  50320. case 1:
  50321. // return
  50322. return A._asyncReturn($async$returnValue, $async$completer);
  50323. }
  50324. });
  50325. return A._asyncStartSync($async$call$1, $async$completer);
  50326. },
  50327. $signature: 187
  50328. };
  50329. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50330. call$1(args) {
  50331. var t1 = this.$this;
  50332. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_1AX);
  50333. return t1._async_built_in$_callback.call$1(args);
  50334. },
  50335. $signature: 568
  50336. };
  50337. A.BuiltInCallable.prototype = {
  50338. callbackFor$2(positional, names) {
  50339. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50340. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50341. overload = t1[_i];
  50342. t3 = overload._0;
  50343. if (t3.matches$2(positional, names))
  50344. return overload;
  50345. mismatchDistance = t3.parameters.length - positional;
  50346. if (minMismatchDistance != null) {
  50347. t3 = Math.abs(mismatchDistance);
  50348. t4 = Math.abs(minMismatchDistance);
  50349. if (t3 > t4)
  50350. continue;
  50351. if (t3 === t4 && mismatchDistance < 0)
  50352. continue;
  50353. }
  50354. minMismatchDistance = mismatchDistance;
  50355. fuzzyMatch = overload;
  50356. }
  50357. if (fuzzyMatch != null)
  50358. return fuzzyMatch;
  50359. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50360. },
  50361. withName$1($name) {
  50362. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50363. },
  50364. withDeprecationWarning$2(module, newName) {
  50365. var t2, t3, _i, t4, t5, _this = this,
  50366. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50367. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50368. t4 = {};
  50369. t5 = t2[_i];
  50370. t4.$function = null;
  50371. t4.$function = t5._1;
  50372. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50373. }
  50374. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50375. },
  50376. withDeprecationWarning$1(module) {
  50377. return this.withDeprecationWarning$2(module, null);
  50378. },
  50379. $isCallable0: 1,
  50380. $isAsyncCallable: 1,
  50381. $isAsyncBuiltInCallable: 1,
  50382. get$name(receiver) {
  50383. return this.name;
  50384. },
  50385. get$acceptsContent() {
  50386. return this.acceptsContent;
  50387. }
  50388. };
  50389. A.BuiltInCallable$mixin_closure.prototype = {
  50390. call$1($arguments) {
  50391. this.callback.call$1($arguments);
  50392. return B.C__SassNull;
  50393. },
  50394. $signature: 4
  50395. };
  50396. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50397. call$1(args) {
  50398. var _this = this,
  50399. t1 = _this.newName;
  50400. if (t1 == null)
  50401. t1 = _this.$this.name;
  50402. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_1AX);
  50403. return _this._box_0.$function.call$1(args);
  50404. },
  50405. $signature: 4
  50406. };
  50407. A.PlainCssCallable.prototype = {
  50408. $eq(_, other) {
  50409. if (other == null)
  50410. return false;
  50411. return other instanceof A.PlainCssCallable && this.name === other.name;
  50412. },
  50413. get$hashCode(_) {
  50414. return B.JSString_methods.get$hashCode(this.name);
  50415. },
  50416. $isCallable0: 1,
  50417. $isAsyncCallable: 1,
  50418. get$name(receiver) {
  50419. return this.name;
  50420. }
  50421. };
  50422. A.UserDefinedCallable.prototype = {
  50423. get$name(_) {
  50424. return this.declaration.name;
  50425. },
  50426. $isCallable0: 1,
  50427. $isAsyncCallable: 1
  50428. };
  50429. A._compileStylesheet_closure.prototype = {
  50430. call$1(url) {
  50431. var t1;
  50432. if (url === "") {
  50433. t1 = this.stylesheet.span;
  50434. 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();
  50435. } else
  50436. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50437. return t1;
  50438. },
  50439. $signature: 6
  50440. };
  50441. A.CompileResult.prototype = {};
  50442. A.Configuration.prototype = {
  50443. throughForward$1($forward) {
  50444. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50445. newValues = this._configuration$_values;
  50446. if (newValues.get$isEmpty(newValues))
  50447. return this;
  50448. _0_0 = $forward.prefix;
  50449. if (_0_0 != null)
  50450. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50451. _1_0 = $forward.shownVariables;
  50452. if (_1_0 != null)
  50453. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50454. else {
  50455. _2_0 = $forward.hiddenVariables;
  50456. if (_2_0 != null) {
  50457. t1 = _2_0._base.get$isNotEmpty(0);
  50458. hiddenVariables = _2_0;
  50459. } else {
  50460. hiddenVariables = null;
  50461. t1 = false;
  50462. }
  50463. if (t1)
  50464. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50465. }
  50466. return this._withValues$1(newValues);
  50467. },
  50468. _withValues$1(values) {
  50469. var t1 = this.__originalConfiguration;
  50470. return new A.Configuration(values, t1 == null ? this : t1);
  50471. },
  50472. toString$0(_) {
  50473. var t2, t3,
  50474. t1 = A._setArrayType([], type$.JSArray_String);
  50475. 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();) {
  50476. t3 = t2.get$current(t2);
  50477. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50478. }
  50479. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50480. }
  50481. };
  50482. A.ExplicitConfiguration.prototype = {
  50483. _withValues$1(values) {
  50484. var t1 = this.__originalConfiguration;
  50485. if (t1 == null)
  50486. t1 = this;
  50487. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50488. }
  50489. };
  50490. A.ConfiguredValue.prototype = {
  50491. toString$0(_) {
  50492. return this.value.toString$0(0);
  50493. }
  50494. };
  50495. A.Deprecation.prototype = {
  50496. _enumToString$0() {
  50497. return "Deprecation." + this._name;
  50498. },
  50499. toString$0(_) {
  50500. return this.id;
  50501. }
  50502. };
  50503. A.Deprecation_fromId_closure.prototype = {
  50504. call$1(deprecation) {
  50505. return deprecation.id === this.id;
  50506. },
  50507. $signature: 648
  50508. };
  50509. A.Environment.prototype = {
  50510. closure$0() {
  50511. var t4, t5, t6, _this = this,
  50512. t1 = _this._forwardedModules,
  50513. t2 = _this._nestedForwardedModules,
  50514. t3 = _this._variables;
  50515. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50516. t4 = _this._variableNodes;
  50517. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50518. t5 = _this._functions;
  50519. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50520. t6 = _this._mixins;
  50521. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50522. 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);
  50523. },
  50524. forwardModule$2(module, rule) {
  50525. var view, t1, t2, _this = this,
  50526. forwardedModules = _this._forwardedModules;
  50527. if (forwardedModules == null)
  50528. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50529. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50530. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  50531. t2 = t1.__js_helper$_current;
  50532. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50533. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50534. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50535. }
  50536. _this._allModules.push(module);
  50537. forwardedModules.$indexSet(0, view, rule);
  50538. },
  50539. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50540. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50541. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50542. larger = oldMembers;
  50543. smaller = newMembers;
  50544. } else {
  50545. larger = newMembers;
  50546. smaller = oldMembers;
  50547. }
  50548. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50549. t4 = t2.get$current(t2);
  50550. $name = t4._0;
  50551. small = t4._1;
  50552. large = larger.$index(0, $name);
  50553. if (large == null)
  50554. continue;
  50555. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50556. continue;
  50557. if (t3)
  50558. $name = "$" + $name;
  50559. t2 = this._forwardedModules;
  50560. if (t2 == null)
  50561. span = null;
  50562. else {
  50563. t2 = t2.$index(0, oldModule);
  50564. span = t2 == null ? null : t2.get$span(t2);
  50565. }
  50566. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50567. if (span != null)
  50568. t2.$indexSet(0, span, "original @forward");
  50569. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50570. }
  50571. },
  50572. importForwards$1(module) {
  50573. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50574. forwarded = module._environment$_environment._forwardedModules;
  50575. if (forwarded == null)
  50576. return;
  50577. forwardedModules = _this._forwardedModules;
  50578. if (forwardedModules != null) {
  50579. t1 = type$.Module_Callable;
  50580. t2 = type$.AstNode;
  50581. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50582. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50583. t4 = t1.get$current(t1);
  50584. module = t4._0;
  50585. node = t4._1;
  50586. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50587. t3.$indexSet(0, module, node);
  50588. }
  50589. forwarded = t3;
  50590. } else
  50591. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50592. t1 = type$.String;
  50593. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50594. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  50595. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  50596. t2.add$1(0, t4.get$current(t4));
  50597. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50598. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  50599. t5 = t4.__js_helper$_current;
  50600. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  50601. t3.add$1(0, t5.get$current(t5));
  50602. }
  50603. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50604. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  50605. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  50606. t1.add$1(0, t5.get$current(t5));
  50607. t4 = _this._variables;
  50608. t5 = t4.length;
  50609. if (t5 === 1) {
  50610. 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) {
  50611. t11 = t8[_i];
  50612. module = t11._0;
  50613. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50614. if (shadowed != null) {
  50615. t5.remove$1(0, module);
  50616. t12 = shadowed.variables;
  50617. t13 = false;
  50618. if (t12.get$isEmpty(t12)) {
  50619. t12 = shadowed.functions;
  50620. if (t12.get$isEmpty(t12)) {
  50621. t12 = shadowed.mixins;
  50622. if (t12.get$isEmpty(t12)) {
  50623. t12 = shadowed._shadowed_view$_inner;
  50624. t12 = t12.get$css(t12);
  50625. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50626. } else
  50627. t12 = t13;
  50628. } else
  50629. t12 = t13;
  50630. } else
  50631. t12 = t13;
  50632. if (!t12)
  50633. t5.$indexSet(0, shadowed, t11._1);
  50634. }
  50635. }
  50636. 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) {
  50637. t8 = t6[_i];
  50638. module = t8._0;
  50639. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50640. if (shadowed != null) {
  50641. forwardedModules.remove$1(0, module);
  50642. t9 = shadowed.variables;
  50643. t11 = false;
  50644. if (t9.get$isEmpty(t9)) {
  50645. t9 = shadowed.functions;
  50646. if (t9.get$isEmpty(t9)) {
  50647. t9 = shadowed.mixins;
  50648. if (t9.get$isEmpty(t9)) {
  50649. t9 = shadowed._shadowed_view$_inner;
  50650. t9 = t9.get$css(t9);
  50651. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50652. } else
  50653. t9 = t11;
  50654. } else
  50655. t9 = t11;
  50656. } else
  50657. t9 = t11;
  50658. if (!t9)
  50659. forwardedModules.$indexSet(0, shadowed, t8._1);
  50660. }
  50661. }
  50662. t5.addAll$1(0, forwarded);
  50663. forwardedModules.addAll$1(0, forwarded);
  50664. } else {
  50665. t6 = _this._nestedForwardedModules;
  50666. if (t6 == null) {
  50667. _length = t5 - 1;
  50668. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  50669. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  50670. _list[_i] = A._setArrayType([], t5);
  50671. _this._nestedForwardedModules = _list;
  50672. t5 = _list;
  50673. } else
  50674. t5 = t6;
  50675. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  50676. }
  50677. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50678. t8 = t2._collection$_current;
  50679. if (t8 == null)
  50680. t8 = t7._as(t8);
  50681. t5.remove$1(0, t8);
  50682. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  50683. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  50684. }
  50685. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50686. t6 = t2._collection$_current;
  50687. if (t6 == null)
  50688. t6 = t5._as(t6);
  50689. t3.remove$1(0, t6);
  50690. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  50691. }
  50692. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  50693. t5 = t1._collection$_current;
  50694. if (t5 == null)
  50695. t5 = t4._as(t5);
  50696. t2.remove$1(0, t5);
  50697. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  50698. }
  50699. },
  50700. getVariable$2$namespace($name, namespace) {
  50701. var t1, _0_0, _1_0, _this = this;
  50702. if (namespace != null)
  50703. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  50704. if (_this._lastVariableName === $name) {
  50705. t1 = _this._lastVariableIndex;
  50706. t1.toString;
  50707. t1 = _this._variables[t1].$index(0, $name);
  50708. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50709. }
  50710. t1 = _this._variableIndices;
  50711. _0_0 = t1.$index(0, $name);
  50712. if (_0_0 != null) {
  50713. _this._lastVariableName = $name;
  50714. _this._lastVariableIndex = _0_0;
  50715. t1 = _this._variables[_0_0].$index(0, $name);
  50716. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50717. } else {
  50718. _1_0 = _this._variableIndex$1($name);
  50719. if (_1_0 != null) {
  50720. _this._lastVariableName = $name;
  50721. _this._lastVariableIndex = _1_0;
  50722. t1.$indexSet(0, $name, _1_0);
  50723. t1 = _this._variables[_1_0].$index(0, $name);
  50724. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50725. } else
  50726. return _this._getVariableFromGlobalModule$1($name);
  50727. }
  50728. },
  50729. getVariable$1($name) {
  50730. return this.getVariable$2$namespace($name, null);
  50731. },
  50732. _getVariableFromGlobalModule$1($name) {
  50733. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  50734. },
  50735. getVariableNode$2$namespace($name, namespace) {
  50736. var t1, _0_0, _1_0, _this = this;
  50737. if (namespace != null)
  50738. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  50739. if (_this._lastVariableName === $name) {
  50740. t1 = _this._lastVariableIndex;
  50741. t1.toString;
  50742. t1 = _this._variableNodes[t1].$index(0, $name);
  50743. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50744. }
  50745. t1 = _this._variableIndices;
  50746. _0_0 = t1.$index(0, $name);
  50747. if (_0_0 != null) {
  50748. _this._lastVariableName = $name;
  50749. _this._lastVariableIndex = _0_0;
  50750. t1 = _this._variableNodes[_0_0].$index(0, $name);
  50751. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50752. } else {
  50753. _1_0 = _this._variableIndex$1($name);
  50754. if (_1_0 != null) {
  50755. _this._lastVariableName = $name;
  50756. _this._lastVariableIndex = _1_0;
  50757. t1.$indexSet(0, $name, _1_0);
  50758. t1 = _this._variableNodes[_1_0].$index(0, $name);
  50759. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50760. } else
  50761. return _this._getVariableNodeFromGlobalModule$1($name);
  50762. }
  50763. },
  50764. _getVariableNodeFromGlobalModule$1($name) {
  50765. var t1, t2, _0_0;
  50766. 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();) {
  50767. t1 = t2._currentIterator;
  50768. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  50769. if (_0_0 != null)
  50770. return _0_0;
  50771. }
  50772. return null;
  50773. },
  50774. globalVariableExists$2$namespace($name, namespace) {
  50775. if (namespace != null)
  50776. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  50777. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  50778. return true;
  50779. return this._getVariableFromGlobalModule$1($name) != null;
  50780. },
  50781. globalVariableExists$1($name) {
  50782. return this.globalVariableExists$2$namespace($name, null);
  50783. },
  50784. _variableIndex$1($name) {
  50785. var t1, i;
  50786. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  50787. if (t1[i].containsKey$1($name))
  50788. return i;
  50789. return null;
  50790. },
  50791. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  50792. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  50793. if (namespace != null) {
  50794. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  50795. return;
  50796. }
  50797. if (global || _this._variables.length === 1) {
  50798. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  50799. t1 = _this._variables;
  50800. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  50801. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  50802. if (moduleWithName != null) {
  50803. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  50804. return;
  50805. }
  50806. }
  50807. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  50808. B.JSArray_methods.get$first(_this._variableNodes).$indexSet(0, $name, nodeWithSpan);
  50809. return;
  50810. }
  50811. nestedForwardedModules = _this._nestedForwardedModules;
  50812. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  50813. 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();) {
  50814. t3 = t2.__internal$_current;
  50815. 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();) {
  50816. t5 = t3.__internal$_current;
  50817. if (t5 == null)
  50818. t5 = t4._as(t5);
  50819. if (t5.get$variables().containsKey$1($name)) {
  50820. t5.setVariable$3($name, value, nodeWithSpan);
  50821. return;
  50822. }
  50823. }
  50824. }
  50825. if (_this._lastVariableName === $name) {
  50826. t1 = _this._lastVariableIndex;
  50827. t1.toString;
  50828. index = t1;
  50829. } else
  50830. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  50831. if (!_this._inSemiGlobalScope && index === 0) {
  50832. index = _this._variables.length - 1;
  50833. _this._variableIndices.$indexSet(0, $name, index);
  50834. }
  50835. _this._lastVariableName = $name;
  50836. _this._lastVariableIndex = index;
  50837. _this._variables[index].$indexSet(0, $name, value);
  50838. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50839. },
  50840. setVariable$4$global($name, value, nodeWithSpan, global) {
  50841. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  50842. },
  50843. setLocalVariable$3($name, value, nodeWithSpan) {
  50844. var index, _this = this,
  50845. t1 = _this._variables,
  50846. t2 = t1.length;
  50847. _this._lastVariableName = $name;
  50848. index = _this._lastVariableIndex = t2 - 1;
  50849. _this._variableIndices.$indexSet(0, $name, index);
  50850. t1[index].$indexSet(0, $name, value);
  50851. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50852. },
  50853. getFunction$2$namespace($name, namespace) {
  50854. var t1, _0_0, _1_0, _this = this;
  50855. if (namespace != null) {
  50856. t1 = _this._getModule$1(namespace);
  50857. return t1.get$functions(t1).$index(0, $name);
  50858. }
  50859. t1 = _this._functionIndices;
  50860. _0_0 = t1.$index(0, $name);
  50861. if (_0_0 != null) {
  50862. t1 = _this._functions[_0_0].$index(0, $name);
  50863. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50864. } else {
  50865. _1_0 = _this._functionIndex$1($name);
  50866. if (_1_0 != null) {
  50867. t1.$indexSet(0, $name, _1_0);
  50868. t1 = _this._functions[_1_0].$index(0, $name);
  50869. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50870. } else
  50871. return _this._getFunctionFromGlobalModule$1($name);
  50872. }
  50873. },
  50874. getFunction$1($name) {
  50875. return this.getFunction$2$namespace($name, null);
  50876. },
  50877. _getFunctionFromGlobalModule$1($name) {
  50878. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  50879. },
  50880. _functionIndex$1($name) {
  50881. var t1, i;
  50882. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  50883. if (t1[i].containsKey$1($name))
  50884. return i;
  50885. return null;
  50886. },
  50887. getMixin$2$namespace($name, namespace) {
  50888. var t1, _0_0, _1_0, _this = this;
  50889. if (namespace != null)
  50890. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  50891. t1 = _this._mixinIndices;
  50892. _0_0 = t1.$index(0, $name);
  50893. if (_0_0 != null) {
  50894. t1 = _this._mixins[_0_0].$index(0, $name);
  50895. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50896. } else {
  50897. _1_0 = _this._mixinIndex$1($name);
  50898. if (_1_0 != null) {
  50899. t1.$indexSet(0, $name, _1_0);
  50900. t1 = _this._mixins[_1_0].$index(0, $name);
  50901. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50902. } else
  50903. return _this._getMixinFromGlobalModule$1($name);
  50904. }
  50905. },
  50906. _getMixinFromGlobalModule$1($name) {
  50907. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  50908. },
  50909. _mixinIndex$1($name) {
  50910. var t1, i;
  50911. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  50912. if (t1[i].containsKey$1($name))
  50913. return i;
  50914. return null;
  50915. },
  50916. withContent$2($content, callback) {
  50917. var oldContent = this._content;
  50918. this._content = $content;
  50919. callback.call$0();
  50920. this._content = oldContent;
  50921. },
  50922. asMixin$1(callback) {
  50923. var oldInMixin = this._inMixin;
  50924. this._inMixin = true;
  50925. callback.call$0();
  50926. this._inMixin = oldInMixin;
  50927. },
  50928. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  50929. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  50930. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  50931. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  50932. _this._inSemiGlobalScope = semiGlobal;
  50933. if (!when)
  50934. try {
  50935. t1 = callback.call$0();
  50936. return t1;
  50937. } finally {
  50938. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  50939. }
  50940. t1 = _this._variables;
  50941. t2 = type$.String;
  50942. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  50943. t3 = _this._variableNodes;
  50944. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  50945. t4 = _this._functions;
  50946. t5 = type$.Callable;
  50947. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  50948. t6 = _this._mixins;
  50949. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  50950. t5 = _this._nestedForwardedModules;
  50951. if (t5 != null)
  50952. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  50953. try {
  50954. t2 = callback.call$0();
  50955. return t2;
  50956. } finally {
  50957. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  50958. _this._lastVariableIndex = _this._lastVariableName = null;
  50959. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._variableIndices; t1.moveNext$0();) {
  50960. $name = t1.get$current(t1);
  50961. t2.remove$1(0, $name);
  50962. }
  50963. B.JSArray_methods.removeLast$0(t3);
  50964. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._functionIndices; t1.moveNext$0();) {
  50965. name0 = t1.get$current(t1);
  50966. t2.remove$1(0, name0);
  50967. }
  50968. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._mixinIndices; t1.moveNext$0();) {
  50969. name1 = t1.get$current(t1);
  50970. t2.remove$1(0, name1);
  50971. }
  50972. t1 = _this._nestedForwardedModules;
  50973. if (t1 != null)
  50974. t1.pop();
  50975. }
  50976. },
  50977. scope$1$1(callback) {
  50978. return this.scope$1$3$semiGlobal$when(callback, false, true);
  50979. },
  50980. scope$1$2$when(callback, when) {
  50981. return this.scope$1$3$semiGlobal$when(callback, false, when);
  50982. },
  50983. scope$1$2$semiGlobal(callback, semiGlobal) {
  50984. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  50985. },
  50986. toImplicitConfiguration$0() {
  50987. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  50988. t1 = type$.String,
  50989. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  50990. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  50991. values = t2[i];
  50992. nodes = t4[i];
  50993. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  50994. t6 = t5.get$current(t5);
  50995. $name = t6._0;
  50996. value = t6._1;
  50997. t6 = nodes.$index(0, $name);
  50998. t6.toString;
  50999. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51000. }
  51001. }
  51002. return new A.Configuration(configuration, null);
  51003. },
  51004. toModule$3(css, preModuleComments, extensionStore) {
  51005. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51006. },
  51007. toDummyModule$0() {
  51008. 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()));
  51009. },
  51010. _getModule$1(namespace) {
  51011. var _0_0 = this._environment$_modules.$index(0, namespace);
  51012. if (_0_0 != null)
  51013. return _0_0;
  51014. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51015. },
  51016. _fromOneModule$1$3($name, type, callback) {
  51017. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51018. _0_0 = this._nestedForwardedModules;
  51019. if (_0_0 != null)
  51020. 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();) {
  51021. t3 = t2.__internal$_current;
  51022. 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();) {
  51023. t5 = t3.__internal$_current;
  51024. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51025. if (_1_0 != null)
  51026. return _1_0;
  51027. }
  51028. }
  51029. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  51030. _2_0 = callback.call$1(t1.__js_helper$_current);
  51031. if (_2_0 != null)
  51032. return _2_0;
  51033. }
  51034. for (t1 = this._globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  51035. t4 = t2.__js_helper$_current;
  51036. valueInModule = callback.call$1(t4);
  51037. if (valueInModule == null)
  51038. continue;
  51039. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51040. if (identityFromModule.$eq(0, identity))
  51041. continue;
  51042. if (value != null) {
  51043. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51044. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51045. t1 = t3.get$current(t3);
  51046. module = t1._0;
  51047. node = t1._1;
  51048. if (callback.call$1(module) != null)
  51049. t2.$indexSet(0, node.get$span(node), t4);
  51050. }
  51051. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51052. }
  51053. identity = identityFromModule;
  51054. value = valueInModule;
  51055. }
  51056. return value;
  51057. },
  51058. _fromOneModule$3($name, type, callback) {
  51059. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51060. }
  51061. };
  51062. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51063. call$1(module) {
  51064. return module.get$variables().$index(0, this.name);
  51065. },
  51066. $signature: 275
  51067. };
  51068. A.Environment_setVariable_closure.prototype = {
  51069. call$0() {
  51070. var t1 = this.$this;
  51071. t1._lastVariableName = this.name;
  51072. return t1._lastVariableIndex = 0;
  51073. },
  51074. $signature: 10
  51075. };
  51076. A.Environment_setVariable_closure0.prototype = {
  51077. call$1(module) {
  51078. return module.get$variables().containsKey$1(this.name) ? module : null;
  51079. },
  51080. $signature: 285
  51081. };
  51082. A.Environment_setVariable_closure1.prototype = {
  51083. call$0() {
  51084. var t1 = this.$this,
  51085. t2 = t1._variableIndex$1(this.name);
  51086. return t2 == null ? t1._variables.length - 1 : t2;
  51087. },
  51088. $signature: 10
  51089. };
  51090. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51091. call$1(module) {
  51092. return module.get$functions(module).$index(0, this.name);
  51093. },
  51094. $signature: 194
  51095. };
  51096. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51097. call$1(module) {
  51098. return module.get$mixins().$index(0, this.name);
  51099. },
  51100. $signature: 194
  51101. };
  51102. A.Environment_toModule_closure.prototype = {
  51103. call$1(modules) {
  51104. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51105. },
  51106. $signature: 197
  51107. };
  51108. A.Environment_toDummyModule_closure.prototype = {
  51109. call$1(modules) {
  51110. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51111. },
  51112. $signature: 197
  51113. };
  51114. A._EnvironmentModule.prototype = {
  51115. get$url(_) {
  51116. var t1 = this.css;
  51117. t1 = t1.get$span(t1);
  51118. return t1.get$sourceUrl(t1);
  51119. },
  51120. setVariable$3($name, value, nodeWithSpan) {
  51121. var t1, t2,
  51122. _0_0 = this._modulesByVariable.$index(0, $name);
  51123. if (_0_0 != null) {
  51124. _0_0.setVariable$3($name, value, nodeWithSpan);
  51125. return;
  51126. }
  51127. t1 = this._environment$_environment;
  51128. t2 = t1._variables;
  51129. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51130. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51131. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  51132. B.JSArray_methods.get$first(t1._variableNodes).$indexSet(0, $name, nodeWithSpan);
  51133. return;
  51134. },
  51135. variableIdentity$1($name) {
  51136. var module = this._modulesByVariable.$index(0, $name);
  51137. return module == null ? this : module.variableIdentity$1($name);
  51138. },
  51139. couldHaveBeenConfigured$1(variables) {
  51140. var t2, t3, _0_0, variable, module,
  51141. t1 = this._environment$_environment._configurableVariables;
  51142. 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)))) {
  51143. t1 = this._modulesByVariable;
  51144. t2 = type$.Module_Callable;
  51145. if (variables.get$length(variables) < t1.get$length(t1)) {
  51146. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51147. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  51148. _0_0 = t1.$index(0, t3.get$current(t3));
  51149. if (_0_0 != null)
  51150. t2.add$1(0, _0_0);
  51151. }
  51152. t1 = t2;
  51153. } else {
  51154. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51155. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  51156. t2 = t1.get$current(t1);
  51157. variable = t2._0;
  51158. module = t2._1;
  51159. if (variables.contains$1(0, variable))
  51160. t3.add$1(0, module);
  51161. }
  51162. t1 = t3;
  51163. }
  51164. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure(variables));
  51165. } else
  51166. t1 = true;
  51167. return t1;
  51168. },
  51169. cloneCss$0() {
  51170. var _0_0, _this = this;
  51171. if (!_this.transitivelyContainsCss)
  51172. return _this;
  51173. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51174. 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);
  51175. },
  51176. toString$0(_) {
  51177. var t1 = this.css,
  51178. t2 = t1.get$span(t1);
  51179. if (t2.get$sourceUrl(t2) == null)
  51180. t1 = "<unknown url>";
  51181. else {
  51182. t1 = t1.get$span(t1);
  51183. t1 = t1.get$sourceUrl(t1);
  51184. t2 = $.$get$context();
  51185. t1.toString;
  51186. t1 = t2.prettyUri$1(t1);
  51187. }
  51188. return t1;
  51189. },
  51190. $isModule0: 1,
  51191. get$upstream() {
  51192. return this.upstream;
  51193. },
  51194. get$variables() {
  51195. return this.variables;
  51196. },
  51197. get$variableNodes() {
  51198. return this.variableNodes;
  51199. },
  51200. get$functions(receiver) {
  51201. return this.functions;
  51202. },
  51203. get$mixins() {
  51204. return this.mixins;
  51205. },
  51206. get$extensionStore() {
  51207. return this.extensionStore;
  51208. },
  51209. get$css(receiver) {
  51210. return this.css;
  51211. },
  51212. get$preModuleComments() {
  51213. return this.preModuleComments;
  51214. },
  51215. get$transitivelyContainsCss() {
  51216. return this.transitivelyContainsCss;
  51217. },
  51218. get$transitivelyContainsExtensions() {
  51219. return this.transitivelyContainsExtensions;
  51220. }
  51221. };
  51222. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51223. call$1(module) {
  51224. return module.get$variables();
  51225. },
  51226. $signature: 302
  51227. };
  51228. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51229. call$1(module) {
  51230. return module.get$variableNodes();
  51231. },
  51232. $signature: 303
  51233. };
  51234. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51235. call$1(module) {
  51236. return module.get$functions(module);
  51237. },
  51238. $signature: 198
  51239. };
  51240. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51241. call$1(module) {
  51242. return module.get$mixins();
  51243. },
  51244. $signature: 198
  51245. };
  51246. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51247. call$1(module) {
  51248. return module.get$transitivelyContainsCss();
  51249. },
  51250. $signature: 88
  51251. };
  51252. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51253. call$1(module) {
  51254. return module.get$transitivelyContainsExtensions();
  51255. },
  51256. $signature: 88
  51257. };
  51258. A._EnvironmentModule_couldHaveBeenConfigured_closure.prototype = {
  51259. call$1(module) {
  51260. return module.couldHaveBeenConfigured$1(this.variables);
  51261. },
  51262. $signature: 88
  51263. };
  51264. A.SassException.prototype = {
  51265. get$trace(_) {
  51266. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51267. },
  51268. get$span(_) {
  51269. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51270. },
  51271. withAdditionalSpan$2(span, label) {
  51272. 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);
  51273. },
  51274. withTrace$1(trace) {
  51275. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51276. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51277. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51278. },
  51279. withLoadedUrls$1(loadedUrls) {
  51280. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51281. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51282. return new A.SassException(t2, this._span_exception$_message, t1);
  51283. },
  51284. toString$1$color(_, color) {
  51285. var t2, _i, frame, _this = this,
  51286. buffer = new A.StringBuffer(""),
  51287. t1 = "Error: " + _this._span_exception$_message + "\n";
  51288. buffer._contents = t1;
  51289. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51290. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51291. frame = t1[_i];
  51292. if (frame.length === 0)
  51293. continue;
  51294. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51295. }
  51296. t1 = buffer._contents;
  51297. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51298. },
  51299. toString$0(_) {
  51300. return this.toString$1$color(0, null);
  51301. },
  51302. toCssString$0() {
  51303. var commentMessage, stringMessage, rune,
  51304. t1 = $._glyphs,
  51305. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51306. t3 = this.toString$1$color(0, false);
  51307. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51308. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51309. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51310. stringMessage = new A.StringBuffer("");
  51311. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51312. rune = t1._currentCodePoint;
  51313. if (rune > 127) {
  51314. t2 = A.Primitives_stringFromCharCode(92);
  51315. stringMessage._contents += t2;
  51316. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51317. stringMessage._contents += t2;
  51318. t2 = A.Primitives_stringFromCharCode(32);
  51319. stringMessage._contents += t2;
  51320. } else {
  51321. t2 = A.Primitives_stringFromCharCode(rune);
  51322. stringMessage._contents += t2;
  51323. }
  51324. }
  51325. 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}";
  51326. }
  51327. };
  51328. A.MultiSpanSassException.prototype = {
  51329. withAdditionalSpan$2(span, label) {
  51330. var _this = this,
  51331. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51332. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51333. t2.$indexSet(0, span, label);
  51334. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51335. },
  51336. withTrace$1(trace) {
  51337. var _this = this;
  51338. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51339. },
  51340. withLoadedUrls$1(loadedUrls) {
  51341. var _this = this;
  51342. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51343. },
  51344. toString$1$color(_, color) {
  51345. var t1, t2, _i, frame, _this = this,
  51346. useColor = color === true,
  51347. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51348. 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));
  51349. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51350. frame = t1[_i];
  51351. if (frame.length === 0)
  51352. continue;
  51353. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51354. }
  51355. t1 = buffer._contents;
  51356. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51357. },
  51358. toString$0(_) {
  51359. return this.toString$1$color(0, null);
  51360. },
  51361. get$primaryLabel() {
  51362. return this.primaryLabel;
  51363. },
  51364. get$secondarySpans() {
  51365. return this.secondarySpans;
  51366. }
  51367. };
  51368. A.SassRuntimeException.prototype = {
  51369. withAdditionalSpan$2(span, label) {
  51370. var _this = this;
  51371. 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);
  51372. },
  51373. withLoadedUrls$1(loadedUrls) {
  51374. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51375. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51376. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51377. },
  51378. get$trace(receiver) {
  51379. return this.trace;
  51380. }
  51381. };
  51382. A.MultiSpanSassRuntimeException.prototype = {
  51383. withAdditionalSpan$2(span, label) {
  51384. var _this = this,
  51385. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51386. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51387. t2.$indexSet(0, span, label);
  51388. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51389. },
  51390. withLoadedUrls$1(loadedUrls) {
  51391. var _this = this;
  51392. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51393. },
  51394. $isSassRuntimeException: 1,
  51395. get$trace(receiver) {
  51396. return this.trace;
  51397. }
  51398. };
  51399. A.SassFormatException.prototype = {
  51400. get$source() {
  51401. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51402. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51403. },
  51404. withAdditionalSpan$2(span, label) {
  51405. 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);
  51406. },
  51407. withLoadedUrls$1(loadedUrls) {
  51408. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51409. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51410. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51411. },
  51412. $isFormatException: 1,
  51413. $isSourceSpanFormatException: 1
  51414. };
  51415. A.MultiSpanSassFormatException.prototype = {
  51416. get$source() {
  51417. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51418. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51419. },
  51420. withAdditionalSpan$2(span, label) {
  51421. var _this = this,
  51422. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51423. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51424. t2.$indexSet(0, span, label);
  51425. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51426. },
  51427. withLoadedUrls$1(loadedUrls) {
  51428. var _this = this;
  51429. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51430. },
  51431. $isFormatException: 1,
  51432. $isSassFormatException: 1,
  51433. $isSourceSpanFormatException: 1,
  51434. $isMultiSourceSpanFormatException: 1
  51435. };
  51436. A.SassScriptException.prototype = {
  51437. withSpan$1(span) {
  51438. return new A.SassException(B.Set_empty, this.message, span);
  51439. },
  51440. toString$0(_) {
  51441. return this.message + string$.x0a_BUG_;
  51442. },
  51443. get$message(receiver) {
  51444. return this.message;
  51445. }
  51446. };
  51447. A.MultiSpanSassScriptException.prototype = {
  51448. withSpan$1(span) {
  51449. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51450. }
  51451. };
  51452. A._writeSourceMap_closure.prototype = {
  51453. call$1(url) {
  51454. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51455. },
  51456. $signature: 6
  51457. };
  51458. A.ExecutableOptions.prototype = {
  51459. get$interactive() {
  51460. var result, _this = this,
  51461. value = _this.__ExecutableOptions_interactive_FI;
  51462. if (value === $) {
  51463. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51464. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51465. _this.__ExecutableOptions_interactive_FI = result;
  51466. value = result;
  51467. }
  51468. return value;
  51469. },
  51470. get$color() {
  51471. var t1 = this._options;
  51472. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51473. },
  51474. get$pkgImporters() {
  51475. var t2, t3, t4, _null = null,
  51476. t1 = A._setArrayType([], type$.JSArray_Importer);
  51477. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51478. t2.get$current(t2);
  51479. t3 = new A.NodePackageImporter();
  51480. t4 = self.process;
  51481. if (t4 == null)
  51482. t4 = _null;
  51483. else {
  51484. t4 = J.get$release$x(t4);
  51485. t4 = t4 == null ? _null : J.get$name$x(t4);
  51486. }
  51487. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51488. A.throwExpression(string$.The_No);
  51489. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51490. t1.push(t3);
  51491. }
  51492. return t1;
  51493. },
  51494. get$emitErrorCss() {
  51495. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51496. if (t1 == null) {
  51497. this._ensureSources$0();
  51498. t1 = this._sourcesToDestinations;
  51499. t1 = t1.get$values(t1);
  51500. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51501. }
  51502. return t1;
  51503. },
  51504. _ensureSources$0() {
  51505. 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,
  51506. _s18_ = 'Duplicate source "';
  51507. if (_this._sourcesToDestinations != null)
  51508. return;
  51509. t1 = _this._options;
  51510. stdin = A._asBool(t1.$index(0, "stdin"));
  51511. t2 = t1.rest;
  51512. if (t2.get$length(0) === 0 && !stdin)
  51513. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51514. t3 = type$.String;
  51515. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51516. 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();) {
  51517. t7 = t6.__internal$_current;
  51518. if (t7 == null)
  51519. t7 = t4._as(t7);
  51520. t8 = t7.length;
  51521. if (t8 === 0)
  51522. A.ExecutableOptions__fail('Invalid argument "".');
  51523. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51524. if (t8 > 2) {
  51525. t9 = t7.charCodeAt(0);
  51526. if (!(t9 >= 97 && t9 <= 122))
  51527. t9 = t9 >= 65 && t9 <= 90;
  51528. else
  51529. t9 = true;
  51530. t9 = t9 && t7.charCodeAt(1) === 58;
  51531. } else
  51532. t9 = false;
  51533. if (t9) {
  51534. if (2 > t8)
  51535. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51536. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51537. } else
  51538. t8 = true;
  51539. } else
  51540. t8 = false;
  51541. if (t8)
  51542. colonArgs = true;
  51543. else if (A.dirExists(t7))
  51544. $directories.add$1(0, t7);
  51545. else
  51546. positionalArgs = true;
  51547. }
  51548. if (positionalArgs || t2.get$length(0) === 0) {
  51549. if (colonArgs)
  51550. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51551. else if (stdin) {
  51552. if (J.get$length$asx(t2._collection$_source) > 1)
  51553. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51554. else if (A._asBool(t1.$index(0, "update")))
  51555. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51556. else if (A._asBool(t1.$index(0, "watch")))
  51557. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51558. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51559. t2 = type$.dynamic;
  51560. t3 = type$.nullable_String;
  51561. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51562. } else {
  51563. t3 = t2._collection$_source;
  51564. t4 = J.getInterceptor$asx(t3);
  51565. if (t4.get$length(t3) > 2)
  51566. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51567. else if ($directories._collection$_length !== 0) {
  51568. message = 'Directory "' + $directories.get$first(0) + '" may not be a positional arg.';
  51569. target = t2.get$last(t2);
  51570. A.ExecutableOptions__fail($directories.get$first(0) === t2.get$first(t2) && !A.fileExists(target) ? message + ('\nTo compile all CSS in "' + $directories.get$first(0) + '" to "' + target + '", use `sass ' + $directories.get$first(0) + ":" + target + "`.") : message);
  51571. } else {
  51572. source = t2.get$first(t2) === "-" ? _null : t2.get$first(t2);
  51573. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51574. if (destination == null)
  51575. if (A._asBool(t1.$index(0, "update")))
  51576. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51577. else if (A._asBool(t1.$index(0, "watch")))
  51578. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51579. t1 = A.PathMap__create(_null, type$.nullable_String);
  51580. t1.$indexSet(0, source, destination);
  51581. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51582. }
  51583. }
  51584. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51585. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty9;
  51586. return;
  51587. }
  51588. if (stdin)
  51589. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51590. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51591. t1 = A.PathMap__create(_null, t3);
  51592. t6 = type$.PathMap_String;
  51593. t3 = A.PathMap__create(_null, t3);
  51594. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51595. t5 = t2.__internal$_current;
  51596. if (t5 == null)
  51597. t5 = t4._as(t5);
  51598. if ($directories.contains$1(0, t5)) {
  51599. if (!seen.add$1(0, t5))
  51600. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51601. t3.$indexSet(0, t5, t5);
  51602. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51603. continue;
  51604. }
  51605. _0_0 = _this._splitSourceAndDestination$1(t5);
  51606. source = _0_0._0;
  51607. destination = _0_0._1;
  51608. if (!seen.add$1(0, source))
  51609. A.ExecutableOptions__fail(_s18_ + source + '".');
  51610. if (source === "-")
  51611. t1.$indexSet(0, _null, destination);
  51612. else if (A.dirExists(source)) {
  51613. t3.$indexSet(0, source, destination);
  51614. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51615. } else
  51616. t1.$indexSet(0, source, destination);
  51617. }
  51618. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51619. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51620. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51621. },
  51622. _splitSourceAndDestination$1(argument) {
  51623. var t1, i, t2, t3, nextColon;
  51624. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51625. t2 = false;
  51626. if (i === 1) {
  51627. t3 = i - 1;
  51628. if (t1 > t3 + 2) {
  51629. t2 = argument.charCodeAt(t3);
  51630. if (!(t2 >= 97 && t2 <= 122))
  51631. t2 = t2 >= 65 && t2 <= 90;
  51632. else
  51633. t2 = true;
  51634. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51635. }
  51636. }
  51637. if (t2)
  51638. continue;
  51639. if (argument.charCodeAt(i) === 58) {
  51640. t2 = i + 1;
  51641. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51642. t3 = false;
  51643. if (nextColon === i + 2)
  51644. if (t1 > t2 + 2) {
  51645. t1 = argument.charCodeAt(t2);
  51646. if (!(t1 >= 97 && t1 <= 122))
  51647. t1 = t1 >= 65 && t1 <= 90;
  51648. else
  51649. t1 = true;
  51650. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  51651. } else
  51652. t1 = t3;
  51653. else
  51654. t1 = t3;
  51655. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  51656. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  51657. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  51658. }
  51659. }
  51660. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  51661. },
  51662. _listSourceDirectory$2(source, destination) {
  51663. var t2, t3, t4, t5,
  51664. t1 = type$.String;
  51665. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51666. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  51667. t4 = t2.get$current(t2);
  51668. if (this._isEntrypoint$1(t4))
  51669. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  51670. else
  51671. t5 = false;
  51672. if (t5) {
  51673. t5 = $.$get$context();
  51674. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  51675. }
  51676. }
  51677. return t1;
  51678. },
  51679. _isEntrypoint$1(path) {
  51680. var extension,
  51681. t1 = $.$get$context().style;
  51682. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  51683. return false;
  51684. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  51685. return extension === ".scss" || extension === ".sass" || extension === ".css";
  51686. },
  51687. get$_writeToStdout() {
  51688. var t1, _this = this;
  51689. _this._ensureSources$0();
  51690. t1 = _this._sourcesToDestinations;
  51691. if (t1.get$length(t1) === 1) {
  51692. _this._ensureSources$0();
  51693. t1 = _this._sourcesToDestinations;
  51694. t1 = t1.get$values(t1);
  51695. t1 = t1.get$single(t1) == null;
  51696. } else
  51697. t1 = false;
  51698. return t1;
  51699. },
  51700. get$emitSourceMap() {
  51701. var _this = this,
  51702. _s10_ = "source-map",
  51703. _s15_ = "source-map-urls",
  51704. _s13_ = "embed-sources",
  51705. _s16_ = "embed-source-map",
  51706. t1 = _this._options;
  51707. if (!A._asBool(t1.$index(0, _s10_)))
  51708. if (t1.wasParsed$1(_s15_))
  51709. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  51710. else if (t1.wasParsed$1(_s13_))
  51711. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  51712. else if (t1.wasParsed$1(_s16_))
  51713. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  51714. if (!_this.get$_writeToStdout())
  51715. return A._asBool(t1.$index(0, _s10_));
  51716. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  51717. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  51718. if (A._asBool(t1.$index(0, _s16_)))
  51719. return A._asBool(t1.$index(0, _s10_));
  51720. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  51721. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  51722. else if (t1.wasParsed$1(_s15_))
  51723. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  51724. else if (A._asBool(t1.$index(0, _s13_)))
  51725. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  51726. else
  51727. return false;
  51728. },
  51729. sourceMapUrl$2(_, url, destination) {
  51730. var t1, path, t2, _null = null;
  51731. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  51732. return url;
  51733. t1 = $.$get$context();
  51734. path = t1.style.pathFromUri$1(A._parseUri(url));
  51735. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  51736. destination.toString;
  51737. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  51738. } else
  51739. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51740. return t1.toUri$1(t2);
  51741. },
  51742. get$silenceDeprecations(_) {
  51743. var t2, t3, t4,
  51744. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51745. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  51746. t3 = t2.get$current(t2);
  51747. t4 = A.Deprecation_fromId(t3);
  51748. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51749. }
  51750. return t1;
  51751. },
  51752. get$fatalDeprecations(_) {
  51753. var t1 = this._fatalDeprecations;
  51754. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  51755. },
  51756. get$futureDeprecations(_) {
  51757. var t2, t3, t4,
  51758. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51759. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  51760. t3 = t2.get$current(t2);
  51761. t4 = A.Deprecation_fromId(t3);
  51762. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51763. }
  51764. return t1;
  51765. },
  51766. _ifParsed$1($name) {
  51767. var t1 = this._options;
  51768. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  51769. }
  51770. };
  51771. A.ExecutableOptions__parser_closure.prototype = {
  51772. call$0() {
  51773. var t1 = type$.String,
  51774. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  51775. t3 = A._setArrayType([], type$.JSArray_Object),
  51776. 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);
  51777. parser.addOption$2$hide("precision", true);
  51778. parser.addFlag$2$hide("async", true);
  51779. t3.push(A.ExecutableOptions__separator("Input and Output"));
  51780. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  51781. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  51782. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  51783. t2 = type$.JSArray_String;
  51784. 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");
  51785. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  51786. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  51787. 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.");
  51788. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  51789. t3.push(A.ExecutableOptions__separator("Source Maps"));
  51790. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  51791. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  51792. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  51793. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  51794. t3.push(A.ExecutableOptions__separator("Warnings"));
  51795. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  51796. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  51797. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  51798. 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.");
  51799. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  51800. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  51801. t3.push(A.ExecutableOptions__separator("Other"));
  51802. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  51803. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  51804. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  51805. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  51806. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  51807. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  51808. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  51809. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  51810. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  51811. return parser;
  51812. },
  51813. $signature: 308
  51814. };
  51815. A.ExecutableOptions_interactive_closure.prototype = {
  51816. call$0() {
  51817. var _0_0,
  51818. t1 = this.$this._options;
  51819. if (!A._asBool(t1.$index(0, "interactive")))
  51820. return false;
  51821. _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());
  51822. if (_0_0 != null)
  51823. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  51824. return true;
  51825. },
  51826. $signature: 20
  51827. };
  51828. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  51829. call$1(destination) {
  51830. return destination != null;
  51831. },
  51832. $signature: 271
  51833. };
  51834. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  51835. call$0() {
  51836. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  51837. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51838. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  51839. id = t1.get$current(t1);
  51840. _0_0 = A.Deprecation_fromId(id);
  51841. if (_0_0 != null) {
  51842. J.add$1$ax(deprecations, _0_0);
  51843. continue;
  51844. }
  51845. try {
  51846. argVersion = A.Version_Version$parse(id);
  51847. sassVersion = A.Version_Version$parse("1.91.0");
  51848. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  51849. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  51850. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  51851. } catch (exception) {
  51852. if (t2._is(A.unwrapException(exception)))
  51853. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  51854. else
  51855. throw exception;
  51856. }
  51857. }
  51858. return deprecations;
  51859. },
  51860. $signature: 317
  51861. };
  51862. A.UsageException.prototype = {$isException: 1,
  51863. get$message(receiver) {
  51864. return this.message;
  51865. }
  51866. };
  51867. A.repl_warn.prototype = {
  51868. call$1(warning) {
  51869. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  51870. $label0$0: {
  51871. _0_1 = warning._1;
  51872. _0_3 = _null;
  51873. deprecation = _null;
  51874. t1 = false;
  51875. _0_2 = warning._2;
  51876. _0_3 = warning._0;
  51877. t1 = _0_3 != null;
  51878. if (t1)
  51879. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  51880. span = _0_2;
  51881. if (t1) {
  51882. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  51883. break $label0$0;
  51884. }
  51885. t1 = false;
  51886. span = _0_2;
  51887. t1 = _0_3 == null;
  51888. if (t1)
  51889. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  51890. }
  51891. },
  51892. $signature: 272
  51893. };
  51894. A.watch_closure.prototype = {
  51895. call$1(dir) {
  51896. for (; !A.dirExists(dir);)
  51897. dir = $.$get$context().dirname$1(dir);
  51898. return this.dirWatcher.watch$1(0, dir);
  51899. },
  51900. $signature: 321
  51901. };
  51902. A._Watcher.prototype = {
  51903. _delete$1(path) {
  51904. var buffer, t1, exception;
  51905. try {
  51906. A.deleteFile(path);
  51907. buffer = new A.StringBuffer("");
  51908. t1 = this._watch$_options;
  51909. if (t1.get$color())
  51910. buffer._contents += "\x1b[33m";
  51911. buffer._contents += "Deleted " + path + ".";
  51912. if (t1.get$color())
  51913. buffer._contents += "\x1b[0m";
  51914. A.print(buffer);
  51915. } catch (exception) {
  51916. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  51917. throw exception;
  51918. }
  51919. },
  51920. watch$1(_, watcher) {
  51921. return this.watch$body$_Watcher(0, watcher);
  51922. },
  51923. watch$body$_Watcher(_, watcher) {
  51924. var $async$goto = 0,
  51925. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  51926. $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;
  51927. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  51928. if ($async$errorCode === 1) {
  51929. $async$errorStack.push($async$result);
  51930. $async$goto = $async$handler;
  51931. }
  51932. while (true)
  51933. switch ($async$goto) {
  51934. case 0:
  51935. // Function start
  51936. t2 = watcher._group.__StreamGroup__controller_A;
  51937. t2 === $ && A.throwUnnamedLateFieldNI();
  51938. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  51939. $async$handler = 3;
  51940. 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;
  51941. case 6:
  51942. // for condition
  51943. $async$goto = 8;
  51944. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  51945. case 8:
  51946. // returning from await.
  51947. if (!$async$result) {
  51948. // goto after for
  51949. $async$goto = 7;
  51950. break;
  51951. }
  51952. batch = t2.get$current(0);
  51953. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  51954. $event = t10.get$current(t10);
  51955. t11 = $event.path;
  51956. t12 = $.$get$context();
  51957. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  51958. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  51959. continue;
  51960. switch ($event.type) {
  51961. case B.ChangeType_modify:
  51962. t11 = $event.path;
  51963. t13 = self.process;
  51964. if (t13 == null)
  51965. t13 = null;
  51966. else {
  51967. t13 = J.get$release$x(t13);
  51968. t13 = t13 == null ? null : J.get$name$x(t13);
  51969. }
  51970. t13 = J.$eq$(t13, "node") ? self.process : null;
  51971. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  51972. t13 = self.process;
  51973. if (t13 == null)
  51974. t13 = null;
  51975. else {
  51976. t13 = J.get$release$x(t13);
  51977. t13 = t13 == null ? null : J.get$name$x(t13);
  51978. }
  51979. t13 = J.$eq$(t13, "node") ? self.process : null;
  51980. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  51981. } else
  51982. t13 = true;
  51983. 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));
  51984. _0_0 = t7.$index(0, url);
  51985. if (_0_0 != null) {
  51986. t6.reload$1(url);
  51987. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  51988. } else
  51989. $async$self._handleAdd$1(t11);
  51990. break;
  51991. case B.ChangeType_add:
  51992. $async$self._handleAdd$1($event.path);
  51993. break;
  51994. case B.ChangeType_remove:
  51995. $async$self._handleRemove$1($event.path);
  51996. break;
  51997. }
  51998. }
  51999. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  52000. t10.addAll$1(0, t3);
  52001. t1 = t10;
  52002. toRecompile = t1;
  52003. t3.clear$0(0);
  52004. $async$goto = 9;
  52005. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  52006. case 9:
  52007. // returning from await.
  52008. success = $async$result;
  52009. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  52010. $async$next = [1];
  52011. // goto finally
  52012. $async$goto = 4;
  52013. break;
  52014. }
  52015. // goto for condition
  52016. $async$goto = 6;
  52017. break;
  52018. case 7:
  52019. // after for
  52020. $async$next.push(5);
  52021. // goto finally
  52022. $async$goto = 4;
  52023. break;
  52024. case 3:
  52025. // uncaught
  52026. $async$next = [2];
  52027. case 4:
  52028. // finally
  52029. $async$handler = 2;
  52030. $async$goto = 10;
  52031. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52032. case 10:
  52033. // returning from await.
  52034. // goto the next finally handler
  52035. $async$goto = $async$next.pop();
  52036. break;
  52037. case 5:
  52038. // after finally
  52039. case 1:
  52040. // return
  52041. return A._asyncReturn($async$returnValue, $async$completer);
  52042. case 2:
  52043. // rethrow
  52044. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52045. }
  52046. });
  52047. return A._asyncStartSync($async$watch$1, $async$completer);
  52048. },
  52049. _handleAdd$1(path) {
  52050. var t1, t2, t3, t0, _this = this, _null = null,
  52051. destination = _this._destinationFor$1(path);
  52052. if (destination != null)
  52053. _this._toRecompile.$indexSet(0, path, destination);
  52054. t1 = $.$get$FilesystemImporter_cwd();
  52055. t2 = A.isNodeJs() ? self.process : _null;
  52056. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52057. t2 = A.isNodeJs() ? self.process : _null;
  52058. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52059. } else
  52060. t2 = true;
  52061. if (t2) {
  52062. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  52063. t3 = $.$get$context();
  52064. t2 = A._realCasePath(t3.normalize$1(t2));
  52065. } else {
  52066. t2 = $.$get$context();
  52067. t3 = t2.canonicalize$1(0, path);
  52068. t0 = t3;
  52069. t3 = t2;
  52070. t2 = t0;
  52071. }
  52072. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52073. },
  52074. _handleRemove$1(path) {
  52075. return this._handleRemove$body$_Watcher(path);
  52076. },
  52077. _handleRemove$body$_Watcher(path) {
  52078. var $async$goto = 0,
  52079. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52080. $async$self = this, t2, t0, url, _0_0, t1;
  52081. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52082. if ($async$errorCode === 1)
  52083. return A._asyncRethrow($async$result, $async$completer);
  52084. while (true)
  52085. switch ($async$goto) {
  52086. case 0:
  52087. // Function start
  52088. t1 = A.isNodeJs() ? self.process : null;
  52089. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52090. t1 = A.isNodeJs() ? self.process : null;
  52091. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52092. } else
  52093. t1 = true;
  52094. if (t1) {
  52095. t1 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  52096. t2 = $.$get$context();
  52097. t1 = A._realCasePath(t2.normalize$1(t1));
  52098. } else {
  52099. t1 = $.$get$context();
  52100. t2 = t1.canonicalize$1(0, path);
  52101. t0 = t2;
  52102. t2 = t1;
  52103. t1 = t0;
  52104. }
  52105. url = t2.toUri$1(t1);
  52106. t1 = $async$self._graph;
  52107. if (t1._nodes.containsKey$1(url)) {
  52108. _0_0 = $async$self._destinationFor$1(path);
  52109. if (_0_0 != null)
  52110. $async$self._delete$1(_0_0);
  52111. }
  52112. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52113. // implicit return
  52114. return A._asyncReturn(null, $async$completer);
  52115. }
  52116. });
  52117. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52118. },
  52119. _debounceEvents$1(events) {
  52120. var t1 = type$.WatchEvent;
  52121. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52122. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52123. },
  52124. _recompileDownstream$1(nodes) {
  52125. var t1, t2, t3, t4, t5, t6, _i,
  52126. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52127. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52128. t5 = A._setArrayType([], t3);
  52129. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52130. t6 = t4.get$current(t4);
  52131. if (seen.add$1(0, t6))
  52132. t5.push(t6);
  52133. }
  52134. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52135. t4 = A._setArrayType([], t3);
  52136. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52137. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52138. }
  52139. },
  52140. _sourceEntrypointsToDestinations$1(nodes) {
  52141. var _i, url, source, _0_0,
  52142. t1 = type$.String,
  52143. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52144. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52145. url = nodes[_i].canonicalUrl;
  52146. if (url.get$scheme() !== "file")
  52147. continue;
  52148. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52149. _0_0 = this._destinationFor$1(source);
  52150. if (_0_0 != null)
  52151. entrypoints.$indexSet(0, source, _0_0);
  52152. }
  52153. return entrypoints;
  52154. },
  52155. _destinationFor$1(source) {
  52156. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52157. t1 = this._watch$_options;
  52158. t1._ensureSources$0();
  52159. t2 = type$.String;
  52160. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52161. if (_0_0 != null)
  52162. return _0_0;
  52163. t3 = $.$get$context();
  52164. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52165. return null;
  52166. t1._ensureSources$0();
  52167. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52168. t1 === $ && A.throwUnnamedLateFieldNI();
  52169. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52170. t2 = t2.get$iterator(t2);
  52171. for (; t2.moveNext$0();) {
  52172. t1 = t2.get$current(t2);
  52173. sourceDir = t1._0;
  52174. destinationDir = t1._1;
  52175. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52176. continue;
  52177. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52178. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52179. return destination;
  52180. }
  52181. return null;
  52182. }
  52183. };
  52184. A._Watcher__debounceEvents_closure.prototype = {
  52185. call$1(buffer) {
  52186. var t3, t4, t5, oldType, _0_4, _1_1,
  52187. t1 = type$.ChangeType,
  52188. t2 = A.PathMap__create(null, t1);
  52189. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52190. t4 = t3.get$current(t3);
  52191. t5 = t4.path;
  52192. oldType = t2.$index(0, t5);
  52193. _0_4 = t4.type;
  52194. $label0$0: {
  52195. if (oldType == null) {
  52196. t4 = _0_4;
  52197. break $label0$0;
  52198. }
  52199. if (B.ChangeType_remove === _0_4) {
  52200. t4 = B.ChangeType_remove;
  52201. break $label0$0;
  52202. }
  52203. if (B.ChangeType_add === oldType) {
  52204. t4 = B.ChangeType_add;
  52205. break $label0$0;
  52206. }
  52207. t4 = B.ChangeType_modify;
  52208. break $label0$0;
  52209. }
  52210. t2.$indexSet(0, t5, t4);
  52211. }
  52212. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52213. 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();) {
  52214. t2 = t1.get$current(t1);
  52215. _1_1 = t2._0;
  52216. _1_1.toString;
  52217. t3.push(new A.WatchEvent(t2._1, _1_1));
  52218. }
  52219. return t3;
  52220. },
  52221. $signature: 323
  52222. };
  52223. A.EmptyExtensionStore.prototype = {
  52224. get$_extensions() {
  52225. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52226. },
  52227. get$_sourceSpecificity() {
  52228. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52229. },
  52230. get$isEmpty(_) {
  52231. return true;
  52232. },
  52233. get$simpleSelectors() {
  52234. return B.C_EmptyUnmodifiableSet;
  52235. },
  52236. extensionsWhereTarget$1(callback) {
  52237. return B.List_empty5;
  52238. },
  52239. addExtensions$1(extenders) {
  52240. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52241. },
  52242. clone$0() {
  52243. return B.Record2_EmptyExtensionStore_Map_empty;
  52244. },
  52245. $isExtensionStore: 1
  52246. };
  52247. A.Extension.prototype = {
  52248. toString$0(_) {
  52249. var t1 = this.extender.toString$0(0),
  52250. t2 = this.target.toString$0(0),
  52251. t3 = this.isOptional ? " !optional" : "";
  52252. return t1 + " {@extend " + t2 + t3 + "}";
  52253. }
  52254. };
  52255. A.Extender.prototype = {
  52256. assertCompatibleMediaContext$1(mediaContext) {
  52257. var expectedMediaContext,
  52258. extension = this._extension;
  52259. if (extension == null)
  52260. return;
  52261. expectedMediaContext = extension.mediaContext;
  52262. if (expectedMediaContext == null)
  52263. return;
  52264. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52265. return;
  52266. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52267. },
  52268. toString$0(_) {
  52269. return A.serializeSelector(this.selector, true);
  52270. }
  52271. };
  52272. A.ExtensionStore.prototype = {
  52273. get$isEmpty(_) {
  52274. return this._extensions.__js_helper$_length === 0;
  52275. },
  52276. get$simpleSelectors() {
  52277. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52278. },
  52279. extensionsWhereTarget$1(callback) {
  52280. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52281. },
  52282. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52283. var $async$self = this;
  52284. return function() {
  52285. var callback = $async$callback;
  52286. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52287. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52288. if ($async$errorCode === 1) {
  52289. $async$errorStack.push($async$result);
  52290. $async$goto = $async$handler;
  52291. }
  52292. while (true)
  52293. switch ($async$goto) {
  52294. case 0:
  52295. // Function start
  52296. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52297. case 2:
  52298. // for condition
  52299. if (!t1.moveNext$0()) {
  52300. // goto after for
  52301. $async$goto = 3;
  52302. break;
  52303. }
  52304. t2 = t1.get$current(t1);
  52305. simple = t2._0;
  52306. sources = t2._1;
  52307. if (!callback.call$1(simple)) {
  52308. // goto for condition
  52309. $async$goto = 2;
  52310. break;
  52311. }
  52312. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52313. case 4:
  52314. // for condition
  52315. if (!t2.moveNext$0()) {
  52316. // goto after for
  52317. $async$goto = 5;
  52318. break;
  52319. }
  52320. t3 = t2.get$current(t2);
  52321. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52322. break;
  52323. case 6:
  52324. // then
  52325. t3 = t3.unmerge$0();
  52326. $async$goto = 9;
  52327. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52328. case 9:
  52329. // after yield
  52330. // goto join
  52331. $async$goto = 7;
  52332. break;
  52333. case 8:
  52334. // else
  52335. $async$goto = !t3.isOptional ? 10 : 11;
  52336. break;
  52337. case 10:
  52338. // then
  52339. $async$goto = 12;
  52340. return $async$iterator._async$_current = t3, 1;
  52341. case 12:
  52342. // after yield
  52343. case 11:
  52344. // join
  52345. case 7:
  52346. // join
  52347. // goto for condition
  52348. $async$goto = 4;
  52349. break;
  52350. case 5:
  52351. // after for
  52352. // goto for condition
  52353. $async$goto = 2;
  52354. break;
  52355. case 3:
  52356. // after for
  52357. // implicit return
  52358. return 0;
  52359. case 1:
  52360. // rethrow
  52361. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52362. }
  52363. };
  52364. };
  52365. },
  52366. addSelector$2(selector, mediaContext) {
  52367. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52368. selector = selector;
  52369. originalSelector = selector;
  52370. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52371. _this._originals.addAll$1(0, originalSelector.components);
  52372. t1 = _this._extensions;
  52373. if (t1.__js_helper$_length !== 0)
  52374. try {
  52375. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52376. } catch (exception) {
  52377. t1 = A.unwrapException(exception);
  52378. if (t1 instanceof A.SassException) {
  52379. error = t1;
  52380. stackTrace = A.getTraceFromException(exception);
  52381. t1 = error;
  52382. t2 = J.getInterceptor$z(t1);
  52383. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52384. t2 = error._span_exception$_message;
  52385. t3 = error;
  52386. t4 = J.getInterceptor$z(t3);
  52387. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52388. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52389. } else
  52390. throw exception;
  52391. }
  52392. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52393. if (mediaContext != null)
  52394. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52395. _this._registerSelector$2(selector, modifiableSelector);
  52396. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52397. },
  52398. _registerSelector$2(list, selector) {
  52399. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52400. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52401. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52402. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52403. simple = t7[_i1];
  52404. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52405. _0_2_isSet = simple instanceof A.PseudoSelector;
  52406. _0_2 = null;
  52407. if (_0_2_isSet) {
  52408. _0_2 = simple.selector;
  52409. t9 = _0_2;
  52410. t9 = t9 != null;
  52411. } else
  52412. t9 = false;
  52413. if (t9) {
  52414. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52415. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52416. }
  52417. }
  52418. },
  52419. addExtension$4(extender, target, extend, mediaContext) {
  52420. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52421. selectors = _this._selectors.$index(0, target),
  52422. t1 = _this._extensionsByExtender,
  52423. existingExtensions = t1.$index(0, target),
  52424. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52425. 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) {
  52426. complex = t2[_i];
  52427. if (complex.accept$1(B.C__IsUselessVisitor))
  52428. continue;
  52429. complex.get$specificity();
  52430. t11 = new A.Extender(complex, false);
  52431. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52432. _0_0 = sources.$index(0, complex);
  52433. if (_0_0 != null) {
  52434. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52435. continue;
  52436. }
  52437. sources.$indexSet(0, complex, extension);
  52438. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52439. t12 = t11._async$_current;
  52440. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52441. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52442. }
  52443. if (!t4 || t8) {
  52444. if (newExtensions == null)
  52445. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52446. newExtensions.$indexSet(0, complex, extension);
  52447. }
  52448. }
  52449. if (newExtensions == null)
  52450. return;
  52451. t1 = type$.SimpleSelector;
  52452. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52453. if (t8) {
  52454. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52455. if (additionalExtensions != null)
  52456. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52457. }
  52458. if (!t4)
  52459. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52460. },
  52461. _simpleSelectors$1(complex) {
  52462. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52463. },
  52464. _simpleSelectors$body$ExtensionStore($async$complex) {
  52465. var $async$self = this;
  52466. return function() {
  52467. var complex = $async$complex;
  52468. 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;
  52469. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52470. if ($async$errorCode === 1) {
  52471. $async$errorStack.push($async$result);
  52472. $async$goto = $async$handler;
  52473. }
  52474. while (true)
  52475. switch ($async$goto) {
  52476. case 0:
  52477. // Function start
  52478. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52479. case 2:
  52480. // for condition
  52481. if (!(_i < t2)) {
  52482. // goto after for
  52483. $async$goto = 4;
  52484. break;
  52485. }
  52486. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52487. case 5:
  52488. // for condition
  52489. if (!(_i0 < t5)) {
  52490. // goto after for
  52491. $async$goto = 7;
  52492. break;
  52493. }
  52494. simple = t4[_i0];
  52495. $async$goto = 8;
  52496. return $async$iterator._async$_current = simple, 1;
  52497. case 8:
  52498. // after yield
  52499. _0_2_isSet = simple instanceof A.PseudoSelector;
  52500. _0_2 = null;
  52501. if (_0_2_isSet) {
  52502. _0_2 = simple.selector;
  52503. t6 = _0_2;
  52504. t6 = t6 != null;
  52505. } else
  52506. t6 = false;
  52507. $async$goto = t6 ? 9 : 10;
  52508. break;
  52509. case 9:
  52510. // then
  52511. selector = _0_2_isSet ? _0_2 : simple.selector;
  52512. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52513. case 11:
  52514. // for condition
  52515. if (!(_i1 < t7)) {
  52516. // goto after for
  52517. $async$goto = 13;
  52518. break;
  52519. }
  52520. $async$goto = 14;
  52521. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52522. case 14:
  52523. // after yield
  52524. case 12:
  52525. // for update
  52526. ++_i1;
  52527. // goto for condition
  52528. $async$goto = 11;
  52529. break;
  52530. case 13:
  52531. // after for
  52532. case 10:
  52533. // join
  52534. case 6:
  52535. // for update
  52536. ++_i0;
  52537. // goto for condition
  52538. $async$goto = 5;
  52539. break;
  52540. case 7:
  52541. // after for
  52542. case 3:
  52543. // for update
  52544. ++_i;
  52545. // goto for condition
  52546. $async$goto = 2;
  52547. break;
  52548. case 4:
  52549. // after for
  52550. // implicit return
  52551. return 0;
  52552. case 1:
  52553. // rethrow
  52554. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52555. }
  52556. };
  52557. };
  52558. },
  52559. _extendExistingExtensions$2(extensions, newExtensions) {
  52560. 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;
  52561. 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) {
  52562. extension = t1[_i];
  52563. t7 = t6.$index(0, extension.target);
  52564. t7.toString;
  52565. selectors = null;
  52566. try {
  52567. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52568. if (selectors == null)
  52569. continue;
  52570. } catch (exception) {
  52571. t8 = A.unwrapException(exception);
  52572. if (t8 instanceof A.SassException) {
  52573. error = t8;
  52574. stackTrace = A.getTraceFromException(exception);
  52575. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52576. } else
  52577. throw exception;
  52578. }
  52579. t8 = J.get$first$ax(selectors);
  52580. t9 = extension.extender.selector;
  52581. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52582. t8 = selectors;
  52583. t9 = A._arrayInstanceType(t8);
  52584. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52585. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52586. selectors = selectors0;
  52587. }
  52588. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52589. t9 = t8.get$current(t8);
  52590. t10 = extension;
  52591. t11 = t10.target;
  52592. t12 = t10.span;
  52593. t13 = t10.mediaContext;
  52594. t10 = t10.isOptional;
  52595. t9.get$specificity();
  52596. t14 = new A.Extender(t9, false);
  52597. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52598. _0_0 = t7.$index(0, t9);
  52599. if (_0_0 != null)
  52600. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52601. else {
  52602. t7.$indexSet(0, t9, withExtender);
  52603. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52604. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52605. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52606. if (newExtensions.containsKey$1(extension.target)) {
  52607. if (additionalExtensions == null)
  52608. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52609. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52610. }
  52611. }
  52612. }
  52613. }
  52614. return additionalExtensions;
  52615. },
  52616. _extendExistingSelectors$2(selectors, newExtensions) {
  52617. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52618. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52619. selector = t1.get$current(t1);
  52620. oldValue = selector.value;
  52621. try {
  52622. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52623. } catch (exception) {
  52624. t3 = A.unwrapException(exception);
  52625. if (t3 instanceof A.SassException) {
  52626. error = t3;
  52627. stackTrace = A.getTraceFromException(exception);
  52628. t3 = selector.value.span.message$1(0, "");
  52629. t4 = error._span_exception$_message;
  52630. t5 = error;
  52631. t6 = J.getInterceptor$z(t5);
  52632. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52633. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52634. } else
  52635. throw exception;
  52636. }
  52637. if (oldValue === selector.value)
  52638. continue;
  52639. this._registerSelector$2(selector.value, selector);
  52640. }
  52641. },
  52642. addExtensions$1(extensionStores) {
  52643. 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;
  52644. 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();) {
  52645. t12 = t1.get$current(t1);
  52646. if (t12.get$isEmpty(t12))
  52647. continue;
  52648. t11.addAll$1(0, t12.get$_sourceSpecificity());
  52649. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  52650. t13 = t12.get$current(t12);
  52651. target = t13._0;
  52652. newSources = t13._1;
  52653. if (target instanceof A.PlaceholderSelector) {
  52654. first = target.name.charCodeAt(0);
  52655. t13 = first === 45 || first === 95;
  52656. } else
  52657. t13 = false;
  52658. if (t13)
  52659. continue;
  52660. extensionsForTarget = t8.$index(0, target);
  52661. t13 = extensionsForTarget == null;
  52662. if (!t13) {
  52663. if (extensionsToExtend == null) {
  52664. extensionsToExtend = A._setArrayType([], t9);
  52665. t14 = extensionsToExtend;
  52666. } else
  52667. t14 = extensionsToExtend;
  52668. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  52669. }
  52670. selectorsForTarget = t7.$index(0, target);
  52671. t14 = selectorsForTarget != null;
  52672. if (t14) {
  52673. if (selectorsToExtend == null) {
  52674. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  52675. t15 = selectorsToExtend;
  52676. } else
  52677. t15 = selectorsToExtend;
  52678. t15.addAll$1(0, selectorsForTarget);
  52679. }
  52680. _2_0 = t4.$index(0, target);
  52681. if (_2_0 != null)
  52682. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  52683. t16 = t15.get$current(t15);
  52684. extender = t16._0;
  52685. extension = t16._1;
  52686. if (_2_0.containsKey$1(extender)) {
  52687. t16 = _2_0.$index(0, extender);
  52688. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  52689. _2_0.$indexSet(0, extender, extension);
  52690. } else
  52691. _2_0.$indexSet(0, extender, extension);
  52692. if (!t13 || t14) {
  52693. if (newExtensions == null) {
  52694. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52695. t16 = newExtensions;
  52696. } else
  52697. t16 = newExtensions;
  52698. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  52699. }
  52700. }
  52701. else {
  52702. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52703. t15.addAll$1(0, newSources);
  52704. t4.$indexSet(0, target, t15);
  52705. if (!t13 || t14) {
  52706. if (newExtensions == null) {
  52707. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52708. t13 = newExtensions;
  52709. } else
  52710. t13 = newExtensions;
  52711. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52712. t14.addAll$1(0, newSources);
  52713. t13.$indexSet(0, target, t14);
  52714. }
  52715. }
  52716. }
  52717. }
  52718. if (newExtensions != null) {
  52719. if (extensionsToExtend != null)
  52720. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  52721. if (selectorsToExtend != null)
  52722. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  52723. }
  52724. },
  52725. _extendList$3(list, extensions, mediaQueryContext) {
  52726. var t1, t2, t3, extended, i, complex, result, t4;
  52727. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  52728. complex = t1[i];
  52729. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  52730. if (result == null) {
  52731. if (extended != null)
  52732. extended.push(complex);
  52733. } else {
  52734. if (extended == null)
  52735. if (i === 0)
  52736. extended = A._setArrayType([], t3);
  52737. else {
  52738. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  52739. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  52740. }
  52741. B.JSArray_methods.addAll$1(extended, result);
  52742. }
  52743. }
  52744. if (extended == null)
  52745. return list;
  52746. t1 = this._originals;
  52747. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  52748. },
  52749. _extendList$2(list, extensions) {
  52750. return this._extendList$3(list, extensions, null);
  52751. },
  52752. _extendComplex$3(complex, extensions, mediaQueryContext) {
  52753. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  52754. t1 = complex.leadingCombinators,
  52755. t2 = t1.length;
  52756. if (t2 > 1)
  52757. return null;
  52758. isOriginal = this._originals.contains$1(0, complex);
  52759. 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) {
  52760. component = t3[i];
  52761. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  52762. if (extended == null) {
  52763. if (extendedNotExpanded != null)
  52764. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  52765. } else if (extendedNotExpanded != null)
  52766. extendedNotExpanded.push(extended);
  52767. else if (i !== 0) {
  52768. t11 = A._arrayInstanceType(t3);
  52769. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  52770. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  52771. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  52772. } else if (t2)
  52773. extendedNotExpanded = A._setArrayType([extended], t5);
  52774. else {
  52775. t11 = A._setArrayType([], t9);
  52776. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  52777. t13 = t12.get$current(t12);
  52778. t14 = t13.leadingCombinators;
  52779. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  52780. t14 = t13.components;
  52781. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  52782. }
  52783. }
  52784. extendedNotExpanded = A._setArrayType([t11], t5);
  52785. }
  52786. }
  52787. if (extendedNotExpanded == null)
  52788. return null;
  52789. _box_0.first = true;
  52790. t1 = type$.ComplexSelector;
  52791. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  52792. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  52793. return t1;
  52794. },
  52795. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  52796. 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,
  52797. t1 = _this._mode,
  52798. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  52799. t2 = component.selector,
  52800. simples = t2.components;
  52801. 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) {
  52802. simple = simples[i];
  52803. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  52804. if (extended == null) {
  52805. if (options != null)
  52806. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  52807. } else {
  52808. if (options == null) {
  52809. options = A._setArrayType([], t4);
  52810. if (i !== 0) {
  52811. t12 = new A.SubListIterable(simples, 0, i, t8);
  52812. t12.SubListIterable$3(simples, 0, i, t9);
  52813. result = A.List_List$from(t12, false, t11);
  52814. result.$flags = 3;
  52815. t12 = result;
  52816. compound = new A.CompoundSelector(t12, t10);
  52817. if (t12.length === 0)
  52818. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  52819. result = A.List_List$from(B.List_empty0, false, t6);
  52820. result.$flags = 3;
  52821. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  52822. _this._sourceSpecificityFor$1(compound);
  52823. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  52824. }
  52825. }
  52826. B.JSArray_methods.addAll$1(options, extended);
  52827. }
  52828. }
  52829. if (options == null)
  52830. return _null;
  52831. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  52832. return _null;
  52833. if (options.length === 1) {
  52834. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  52835. t4 = t1.get$current(t1);
  52836. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  52837. complex = t4.selector.withAdditionalCombinators$1(t2);
  52838. if (complex.accept$1(B.C__IsUselessVisitor))
  52839. continue;
  52840. if (result == null)
  52841. result = A._setArrayType([], t3);
  52842. result.push(complex);
  52843. }
  52844. return result;
  52845. }
  52846. extenderPaths = A.paths(options, type$.Extender);
  52847. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  52848. t1 = t1 === B.ExtendMode_replace_replace;
  52849. t4 = !t1;
  52850. if (t4)
  52851. 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));
  52852. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  52853. t5 = t2.$ti;
  52854. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  52855. t6 = component.combinators;
  52856. t5 = t5._eval$1("ListIterable.E");
  52857. for (; t2.moveNext$0();) {
  52858. t1 = t2.__internal$_current;
  52859. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  52860. if (extended == null)
  52861. continue;
  52862. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  52863. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  52864. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  52865. t3.push(withCombinators);
  52866. }
  52867. }
  52868. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  52869. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  52870. },
  52871. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  52872. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  52873. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  52874. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  52875. t4 = t2.get$current(t2);
  52876. if (t4.isOriginal) {
  52877. if (originals == null)
  52878. originals = A._setArrayType([], t3);
  52879. t4 = t4.selector;
  52880. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  52881. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  52882. } else {
  52883. t4 = t4.selector;
  52884. if (t4.accept$1(B.C__IsUselessVisitor))
  52885. return _null;
  52886. else
  52887. toUnify._queue_list$_add$1(t4);
  52888. }
  52889. }
  52890. if (originals != null)
  52891. 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));
  52892. complexes = A.unifyComplex(toUnify, span);
  52893. if (complexes == null)
  52894. return _null;
  52895. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  52896. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  52897. return complexes;
  52898. },
  52899. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  52900. var t2, _1_0,
  52901. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  52902. if (simple instanceof A.PseudoSelector)
  52903. t2 = simple.selector != null;
  52904. else
  52905. t2 = false;
  52906. if (t2) {
  52907. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  52908. if (_1_0 != null)
  52909. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  52910. }
  52911. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  52912. },
  52913. _extenderForSimple$1(simple) {
  52914. var t1 = simple.span;
  52915. 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);
  52916. this._sourceSpecificity.$index(0, simple);
  52917. return new A.Extender(t1, true);
  52918. },
  52919. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  52920. var extended, complexes, t1, result,
  52921. selector = pseudo.selector;
  52922. if (selector == null)
  52923. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  52924. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  52925. if (extended === selector)
  52926. return null;
  52927. complexes = extended.components;
  52928. t1 = pseudo.normalizedName === "not";
  52929. 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()))
  52930. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  52931. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  52932. if (t1 && selector.components.length === 1) {
  52933. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  52934. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  52935. return result.length === 0 ? null : result;
  52936. } else
  52937. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  52938. },
  52939. _trim$2(selectors, isOriginal) {
  52940. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  52941. if (selectors.length > 100)
  52942. return selectors;
  52943. result = A.QueueList$(null, type$.ComplexSelector);
  52944. $label0$0:
  52945. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  52946. _box_0 = {};
  52947. complex1 = selectors[i];
  52948. if (isOriginal.call$1(complex1)) {
  52949. for (j = 0; j < numOriginals; ++j)
  52950. if (result.$index(0, j).$eq(0, complex1)) {
  52951. A.rotateSlice(result, 0, j + 1);
  52952. continue $label0$0;
  52953. }
  52954. ++numOriginals;
  52955. result.addFirst$1(complex1);
  52956. continue $label0$0;
  52957. }
  52958. _box_0.maxSpecificity = 0;
  52959. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  52960. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  52961. _box_0.maxSpecificity = maxSpecificity;
  52962. }
  52963. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  52964. continue $label0$0;
  52965. t3 = new A.SubListIterable(selectors, 0, i, t1);
  52966. t3.SubListIterable$3(selectors, 0, i, t2);
  52967. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  52968. continue $label0$0;
  52969. result.addFirst$1(complex1);
  52970. }
  52971. return result;
  52972. },
  52973. _sourceSpecificityFor$1(compound) {
  52974. var t1, t2, t3, specificity, _i, t4;
  52975. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  52976. t4 = t3.$index(0, t1[_i]);
  52977. if (t4 == null)
  52978. t4 = 0;
  52979. specificity = Math.max(specificity, t4);
  52980. }
  52981. return specificity;
  52982. },
  52983. clone$0() {
  52984. var t2, t3, t4, _this = this,
  52985. t1 = type$.SimpleSelector,
  52986. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  52987. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  52988. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  52989. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  52990. t2 = type$.Extension;
  52991. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  52992. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  52993. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  52994. t1.addAll$1(0, _this._sourceSpecificity);
  52995. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  52996. t4.addAll$1(0, _this._originals);
  52997. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  52998. },
  52999. get$_extensions() {
  53000. return this._extensions;
  53001. },
  53002. get$_sourceSpecificity() {
  53003. return this._sourceSpecificity;
  53004. }
  53005. };
  53006. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  53007. call$1(extension) {
  53008. return !extension.isOptional;
  53009. },
  53010. $signature: 330
  53011. };
  53012. A.ExtensionStore__registerSelector_closure.prototype = {
  53013. call$0() {
  53014. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53015. },
  53016. $signature: 334
  53017. };
  53018. A.ExtensionStore_addExtension_closure.prototype = {
  53019. call$0() {
  53020. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53021. },
  53022. $signature: 130
  53023. };
  53024. A.ExtensionStore_addExtension_closure0.prototype = {
  53025. call$0() {
  53026. return A._setArrayType([], type$.JSArray_Extension);
  53027. },
  53028. $signature: 212
  53029. };
  53030. A.ExtensionStore_addExtension_closure1.prototype = {
  53031. call$0() {
  53032. return this.complex.get$specificity();
  53033. },
  53034. $signature: 10
  53035. };
  53036. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53037. call$0() {
  53038. return A._setArrayType([], type$.JSArray_Extension);
  53039. },
  53040. $signature: 212
  53041. };
  53042. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53043. call$0() {
  53044. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53045. },
  53046. $signature: 130
  53047. };
  53048. A.ExtensionStore_addExtensions_closure.prototype = {
  53049. call$0() {
  53050. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53051. },
  53052. $signature: 130
  53053. };
  53054. A.ExtensionStore__extendComplex_closure.prototype = {
  53055. call$1(path) {
  53056. var t1 = this.complex;
  53057. 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);
  53058. },
  53059. $signature: 341
  53060. };
  53061. A.ExtensionStore__extendComplex__closure.prototype = {
  53062. call$1(outputComplex) {
  53063. var _this = this,
  53064. t1 = _this._box_0;
  53065. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53066. _this.$this._originals.add$1(0, outputComplex);
  53067. t1.first = false;
  53068. return outputComplex;
  53069. },
  53070. $signature: 60
  53071. };
  53072. A.ExtensionStore__extendCompound_closure.prototype = {
  53073. call$1(extender) {
  53074. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53075. },
  53076. $signature: 347
  53077. };
  53078. A.ExtensionStore__extendCompound_closure0.prototype = {
  53079. call$1(_) {
  53080. return false;
  53081. },
  53082. $signature: 19
  53083. };
  53084. A.ExtensionStore__extendCompound_closure1.prototype = {
  53085. call$1(complex) {
  53086. return complex.$eq(0, this.original);
  53087. },
  53088. $signature: 19
  53089. };
  53090. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53091. call$1(simple) {
  53092. var t1, t2,
  53093. extensionsForSimple = this.extensions.$index(0, simple);
  53094. if (extensionsForSimple == null)
  53095. return null;
  53096. t1 = this.targetsUsed;
  53097. if (t1 != null)
  53098. t1.add$1(0, simple);
  53099. t1 = A._setArrayType([], type$.JSArray_Extender);
  53100. t2 = this.$this;
  53101. if (t2._mode !== B.ExtendMode_replace_replace)
  53102. t1.push(t2._extenderForSimple$1(simple));
  53103. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53104. t1.push(t2.get$current(t2).extender);
  53105. return t1;
  53106. },
  53107. $signature: 348
  53108. };
  53109. A.ExtensionStore__extendSimple_closure.prototype = {
  53110. call$1(pseudo) {
  53111. var t1 = this.withoutPseudo.call$1(pseudo);
  53112. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53113. },
  53114. $signature: 349
  53115. };
  53116. A.ExtensionStore__extendSimple_closure0.prototype = {
  53117. call$1(result) {
  53118. return A._setArrayType([result], type$.JSArray_List_Extender);
  53119. },
  53120. $signature: 350
  53121. };
  53122. A.ExtensionStore__extendPseudo_closure.prototype = {
  53123. call$1(complex) {
  53124. return complex.components.length > 1;
  53125. },
  53126. $signature: 19
  53127. };
  53128. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53129. call$1(complex) {
  53130. return complex.components.length === 1;
  53131. },
  53132. $signature: 19
  53133. };
  53134. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53135. call$1(complex) {
  53136. return complex.components.length <= 1;
  53137. },
  53138. $signature: 19
  53139. };
  53140. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53141. call$1(complex) {
  53142. var innerPseudo, innerSelector,
  53143. t1 = complex.get$singleCompound();
  53144. if (t1 == null)
  53145. innerPseudo = null;
  53146. else {
  53147. t1 = t1.components;
  53148. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53149. }
  53150. if (!(innerPseudo instanceof A.PseudoSelector))
  53151. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53152. innerSelector = innerPseudo.selector;
  53153. if (innerSelector == null)
  53154. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53155. t1 = this.pseudo;
  53156. switch (t1.normalizedName) {
  53157. case "not":
  53158. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53159. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53160. return innerSelector.components;
  53161. case "is":
  53162. case "matches":
  53163. case "where":
  53164. case "any":
  53165. case "current":
  53166. case "nth-child":
  53167. case "nth-last-child":
  53168. if (innerPseudo.name !== t1.name)
  53169. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53170. if (innerPseudo.argument != t1.argument)
  53171. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53172. return innerSelector.components;
  53173. case "has":
  53174. case "host":
  53175. case "host-context":
  53176. case "slotted":
  53177. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53178. default:
  53179. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53180. }
  53181. },
  53182. $signature: 351
  53183. };
  53184. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53185. call$1(complex) {
  53186. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53187. },
  53188. $signature: 353
  53189. };
  53190. A.ExtensionStore__trim_closure.prototype = {
  53191. call$1(complex2) {
  53192. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53193. },
  53194. $signature: 19
  53195. };
  53196. A.ExtensionStore__trim_closure0.prototype = {
  53197. call$1(complex2) {
  53198. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53199. },
  53200. $signature: 19
  53201. };
  53202. A.ExtensionStore_clone_closure.prototype = {
  53203. call$2(simple, selectors) {
  53204. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  53205. t1 = type$.ModifiableBox_SelectorList,
  53206. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  53207. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53208. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  53209. t7 = t2.get$current(t2);
  53210. newSelector = new A.ModifiableBox(t7.value, t1);
  53211. newSelectorSet.add$1(0, newSelector);
  53212. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  53213. _0_0 = t5.$index(0, t7);
  53214. if (_0_0 != null)
  53215. t6.$indexSet(0, newSelector, _0_0);
  53216. }
  53217. },
  53218. $signature: 354
  53219. };
  53220. A.unifyComplex_closure.prototype = {
  53221. call$1(complex) {
  53222. return complex.lineBreak;
  53223. },
  53224. $signature: 19
  53225. };
  53226. A._weaveParents_closure.prototype = {
  53227. call$2(group1, group2) {
  53228. var t1, unified;
  53229. if (B.C_ListEquality.equals$2(0, group1, group2))
  53230. return group1;
  53231. if (A._complexIsParentSuperselector(group1, group2))
  53232. return group2;
  53233. if (A._complexIsParentSuperselector(group2, group1))
  53234. return group1;
  53235. if (!A._mustUnify(group1, group2))
  53236. return null;
  53237. t1 = this.span;
  53238. 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);
  53239. if (unified == null)
  53240. t1 = null;
  53241. else {
  53242. t1 = A.IterableExtension_get_singleOrNull(unified);
  53243. t1 = t1 == null ? null : t1.components;
  53244. }
  53245. return t1;
  53246. },
  53247. $signature: 356
  53248. };
  53249. A._weaveParents_closure0.prototype = {
  53250. call$1(sequence) {
  53251. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53252. },
  53253. $signature: 211
  53254. };
  53255. A._weaveParents_closure1.prototype = {
  53256. call$1(sequence) {
  53257. return sequence.get$length(0) === 0;
  53258. },
  53259. $signature: 211
  53260. };
  53261. A._weaveParents_closure2.prototype = {
  53262. call$1(choice) {
  53263. return J.get$isNotEmpty$asx(choice);
  53264. },
  53265. $signature: 358
  53266. };
  53267. A._mustUnify_closure.prototype = {
  53268. call$1(component) {
  53269. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53270. },
  53271. $signature: 52
  53272. };
  53273. A._mustUnify__closure.prototype = {
  53274. call$1(simple) {
  53275. var t1;
  53276. if (!(simple instanceof A.IDSelector))
  53277. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53278. else
  53279. t1 = true;
  53280. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53281. },
  53282. $signature: 14
  53283. };
  53284. A.paths_closure.prototype = {
  53285. call$2(paths, choice) {
  53286. var t1 = this.T;
  53287. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53288. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  53289. return t1;
  53290. },
  53291. $signature() {
  53292. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53293. }
  53294. };
  53295. A.paths__closure.prototype = {
  53296. call$1(option) {
  53297. var t1 = this.T;
  53298. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53299. },
  53300. $signature() {
  53301. return this.T._eval$1("Iterable<List<0>>(0)");
  53302. }
  53303. };
  53304. A.paths___closure.prototype = {
  53305. call$1(path) {
  53306. var t1 = A.List_List$_of(path, this.T);
  53307. t1.push(this.option);
  53308. return t1;
  53309. },
  53310. $signature() {
  53311. return this.T._eval$1("List<0>(List<0>)");
  53312. }
  53313. };
  53314. A.listIsSuperselector_closure.prototype = {
  53315. call$1(complex1) {
  53316. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53317. },
  53318. $signature: 19
  53319. };
  53320. A.listIsSuperselector__closure.prototype = {
  53321. call$1(complex2) {
  53322. return complex2.isSuperselector$1(this.complex1);
  53323. },
  53324. $signature: 19
  53325. };
  53326. A.complexIsSuperselector_closure.prototype = {
  53327. call$1($parent) {
  53328. return $parent.combinators.length > 1;
  53329. },
  53330. $signature: 52
  53331. };
  53332. A.complexIsSuperselector_closure0.prototype = {
  53333. call$1(component) {
  53334. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53335. },
  53336. $signature: 52
  53337. };
  53338. A._compatibleWithPreviousCombinator_closure.prototype = {
  53339. call$1(component) {
  53340. var t1 = component.combinators,
  53341. t2 = A.IterableExtension_get_firstOrNull(t1);
  53342. if ((t2 == null ? null : t2.value) !== B.Combinator_55N) {
  53343. t1 = A.IterableExtension_get_firstOrNull(t1);
  53344. t1 = (t1 == null ? null : t1.value) === B.Combinator_bOP;
  53345. } else
  53346. t1 = true;
  53347. return t1;
  53348. },
  53349. $signature: 52
  53350. };
  53351. A.compoundIsSuperselector_closure.prototype = {
  53352. call$1(simple1) {
  53353. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53354. },
  53355. $signature: 14
  53356. };
  53357. A._selectorPseudoIsSuperselector_closure.prototype = {
  53358. call$1(selector2) {
  53359. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53360. },
  53361. $signature: 69
  53362. };
  53363. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53364. call$1(complex1) {
  53365. var t1, t2;
  53366. if (complex1.leadingCombinators.length === 0) {
  53367. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53368. t2 = this.parents;
  53369. if (t2 != null)
  53370. B.JSArray_methods.addAll$1(t1, t2);
  53371. t2 = this.compound2;
  53372. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53373. t1 = A.complexIsSuperselector(complex1.components, t1);
  53374. } else
  53375. t1 = false;
  53376. return t1;
  53377. },
  53378. $signature: 19
  53379. };
  53380. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53381. call$1(selector2) {
  53382. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53383. },
  53384. $signature: 69
  53385. };
  53386. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53387. call$1(selector2) {
  53388. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53389. },
  53390. $signature: 69
  53391. };
  53392. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53393. call$1(complex) {
  53394. if (complex.accept$1(B._IsBogusVisitor_true))
  53395. return false;
  53396. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53397. },
  53398. $signature: 19
  53399. };
  53400. A._selectorPseudoIsSuperselector__closure.prototype = {
  53401. call$1(simple2) {
  53402. var t1, selector2, _0_4, _this = this;
  53403. $label0$1: {
  53404. if (simple2 instanceof A.TypeSelector) {
  53405. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53406. break $label0$1;
  53407. }
  53408. if (simple2 instanceof A.IDSelector) {
  53409. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53410. break $label0$1;
  53411. }
  53412. selector2 = null;
  53413. t1 = false;
  53414. if (simple2 instanceof A.PseudoSelector) {
  53415. _0_4 = simple2.selector;
  53416. if (_0_4 != null) {
  53417. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53418. t1 = simple2.name === _this.pseudo1.name;
  53419. }
  53420. }
  53421. if (t1) {
  53422. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53423. break $label0$1;
  53424. }
  53425. t1 = false;
  53426. break $label0$1;
  53427. }
  53428. return t1;
  53429. },
  53430. $signature: 14
  53431. };
  53432. A._selectorPseudoIsSuperselector___closure.prototype = {
  53433. call$1(simple1) {
  53434. var t1;
  53435. if (simple1 instanceof A.TypeSelector) {
  53436. t1 = this.simple2.name.$eq(0, simple1.name);
  53437. t1 = !t1;
  53438. } else
  53439. t1 = false;
  53440. return t1;
  53441. },
  53442. $signature: 14
  53443. };
  53444. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53445. call$1(simple1) {
  53446. var t1;
  53447. if (simple1 instanceof A.IDSelector)
  53448. t1 = this.simple2.name !== simple1.name;
  53449. else
  53450. t1 = false;
  53451. return t1;
  53452. },
  53453. $signature: 14
  53454. };
  53455. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53456. call$1(selector2) {
  53457. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53458. return t1;
  53459. },
  53460. $signature: 69
  53461. };
  53462. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53463. call$1(pseudo2) {
  53464. var t1, selector2;
  53465. if (!(pseudo2 instanceof A.PseudoSelector))
  53466. return false;
  53467. t1 = this.pseudo1;
  53468. if (pseudo2.name !== t1.name)
  53469. return false;
  53470. if (pseudo2.argument != t1.argument)
  53471. return false;
  53472. selector2 = pseudo2.selector;
  53473. if (selector2 == null)
  53474. return false;
  53475. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53476. },
  53477. $signature: 14
  53478. };
  53479. A._selectorPseudoArgs_closure.prototype = {
  53480. call$1(pseudo) {
  53481. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53482. },
  53483. $signature: 369
  53484. };
  53485. A._selectorPseudoArgs_closure0.prototype = {
  53486. call$1(pseudo) {
  53487. return pseudo.selector;
  53488. },
  53489. $signature: 370
  53490. };
  53491. A.MergedExtension.prototype = {
  53492. unmerge$0() {
  53493. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53494. },
  53495. unmerge$body$MergedExtension() {
  53496. var $async$self = this;
  53497. return function() {
  53498. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53499. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53500. if ($async$errorCode === 1) {
  53501. $async$errorStack.push($async$result);
  53502. $async$goto = $async$handler;
  53503. }
  53504. while (true)
  53505. switch ($async$goto) {
  53506. case 0:
  53507. // Function start
  53508. left = $async$self.left;
  53509. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53510. break;
  53511. case 2:
  53512. // then
  53513. $async$goto = 5;
  53514. return $async$iterator._yieldStar$1(left.unmerge$0());
  53515. case 5:
  53516. // after yield
  53517. // goto join
  53518. $async$goto = 3;
  53519. break;
  53520. case 4:
  53521. // else
  53522. $async$goto = 6;
  53523. return $async$iterator._async$_current = left, 1;
  53524. case 6:
  53525. // after yield
  53526. case 3:
  53527. // join
  53528. right = $async$self.right;
  53529. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53530. break;
  53531. case 7:
  53532. // then
  53533. $async$goto = 10;
  53534. return $async$iterator._yieldStar$1(right.unmerge$0());
  53535. case 10:
  53536. // after yield
  53537. // goto join
  53538. $async$goto = 8;
  53539. break;
  53540. case 9:
  53541. // else
  53542. $async$goto = 11;
  53543. return $async$iterator._async$_current = right, 1;
  53544. case 11:
  53545. // after yield
  53546. case 8:
  53547. // join
  53548. // implicit return
  53549. return 0;
  53550. case 1:
  53551. // rethrow
  53552. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53553. }
  53554. };
  53555. };
  53556. }
  53557. };
  53558. A.ExtendMode.prototype = {
  53559. _enumToString$0() {
  53560. return "ExtendMode." + this._name;
  53561. },
  53562. toString$0(_) {
  53563. return this.name;
  53564. }
  53565. };
  53566. A.globalFunctions_closure.prototype = {
  53567. call$1($arguments) {
  53568. var t1 = J.getInterceptor$asx($arguments);
  53569. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53570. },
  53571. $signature: 4
  53572. };
  53573. A.global_closure0.prototype = {
  53574. call$1(color) {
  53575. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53576. },
  53577. $signature: 65
  53578. };
  53579. A.global_closure1.prototype = {
  53580. call$1(color) {
  53581. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53582. },
  53583. $signature: 65
  53584. };
  53585. A.global_closure2.prototype = {
  53586. call$1(color) {
  53587. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53588. },
  53589. $signature: 65
  53590. };
  53591. A.global_closure3.prototype = {
  53592. call$1($arguments) {
  53593. return A._rgb("rgb", $arguments);
  53594. },
  53595. $signature: 4
  53596. };
  53597. A.global_closure4.prototype = {
  53598. call$1($arguments) {
  53599. return A._rgb("rgb", $arguments);
  53600. },
  53601. $signature: 4
  53602. };
  53603. A.global_closure5.prototype = {
  53604. call$1($arguments) {
  53605. return A._rgbTwoArg("rgb", $arguments);
  53606. },
  53607. $signature: 4
  53608. };
  53609. A.global_closure6.prototype = {
  53610. call$1($arguments) {
  53611. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53612. },
  53613. $signature: 4
  53614. };
  53615. A.global_closure7.prototype = {
  53616. call$1($arguments) {
  53617. return A._rgb("rgba", $arguments);
  53618. },
  53619. $signature: 4
  53620. };
  53621. A.global_closure8.prototype = {
  53622. call$1($arguments) {
  53623. return A._rgb("rgba", $arguments);
  53624. },
  53625. $signature: 4
  53626. };
  53627. A.global_closure9.prototype = {
  53628. call$1($arguments) {
  53629. return A._rgbTwoArg("rgba", $arguments);
  53630. },
  53631. $signature: 4
  53632. };
  53633. A.global_closure10.prototype = {
  53634. call$1($arguments) {
  53635. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53636. },
  53637. $signature: 4
  53638. };
  53639. A.global_closure11.prototype = {
  53640. call$1($arguments) {
  53641. var t1 = J.getInterceptor$asx($arguments);
  53642. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  53643. A.warnForDeprecation(string$.Globalci, B.Deprecation_1AX);
  53644. return A._invert($arguments, true);
  53645. },
  53646. $signature: 4
  53647. };
  53648. A.global_closure12.prototype = {
  53649. call$1(color) {
  53650. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53651. },
  53652. $signature: 49
  53653. };
  53654. A.global_closure13.prototype = {
  53655. call$1(color) {
  53656. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53657. },
  53658. $signature: 49
  53659. };
  53660. A.global_closure14.prototype = {
  53661. call$1(color) {
  53662. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53663. },
  53664. $signature: 49
  53665. };
  53666. A.global_closure15.prototype = {
  53667. call$1($arguments) {
  53668. return A._hsl("hsl", $arguments);
  53669. },
  53670. $signature: 4
  53671. };
  53672. A.global_closure16.prototype = {
  53673. call$1($arguments) {
  53674. return A._hsl("hsl", $arguments);
  53675. },
  53676. $signature: 4
  53677. };
  53678. A.global_closure17.prototype = {
  53679. call$1($arguments) {
  53680. var t1 = J.getInterceptor$asx($arguments);
  53681. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53682. return A._functionString("hsl", $arguments);
  53683. else
  53684. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53685. },
  53686. $signature: 17
  53687. };
  53688. A.global_closure18.prototype = {
  53689. call$1($arguments) {
  53690. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53691. },
  53692. $signature: 4
  53693. };
  53694. A.global_closure19.prototype = {
  53695. call$1($arguments) {
  53696. return A._hsl("hsla", $arguments);
  53697. },
  53698. $signature: 4
  53699. };
  53700. A.global_closure20.prototype = {
  53701. call$1($arguments) {
  53702. return A._hsl("hsla", $arguments);
  53703. },
  53704. $signature: 4
  53705. };
  53706. A.global_closure21.prototype = {
  53707. call$1($arguments) {
  53708. var t1 = J.getInterceptor$asx($arguments);
  53709. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53710. return A._functionString("hsla", $arguments);
  53711. else
  53712. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53713. },
  53714. $signature: 17
  53715. };
  53716. A.global_closure22.prototype = {
  53717. call$1($arguments) {
  53718. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53719. },
  53720. $signature: 4
  53721. };
  53722. A.global_closure23.prototype = {
  53723. call$1($arguments) {
  53724. var t1 = J.getInterceptor$asx($arguments);
  53725. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53726. return A._functionString("grayscale", $arguments);
  53727. else {
  53728. A.warnForDeprecation(string$.Globalcg, B.Deprecation_1AX);
  53729. return A._grayscale(t1.$index($arguments, 0));
  53730. }
  53731. },
  53732. $signature: 4
  53733. };
  53734. A.global_closure24.prototype = {
  53735. call$1($arguments) {
  53736. var t1 = J.getInterceptor$asx($arguments),
  53737. color = t1.$index($arguments, 0).assertColor$1("color"),
  53738. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  53739. if (!color._space.get$isLegacyInternal())
  53740. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  53741. A.warnForDeprecation(string$.adjustd + A.serializeValue(A.SassNumber_SassNumber(degrees, "deg"), false, true) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  53742. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  53743. },
  53744. $signature: 25
  53745. };
  53746. A.global_closure25.prototype = {
  53747. call$1($arguments) {
  53748. var result,
  53749. _s9_ = "lightness",
  53750. t1 = J.getInterceptor$asx($arguments),
  53751. color = t1.$index($arguments, 0).assertColor$1("color"),
  53752. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53753. if (!color._space.get$isLegacyInternal())
  53754. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  53755. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  53756. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53757. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53758. return result;
  53759. },
  53760. $signature: 25
  53761. };
  53762. A.global_closure26.prototype = {
  53763. call$1($arguments) {
  53764. var result,
  53765. _s9_ = "lightness",
  53766. t1 = J.getInterceptor$asx($arguments),
  53767. color = t1.$index($arguments, 0).assertColor$1("color"),
  53768. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53769. if (!color._space.get$isLegacyInternal())
  53770. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  53771. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  53772. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53773. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53774. return result;
  53775. },
  53776. $signature: 25
  53777. };
  53778. A.global_closure27.prototype = {
  53779. call$1($arguments) {
  53780. var t1 = J.getInterceptor$asx($arguments);
  53781. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53782. return A._functionString("saturate", $arguments);
  53783. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  53784. },
  53785. $signature: 17
  53786. };
  53787. A.global_closure28.prototype = {
  53788. call$1($arguments) {
  53789. var t1, color, amount, result,
  53790. _s10_ = "saturation";
  53791. A.warnForDeprecation(string$.Globalcad, B.Deprecation_1AX);
  53792. t1 = J.getInterceptor$asx($arguments);
  53793. color = t1.$index($arguments, 0).assertColor$1("color");
  53794. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53795. if (!color._space.get$isLegacyInternal())
  53796. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  53797. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  53798. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53799. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53800. return result;
  53801. },
  53802. $signature: 25
  53803. };
  53804. A.global_closure29.prototype = {
  53805. call$1($arguments) {
  53806. var result,
  53807. _s10_ = "saturation",
  53808. t1 = J.getInterceptor$asx($arguments),
  53809. color = t1.$index($arguments, 0).assertColor$1("color"),
  53810. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53811. if (!color._space.get$isLegacyInternal())
  53812. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  53813. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  53814. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53815. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53816. return result;
  53817. },
  53818. $signature: 25
  53819. };
  53820. A.global_closure30.prototype = {
  53821. call$1($arguments) {
  53822. return A._opacify("opacify", $arguments);
  53823. },
  53824. $signature: 25
  53825. };
  53826. A.global_closure31.prototype = {
  53827. call$1($arguments) {
  53828. return A._opacify("fade-in", $arguments);
  53829. },
  53830. $signature: 25
  53831. };
  53832. A.global_closure32.prototype = {
  53833. call$1($arguments) {
  53834. return A._transparentize("transparentize", $arguments);
  53835. },
  53836. $signature: 25
  53837. };
  53838. A.global_closure33.prototype = {
  53839. call$1($arguments) {
  53840. return A._transparentize("fade-out", $arguments);
  53841. },
  53842. $signature: 25
  53843. };
  53844. A.global_closure34.prototype = {
  53845. call$1($arguments) {
  53846. var _0_0 = J.$index$asx($arguments, 0),
  53847. t1 = false;
  53848. if (_0_0 instanceof A.SassString)
  53849. if (!_0_0._hasQuotes)
  53850. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  53851. if (t1)
  53852. return A._functionString("alpha", $arguments);
  53853. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  53854. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  53855. A.warnForDeprecation(string$.Globalcal, B.Deprecation_1AX);
  53856. t1 = _0_0.assertColor$1("color").alphaOrNull;
  53857. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53858. },
  53859. $signature: 4
  53860. };
  53861. A.global_closure35.prototype = {
  53862. call$1($arguments) {
  53863. var t1,
  53864. argList = J.$index$asx($arguments, 0).get$asList();
  53865. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  53866. return A._functionString("alpha", $arguments);
  53867. t1 = argList.length;
  53868. if (t1 === 0)
  53869. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  53870. else
  53871. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  53872. },
  53873. $signature: 17
  53874. };
  53875. A.global__closure.prototype = {
  53876. call$1(argument) {
  53877. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  53878. },
  53879. $signature: 67
  53880. };
  53881. A.global_closure36.prototype = {
  53882. call$1($arguments) {
  53883. var t1 = J.getInterceptor$asx($arguments);
  53884. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53885. return A._functionString("opacity", $arguments);
  53886. A.warnForDeprecation(string$.Globalco, B.Deprecation_1AX);
  53887. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  53888. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53889. },
  53890. $signature: 4
  53891. };
  53892. A.global_closure37.prototype = {
  53893. call$1($arguments) {
  53894. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  53895. },
  53896. $signature: 4
  53897. };
  53898. A.global_closure38.prototype = {
  53899. call$1($arguments) {
  53900. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53901. },
  53902. $signature: 4
  53903. };
  53904. A.global_closure39.prototype = {
  53905. call$1($arguments) {
  53906. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  53907. },
  53908. $signature: 4
  53909. };
  53910. A.global_closure40.prototype = {
  53911. call$1($arguments) {
  53912. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  53913. },
  53914. $signature: 4
  53915. };
  53916. A.global_closure41.prototype = {
  53917. call$1($arguments) {
  53918. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  53919. },
  53920. $signature: 4
  53921. };
  53922. A.global_closure42.prototype = {
  53923. call$1($arguments) {
  53924. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  53925. },
  53926. $signature: 4
  53927. };
  53928. A.module_closure1.prototype = {
  53929. call$1(color) {
  53930. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53931. },
  53932. $signature: 65
  53933. };
  53934. A.module_closure2.prototype = {
  53935. call$1(color) {
  53936. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53937. },
  53938. $signature: 65
  53939. };
  53940. A.module_closure3.prototype = {
  53941. call$1(color) {
  53942. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53943. },
  53944. $signature: 65
  53945. };
  53946. A.module_closure4.prototype = {
  53947. call$1($arguments) {
  53948. var result = A._invert($arguments, false);
  53949. if (result instanceof A.SassString)
  53950. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_u0j);
  53951. return result;
  53952. },
  53953. $signature: 4
  53954. };
  53955. A.module_closure5.prototype = {
  53956. call$1(color) {
  53957. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53958. },
  53959. $signature: 49
  53960. };
  53961. A.module_closure6.prototype = {
  53962. call$1(color) {
  53963. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53964. },
  53965. $signature: 49
  53966. };
  53967. A.module_closure7.prototype = {
  53968. call$1(color) {
  53969. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53970. },
  53971. $signature: 49
  53972. };
  53973. A.module_closure8.prototype = {
  53974. call$1($arguments) {
  53975. var result,
  53976. t1 = J.getInterceptor$asx($arguments);
  53977. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  53978. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  53979. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_u0j);
  53980. return result;
  53981. }
  53982. return A._grayscale(t1.$index($arguments, 0));
  53983. },
  53984. $signature: 4
  53985. };
  53986. A.module_closure9.prototype = {
  53987. call$1($arguments) {
  53988. var t1 = J.getInterceptor$asx($arguments),
  53989. t2 = type$.JSArray_Value;
  53990. 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);
  53991. },
  53992. $signature: 4
  53993. };
  53994. A.module_closure10.prototype = {
  53995. call$1($arguments) {
  53996. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53997. },
  53998. $signature: 4
  53999. };
  54000. A.module_closure11.prototype = {
  54001. call$1(color) {
  54002. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  54003. },
  54004. $signature: 49
  54005. };
  54006. A.module_closure12.prototype = {
  54007. call$1(color) {
  54008. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  54009. },
  54010. $signature: 49
  54011. };
  54012. A.module_closure13.prototype = {
  54013. call$1($arguments) {
  54014. var result,
  54015. _0_0 = J.$index$asx($arguments, 0),
  54016. t1 = false;
  54017. if (_0_0 instanceof A.SassString)
  54018. if (!_0_0._hasQuotes)
  54019. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54020. if (t1) {
  54021. result = A._functionString("alpha", $arguments);
  54022. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54023. return result;
  54024. }
  54025. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54026. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54027. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54028. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54029. },
  54030. $signature: 4
  54031. };
  54032. A.module_closure14.prototype = {
  54033. call$1($arguments) {
  54034. var result,
  54035. t1 = J.getInterceptor$asx($arguments);
  54036. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54037. result = A._functionString("alpha", $arguments);
  54038. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54039. return result;
  54040. }
  54041. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54042. },
  54043. $signature: 17
  54044. };
  54045. A.module__closure2.prototype = {
  54046. call$1(argument) {
  54047. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54048. },
  54049. $signature: 67
  54050. };
  54051. A.module_closure15.prototype = {
  54052. call$1($arguments) {
  54053. var result,
  54054. t1 = J.getInterceptor$asx($arguments);
  54055. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54056. result = A._functionString("opacity", $arguments);
  54057. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_u0j);
  54058. return result;
  54059. }
  54060. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54061. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54062. },
  54063. $signature: 4
  54064. };
  54065. A.module_closure16.prototype = {
  54066. call$1($arguments) {
  54067. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54068. },
  54069. $signature: 17
  54070. };
  54071. A.module_closure17.prototype = {
  54072. call$1($arguments) {
  54073. var t1 = J.getInterceptor$asx($arguments);
  54074. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54075. },
  54076. $signature: 25
  54077. };
  54078. A.module_closure18.prototype = {
  54079. call$1($arguments) {
  54080. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54081. },
  54082. $signature: 12
  54083. };
  54084. A.module_closure19.prototype = {
  54085. call$1($arguments) {
  54086. var t1 = J.getInterceptor$asx($arguments);
  54087. 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;
  54088. },
  54089. $signature: 12
  54090. };
  54091. A.module_closure20.prototype = {
  54092. call$1($arguments) {
  54093. var t1 = J.getInterceptor$asx($arguments);
  54094. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54095. },
  54096. $signature: 12
  54097. };
  54098. A.module_closure21.prototype = {
  54099. call$1($arguments) {
  54100. var space, method, _s5_ = "space", _s6_ = "method",
  54101. t1 = J.getInterceptor$asx($arguments),
  54102. color = t1.$index($arguments, 0).assertColor$1("color"),
  54103. t2 = t1.$index($arguments, 1);
  54104. if (t2.$eq(0, B.C__SassNull))
  54105. space = color._space;
  54106. else {
  54107. t2 = t2.assertString$1(_s5_);
  54108. t2.assertUnquoted$1(_s5_);
  54109. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54110. }
  54111. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54112. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54113. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54114. t1.assertUnquoted$1(_s6_);
  54115. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54116. if (!space.get$isBoundedInternal())
  54117. return color;
  54118. t1 = color.toSpace$1(space);
  54119. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54120. return t1.toSpace$2$legacyMissing(color._space, false);
  54121. },
  54122. $signature: 25
  54123. };
  54124. A.module_closure22.prototype = {
  54125. call$1($arguments) {
  54126. var channelIndex, channelInfo, channelValue, unit,
  54127. t1 = J.getInterceptor$asx($arguments),
  54128. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54129. channelName = A._channelName(t1.$index($arguments, 1));
  54130. if (channelName === "alpha") {
  54131. t1 = color.alphaOrNull;
  54132. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54133. }
  54134. t1 = color._space._channels;
  54135. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54136. if (channelIndex === -1)
  54137. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54138. channelInfo = t1[channelIndex];
  54139. channelValue = color.get$channels()[channelIndex];
  54140. unit = channelInfo.associatedUnit;
  54141. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54142. },
  54143. $signature: 22
  54144. };
  54145. A.module__closure1.prototype = {
  54146. call$1(channel) {
  54147. return channel.name === this.channelName;
  54148. },
  54149. $signature: 108
  54150. };
  54151. A.module_closure23.prototype = {
  54152. call$1($arguments) {
  54153. var t2, t3,
  54154. t1 = J.getInterceptor$asx($arguments),
  54155. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54156. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54157. t1 = new A.module_closure_toXyzNoMissing();
  54158. if (color1._space === color2._space) {
  54159. t1 = color1.channel0OrNull;
  54160. t2 = false;
  54161. if (t1 == null)
  54162. t1 = 0;
  54163. t3 = color2.channel0OrNull;
  54164. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54165. t1 = color1.channel1OrNull;
  54166. if (t1 == null)
  54167. t1 = 0;
  54168. t3 = color2.channel1OrNull;
  54169. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54170. t1 = color1.channel2OrNull;
  54171. if (t1 == null)
  54172. t1 = 0;
  54173. t3 = color2.channel2OrNull;
  54174. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54175. t1 = color1.alphaOrNull;
  54176. if (t1 == null)
  54177. t1 = 0;
  54178. t2 = color2.alphaOrNull;
  54179. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54180. } else
  54181. t1 = t2;
  54182. } else
  54183. t1 = t2;
  54184. } else
  54185. t1 = t2;
  54186. } else
  54187. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54188. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54189. },
  54190. $signature: 12
  54191. };
  54192. A.module_closure_toXyzNoMissing.prototype = {
  54193. call$1(color) {
  54194. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  54195. $label0$0: {
  54196. _1_1 = color._space;
  54197. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54198. t1 = _1_3;
  54199. if (t1)
  54200. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54201. else
  54202. t1 = false;
  54203. if (t1) {
  54204. t1 = color;
  54205. break $label0$0;
  54206. }
  54207. if (_1_3) {
  54208. _1_7 = color.channel0OrNull;
  54209. if (_1_7 == null)
  54210. _1_7 = 0;
  54211. channel0 = _1_7;
  54212. _1_8 = color.channel1OrNull;
  54213. if (_1_8 == null)
  54214. _1_8 = 0;
  54215. channel1 = _1_8;
  54216. _1_9 = color.channel2OrNull;
  54217. if (_1_9 == null)
  54218. _1_9 = 0;
  54219. channel2 = _1_9;
  54220. _1_10 = color.alphaOrNull;
  54221. if (_1_10 == null)
  54222. _1_10 = 0;
  54223. alpha = _1_10;
  54224. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, null);
  54225. break $label0$0;
  54226. }
  54227. _1_7 = color.channel0OrNull;
  54228. if (_1_7 == null)
  54229. _1_7 = 0;
  54230. channel0 = _1_7;
  54231. _1_8 = color.channel1OrNull;
  54232. if (_1_8 == null)
  54233. _1_8 = 0;
  54234. channel1 = _1_8;
  54235. _1_9 = color.channel2OrNull;
  54236. if (_1_9 == null)
  54237. _1_9 = 0;
  54238. channel2 = _1_9;
  54239. _1_10 = color.alphaOrNull;
  54240. if (_1_10 == null)
  54241. _1_10 = 0;
  54242. alpha = _1_10;
  54243. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54244. break $label0$0;
  54245. }
  54246. return t1;
  54247. },
  54248. $signature: 415
  54249. };
  54250. A.module_closure24.prototype = {
  54251. call$1($arguments) {
  54252. var t1 = J.getInterceptor$asx($arguments);
  54253. 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;
  54254. },
  54255. $signature: 12
  54256. };
  54257. A._mix_closure.prototype = {
  54258. call$1($arguments) {
  54259. var _s6_ = "weight",
  54260. _s41_ = string$.To_usem,
  54261. _s29_ = ", you must provide a $method.",
  54262. t1 = J.getInterceptor$asx($arguments),
  54263. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54264. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54265. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54266. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54267. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54268. A._checkPercent(weight, _s6_);
  54269. if (!color1._space.get$isLegacyInternal())
  54270. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54271. else if (!color2._space.get$isLegacyInternal())
  54272. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54273. return A._mixLegacy(color1, color2, weight);
  54274. },
  54275. $signature: 25
  54276. };
  54277. A._complement_closure.prototype = {
  54278. call$1($arguments) {
  54279. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54280. t1 = J.getInterceptor$asx($arguments),
  54281. color = t1.$index($arguments, 0).assertColor$1("color"),
  54282. t2 = color._space;
  54283. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54284. space = B.HslColorSpace_JQ2;
  54285. else {
  54286. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54287. t3.assertUnquoted$1(_s5_);
  54288. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54289. }
  54290. if (!space.get$isPolarInternal())
  54291. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54292. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54293. t1 = space._channels;
  54294. t3 = colorInSpace.channel0OrNull;
  54295. t4 = colorInSpace.channel1OrNull;
  54296. t5 = colorInSpace.channel2OrNull;
  54297. t6 = colorInSpace.alphaOrNull;
  54298. 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);
  54299. },
  54300. $signature: 25
  54301. };
  54302. A._adjust_closure.prototype = {
  54303. call$1($arguments) {
  54304. return A._updateComponents($arguments, true, false, false);
  54305. },
  54306. $signature: 25
  54307. };
  54308. A._scale_closure.prototype = {
  54309. call$1($arguments) {
  54310. return A._updateComponents($arguments, false, false, true);
  54311. },
  54312. $signature: 25
  54313. };
  54314. A._change_closure.prototype = {
  54315. call$1($arguments) {
  54316. return A._updateComponents($arguments, false, true, false);
  54317. },
  54318. $signature: 25
  54319. };
  54320. A._ieHexStr_closure.prototype = {
  54321. call$1($arguments) {
  54322. var t1, t2, t3, t4, t5,
  54323. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54324. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54325. t1 = new A._ieHexStr_closure_hexString();
  54326. t2 = color.alphaOrNull;
  54327. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54328. t3 = color.channel0OrNull;
  54329. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54330. t4 = color.channel1OrNull;
  54331. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54332. t5 = color.channel2OrNull;
  54333. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54334. },
  54335. $signature: 17
  54336. };
  54337. A._ieHexStr_closure_hexString.prototype = {
  54338. call$1(component) {
  54339. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54340. },
  54341. $signature: 229
  54342. };
  54343. A._updateComponents_closure.prototype = {
  54344. call$1(space) {
  54345. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54346. },
  54347. $signature: 422
  54348. };
  54349. A._updateComponents_closure0.prototype = {
  54350. call$1(info) {
  54351. return this._box_0.name === info.name;
  54352. },
  54353. $signature: 108
  54354. };
  54355. A._changeColor_closure.prototype = {
  54356. call$0() {
  54357. var t1 = this.alphaArg;
  54358. 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);
  54359. return t1.valueInRange$3(0, 1, "alpha");
  54360. },
  54361. $signature: 238
  54362. };
  54363. A._adjustColor_closure.prototype = {
  54364. call$1(alpha) {
  54365. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54366. },
  54367. $signature: 16
  54368. };
  54369. A._functionString_closure.prototype = {
  54370. call$1(argument) {
  54371. return A.serializeValue(argument, false, true);
  54372. },
  54373. $signature: 452
  54374. };
  54375. A._removedColorFunction_closure.prototype = {
  54376. call$1($arguments) {
  54377. var t1 = this.name,
  54378. t2 = J.getInterceptor$asx($arguments),
  54379. t3 = t2.$index($arguments, 0).toString$0(0),
  54380. t4 = this.negative ? "-" : "";
  54381. 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));
  54382. },
  54383. $signature: 457
  54384. };
  54385. A._rgb_closure.prototype = {
  54386. call$1(alpha) {
  54387. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54388. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54389. },
  54390. $signature: 243
  54391. };
  54392. A._hsl_closure.prototype = {
  54393. call$1(alpha) {
  54394. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54395. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54396. },
  54397. $signature: 243
  54398. };
  54399. A._parseChannels_closure.prototype = {
  54400. call$1($name) {
  54401. return $name + " channel";
  54402. },
  54403. $signature: 6
  54404. };
  54405. A._parseChannels_closure0.prototype = {
  54406. call$1(channel) {
  54407. return channel.get$isSpecialNumber();
  54408. },
  54409. $signature: 67
  54410. };
  54411. A._colorFromChannels_closure.prototype = {
  54412. call$1(channel0) {
  54413. return A._angleValue(channel0, "hue");
  54414. },
  54415. $signature: 129
  54416. };
  54417. A._colorFromChannels_closure0.prototype = {
  54418. call$1(channel0) {
  54419. return A._angleValue(channel0, "hue");
  54420. },
  54421. $signature: 129
  54422. };
  54423. A._channelFromValue_closure.prototype = {
  54424. call$1(value) {
  54425. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  54426. _0_0 = this.channel;
  54427. $label0$0: {
  54428. t1 = _0_0 instanceof A.LinearChannel;
  54429. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54430. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54431. _0_8 = null;
  54432. t2 = false;
  54433. if (t1) {
  54434. _0_5 = _0_0.lowerClamped;
  54435. _0_8_isSet = !_0_5;
  54436. if (_0_8_isSet) {
  54437. _0_8 = _0_0.upperClamped;
  54438. t2 = !_0_8;
  54439. }
  54440. } else {
  54441. _0_5 = null;
  54442. _0_8_isSet = false;
  54443. }
  54444. if (t2) {
  54445. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54446. break $label0$0;
  54447. }
  54448. if (t1 && !this.clamp) {
  54449. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54450. break $label0$0;
  54451. }
  54452. if (t1) {
  54453. lowerClamped = _0_5;
  54454. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54455. t1 = _0_0.max;
  54456. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54457. t3 = lowerClamped ? _0_0.min : -1 / 0;
  54458. t1 = upperClamped ? t1 : 1 / 0;
  54459. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54460. break $label0$0;
  54461. }
  54462. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54463. break $label0$0;
  54464. }
  54465. return t1;
  54466. },
  54467. $signature: 129
  54468. };
  54469. A._channelFunction_closure.prototype = {
  54470. call$1($arguments) {
  54471. var _this = this,
  54472. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54473. t1 = _this.global ? "" : "color.",
  54474. t2 = _this.name;
  54475. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  54476. return result;
  54477. },
  54478. $signature: 22
  54479. };
  54480. A._suggestScaleAndAdjust_closure.prototype = {
  54481. call$1(channel) {
  54482. return channel.name === this.channelName;
  54483. },
  54484. $signature: 108
  54485. };
  54486. A._length_closure0.prototype = {
  54487. call$1($arguments) {
  54488. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54489. },
  54490. $signature: 22
  54491. };
  54492. A._nth_closure.prototype = {
  54493. call$1($arguments) {
  54494. var t1 = J.getInterceptor$asx($arguments),
  54495. list = t1.$index($arguments, 0),
  54496. index = t1.$index($arguments, 1);
  54497. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54498. },
  54499. $signature: 4
  54500. };
  54501. A._setNth_closure.prototype = {
  54502. call$1($arguments) {
  54503. var newList,
  54504. t1 = J.getInterceptor$asx($arguments),
  54505. list = t1.$index($arguments, 0),
  54506. index = t1.$index($arguments, 1),
  54507. value = t1.$index($arguments, 2);
  54508. t1 = list.get$asList();
  54509. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54510. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54511. return list.withListContents$1(newList);
  54512. },
  54513. $signature: 26
  54514. };
  54515. A._join_closure.prototype = {
  54516. call$1($arguments) {
  54517. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  54518. t1 = J.getInterceptor$asx($arguments),
  54519. list1 = t1.$index($arguments, 0),
  54520. list2 = t1.$index($arguments, 1),
  54521. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54522. bracketedParam = t1.$index($arguments, 3),
  54523. _1_0 = separatorParam._string$_text;
  54524. $label1$1: {
  54525. if ("auto" === _1_0) {
  54526. _0_1 = list1.get$separator(list1);
  54527. _0_4 = list2.get$separator(list2);
  54528. $label0$0: {
  54529. t1 = null;
  54530. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  54531. _0_4_isSet = _0_3;
  54532. if (_0_4_isSet) {
  54533. t2 = B.ListSeparator_undecided_null_undecided === _0_4;
  54534. _0_40 = _0_4;
  54535. } else {
  54536. _0_40 = null;
  54537. t2 = false;
  54538. }
  54539. if (t2) {
  54540. t1 = B.ListSeparator_qSL;
  54541. break $label0$0;
  54542. }
  54543. if (_0_3)
  54544. separator = _0_4_isSet ? _0_40 : _0_4;
  54545. else
  54546. separator = t1;
  54547. if (!_0_3)
  54548. separator = _0_1;
  54549. t1 = separator;
  54550. break $label0$0;
  54551. }
  54552. break $label1$1;
  54553. }
  54554. if ("space" === _1_0) {
  54555. t1 = B.ListSeparator_qSL;
  54556. break $label1$1;
  54557. }
  54558. if ("comma" === _1_0) {
  54559. t1 = B.ListSeparator_qVN;
  54560. break $label1$1;
  54561. }
  54562. if ("slash" === _1_0) {
  54563. t1 = B.ListSeparator_bRz;
  54564. break $label1$1;
  54565. }
  54566. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54567. }
  54568. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54569. t2 = A.List_List$_of(list1.get$asList(), type$.Value);
  54570. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54571. return A.SassList$(t2, t1, bracketed);
  54572. },
  54573. $signature: 26
  54574. };
  54575. A._append_closure0.prototype = {
  54576. call$1($arguments) {
  54577. var t2,
  54578. t1 = J.getInterceptor$asx($arguments),
  54579. list = t1.$index($arguments, 0),
  54580. value = t1.$index($arguments, 1),
  54581. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54582. $label0$0: {
  54583. if ("auto" === _0_0) {
  54584. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qSL : list.get$separator(list);
  54585. break $label0$0;
  54586. }
  54587. if ("space" === _0_0) {
  54588. t1 = B.ListSeparator_qSL;
  54589. break $label0$0;
  54590. }
  54591. if ("comma" === _0_0) {
  54592. t1 = B.ListSeparator_qVN;
  54593. break $label0$0;
  54594. }
  54595. if ("slash" === _0_0) {
  54596. t1 = B.ListSeparator_bRz;
  54597. break $label0$0;
  54598. }
  54599. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54600. }
  54601. t2 = A.List_List$_of(list.get$asList(), type$.Value);
  54602. t2.push(value);
  54603. return list.withListContents$2$separator(t2, t1);
  54604. },
  54605. $signature: 26
  54606. };
  54607. A._zip_closure.prototype = {
  54608. call$1($arguments) {
  54609. var results, result, _box_0 = {},
  54610. t1 = J.$index$asx($arguments, 0).get$asList(),
  54611. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54612. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure(), t2), t2._eval$1("ListIterable.E"));
  54613. if (lists.length === 0)
  54614. return B.SassList_BlY;
  54615. _box_0.i = 0;
  54616. results = A._setArrayType([], type$.JSArray_SassList);
  54617. 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));) {
  54618. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54619. result.$flags = 3;
  54620. results.push(new A.SassList(result, B.ListSeparator_qSL, false));
  54621. ++_box_0.i;
  54622. }
  54623. return A.SassList$(results, B.ListSeparator_qVN, false);
  54624. },
  54625. $signature: 26
  54626. };
  54627. A._zip__closure.prototype = {
  54628. call$1(list) {
  54629. return list.get$asList();
  54630. },
  54631. $signature: 500
  54632. };
  54633. A._zip__closure0.prototype = {
  54634. call$1(list) {
  54635. return this._box_0.i !== J.get$length$asx(list);
  54636. },
  54637. $signature: 567
  54638. };
  54639. A._zip__closure1.prototype = {
  54640. call$1(list) {
  54641. return J.$index$asx(list, this._box_0.i);
  54642. },
  54643. $signature: 4
  54644. };
  54645. A._index_closure0.prototype = {
  54646. call$1($arguments) {
  54647. var t1 = J.getInterceptor$asx($arguments),
  54648. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  54649. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  54650. },
  54651. $signature: 4
  54652. };
  54653. A._separator_closure.prototype = {
  54654. call$1($arguments) {
  54655. var t1 = J.$index$asx($arguments, 0),
  54656. _0_0 = t1.get$separator(t1);
  54657. $label0$0: {
  54658. if (B.ListSeparator_qVN === _0_0) {
  54659. t1 = new A.SassString("comma", false);
  54660. break $label0$0;
  54661. }
  54662. if (B.ListSeparator_bRz === _0_0) {
  54663. t1 = new A.SassString("slash", false);
  54664. break $label0$0;
  54665. }
  54666. t1 = new A.SassString("space", false);
  54667. break $label0$0;
  54668. }
  54669. return t1;
  54670. },
  54671. $signature: 17
  54672. };
  54673. A._isBracketed_closure.prototype = {
  54674. call$1($arguments) {
  54675. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  54676. },
  54677. $signature: 12
  54678. };
  54679. A._slash_closure.prototype = {
  54680. call$1($arguments) {
  54681. var list = J.$index$asx($arguments, 0).get$asList();
  54682. if (list.length < 2)
  54683. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  54684. return A.SassList$(list, B.ListSeparator_bRz, false);
  54685. },
  54686. $signature: 26
  54687. };
  54688. A._get_closure.prototype = {
  54689. call$1($arguments) {
  54690. var value,
  54691. t1 = J.getInterceptor$asx($arguments),
  54692. map = t1.$index($arguments, 0).assertMap$1("map"),
  54693. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54694. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54695. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54696. value = map._map$_contents.$index(0, t1.get$current(t1));
  54697. if (!(value instanceof A.SassMap))
  54698. return B.C__SassNull;
  54699. }
  54700. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  54701. return t1 == null ? B.C__SassNull : t1;
  54702. },
  54703. $signature: 4
  54704. };
  54705. A._set_closure.prototype = {
  54706. call$1($arguments) {
  54707. var t1 = J.getInterceptor$asx($arguments);
  54708. 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);
  54709. },
  54710. $signature: 4
  54711. };
  54712. A._set__closure0.prototype = {
  54713. call$1(_) {
  54714. return J.$index$asx(this.$arguments, 2);
  54715. },
  54716. $signature: 41
  54717. };
  54718. A._set_closure0.prototype = {
  54719. call$1($arguments) {
  54720. var keys, t2, t3,
  54721. t1 = J.getInterceptor$asx($arguments),
  54722. map = t1.$index($arguments, 0).assertMap$1("map"),
  54723. _0_0 = t1.$index($arguments, 1).get$asList(),
  54724. _0_1 = _0_0.length;
  54725. if (_0_1 <= 0)
  54726. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  54727. if (_0_1 === 1)
  54728. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  54729. t1 = {};
  54730. keys = t1.value = null;
  54731. t2 = _0_1 >= 1;
  54732. if (t2) {
  54733. t3 = _0_1 - 1;
  54734. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  54735. t1.value = _0_0[t3];
  54736. }
  54737. if (t2)
  54738. return A._modify(map, keys, new A._set__closure(t1), true);
  54739. throw A.wrapException("[BUG] Unreachable code");
  54740. },
  54741. $signature: 4
  54742. };
  54743. A._set__closure.prototype = {
  54744. call$1(_) {
  54745. return this._box_0.value;
  54746. },
  54747. $signature: 41
  54748. };
  54749. A._merge_closure.prototype = {
  54750. call$1($arguments) {
  54751. var t2,
  54752. t1 = J.getInterceptor$asx($arguments),
  54753. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54754. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  54755. t1 = type$.Value;
  54756. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  54757. t2.addAll$1(0, map2._map$_contents);
  54758. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54759. },
  54760. $signature: 33
  54761. };
  54762. A._merge_closure0.prototype = {
  54763. call$1($arguments) {
  54764. var last, t2, keys, _null = null,
  54765. t1 = J.getInterceptor$asx($arguments),
  54766. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54767. _0_0 = t1.$index($arguments, 1).get$asList(),
  54768. _0_1 = _0_0.length;
  54769. if (_0_1 <= 0)
  54770. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  54771. if (_0_1 === 1)
  54772. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  54773. t1 = _0_1 >= 1;
  54774. last = _null;
  54775. if (t1) {
  54776. t2 = _0_1 - 1;
  54777. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  54778. last = _0_0[t2];
  54779. } else
  54780. keys = _null;
  54781. if (t1)
  54782. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  54783. throw A.wrapException("[BUG] Unreachable code");
  54784. },
  54785. $signature: 4
  54786. };
  54787. A._merge__closure.prototype = {
  54788. call$1(oldValue) {
  54789. var t1, t2,
  54790. nestedMap = oldValue.tryMap$0();
  54791. if (nestedMap == null)
  54792. return this.map2;
  54793. t1 = type$.Value;
  54794. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54795. t2.addAll$1(0, this.map2._map$_contents);
  54796. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54797. },
  54798. $signature: 650
  54799. };
  54800. A._deepMerge_closure.prototype = {
  54801. call$1($arguments) {
  54802. var t1 = J.getInterceptor$asx($arguments);
  54803. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  54804. },
  54805. $signature: 33
  54806. };
  54807. A._deepRemove_closure.prototype = {
  54808. call$1($arguments) {
  54809. var t1 = J.getInterceptor$asx($arguments),
  54810. map = t1.$index($arguments, 0).assertMap$1("map"),
  54811. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54812. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54813. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  54814. },
  54815. $signature: 4
  54816. };
  54817. A._deepRemove__closure.prototype = {
  54818. call$1(value) {
  54819. var t1, nestedMap, t2,
  54820. _0_0 = value.tryMap$0();
  54821. if (_0_0 != null) {
  54822. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  54823. nestedMap = _0_0;
  54824. } else {
  54825. nestedMap = null;
  54826. t1 = false;
  54827. }
  54828. if (t1) {
  54829. t1 = type$.Value;
  54830. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54831. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  54832. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54833. }
  54834. return value;
  54835. },
  54836. $signature: 41
  54837. };
  54838. A._remove_closure.prototype = {
  54839. call$1($arguments) {
  54840. return J.$index$asx($arguments, 0).assertMap$1("map");
  54841. },
  54842. $signature: 33
  54843. };
  54844. A._remove_closure0.prototype = {
  54845. call$1($arguments) {
  54846. var mutableMap, t3, _i,
  54847. t1 = J.getInterceptor$asx($arguments),
  54848. map = t1.$index($arguments, 0).assertMap$1("map"),
  54849. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54850. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54851. t1 = type$.Value;
  54852. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  54853. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  54854. mutableMap.remove$1(0, t2[_i]);
  54855. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54856. },
  54857. $signature: 33
  54858. };
  54859. A._keys_closure.prototype = {
  54860. call$1($arguments) {
  54861. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54862. return A.SassList$(t1.get$keys(t1), B.ListSeparator_qVN, false);
  54863. },
  54864. $signature: 26
  54865. };
  54866. A._values_closure.prototype = {
  54867. call$1($arguments) {
  54868. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54869. return A.SassList$(t1.get$values(t1), B.ListSeparator_qVN, false);
  54870. },
  54871. $signature: 26
  54872. };
  54873. A._hasKey_closure.prototype = {
  54874. call$1($arguments) {
  54875. var value,
  54876. t1 = J.getInterceptor$asx($arguments),
  54877. map = t1.$index($arguments, 0).assertMap$1("map"),
  54878. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54879. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54880. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54881. value = map._map$_contents.$index(0, t1.get$current(t1));
  54882. if (!(value instanceof A.SassMap))
  54883. return B.SassBoolean_false;
  54884. }
  54885. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  54886. },
  54887. $signature: 12
  54888. };
  54889. A._modify_modifyNestedMap.prototype = {
  54890. call$1(map) {
  54891. var nestedMap, _this = this,
  54892. t1 = type$.Value,
  54893. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  54894. t2 = _this.keyIterator,
  54895. key = t2.get$current(t2);
  54896. if (!t2.moveNext$0()) {
  54897. t2 = mutableMap.$index(0, key);
  54898. if (t2 == null)
  54899. t2 = B.C__SassNull;
  54900. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  54901. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54902. }
  54903. t2 = mutableMap.$index(0, key);
  54904. nestedMap = t2 == null ? null : t2.tryMap$0();
  54905. t2 = nestedMap == null;
  54906. if (t2 && !_this.addNesting)
  54907. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54908. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  54909. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54910. },
  54911. $signature: 671
  54912. };
  54913. A.global_closure.prototype = {
  54914. call$1($arguments) {
  54915. var t1,
  54916. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  54917. if (number.hasUnit$1("%"))
  54918. 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);
  54919. else
  54920. A.warnForDeprecation(string$.Globalm, B.Deprecation_1AX);
  54921. t1 = number.get$numeratorUnits(number);
  54922. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  54923. },
  54924. $signature: 22
  54925. };
  54926. A.module_closure0.prototype = {
  54927. call$1(value) {
  54928. return Math.abs(value);
  54929. },
  54930. $signature: 16
  54931. };
  54932. A._ceil_closure.prototype = {
  54933. call$1(value) {
  54934. return B.JSNumber_methods.ceil$0(value);
  54935. },
  54936. $signature: 16
  54937. };
  54938. A._clamp_closure.prototype = {
  54939. call$1($arguments) {
  54940. var t1 = J.getInterceptor$asx($arguments),
  54941. min = t1.$index($arguments, 0).assertNumber$1("min"),
  54942. number = t1.$index($arguments, 1).assertNumber$1("number"),
  54943. max = t1.$index($arguments, 2).assertNumber$1("max");
  54944. number.convertValueToMatch$3(min, "number", "min");
  54945. max.convertValueToMatch$3(min, "max", "min");
  54946. if (min.greaterThanOrEquals$1(max).value)
  54947. return min;
  54948. if (min.greaterThanOrEquals$1(number).value)
  54949. return min;
  54950. if (number.greaterThanOrEquals$1(max).value)
  54951. return max;
  54952. return number;
  54953. },
  54954. $signature: 22
  54955. };
  54956. A._floor_closure.prototype = {
  54957. call$1(value) {
  54958. return B.JSNumber_methods.floor$0(value);
  54959. },
  54960. $signature: 16
  54961. };
  54962. A._max_closure.prototype = {
  54963. call$1($arguments) {
  54964. var t1, t2, max, _i, number;
  54965. 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) {
  54966. number = t1[_i].assertNumber$0();
  54967. if (max == null || max.lessThan$1(number).value)
  54968. max = number;
  54969. }
  54970. if (max != null)
  54971. return max;
  54972. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  54973. },
  54974. $signature: 22
  54975. };
  54976. A._min_closure.prototype = {
  54977. call$1($arguments) {
  54978. var t1, t2, min, _i, number;
  54979. 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) {
  54980. number = t1[_i].assertNumber$0();
  54981. if (min == null || min.greaterThan$1(number).value)
  54982. min = number;
  54983. }
  54984. if (min != null)
  54985. return min;
  54986. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  54987. },
  54988. $signature: 22
  54989. };
  54990. A._round_closure.prototype = {
  54991. call$1(number) {
  54992. return B.JSNumber_methods.round$0(number);
  54993. },
  54994. $signature: 16
  54995. };
  54996. A._hypot_closure.prototype = {
  54997. call$1($arguments) {
  54998. var subtotal, i, i0, t3,
  54999. t1 = J.$index$asx($arguments, 0).get$asList(),
  55000. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  55001. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), t2._eval$1("ListIterable.E"));
  55002. if (numbers.length === 0)
  55003. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55004. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  55005. i0 = i + 1;
  55006. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  55007. }
  55008. t1 = Math.sqrt(subtotal);
  55009. t2 = numbers[0];
  55010. t2 = t2.get$numeratorUnits(t2);
  55011. t3 = numbers[0];
  55012. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t3), t2);
  55013. },
  55014. $signature: 22
  55015. };
  55016. A._hypot__closure.prototype = {
  55017. call$1(argument) {
  55018. return argument.assertNumber$0();
  55019. },
  55020. $signature: 672
  55021. };
  55022. A._log_closure.prototype = {
  55023. call$1($arguments) {
  55024. var base,
  55025. _s18_ = " to have no units.",
  55026. _null = null,
  55027. t1 = J.getInterceptor$asx($arguments),
  55028. number = t1.$index($arguments, 0).assertNumber$1("number");
  55029. if (number.get$hasUnits())
  55030. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55031. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55032. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55033. base = t1.$index($arguments, 1).assertNumber$1("base");
  55034. if (base.get$hasUnits())
  55035. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55036. else
  55037. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55038. },
  55039. $signature: 22
  55040. };
  55041. A._pow_closure.prototype = {
  55042. call$1($arguments) {
  55043. var t1 = J.getInterceptor$asx($arguments);
  55044. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55045. },
  55046. $signature: 22
  55047. };
  55048. A._atan2_closure.prototype = {
  55049. call$1($arguments) {
  55050. var t1 = J.getInterceptor$asx($arguments),
  55051. y = t1.$index($arguments, 0).assertNumber$1("y");
  55052. 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));
  55053. },
  55054. $signature: 22
  55055. };
  55056. A._compatible_closure.prototype = {
  55057. call$1($arguments) {
  55058. var t1 = J.getInterceptor$asx($arguments);
  55059. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55060. },
  55061. $signature: 12
  55062. };
  55063. A._isUnitless_closure.prototype = {
  55064. call$1($arguments) {
  55065. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55066. },
  55067. $signature: 12
  55068. };
  55069. A._unit_closure.prototype = {
  55070. call$1($arguments) {
  55071. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55072. },
  55073. $signature: 17
  55074. };
  55075. A._percentage_closure.prototype = {
  55076. call$1($arguments) {
  55077. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55078. number.assertNoUnits$1("number");
  55079. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55080. },
  55081. $signature: 22
  55082. };
  55083. A._randomFunction_closure.prototype = {
  55084. call$1($arguments) {
  55085. var limit, limitScalar,
  55086. t1 = J.getInterceptor$asx($arguments);
  55087. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55088. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55089. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55090. if (limit.get$hasUnits())
  55091. 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);
  55092. limitScalar = limit.assertInt$1("limit");
  55093. if (limitScalar < 1)
  55094. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55095. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55096. },
  55097. $signature: 22
  55098. };
  55099. A._div_closure.prototype = {
  55100. call$1($arguments) {
  55101. var t1 = J.getInterceptor$asx($arguments),
  55102. number1 = t1.$index($arguments, 0),
  55103. number2 = t1.$index($arguments, 1);
  55104. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55105. A.warn(string$.math_d);
  55106. return number1.dividedBy$1(number2);
  55107. },
  55108. $signature: 4
  55109. };
  55110. A._singleArgumentMathFunc_closure.prototype = {
  55111. call$1($arguments) {
  55112. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55113. },
  55114. $signature: 22
  55115. };
  55116. A._numberFunction_closure.prototype = {
  55117. call$1($arguments) {
  55118. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55119. t1 = this.transform.call$1(number._number$_value),
  55120. t2 = number.get$numeratorUnits(number);
  55121. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55122. },
  55123. $signature: 22
  55124. };
  55125. A._shared_closure.prototype = {
  55126. call$1($arguments) {
  55127. A.warnForDeprecation(string$.The_fe, B.Deprecation_hcg);
  55128. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55129. },
  55130. $signature: 12
  55131. };
  55132. A._shared_closure0.prototype = {
  55133. call$1($arguments) {
  55134. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55135. },
  55136. $signature: 17
  55137. };
  55138. A._shared_closure1.prototype = {
  55139. call$1($arguments) {
  55140. var t1 = J.getInterceptor$asx($arguments),
  55141. _0_0 = t1.$index($arguments, 0);
  55142. $label0$0: {
  55143. if (_0_0 instanceof A.SassArgumentList) {
  55144. t1 = "arglist";
  55145. break $label0$0;
  55146. }
  55147. if (_0_0 instanceof A.SassBoolean) {
  55148. t1 = "bool";
  55149. break $label0$0;
  55150. }
  55151. if (_0_0 instanceof A.SassColor) {
  55152. t1 = "color";
  55153. break $label0$0;
  55154. }
  55155. if (_0_0 instanceof A.SassList) {
  55156. t1 = "list";
  55157. break $label0$0;
  55158. }
  55159. if (_0_0 instanceof A.SassMap) {
  55160. t1 = "map";
  55161. break $label0$0;
  55162. }
  55163. if (B.C__SassNull === _0_0) {
  55164. t1 = "null";
  55165. break $label0$0;
  55166. }
  55167. if (_0_0 instanceof A.SassNumber) {
  55168. t1 = "number";
  55169. break $label0$0;
  55170. }
  55171. if (_0_0 instanceof A.SassFunction) {
  55172. t1 = "function";
  55173. break $label0$0;
  55174. }
  55175. if (_0_0 instanceof A.SassMixin) {
  55176. t1 = "mixin";
  55177. break $label0$0;
  55178. }
  55179. if (_0_0 instanceof A.SassCalculation) {
  55180. t1 = "calculation";
  55181. break $label0$0;
  55182. }
  55183. if (_0_0 instanceof A.SassString) {
  55184. t1 = "string";
  55185. break $label0$0;
  55186. }
  55187. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55188. }
  55189. return new A.SassString(t1, false);
  55190. },
  55191. $signature: 17
  55192. };
  55193. A._shared_closure2.prototype = {
  55194. call$1($arguments) {
  55195. var t2, t3, t4,
  55196. t1 = J.getInterceptor$asx($arguments),
  55197. _1_0 = t1.$index($arguments, 0);
  55198. if (_1_0 instanceof A.SassArgumentList) {
  55199. _1_0._wereKeywordsAccessed = true;
  55200. t1 = type$.Value;
  55201. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55202. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55203. t4 = t3.get$current(t3);
  55204. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55205. }
  55206. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55207. } else
  55208. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55209. },
  55210. $signature: 33
  55211. };
  55212. A.moduleFunctions_closure.prototype = {
  55213. call$1($arguments) {
  55214. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55215. },
  55216. $signature: 17
  55217. };
  55218. A.moduleFunctions_closure0.prototype = {
  55219. call$1($arguments) {
  55220. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55221. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55222. },
  55223. $signature: 26
  55224. };
  55225. A.moduleFunctions__closure.prototype = {
  55226. call$1(argument) {
  55227. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55228. },
  55229. $signature: 673
  55230. };
  55231. A.moduleFunctions_closure1.prototype = {
  55232. call$1($arguments) {
  55233. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  55234. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55235. _0_0 = mixin.callable;
  55236. $label0$0: {
  55237. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55238. if (_0_2_isSet)
  55239. acceptsContent = _0_0.get$acceptsContent();
  55240. else
  55241. acceptsContent = null;
  55242. if (!_0_2_isSet) {
  55243. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55244. if (_0_2_isSet)
  55245. acceptsContent = _0_0.acceptsContent;
  55246. t1 = _0_2_isSet;
  55247. } else
  55248. t1 = true;
  55249. if (t1) {
  55250. t1 = acceptsContent;
  55251. break $label0$0;
  55252. }
  55253. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55254. if (_0_5_isSet) {
  55255. _0_5 = _0_0.declaration;
  55256. t1 = _0_5;
  55257. t1 = t1 instanceof A.MixinRule;
  55258. } else {
  55259. _0_5 = null;
  55260. t1 = false;
  55261. }
  55262. if (t1) {
  55263. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55264. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55265. t1 = hasContent;
  55266. break $label0$0;
  55267. }
  55268. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55269. }
  55270. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55271. },
  55272. $signature: 12
  55273. };
  55274. A._nest_closure.prototype = {
  55275. call$1($arguments) {
  55276. var t1 = {},
  55277. selectors = J.$index$asx($arguments, 0).get$asList();
  55278. if (selectors.length === 0)
  55279. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55280. t1.first = true;
  55281. 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();
  55282. },
  55283. $signature: 26
  55284. };
  55285. A._nest__closure.prototype = {
  55286. call$1(selector) {
  55287. var t1 = this._box_0,
  55288. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55289. t1.first = false;
  55290. return result;
  55291. },
  55292. $signature: 204
  55293. };
  55294. A._nest__closure0.prototype = {
  55295. call$2($parent, child) {
  55296. return child.nestWithin$1($parent);
  55297. },
  55298. $signature: 143
  55299. };
  55300. A._append_closure.prototype = {
  55301. call$1($arguments) {
  55302. var t1,
  55303. selectors = J.$index$asx($arguments, 0).get$asList();
  55304. if (selectors.length === 0)
  55305. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55306. t1 = A.EvaluationContext_currentOrNull();
  55307. 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();
  55308. },
  55309. $signature: 26
  55310. };
  55311. A._append__closure.prototype = {
  55312. call$1(selector) {
  55313. return A.SassApiValue_assertSelector(selector, false, null);
  55314. },
  55315. $signature: 204
  55316. };
  55317. A._append__closure0.prototype = {
  55318. call$2($parent, child) {
  55319. var t1 = child.components,
  55320. t2 = this.span;
  55321. 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);
  55322. },
  55323. $signature: 143
  55324. };
  55325. A._append___closure.prototype = {
  55326. call$1(complex) {
  55327. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55328. if (complex.leadingCombinators.length !== 0)
  55329. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55330. _0_0 = complex.components;
  55331. t1 = _0_0.length >= 1;
  55332. if (t1) {
  55333. component = _0_0[0];
  55334. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55335. } else {
  55336. rest = _null;
  55337. component = rest;
  55338. }
  55339. if (!t1)
  55340. throw A.wrapException(A.StateError$("Pattern matching error"));
  55341. newCompound = A._prependParent(component.selector);
  55342. if (newCompound == null)
  55343. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55344. t1 = this.span;
  55345. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55346. B.JSArray_methods.addAll$1(t2, rest);
  55347. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55348. },
  55349. $signature: 60
  55350. };
  55351. A._extend_closure.prototype = {
  55352. call$1($arguments) {
  55353. var target, source,
  55354. _s8_ = "selector",
  55355. _s8_0 = "extendee",
  55356. _s8_1 = "extender",
  55357. t1 = J.getInterceptor$asx($arguments),
  55358. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55359. selector.assertNotBogus$1$name(_s8_);
  55360. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55361. target.assertNotBogus$1$name(_s8_0);
  55362. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55363. source.assertNotBogus$1$name(_s8_1);
  55364. t1 = A.EvaluationContext_currentOrNull();
  55365. 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();
  55366. },
  55367. $signature: 26
  55368. };
  55369. A._replace_closure.prototype = {
  55370. call$1($arguments) {
  55371. var target, source,
  55372. _s8_ = "selector",
  55373. _s8_0 = "original",
  55374. _s11_ = "replacement",
  55375. t1 = J.getInterceptor$asx($arguments),
  55376. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55377. selector.assertNotBogus$1$name(_s8_);
  55378. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55379. target.assertNotBogus$1$name(_s8_0);
  55380. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55381. source.assertNotBogus$1$name(_s11_);
  55382. t1 = A.EvaluationContext_currentOrNull();
  55383. 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();
  55384. },
  55385. $signature: 26
  55386. };
  55387. A._unify_closure.prototype = {
  55388. call$1($arguments) {
  55389. var selector2,
  55390. _s9_ = "selector1",
  55391. _s9_0 = "selector2",
  55392. t1 = J.getInterceptor$asx($arguments),
  55393. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55394. selector1.assertNotBogus$1$name(_s9_);
  55395. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55396. selector2.assertNotBogus$1$name(_s9_0);
  55397. t1 = selector1.unify$1(selector2);
  55398. t1 = t1 == null ? null : t1.get$asSassList();
  55399. return t1 == null ? B.C__SassNull : t1;
  55400. },
  55401. $signature: 4
  55402. };
  55403. A._isSuperselector_closure.prototype = {
  55404. call$1($arguments) {
  55405. var selector2,
  55406. t1 = J.getInterceptor$asx($arguments),
  55407. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55408. selector1.assertNotBogus$1$name("super");
  55409. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55410. selector2.assertNotBogus$1$name("sub");
  55411. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55412. },
  55413. $signature: 12
  55414. };
  55415. A._simpleSelectors_closure.prototype = {
  55416. call$1($arguments) {
  55417. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55418. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55419. },
  55420. $signature: 26
  55421. };
  55422. A._simpleSelectors__closure.prototype = {
  55423. call$1(simple) {
  55424. return new A.SassString(A.serializeSelector(simple, true), false);
  55425. },
  55426. $signature: 333
  55427. };
  55428. A._parse_closure.prototype = {
  55429. call$1($arguments) {
  55430. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55431. },
  55432. $signature: 26
  55433. };
  55434. A.module_closure.prototype = {
  55435. call$1($arguments) {
  55436. var limit, t2, chunks, i, lastEnd, match, t3,
  55437. t1 = J.getInterceptor$asx($arguments),
  55438. string = t1.$index($arguments, 0).assertString$1("string"),
  55439. separator = t1.$index($arguments, 1).assertString$1("separator");
  55440. t1 = t1.$index($arguments, 2).get$realNull();
  55441. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55442. if (limit != null && limit < 1)
  55443. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55444. t1 = string._string$_text;
  55445. if (t1.length === 0)
  55446. return B.SassList_qAD;
  55447. else {
  55448. t2 = separator._string$_text;
  55449. if (t2.length === 0)
  55450. 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);
  55451. }
  55452. chunks = A._setArrayType([], type$.JSArray_String);
  55453. 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();) {
  55454. match = t2.__js_helper$_current;
  55455. t3 = match.start;
  55456. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55457. lastEnd = t3 + match.pattern.length;
  55458. ++i;
  55459. if (i === limit)
  55460. break;
  55461. }
  55462. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55463. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_qVN, true);
  55464. },
  55465. $signature: 26
  55466. };
  55467. A.module__closure.prototype = {
  55468. call$1(rune) {
  55469. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55470. },
  55471. $signature: 419
  55472. };
  55473. A.module__closure0.prototype = {
  55474. call$1(chunk) {
  55475. return new A.SassString(chunk, this.string._hasQuotes);
  55476. },
  55477. $signature: 324
  55478. };
  55479. A._unquote_closure.prototype = {
  55480. call$1($arguments) {
  55481. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55482. if (!string._hasQuotes)
  55483. return string;
  55484. return new A.SassString(string._string$_text, false);
  55485. },
  55486. $signature: 17
  55487. };
  55488. A._quote_closure.prototype = {
  55489. call$1($arguments) {
  55490. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55491. if (string._hasQuotes)
  55492. return string;
  55493. return new A.SassString(string._string$_text, true);
  55494. },
  55495. $signature: 17
  55496. };
  55497. A._length_closure.prototype = {
  55498. call$1($arguments) {
  55499. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55500. },
  55501. $signature: 22
  55502. };
  55503. A._insert_closure.prototype = {
  55504. call$1($arguments) {
  55505. var indexInt, codeUnitIndex, _s5_ = "index",
  55506. t1 = J.getInterceptor$asx($arguments),
  55507. string = t1.$index($arguments, 0).assertString$1("string"),
  55508. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55509. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55510. index.assertNoUnits$1(_s5_);
  55511. indexInt = index.assertInt$1(_s5_);
  55512. if (indexInt < 0)
  55513. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55514. t1 = string._string$_text;
  55515. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55516. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55517. },
  55518. $signature: 17
  55519. };
  55520. A._index_closure.prototype = {
  55521. call$1($arguments) {
  55522. var t1 = J.getInterceptor$asx($arguments),
  55523. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55524. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55525. if (codeUnitIndex === -1)
  55526. return B.C__SassNull;
  55527. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55528. },
  55529. $signature: 4
  55530. };
  55531. A._slice_closure.prototype = {
  55532. call$1($arguments) {
  55533. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55534. _s8_ = "start-at",
  55535. t1 = J.getInterceptor$asx($arguments),
  55536. string = t1.$index($arguments, 0).assertString$1("string"),
  55537. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55538. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55539. start.assertNoUnits$1(_s8_);
  55540. end.assertNoUnits$1("end-at");
  55541. lengthInCodepoints = string.get$_sassLength();
  55542. endInt = end.assertInt$0();
  55543. if (endInt === 0)
  55544. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55545. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55546. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55547. if (endCodepoint === lengthInCodepoints)
  55548. --endCodepoint;
  55549. if (endCodepoint < startCodepoint)
  55550. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55551. t1 = string._string$_text;
  55552. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55553. },
  55554. $signature: 17
  55555. };
  55556. A._toUpperCase_closure.prototype = {
  55557. call$1($arguments) {
  55558. var t1, t2, i, t3, t4,
  55559. string = J.$index$asx($arguments, 0).assertString$1("string");
  55560. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55561. t4 = t1.charCodeAt(i);
  55562. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55563. }
  55564. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55565. },
  55566. $signature: 17
  55567. };
  55568. A._toLowerCase_closure.prototype = {
  55569. call$1($arguments) {
  55570. var t1, t2, i, t3, t4,
  55571. string = J.$index$asx($arguments, 0).assertString$1("string");
  55572. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55573. t4 = t1.charCodeAt(i);
  55574. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55575. }
  55576. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55577. },
  55578. $signature: 17
  55579. };
  55580. A._uniqueId_closure.prototype = {
  55581. call$1($arguments) {
  55582. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55583. $._previousUniqueId = t1;
  55584. if (t1 > Math.pow(36, 6))
  55585. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55586. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55587. },
  55588. $signature: 17
  55589. };
  55590. A.ImportCache.prototype = {
  55591. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55592. 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;
  55593. if (A.isBrowser())
  55594. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55595. else
  55596. t1 = false;
  55597. if (t1)
  55598. throw A.wrapException(string$.Custom);
  55599. if (baseImporter != null && url.get$scheme() === "") {
  55600. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55601. if (resolvedUrl == null)
  55602. resolvedUrl = url;
  55603. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55604. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55605. if (relativeResult != null)
  55606. return relativeResult;
  55607. }
  55608. key = new A._Record_2_forImport(url, forImport);
  55609. t1 = _this._canonicalizeCache;
  55610. if (t1.containsKey$1(key))
  55611. return t1.$index(0, key);
  55612. 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) {
  55613. importer = t2[i];
  55614. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55615. if (t4.containsKey$1(perImporterKey)) {
  55616. t7 = t4.$index(0, perImporterKey);
  55617. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55618. } else
  55619. _1_0 = _null;
  55620. _1_2_isSet = t3._is(_1_0);
  55621. result = _null;
  55622. if (_1_2_isSet) {
  55623. _1_2 = _1_0._0;
  55624. t7 = _1_2 != null;
  55625. if (t7) {
  55626. t6._as(_1_2);
  55627. result = _1_2;
  55628. }
  55629. } else {
  55630. _1_2 = _null;
  55631. t7 = false;
  55632. }
  55633. if (t7)
  55634. return result;
  55635. if (_1_2_isSet)
  55636. t7 = _1_2 == null;
  55637. else
  55638. t7 = false;
  55639. if (t7)
  55640. continue;
  55641. $label0$1: {
  55642. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  55643. _2_1 = _2_0._0;
  55644. _2_5_isSet = _2_1 != null;
  55645. _2_5 = _null;
  55646. _2_3 = _null;
  55647. t7 = false;
  55648. if (_2_5_isSet) {
  55649. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  55650. _2_3 = _2_0._1;
  55651. t7 = _2_3;
  55652. _2_5 = t7;
  55653. t7 = t7 && cacheable;
  55654. } else
  55655. result = _null;
  55656. if (t7) {
  55657. t1.$indexSet(0, key, result);
  55658. return result;
  55659. }
  55660. if (_2_5_isSet) {
  55661. t7 = _2_5;
  55662. _2_3_isSet = _2_5_isSet;
  55663. } else {
  55664. _2_3 = _2_0._1;
  55665. t7 = _2_3;
  55666. _2_3_isSet = true;
  55667. }
  55668. t7 = t7 && !cacheable;
  55669. if (t7) {
  55670. t4.$indexSet(0, perImporterKey, _2_1);
  55671. if (_2_1 != null)
  55672. return _2_1;
  55673. break $label0$1;
  55674. }
  55675. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  55676. if (t7) {
  55677. if (cacheable) {
  55678. for (j = 0; j < i; ++j)
  55679. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  55680. cacheable = false;
  55681. }
  55682. if (_2_1 != null)
  55683. return _2_1;
  55684. }
  55685. }
  55686. }
  55687. if (cacheable)
  55688. t1.$indexSet(0, key, _null);
  55689. return _null;
  55690. },
  55691. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  55692. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  55693. },
  55694. _canonicalize$4(importer, url, baseUrl, forImport) {
  55695. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  55696. if (baseUrl != null)
  55697. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  55698. else
  55699. passContainingUrl = false;
  55700. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  55701. t1 = type$.nullable_Object;
  55702. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  55703. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  55704. if (result == null)
  55705. return new A._Record_2(null, cacheable);
  55706. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  55707. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  55708. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  55709. },
  55710. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  55711. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  55712. },
  55713. importCanonical$2(importer, canonicalUrl) {
  55714. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  55715. },
  55716. humanize$1(canonicalUrl) {
  55717. var t1 = this._canonicalizeCache,
  55718. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  55719. 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));
  55720. return t2 == null ? canonicalUrl : t2;
  55721. },
  55722. sourceMapUrl$1(_, canonicalUrl) {
  55723. var t1 = this._resultsCache.$index(0, canonicalUrl);
  55724. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  55725. return t1 == null ? canonicalUrl : t1;
  55726. },
  55727. clearCanonicalize$1(canonicalUrl) {
  55728. var key, t5, t6, _i0,
  55729. t1 = this._canonicalizeCache,
  55730. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_2_Uri_and_bool_forImport),
  55731. t3 = t2.length,
  55732. t4 = this._importers,
  55733. _i = 0;
  55734. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55735. key = t2[_i];
  55736. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  55737. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  55738. t1.remove$1(0, key);
  55739. break;
  55740. }
  55741. }
  55742. t1 = this._perImporterCanonicalizeCache;
  55743. 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);
  55744. t3 = t2.length;
  55745. _i = 0;
  55746. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55747. key = t2[_i];
  55748. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  55749. t1.remove$1(0, key);
  55750. }
  55751. },
  55752. clearImport$1(canonicalUrl) {
  55753. this._resultsCache.remove$1(0, canonicalUrl);
  55754. this._importCache.remove$1(0, canonicalUrl);
  55755. }
  55756. };
  55757. A.ImportCache_canonicalize_closure.prototype = {
  55758. call$0() {
  55759. var _this = this,
  55760. t1 = _this.$this,
  55761. t2 = _this.baseUrl,
  55762. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  55763. if (t2 != null)
  55764. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  55765. return _0_0._0;
  55766. },
  55767. $signature: 128
  55768. };
  55769. A.ImportCache__canonicalize_closure.prototype = {
  55770. call$0() {
  55771. return this.importer.canonicalize$1(0, this.url);
  55772. },
  55773. $signature: 144
  55774. };
  55775. A.ImportCache_importCanonical_closure.prototype = {
  55776. call$0() {
  55777. var t3, t4, _this = this,
  55778. t1 = Date.now(),
  55779. t2 = _this.canonicalUrl,
  55780. result = _this.importer.load$1(0, t2);
  55781. if (result == null)
  55782. return null;
  55783. t3 = _this.$this;
  55784. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  55785. t3._resultsCache.$indexSet(0, t2, result);
  55786. t3 = result.contents;
  55787. t1 = result.syntax;
  55788. t4 = _this.originalUrl;
  55789. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  55790. },
  55791. $signature: 116
  55792. };
  55793. A.ImportCache_humanize_closure.prototype = {
  55794. call$1(result) {
  55795. return result._1.$eq(0, this.canonicalUrl);
  55796. },
  55797. $signature: 463
  55798. };
  55799. A.ImportCache_humanize_closure0.prototype = {
  55800. call$1(result) {
  55801. return result._2;
  55802. },
  55803. $signature: 278
  55804. };
  55805. A.ImportCache_humanize_closure1.prototype = {
  55806. call$1(url) {
  55807. return url.get$path(url).length;
  55808. },
  55809. $signature: 102
  55810. };
  55811. A.ImportCache_humanize_closure2.prototype = {
  55812. call$1(url) {
  55813. var t1 = $.$get$url(),
  55814. t2 = this.canonicalUrl;
  55815. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  55816. },
  55817. $signature: 48
  55818. };
  55819. A.Importer.prototype = {
  55820. modificationTime$1(url) {
  55821. return new A.DateTime(Date.now(), 0, false);
  55822. },
  55823. couldCanonicalize$2(url, canonicalUrl) {
  55824. return true;
  55825. },
  55826. isNonCanonicalScheme$1(scheme) {
  55827. return false;
  55828. }
  55829. };
  55830. A.AsyncImporter.prototype = {};
  55831. A.CanonicalizeContext.prototype = {};
  55832. A.FilesystemImporter.prototype = {
  55833. canonicalize$1(_, url) {
  55834. var resolved, _0_0;
  55835. if (url.get$scheme() === "file")
  55836. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55837. else if (url.get$scheme() !== "")
  55838. return null;
  55839. else {
  55840. _0_0 = this._loadPath;
  55841. if (_0_0 != null) {
  55842. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  55843. if (resolved != null && this._loadPathDeprecated)
  55844. A.warnForDeprecation(string$.Using_t, B.Deprecation_tms);
  55845. } else
  55846. return null;
  55847. }
  55848. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  55849. },
  55850. load$1(_, url) {
  55851. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  55852. t1 = A.readFile(path),
  55853. t2 = A.Syntax_forPath(path),
  55854. t3 = url.get$scheme();
  55855. if (t3 === "")
  55856. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  55857. return new A.ImporterResult(t1, url, t2);
  55858. },
  55859. modificationTime$1(url) {
  55860. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55861. },
  55862. couldCanonicalize$2(url, canonicalUrl) {
  55863. var t1, t2, basename, canonicalBasename;
  55864. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  55865. return false;
  55866. if (canonicalUrl.get$scheme() !== "file")
  55867. return false;
  55868. t1 = $.$get$url();
  55869. t2 = t1.style;
  55870. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  55871. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  55872. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  55873. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  55874. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  55875. },
  55876. toString$0(_) {
  55877. var t1 = this._loadPath;
  55878. return t1 == null ? "<absolute file importer>" : t1;
  55879. }
  55880. };
  55881. A.FilesystemImporter_canonicalize_closure.prototype = {
  55882. call$1(resolved) {
  55883. var t2, t0, _null = null,
  55884. t1 = A.isNodeJs() ? self.process : _null;
  55885. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  55886. t1 = A.isNodeJs() ? self.process : _null;
  55887. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  55888. } else
  55889. t1 = true;
  55890. if (t1) {
  55891. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  55892. t2 = $.$get$context();
  55893. t1 = A._realCasePath(t2.normalize$1(t1));
  55894. } else {
  55895. t1 = $.$get$context();
  55896. t2 = t1.canonicalize$1(0, resolved);
  55897. t0 = t2;
  55898. t2 = t1;
  55899. t1 = t0;
  55900. }
  55901. return t2.toUri$1(t1);
  55902. },
  55903. $signature: 127
  55904. };
  55905. A.NoOpImporter.prototype = {};
  55906. A.NodePackageImporter.prototype = {
  55907. isNonCanonicalScheme$1(scheme) {
  55908. return scheme === "pkg";
  55909. },
  55910. canonicalize$1(_, url) {
  55911. 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;
  55912. if (url.get$scheme() === "file")
  55913. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  55914. if (url.get$scheme() !== "pkg")
  55915. return _null;
  55916. if (url.get$hasAuthority())
  55917. throw A.wrapException(string$.A_pkg_h);
  55918. else {
  55919. t1 = $.$get$url();
  55920. t2 = t1.style;
  55921. if (t2.rootLength$1(url.get$path(url)) > 0)
  55922. throw A.wrapException("A pkg: URL's path must not begin with /.");
  55923. else if (url.get$path(url).length === 0)
  55924. throw A.wrapException("A pkg: URL must not have an empty path.");
  55925. else if (url.get$hasQuery() || url.get$hasFragment())
  55926. throw A.wrapException(string$.A_pkg_q);
  55927. }
  55928. t3 = A.canonicalizeContext();
  55929. t3._wasContainingUrlAccessed = true;
  55930. t3 = t3._containingUrl;
  55931. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  55932. t3 = A.canonicalizeContext();
  55933. t3._wasContainingUrlAccessed = true;
  55934. t3 = t3._containingUrl;
  55935. t3.toString;
  55936. t4 = $.$get$context();
  55937. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  55938. } else {
  55939. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  55940. t3 === $ && A.throwUnnamedLateFieldNI();
  55941. baseDirectory = t3;
  55942. }
  55943. packageName = null;
  55944. parts = t1.split$1(0, url.get$path(url));
  55945. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  55946. t4 = $.$get$context();
  55947. t5 = t4.style;
  55948. $name = t5.pathFromUri$1(A._parseUri(t3));
  55949. if (B.JSString_methods.startsWith$1($name, "@"))
  55950. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  55951. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  55952. packageName = $name;
  55953. t1 = true;
  55954. if (!J.startsWith$1$s(packageName, "."))
  55955. if (!J.contains$1$asx(packageName, "\\"))
  55956. if (!J.contains$1$asx(packageName, "%"))
  55957. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  55958. if (t1)
  55959. return _null;
  55960. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  55961. if (packageRoot == null)
  55962. return _null;
  55963. jsonPath = A.join(packageRoot, "package.json", _null);
  55964. jsonString = A.readFile(jsonPath);
  55965. packageManifest = null;
  55966. try {
  55967. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  55968. } catch (exception) {
  55969. e = A.unwrapException(exception);
  55970. t1 = A.S(jsonPath);
  55971. t2 = A.S(packageName);
  55972. t3 = A.S(e);
  55973. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  55974. }
  55975. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  55976. if (_1_0 != null)
  55977. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  55978. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  55979. else {
  55980. t1 = subpath == null ? "root" : subpath;
  55981. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  55982. }
  55983. if (subpath == null) {
  55984. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  55985. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  55986. }
  55987. subpathInRoot = A.join(packageRoot, subpath, _null);
  55988. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  55989. },
  55990. load$1(_, url) {
  55991. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  55992. },
  55993. _resolvePackageRoot$2(packageName, baseDirectory) {
  55994. var potentialPackage, t1;
  55995. for (; true;) {
  55996. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  55997. if (A.dirExists(potentialPackage))
  55998. return potentialPackage;
  55999. t1 = $.$get$context();
  56000. if (t1.split$1(0, baseDirectory).length === 1)
  56001. return null;
  56002. baseDirectory = t1.dirname$1(baseDirectory);
  56003. }
  56004. },
  56005. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  56006. var t1, sassValue, _1_0, styleValue, _null = null,
  56007. _0_0 = packageManifest.$index(0, "sass");
  56008. if (typeof _0_0 == "string") {
  56009. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56010. sassValue = _0_0;
  56011. } else {
  56012. sassValue = _null;
  56013. t1 = false;
  56014. }
  56015. if (t1)
  56016. return A.join(packageRoot, sassValue, _null);
  56017. else {
  56018. _1_0 = packageManifest.$index(0, "style");
  56019. if (typeof _1_0 == "string") {
  56020. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56021. styleValue = _1_0;
  56022. } else {
  56023. styleValue = _null;
  56024. t1 = false;
  56025. }
  56026. if (t1)
  56027. return A.join(packageRoot, styleValue, _null);
  56028. }
  56029. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56030. },
  56031. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56032. var _0_0, _1_0, _this = this,
  56033. exports = packageManifest.$index(0, "exports");
  56034. if (exports == null)
  56035. return null;
  56036. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56037. if (_0_0 != null)
  56038. return _0_0;
  56039. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56040. return null;
  56041. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56042. if (_1_0 != null)
  56043. return _1_0;
  56044. return null;
  56045. },
  56046. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56047. var t2, matches, _1_1, path,
  56048. t1 = false;
  56049. if (type$.Map_String_dynamic._is(exports)) {
  56050. t2 = exports.get$keys(exports);
  56051. if (t2.any$1(t2, new A.NodePackageImporter__nodePackageExportsResolve_closure())) {
  56052. t1 = exports.get$keys(exports);
  56053. t1 = t1.any$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure0());
  56054. }
  56055. }
  56056. if (t1) {
  56057. t1 = exports.get$keys(exports);
  56058. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + t1.map$1$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure1(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  56059. }
  56060. t1 = type$.NonNullsIterable_String;
  56061. 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"));
  56062. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  56063. $label0$1: {
  56064. _1_1 = matches.length;
  56065. if (_1_1 === 1) {
  56066. path = matches[0];
  56067. t1 = path;
  56068. break $label0$1;
  56069. }
  56070. if (_1_1 <= 0) {
  56071. t1 = null;
  56072. break $label0$1;
  56073. }
  56074. t1 = subpath == null ? "root" : subpath;
  56075. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56076. }
  56077. return t1;
  56078. },
  56079. _compareExpansionKeys$2(keyA, keyB) {
  56080. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56081. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56082. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56083. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56084. if (baseLengthA > baseLengthB)
  56085. return -1;
  56086. if (baseLengthB > baseLengthA)
  56087. return 1;
  56088. if (!t1)
  56089. return 1;
  56090. if (!t2)
  56091. return -1;
  56092. t1 = keyA.length;
  56093. t2 = keyB.length;
  56094. if (t1 > t2)
  56095. return -1;
  56096. if (t2 > t1)
  56097. return 1;
  56098. return 0;
  56099. },
  56100. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56101. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56102. t1 = typeof exports == "string";
  56103. if (t1) {
  56104. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56105. string = exports;
  56106. } else {
  56107. string = _null;
  56108. t2 = false;
  56109. }
  56110. if (t2)
  56111. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56112. if (t1) {
  56113. t2 = patternMatch != null;
  56114. string = exports;
  56115. } else {
  56116. string = _null;
  56117. t2 = false;
  56118. }
  56119. if (t2) {
  56120. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56121. t2 = $.$get$context();
  56122. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56123. return A.fileExists(path) ? path : _null;
  56124. }
  56125. string = t1 ? exports : _null;
  56126. if (t1) {
  56127. t1 = $.$get$context();
  56128. string.toString;
  56129. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56130. }
  56131. t1 = type$.Map_String_dynamic._is(exports);
  56132. map = t1 ? exports : _null;
  56133. if (t1) {
  56134. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56135. t2 = t1.get$current(t1);
  56136. key = t2._0;
  56137. value = t2._1;
  56138. if (!B.Set_8229z.contains$1(0, key))
  56139. continue;
  56140. if (value == null)
  56141. continue;
  56142. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56143. if (_1_0 != null)
  56144. return _1_0;
  56145. }
  56146. return _null;
  56147. }
  56148. t1 = type$.List_dynamic._is(exports);
  56149. if (t1 && J.get$length$asx(exports) <= 0)
  56150. return _null;
  56151. array = t1 ? exports : _null;
  56152. if (t1) {
  56153. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56154. value = t1.get$current(t1);
  56155. if (value == null)
  56156. continue;
  56157. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56158. if (_2_0 != null)
  56159. return _2_0;
  56160. }
  56161. return _null;
  56162. }
  56163. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56164. },
  56165. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56166. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56167. },
  56168. _getMainExport$1(exports) {
  56169. var t1, t2, t3, map, _0_4, t4, $export;
  56170. $label0$0: {
  56171. t1 = null;
  56172. if (typeof exports == "string") {
  56173. t1 = exports;
  56174. break $label0$0;
  56175. }
  56176. if (type$.List_String._is(exports)) {
  56177. t1 = exports;
  56178. break $label0$0;
  56179. }
  56180. t2 = type$.Map_String_dynamic._is(exports);
  56181. if (t2) {
  56182. t3 = exports.get$keys(exports);
  56183. t3 = !t3.any$1(t3, new A.NodePackageImporter__getMainExport_closure());
  56184. map = exports;
  56185. } else {
  56186. map = t1;
  56187. t3 = false;
  56188. }
  56189. if (t3) {
  56190. t1 = map;
  56191. break $label0$0;
  56192. }
  56193. t3 = false;
  56194. if (t2) {
  56195. _0_4 = exports.$index(0, ".");
  56196. if (_0_4 == null)
  56197. t4 = exports.containsKey$1(".");
  56198. else
  56199. t4 = true;
  56200. if (t4)
  56201. t3 = _0_4 != null;
  56202. } else
  56203. _0_4 = null;
  56204. if (t3) {
  56205. $export = t2 ? _0_4 : exports.$index(0, ".");
  56206. t1 = $export;
  56207. break $label0$0;
  56208. }
  56209. break $label0$0;
  56210. }
  56211. return t1;
  56212. },
  56213. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56214. var basename, dirname, t3, t4, _i, path,
  56215. t1 = type$.JSArray_String,
  56216. paths = A._setArrayType([], t1),
  56217. t2 = subpath == null;
  56218. if (t2 && addIndex)
  56219. subpath = "index";
  56220. else if (!t2 && addIndex)
  56221. subpath = A.join(subpath, "index", null);
  56222. if (subpath == null)
  56223. return A._setArrayType([null], type$.JSArray_nullable_String);
  56224. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56225. paths.push(subpath);
  56226. else
  56227. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56228. t1 = $.$get$context();
  56229. t2 = t1.style;
  56230. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56231. dirname = t1.dirname$1(subpath);
  56232. if (B.JSString_methods.startsWith$1(basename, "_"))
  56233. return paths;
  56234. t1 = A.List_List$_of(paths, type$.nullable_String);
  56235. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56236. path = paths[_i];
  56237. if (t4)
  56238. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56239. else
  56240. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56241. }
  56242. return t1;
  56243. },
  56244. _exportsToCheck$1(subpath) {
  56245. return this._exportsToCheck$2$addIndex(subpath, false);
  56246. }
  56247. };
  56248. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56249. call$1(key) {
  56250. return B.JSString_methods.startsWith$1(key, ".");
  56251. },
  56252. $signature: 5
  56253. };
  56254. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56255. call$1(key) {
  56256. return !B.JSString_methods.startsWith$1(key, ".");
  56257. },
  56258. $signature: 5
  56259. };
  56260. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56261. call$1(key) {
  56262. return '"' + key + '"';
  56263. },
  56264. $signature: 6
  56265. };
  56266. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56267. call$1(variant) {
  56268. var t1, t2, matchKey, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  56269. if (variant == null) {
  56270. t1 = _this.$this;
  56271. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56272. } else {
  56273. t1 = _this.exports;
  56274. if (type$.Map_String_dynamic._is(t1)) {
  56275. t2 = t1.get$keys(t1);
  56276. t2 = t2.every$1(t2, new A.NodePackageImporter__nodePackageExportsResolve__closure0());
  56277. } else
  56278. t2 = true;
  56279. if (t2)
  56280. return _null;
  56281. }
  56282. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56283. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56284. t1 = t1.$index(0, matchKey);
  56285. if (t1 == null)
  56286. t1 = A._asObject(t1);
  56287. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56288. }
  56289. t2 = A._setArrayType([], type$.JSArray_String);
  56290. for (t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  56291. t4 = t3.get$current(t3);
  56292. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  56293. t2.push(t4);
  56294. }
  56295. t3 = _this.$this;
  56296. B.JSArray_methods.sort$1(t2, t3.get$_compareExpansionKeys());
  56297. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56298. expansionKey = t2[_i];
  56299. _0_0 = expansionKey.split("*");
  56300. t6 = _0_0.length === 2;
  56301. if (t6) {
  56302. patternBase = _0_0[0];
  56303. patternTrailer = _0_0[1];
  56304. } else {
  56305. patternTrailer = _null;
  56306. patternBase = patternTrailer;
  56307. }
  56308. if (!t6)
  56309. throw A.wrapException(A.StateError$("Pattern matching error"));
  56310. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56311. continue;
  56312. if (matchKey === patternBase)
  56313. continue;
  56314. t6 = patternTrailer.length;
  56315. if (t6 !== 0)
  56316. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  56317. else
  56318. t7 = true;
  56319. if (t7) {
  56320. target = t1.$index(0, expansionKey);
  56321. if (target == null)
  56322. continue;
  56323. return t3._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  56324. }
  56325. }
  56326. return _null;
  56327. },
  56328. $signature: 147
  56329. };
  56330. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56331. call$1(mainExport) {
  56332. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56333. },
  56334. $signature: 148
  56335. };
  56336. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56337. call$1(key) {
  56338. return !B.JSString_methods.startsWith$1(key, ".");
  56339. },
  56340. $signature: 5
  56341. };
  56342. A.NodePackageImporter__getMainExport_closure.prototype = {
  56343. call$1(key) {
  56344. return B.JSString_methods.startsWith$1(key, ".");
  56345. },
  56346. $signature: 5
  56347. };
  56348. A.ImporterResult.prototype = {
  56349. get$sourceMapUrl(_) {
  56350. return this._sourceMapUrl;
  56351. }
  56352. };
  56353. A.resolveImportPath_closure.prototype = {
  56354. call$0() {
  56355. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56356. },
  56357. $signature: 45
  56358. };
  56359. A.resolveImportPath_closure0.prototype = {
  56360. call$0() {
  56361. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56362. },
  56363. $signature: 45
  56364. };
  56365. A._tryPathAsDirectory_closure.prototype = {
  56366. call$0() {
  56367. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56368. },
  56369. $signature: 45
  56370. };
  56371. A._exactlyOne_closure.prototype = {
  56372. call$1(path) {
  56373. var t1 = $.$get$context();
  56374. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56375. },
  56376. $signature: 6
  56377. };
  56378. A.InterpolationBuffer.prototype = {
  56379. writeCharCode$1(character) {
  56380. var t1 = this._interpolation_buffer$_text,
  56381. t2 = A.Primitives_stringFromCharCode(character);
  56382. t1._contents += t2;
  56383. return null;
  56384. },
  56385. add$2(_, expression, span) {
  56386. this._flushText$0();
  56387. this._interpolation_buffer$_contents.push(expression);
  56388. this._spans.push(span);
  56389. },
  56390. addInterpolation$1(interpolation) {
  56391. var spansToAdd, _0_4_isSet, _0_4, first, rest, t2, t3, _this = this,
  56392. toAdd = interpolation.contents,
  56393. t1 = toAdd.length;
  56394. if (t1 === 0)
  56395. return;
  56396. spansToAdd = interpolation.spans;
  56397. _0_4_isSet = t1 >= 1;
  56398. if (_0_4_isSet) {
  56399. _0_4 = toAdd[0];
  56400. t1 = typeof _0_4 == "string";
  56401. } else {
  56402. _0_4 = null;
  56403. t1 = false;
  56404. }
  56405. if (t1) {
  56406. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56407. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56408. t1 = _this._interpolation_buffer$_text;
  56409. t1._contents += first;
  56410. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56411. toAdd = rest;
  56412. }
  56413. _this._flushText$0();
  56414. t1 = _this._interpolation_buffer$_contents;
  56415. B.JSArray_methods.addAll$1(t1, toAdd);
  56416. t2 = _this._spans;
  56417. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56418. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56419. t3 = _this._interpolation_buffer$_text;
  56420. t1 = A.S(t1.pop());
  56421. t3._contents += t1;
  56422. t2.pop();
  56423. }
  56424. },
  56425. _flushText$0() {
  56426. var t1 = this._interpolation_buffer$_text,
  56427. t2 = t1._contents;
  56428. if (t2.length === 0)
  56429. return;
  56430. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56431. this._spans.push(null);
  56432. t1._contents = "";
  56433. },
  56434. interpolation$1(span) {
  56435. var t1 = A.List_List$_of(this._interpolation_buffer$_contents, type$.Object),
  56436. t2 = this._interpolation_buffer$_text,
  56437. t3 = t2._contents;
  56438. if (t3.length !== 0)
  56439. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56440. t3 = A.List_List$_of(this._spans, type$.nullable_FileSpan);
  56441. if (t2._contents.length !== 0)
  56442. t3.push(null);
  56443. return A.Interpolation$(t1, t3, span);
  56444. },
  56445. toString$0(_) {
  56446. var t1, t2, _i, t3, element;
  56447. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56448. element = t1[_i];
  56449. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56450. }
  56451. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56452. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56453. }
  56454. };
  56455. A.InterpolationMap.prototype = {
  56456. mapException$1(error) {
  56457. var source, startIndex, endIndex, t3, t4, _this = this,
  56458. target = error.get$span(error),
  56459. t1 = _this._interpolation,
  56460. t2 = t1.contents;
  56461. if (t2.length === 0)
  56462. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56463. source = _this.mapSpan$1(target);
  56464. startIndex = _this._indexInContents$1(target.get$start(target));
  56465. endIndex = _this._indexInContents$1(target.get$end(target));
  56466. t1 = error._span_exception$_message;
  56467. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56468. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56469. else {
  56470. t2 = type$.SourceSpan;
  56471. t3 = type$.String;
  56472. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56473. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56474. }
  56475. },
  56476. mapSpan$1(target) {
  56477. var t1, _0_2_isSet, t2, start, _0_20, end, _this = this, _null = null,
  56478. _0_1 = _this._mapLocation$1(target.get$start(target)),
  56479. _0_2 = _this._mapLocation$1(target.get$end(target));
  56480. $label0$0: {
  56481. t1 = type$.FileSpan;
  56482. _0_2_isSet = t1._is(_0_1);
  56483. t2 = false;
  56484. if (_0_2_isSet) {
  56485. t2 = t1._is(_0_2);
  56486. start = _0_1;
  56487. _0_20 = _0_2;
  56488. } else {
  56489. start = _null;
  56490. _0_20 = start;
  56491. }
  56492. if (t2) {
  56493. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56494. break $label0$0;
  56495. }
  56496. t2 = false;
  56497. if (t1._is(_0_1)) {
  56498. if (_0_2_isSet)
  56499. t2 = _0_20;
  56500. else {
  56501. t2 = _0_2;
  56502. _0_20 = t2;
  56503. _0_2_isSet = true;
  56504. }
  56505. t2 = t2 instanceof A.FileLocation;
  56506. start = _0_1;
  56507. } else
  56508. start = _null;
  56509. if (t2) {
  56510. t1 = _0_2_isSet ? _0_20 : _0_2;
  56511. type$.FileLocation._as(t1);
  56512. t1 = _this._interpolation.span.file.span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56513. break $label0$0;
  56514. }
  56515. t2 = false;
  56516. if (_0_1 instanceof A.FileLocation) {
  56517. if (_0_2_isSet)
  56518. t2 = _0_20;
  56519. else {
  56520. t2 = _0_2;
  56521. _0_20 = t2;
  56522. _0_2_isSet = true;
  56523. }
  56524. t2 = t1._is(t2);
  56525. start = _0_1;
  56526. } else
  56527. start = _null;
  56528. if (t2) {
  56529. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56530. t1 = _this._interpolation.span.file.span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56531. break $label0$0;
  56532. }
  56533. t1 = false;
  56534. if (_0_1 instanceof A.FileLocation) {
  56535. if (_0_2_isSet)
  56536. t1 = _0_20;
  56537. else {
  56538. t1 = _0_2;
  56539. _0_20 = t1;
  56540. _0_2_isSet = true;
  56541. }
  56542. t1 = t1 instanceof A.FileLocation;
  56543. start = _0_1;
  56544. } else
  56545. start = _null;
  56546. if (t1) {
  56547. t1 = _0_2_isSet ? _0_20 : _0_2;
  56548. type$.FileLocation._as(t1);
  56549. t1 = _this._interpolation.span.file.span$2(0, start.offset, t1.offset);
  56550. break $label0$0;
  56551. }
  56552. t1 = A.throwExpression("[BUG] Unreachable");
  56553. }
  56554. return t1;
  56555. },
  56556. _mapLocation$1(target) {
  56557. var index, _0_0, t3, t4, previousLocation, _this = this,
  56558. t1 = _this._interpolation,
  56559. t2 = t1.contents;
  56560. if (t2.length === 0)
  56561. return t1.span;
  56562. index = _this._indexInContents$1(target);
  56563. _0_0 = t2[index];
  56564. if (_0_0 instanceof A.Expression)
  56565. return _0_0.get$span(_0_0);
  56566. t3 = index === 0;
  56567. t1 = t1.span;
  56568. t4 = t1.file;
  56569. if (t3)
  56570. previousLocation = A.FileLocation$_(t4, t1._file$_start);
  56571. else {
  56572. t1 = type$.Expression._as(t2[index - 1]);
  56573. t1 = t1.get$span(t1);
  56574. previousLocation = A.FileLocation$_(t4, _this._expandInterpolationSpanRight$1(t1.get$end(t1)));
  56575. }
  56576. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  56577. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56578. },
  56579. _indexInContents$1(target) {
  56580. var t1, t2, t3, i;
  56581. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56582. if (t3 < t1[i].get$offset())
  56583. return i;
  56584. return this._interpolation.contents.length - 1;
  56585. },
  56586. _expandInterpolationSpanLeft$1(start) {
  56587. var i0, prev, char,
  56588. source = start.file._decodedChars,
  56589. i = start.offset - 1;
  56590. for (; i >= 0;) {
  56591. i0 = i - 1;
  56592. prev = source[i];
  56593. if (prev === 123) {
  56594. if (source[i0] === 35) {
  56595. i = i0;
  56596. break;
  56597. }
  56598. i = i0;
  56599. } else if (prev === 47) {
  56600. i = i0 - 1;
  56601. if (source[i0] === 42)
  56602. for (; true;) {
  56603. i0 = i - 1;
  56604. if (source[i] !== 42) {
  56605. i = i0;
  56606. continue;
  56607. }
  56608. i = i0;
  56609. do {
  56610. i0 = i - 1;
  56611. char = source[i];
  56612. if (char === 42) {
  56613. i = i0;
  56614. continue;
  56615. } else
  56616. break;
  56617. } while (true);
  56618. if (char === 47) {
  56619. i = i0;
  56620. break;
  56621. }
  56622. i = i0;
  56623. }
  56624. } else
  56625. i = i0;
  56626. }
  56627. return i;
  56628. },
  56629. _expandInterpolationSpanRight$1(end) {
  56630. var t1, i0, next, second, t2, char,
  56631. source = end.file._decodedChars,
  56632. i = end.offset;
  56633. for (t1 = source.length; i < t1;) {
  56634. i0 = i + 1;
  56635. next = source[i];
  56636. if (next === 125) {
  56637. i = i0;
  56638. break;
  56639. }
  56640. if (next === 47) {
  56641. i = i0 + 1;
  56642. second = source[i0];
  56643. if (second === 47) {
  56644. while (true) {
  56645. i0 = i + 1;
  56646. t2 = source[i];
  56647. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  56648. break;
  56649. i = i0;
  56650. }
  56651. i = i0;
  56652. } else if (second === 42)
  56653. for (; true;) {
  56654. i0 = i + 1;
  56655. if (source[i] !== 42) {
  56656. i = i0;
  56657. continue;
  56658. }
  56659. i = i0;
  56660. do {
  56661. i0 = i + 1;
  56662. char = source[i];
  56663. if (char === 42) {
  56664. i = i0;
  56665. continue;
  56666. } else
  56667. break;
  56668. } while (true);
  56669. if (char === 47) {
  56670. i = i0;
  56671. break;
  56672. }
  56673. i = i0;
  56674. }
  56675. } else
  56676. i = i0;
  56677. }
  56678. return i;
  56679. }
  56680. };
  56681. A.InterpolationMap_mapException_closure.prototype = {
  56682. call$1($content) {
  56683. return $content instanceof A.Expression;
  56684. },
  56685. $signature: 71
  56686. };
  56687. A._realCasePath_helper.prototype = {
  56688. call$2(path, realPath) {
  56689. var dirname = $.$get$context().dirname$1(path);
  56690. if (dirname === path)
  56691. return path;
  56692. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(path, realPath, this, dirname));
  56693. },
  56694. call$1(path) {
  56695. return this.call$2(path, null);
  56696. },
  56697. $signature: 149
  56698. };
  56699. A._realCasePath_helper_closure.prototype = {
  56700. call$0() {
  56701. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  56702. t2 = _this.path;
  56703. if (!A.linkExists(t2)) {
  56704. realPathNonNull = null;
  56705. try {
  56706. realPathNonNull0 = _this.realPath;
  56707. realPathNonNull = realPathNonNull0 == null ? A.realpath(t2) : realPathNonNull0;
  56708. } catch (exception) {
  56709. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56710. return t2;
  56711. else
  56712. throw exception;
  56713. }
  56714. t1 = realPathNonNull;
  56715. t2 = $.$get$context();
  56716. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  56717. }
  56718. realDirname = _this.helper.call$1(_this.dirname);
  56719. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  56720. try {
  56721. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  56722. t1 = null;
  56723. _0_0 = matches;
  56724. $label0$0: {
  56725. match = null;
  56726. if (J.get$length$asx(_0_0) === 1) {
  56727. match = J.$index$asx(_0_0, 0);
  56728. t1 = match;
  56729. break $label0$0;
  56730. }
  56731. t1 = A.join(realDirname, basename, null);
  56732. break $label0$0;
  56733. }
  56734. t1 = t1;
  56735. return t1;
  56736. } catch (exception) {
  56737. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56738. return t2;
  56739. else
  56740. throw exception;
  56741. }
  56742. },
  56743. $signature: 27
  56744. };
  56745. A._realCasePath_helper__closure.prototype = {
  56746. call$1(realPath) {
  56747. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  56748. },
  56749. $signature: 5
  56750. };
  56751. A.FileSystemException.prototype = {
  56752. toString$0(_) {
  56753. var t1 = $.$get$context();
  56754. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  56755. },
  56756. get$message(receiver) {
  56757. return this.message;
  56758. }
  56759. };
  56760. A._readFile_closure.prototype = {
  56761. call$0() {
  56762. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  56763. },
  56764. $signature: 59
  56765. };
  56766. A.writeFile_closure.prototype = {
  56767. call$0() {
  56768. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  56769. },
  56770. $signature: 0
  56771. };
  56772. A.deleteFile_closure.prototype = {
  56773. call$0() {
  56774. return J.unlinkSync$1$x(A.fs(), this.path);
  56775. },
  56776. $signature: 0
  56777. };
  56778. A.readStdin_closure.prototype = {
  56779. call$1(result) {
  56780. this._box_0.contents = result;
  56781. this.completer.complete$1(result);
  56782. },
  56783. $signature: 115
  56784. };
  56785. A.readStdin_closure0.prototype = {
  56786. call$1(chunk) {
  56787. this.sink.add$1(0, type$.List_int._as(chunk));
  56788. },
  56789. call$0() {
  56790. return this.call$1(null);
  56791. },
  56792. "call*": "call$1",
  56793. $requiredArgCount: 0,
  56794. $defaultValues() {
  56795. return [null];
  56796. },
  56797. $signature: 111
  56798. };
  56799. A.readStdin_closure1.prototype = {
  56800. call$1(arg) {
  56801. this.sink.close$0(0);
  56802. },
  56803. call$0() {
  56804. return this.call$1(null);
  56805. },
  56806. "call*": "call$1",
  56807. $requiredArgCount: 0,
  56808. $defaultValues() {
  56809. return [null];
  56810. },
  56811. $signature: 111
  56812. };
  56813. A.readStdin_closure2.prototype = {
  56814. call$1(e) {
  56815. A.printError("Failed to read from stdin");
  56816. A.printError(e);
  56817. e.toString;
  56818. this.completer.completeError$1(e);
  56819. },
  56820. call$0() {
  56821. return this.call$1(null);
  56822. },
  56823. "call*": "call$1",
  56824. $requiredArgCount: 0,
  56825. $defaultValues() {
  56826. return [null];
  56827. },
  56828. $signature: 111
  56829. };
  56830. A.fileExists_closure.prototype = {
  56831. call$0() {
  56832. var error, systemError, exception,
  56833. t1 = this.path;
  56834. if (!J.existsSync$1$x(A.fs(), t1))
  56835. return false;
  56836. try {
  56837. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  56838. return t1;
  56839. } catch (exception) {
  56840. error = A.unwrapException(exception);
  56841. systemError = type$.JsSystemError._as(error);
  56842. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56843. return false;
  56844. throw exception;
  56845. }
  56846. },
  56847. $signature: 20
  56848. };
  56849. A.dirExists_closure.prototype = {
  56850. call$0() {
  56851. var error, systemError, exception,
  56852. t1 = this.path;
  56853. if (!J.existsSync$1$x(A.fs(), t1))
  56854. return false;
  56855. try {
  56856. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  56857. return t1;
  56858. } catch (exception) {
  56859. error = A.unwrapException(exception);
  56860. systemError = type$.JsSystemError._as(error);
  56861. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56862. return false;
  56863. throw exception;
  56864. }
  56865. },
  56866. $signature: 20
  56867. };
  56868. A.linkExists_closure.prototype = {
  56869. call$0() {
  56870. var error, systemError, t1, exception;
  56871. try {
  56872. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  56873. return t1;
  56874. } catch (exception) {
  56875. error = A.unwrapException(exception);
  56876. systemError = type$.JsSystemError._as(error);
  56877. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56878. return false;
  56879. throw exception;
  56880. }
  56881. },
  56882. $signature: 20
  56883. };
  56884. A.ensureDir_closure.prototype = {
  56885. call$0() {
  56886. var error, systemError, exception, t1;
  56887. try {
  56888. J.mkdirSync$1$x(A.fs(), this.path);
  56889. } catch (exception) {
  56890. error = A.unwrapException(exception);
  56891. systemError = type$.JsSystemError._as(error);
  56892. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  56893. return;
  56894. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56895. throw exception;
  56896. t1 = this.path;
  56897. A.ensureDir($.$get$context().dirname$1(t1));
  56898. J.mkdirSync$1$x(A.fs(), t1);
  56899. }
  56900. },
  56901. $signature: 0
  56902. };
  56903. A.listDir_closure.prototype = {
  56904. call$0() {
  56905. var t1 = this.path;
  56906. if (!this.recursive)
  56907. 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());
  56908. else
  56909. return new A.listDir_closure_list().call$1(t1);
  56910. },
  56911. $signature: 152
  56912. };
  56913. A.listDir__closure.prototype = {
  56914. call$1(child) {
  56915. return A.join(this.path, A._asString(child), null);
  56916. },
  56917. $signature: 134
  56918. };
  56919. A.listDir__closure0.prototype = {
  56920. call$1(child) {
  56921. return !A.dirExists(child);
  56922. },
  56923. $signature: 5
  56924. };
  56925. A.listDir_closure_list.prototype = {
  56926. call$1($parent) {
  56927. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  56928. },
  56929. $signature: 153
  56930. };
  56931. A.listDir__list_closure.prototype = {
  56932. call$1(child) {
  56933. var path = A.join(this.parent, A._asString(child), null);
  56934. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  56935. },
  56936. $signature: 154
  56937. };
  56938. A.realpath_closure.prototype = {
  56939. call$0() {
  56940. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  56941. },
  56942. $signature: 27
  56943. };
  56944. A.modificationTime_closure.prototype = {
  56945. call$0() {
  56946. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  56947. if (t1 < -864e13 || t1 > 864e13)
  56948. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  56949. A.checkNotNullable(false, "isUtc", type$.bool);
  56950. return new A.DateTime(t1, 0, false);
  56951. },
  56952. $signature: 155
  56953. };
  56954. A.watchDir_closure0.prototype = {
  56955. call$2(error, events) {
  56956. var t1, t2, t3, t4, t5, lastEvent;
  56957. if (error != null) {
  56958. t1 = this._box_0.controller;
  56959. if (t1 != null)
  56960. t1.addError$1(error);
  56961. } else
  56962. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  56963. t3 = t1.get$current(t1);
  56964. switch (t3.type) {
  56965. case "create":
  56966. t4 = t2.controller;
  56967. if (t4 != null) {
  56968. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  56969. t5 = t4._state;
  56970. if (t5 >= 4)
  56971. A.throwExpression(t4._badEventState$0());
  56972. if ((t5 & 1) !== 0)
  56973. t4._sendData$1(t3);
  56974. else if ((t5 & 3) === 0) {
  56975. t4 = t4._ensurePendingEvents$0();
  56976. t3 = new A._DelayedData(t3);
  56977. lastEvent = t4.lastPendingEvent;
  56978. if (lastEvent == null)
  56979. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  56980. else {
  56981. lastEvent.set$next(t3);
  56982. t4.lastPendingEvent = t3;
  56983. }
  56984. }
  56985. }
  56986. break;
  56987. case "update":
  56988. t4 = t2.controller;
  56989. if (t4 != null) {
  56990. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  56991. t5 = t4._state;
  56992. if (t5 >= 4)
  56993. A.throwExpression(t4._badEventState$0());
  56994. if ((t5 & 1) !== 0)
  56995. t4._sendData$1(t3);
  56996. else if ((t5 & 3) === 0) {
  56997. t4 = t4._ensurePendingEvents$0();
  56998. t3 = new A._DelayedData(t3);
  56999. lastEvent = t4.lastPendingEvent;
  57000. if (lastEvent == null)
  57001. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57002. else {
  57003. lastEvent.set$next(t3);
  57004. t4.lastPendingEvent = t3;
  57005. }
  57006. }
  57007. }
  57008. break;
  57009. case "delete":
  57010. t4 = t2.controller;
  57011. if (t4 != null) {
  57012. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  57013. t5 = t4._state;
  57014. if (t5 >= 4)
  57015. A.throwExpression(t4._badEventState$0());
  57016. if ((t5 & 1) !== 0)
  57017. t4._sendData$1(t3);
  57018. else if ((t5 & 3) === 0) {
  57019. t4 = t4._ensurePendingEvents$0();
  57020. t3 = new A._DelayedData(t3);
  57021. lastEvent = t4.lastPendingEvent;
  57022. if (lastEvent == null)
  57023. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57024. else {
  57025. lastEvent.set$next(t3);
  57026. t4.lastPendingEvent = t3;
  57027. }
  57028. }
  57029. }
  57030. break;
  57031. }
  57032. }
  57033. },
  57034. $signature: 340
  57035. };
  57036. A.watchDir_closure.prototype = {
  57037. call$0() {
  57038. this.subscription.unsubscribe();
  57039. },
  57040. $signature: 1
  57041. };
  57042. A.watchDir_closure1.prototype = {
  57043. call$2(path, _) {
  57044. var t1 = this._box_0.controller;
  57045. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57046. },
  57047. call$1(path) {
  57048. return this.call$2(path, null);
  57049. },
  57050. "call*": "call$2",
  57051. $requiredArgCount: 1,
  57052. $defaultValues() {
  57053. return [null];
  57054. },
  57055. $signature: 156
  57056. };
  57057. A.watchDir_closure2.prototype = {
  57058. call$2(path, _) {
  57059. var t1 = this._box_0.controller;
  57060. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57061. },
  57062. call$1(path) {
  57063. return this.call$2(path, null);
  57064. },
  57065. "call*": "call$2",
  57066. $requiredArgCount: 1,
  57067. $defaultValues() {
  57068. return [null];
  57069. },
  57070. $signature: 156
  57071. };
  57072. A.watchDir_closure3.prototype = {
  57073. call$1(path) {
  57074. var t1 = this._box_0.controller;
  57075. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57076. },
  57077. $signature: 115
  57078. };
  57079. A.watchDir_closure4.prototype = {
  57080. call$1(error) {
  57081. var t1 = this._box_0.controller;
  57082. return t1 == null ? null : t1.addError$1(error);
  57083. },
  57084. $signature: 113
  57085. };
  57086. A.watchDir_closure5.prototype = {
  57087. call$0() {
  57088. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57089. this._box_0.controller = controller;
  57090. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57091. },
  57092. $signature: 1
  57093. };
  57094. A.watchDir__closure.prototype = {
  57095. call$0() {
  57096. J.close$0$x(this.watcher);
  57097. },
  57098. $signature: 1
  57099. };
  57100. A.JSArray0.prototype = {};
  57101. A.Chokidar.prototype = {};
  57102. A.ChokidarOptions.prototype = {};
  57103. A.ChokidarWatcher.prototype = {};
  57104. A.JSFunction.prototype = {};
  57105. A.ImmutableList.prototype = {};
  57106. A.ImmutableMap.prototype = {};
  57107. A.NodeImporterResult.prototype = {};
  57108. A.RenderContext.prototype = {};
  57109. A.RenderContextOptions.prototype = {};
  57110. A.RenderContextResult.prototype = {};
  57111. A.RenderContextResultStats.prototype = {};
  57112. A.JSModule.prototype = {};
  57113. A.JSModuleRequire.prototype = {};
  57114. A.ParcelWatcher_subscribe_closure.prototype = {
  57115. call$2(error, events) {
  57116. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57117. this.callback.call$2(error, t1);
  57118. },
  57119. $signature: 357
  57120. };
  57121. A.JSClass.prototype = {};
  57122. A.JSUrl.prototype = {};
  57123. A._PropertyDescriptor.prototype = {};
  57124. A._RequireMain.prototype = {};
  57125. A.LoggerWithDeprecationType.prototype = {
  57126. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57127. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_KtC : null, span, trace);
  57128. },
  57129. warn$1(_, message) {
  57130. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57131. },
  57132. warn$3$span$trace(_, message, span, trace) {
  57133. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57134. }
  57135. };
  57136. A._QuietLogger.prototype = {
  57137. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57138. },
  57139. warn$1(_, message) {
  57140. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57141. },
  57142. warn$3$span$trace(_, message, span, trace) {
  57143. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57144. },
  57145. debug$2(_, message, span) {
  57146. }
  57147. };
  57148. A.DeprecationProcessingLogger.prototype = {
  57149. validate$0() {
  57150. var t1, t2, t3, t4, _this = this, _null = null;
  57151. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57152. t3 = t1.get$current(t1);
  57153. t4 = t2.contains$1(0, t3);
  57154. if (t4) {
  57155. t3 = t3.toString$0(0);
  57156. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57157. continue;
  57158. }
  57159. }
  57160. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57161. t4 = t1._collection$_current;
  57162. if (B.Deprecation_KtC === (t4 == null ? t2._as(t4) : t4)) {
  57163. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57164. continue;
  57165. }
  57166. }
  57167. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57168. t3 = t1._collection$_current;
  57169. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57170. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57171. }
  57172. },
  57173. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57174. if (deprecation != null)
  57175. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57176. else
  57177. this._inner.warn$3$span$trace(0, message, span, trace);
  57178. },
  57179. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57180. var _0_3_isSet, t1, span0, _0_3, t2, count, _1_0, _this = this, _null = null;
  57181. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57182. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  57183. $label0$0: {
  57184. _0_3_isSet = span != null;
  57185. t1 = false;
  57186. if (_0_3_isSet) {
  57187. t1 = trace != null;
  57188. span0 = span;
  57189. _0_3 = trace;
  57190. } else {
  57191. span0 = _null;
  57192. _0_3 = span0;
  57193. }
  57194. if (t1) {
  57195. if (_0_3_isSet)
  57196. trace = _0_3;
  57197. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57198. break $label0$0;
  57199. }
  57200. t1 = false;
  57201. if (span != null)
  57202. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57203. else
  57204. span = _null;
  57205. if (t1) {
  57206. t1 = A.SassException$(message, span, _null);
  57207. break $label0$0;
  57208. }
  57209. t1 = A.SassScriptException$(message, _null);
  57210. break $label0$0;
  57211. }
  57212. throw A.wrapException(t1);
  57213. }
  57214. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57215. return;
  57216. if (_this.limitRepetition) {
  57217. t1 = _this._warningCounts;
  57218. t2 = t1.$index(0, deprecation);
  57219. count = (t2 == null ? 0 : t2) + 1;
  57220. t1.$indexSet(0, deprecation, count);
  57221. if (count > 5)
  57222. return;
  57223. }
  57224. _1_0 = _this._inner;
  57225. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57226. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57227. else
  57228. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57229. },
  57230. debug$2(_, message, span) {
  57231. return this._inner.debug$2(0, message, span);
  57232. },
  57233. summarize$1$js(js) {
  57234. var t1 = this._warningCounts,
  57235. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57236. 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>")));
  57237. if (total > 0) {
  57238. t1 = js ? "" : string$.x0aRun_i;
  57239. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57240. }
  57241. }
  57242. };
  57243. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57244. call$1(count) {
  57245. return count > 5;
  57246. },
  57247. $signature: 47
  57248. };
  57249. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57250. call$1(count) {
  57251. return count - 5;
  57252. },
  57253. $signature: 157
  57254. };
  57255. A.StderrLogger.prototype = {
  57256. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57257. var t3,
  57258. result = new A.StringBuffer(""),
  57259. t1 = deprecation != null,
  57260. showDeprecation = t1 && deprecation !== B.Deprecation_KtC,
  57261. t2 = this.color;
  57262. if (t2) {
  57263. t3 = result._contents = "\x1b[33m\x1b[1m";
  57264. t3 = result._contents = (t1 ? result._contents = "\x1b[33m\x1b[1mDeprecation " : t3) + "Warning\x1b[0m";
  57265. if (showDeprecation) {
  57266. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  57267. result._contents = t1;
  57268. } else
  57269. t1 = t3;
  57270. } else {
  57271. t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
  57272. if (showDeprecation) {
  57273. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  57274. result._contents = t1;
  57275. } else
  57276. t1 = t3;
  57277. }
  57278. if (span == null)
  57279. t1 = result._contents = t1 + (": " + message + "\n");
  57280. else if (trace != null) {
  57281. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57282. result._contents = t1;
  57283. } else {
  57284. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57285. result._contents = t1;
  57286. }
  57287. if (trace != null)
  57288. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57289. A.printError(result);
  57290. },
  57291. debug$2(_, message, span) {
  57292. var url, t3, t4,
  57293. t1 = span.file,
  57294. t2 = span._file$_start;
  57295. if (A.FileLocation$_(t1, t2).file.url == null)
  57296. url = "-";
  57297. else {
  57298. t3 = A.FileLocation$_(t1, t2).file.url;
  57299. t4 = $.$get$context();
  57300. t3.toString;
  57301. url = t4.prettyUri$1(t3);
  57302. }
  57303. t1 = A.FileLocation$_(t1, t2);
  57304. t1 = t1.file.getLine$1(t1.offset);
  57305. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57306. t2 = url + ":" + (t1 + 1) + " " + t2 + (": " + message);
  57307. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57308. }
  57309. };
  57310. A.TrackingLogger.prototype = {
  57311. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57312. this._emittedWarning = true;
  57313. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57314. },
  57315. warn$1(_, message) {
  57316. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57317. },
  57318. warn$3$span$trace(_, message, span, trace) {
  57319. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57320. },
  57321. debug$2(_, message, span) {
  57322. this._emittedDebug = true;
  57323. this._tracking$_logger.debug$2(0, message, span);
  57324. }
  57325. };
  57326. A.BuiltInModule.prototype = {
  57327. get$upstream() {
  57328. return B.List_empty7;
  57329. },
  57330. get$variableNodes() {
  57331. return B.Map_empty3;
  57332. },
  57333. get$extensionStore() {
  57334. return B.C_EmptyExtensionStore;
  57335. },
  57336. get$css(_) {
  57337. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57338. },
  57339. get$preModuleComments() {
  57340. return B.Map_empty1;
  57341. },
  57342. get$transitivelyContainsCss() {
  57343. return false;
  57344. },
  57345. get$transitivelyContainsExtensions() {
  57346. return false;
  57347. },
  57348. setVariable$3($name, value, nodeWithSpan) {
  57349. if (!this.variables.containsKey$1($name))
  57350. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57351. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57352. },
  57353. variableIdentity$1($name) {
  57354. return this;
  57355. },
  57356. couldHaveBeenConfigured$1(_) {
  57357. return false;
  57358. },
  57359. cloneCss$0() {
  57360. return this;
  57361. },
  57362. $isModule0: 1,
  57363. get$url(receiver) {
  57364. return this.url;
  57365. },
  57366. get$functions(receiver) {
  57367. return this.functions;
  57368. },
  57369. get$mixins() {
  57370. return this.mixins;
  57371. },
  57372. get$variables() {
  57373. return this.variables;
  57374. }
  57375. };
  57376. A.ForwardedModuleView.prototype = {
  57377. get$url(_) {
  57378. var t1 = this._forwarded_view$_inner;
  57379. return t1.get$url(t1);
  57380. },
  57381. get$upstream() {
  57382. return this._forwarded_view$_inner.get$upstream();
  57383. },
  57384. get$extensionStore() {
  57385. return this._forwarded_view$_inner.get$extensionStore();
  57386. },
  57387. get$css(_) {
  57388. var t1 = this._forwarded_view$_inner;
  57389. return t1.get$css(t1);
  57390. },
  57391. get$preModuleComments() {
  57392. return this._forwarded_view$_inner.get$preModuleComments();
  57393. },
  57394. get$transitivelyContainsCss() {
  57395. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57396. },
  57397. get$transitivelyContainsExtensions() {
  57398. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57399. },
  57400. setVariable$3($name, value, nodeWithSpan) {
  57401. var t2, _1_0, _2_0,
  57402. _s19_ = "Undefined variable.",
  57403. t1 = this._rule,
  57404. _0_0 = t1.shownVariables;
  57405. if (_0_0 != null)
  57406. t2 = !_0_0._base.contains$1(0, $name);
  57407. else
  57408. t2 = false;
  57409. if (t2)
  57410. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57411. else {
  57412. _1_0 = t1.hiddenVariables;
  57413. if (_1_0 != null)
  57414. t2 = _1_0._base.contains$1(0, $name);
  57415. else
  57416. t2 = false;
  57417. if (t2)
  57418. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57419. }
  57420. _2_0 = t1.prefix;
  57421. if (_2_0 != null) {
  57422. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57423. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57424. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57425. }
  57426. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57427. },
  57428. variableIdentity$1($name) {
  57429. var _0_0 = this._rule.prefix;
  57430. if (_0_0 != null)
  57431. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57432. return this._forwarded_view$_inner.variableIdentity$1($name);
  57433. },
  57434. couldHaveBeenConfigured$1(variables) {
  57435. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  57436. t1 = _this._rule,
  57437. t2 = t1.prefix,
  57438. t3 = t2 == null,
  57439. t4 = false;
  57440. if (t3)
  57441. if (t1.shownVariables == null) {
  57442. t4 = t1.hiddenVariables;
  57443. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  57444. t4 = t4 !== false;
  57445. }
  57446. if (t4)
  57447. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables);
  57448. if (!t3) {
  57449. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57450. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  57451. t6 = t4.get$current(t4);
  57452. if (B.JSString_methods.startsWith$1(t6, t2))
  57453. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  57454. }
  57455. variables = t3;
  57456. }
  57457. _1_0 = t1.shownVariables;
  57458. if (_1_0 != null)
  57459. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  57460. else {
  57461. _2_0 = t1.hiddenVariables;
  57462. if (_2_0 != null) {
  57463. t1 = _2_0._base.get$isNotEmpty(0);
  57464. blocklist = _2_0;
  57465. } else {
  57466. blocklist = null;
  57467. t1 = false;
  57468. }
  57469. t2 = _this._forwarded_view$_inner;
  57470. if (t1)
  57471. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  57472. else
  57473. return t2.couldHaveBeenConfigured$1(variables);
  57474. }
  57475. },
  57476. $eq(_, other) {
  57477. if (other == null)
  57478. return false;
  57479. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57480. },
  57481. get$hashCode(_) {
  57482. var t1 = this._forwarded_view$_inner;
  57483. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57484. },
  57485. cloneCss$0() {
  57486. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57487. },
  57488. toString$0(_) {
  57489. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57490. },
  57491. $isModule0: 1,
  57492. get$variables() {
  57493. return this.variables;
  57494. },
  57495. get$variableNodes() {
  57496. return this.variableNodes;
  57497. },
  57498. get$functions(receiver) {
  57499. return this.functions;
  57500. },
  57501. get$mixins() {
  57502. return this.mixins;
  57503. }
  57504. };
  57505. A.ShadowedModuleView.prototype = {
  57506. get$url(_) {
  57507. var t1 = this._shadowed_view$_inner;
  57508. return t1.get$url(t1);
  57509. },
  57510. get$upstream() {
  57511. return this._shadowed_view$_inner.get$upstream();
  57512. },
  57513. get$extensionStore() {
  57514. return this._shadowed_view$_inner.get$extensionStore();
  57515. },
  57516. get$css(_) {
  57517. var t1 = this._shadowed_view$_inner;
  57518. return t1.get$css(t1);
  57519. },
  57520. get$preModuleComments() {
  57521. return this._shadowed_view$_inner.get$preModuleComments();
  57522. },
  57523. get$transitivelyContainsCss() {
  57524. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57525. },
  57526. get$transitivelyContainsExtensions() {
  57527. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57528. },
  57529. setVariable$3($name, value, nodeWithSpan) {
  57530. if (!this.variables.containsKey$1($name))
  57531. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57532. else
  57533. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57534. },
  57535. variableIdentity$1($name) {
  57536. return this._shadowed_view$_inner.variableIdentity$1($name);
  57537. },
  57538. couldHaveBeenConfigured$1(variables) {
  57539. var t3, t4,
  57540. t1 = this.variables,
  57541. t2 = this._shadowed_view$_inner;
  57542. if (t1 === t2.get$variables())
  57543. t1 = t2.couldHaveBeenConfigured$1(variables);
  57544. else {
  57545. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57546. for (t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  57547. t4 = t1.get$current(t1);
  57548. if (variables.contains$1(0, t4))
  57549. t3.add$1(0, t4);
  57550. }
  57551. t1 = t2.couldHaveBeenConfigured$1(t3);
  57552. }
  57553. return t1;
  57554. },
  57555. $eq(_, other) {
  57556. var t1, t2, t3, _this = this;
  57557. if (other == null)
  57558. return false;
  57559. t1 = false;
  57560. if (other instanceof A.ShadowedModuleView)
  57561. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57562. t2 = _this.variables;
  57563. t2 = t2.get$keys(t2);
  57564. t3 = other.variables;
  57565. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57566. t2 = _this.functions;
  57567. t2 = t2.get$keys(t2);
  57568. t3 = other.functions;
  57569. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57570. t1 = _this.mixins;
  57571. t1 = t1.get$keys(t1);
  57572. t2 = other.mixins;
  57573. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57574. t1 = t2;
  57575. }
  57576. }
  57577. }
  57578. return t1;
  57579. },
  57580. get$hashCode(_) {
  57581. var t1 = this._shadowed_view$_inner;
  57582. return t1.get$hashCode(t1);
  57583. },
  57584. cloneCss$0() {
  57585. var _this = this;
  57586. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57587. },
  57588. toString$0(_) {
  57589. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57590. },
  57591. $isModule0: 1,
  57592. get$variables() {
  57593. return this.variables;
  57594. },
  57595. get$variableNodes() {
  57596. return this.variableNodes;
  57597. },
  57598. get$functions(receiver) {
  57599. return this.functions;
  57600. },
  57601. get$mixins() {
  57602. return this.mixins;
  57603. }
  57604. };
  57605. A.AtRootQueryParser.prototype = {
  57606. parse$0(_) {
  57607. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  57608. }
  57609. };
  57610. A.AtRootQueryParser_parse_closure.prototype = {
  57611. call$0() {
  57612. var include, atRules,
  57613. t1 = this.$this,
  57614. t2 = t1.scanner;
  57615. t2.expectChar$1(40);
  57616. t1.whitespace$1$consumeNewlines(true);
  57617. include = t1.scanIdentifier$1("with");
  57618. if (!include)
  57619. t1.expectIdentifier$2$name("without", '"with" or "without"');
  57620. t1.whitespace$1$consumeNewlines(true);
  57621. t2.expectChar$1(58);
  57622. t1.whitespace$1$consumeNewlines(true);
  57623. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57624. do {
  57625. atRules.add$1(0, t1.identifier$0().toLowerCase());
  57626. t1.whitespace$1$consumeNewlines(true);
  57627. } while (t1.lookingAtIdentifier$0());
  57628. t2.expectChar$1(41);
  57629. t2.expectDone$0();
  57630. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  57631. },
  57632. $signature: 398
  57633. };
  57634. A._disallowedFunctionNames_closure.prototype = {
  57635. call$1($function) {
  57636. return $function.name;
  57637. },
  57638. $signature: 417
  57639. };
  57640. A.CssParser.prototype = {
  57641. get$plainCss() {
  57642. return true;
  57643. },
  57644. silentComment$0() {
  57645. var t1, t2, _this = this;
  57646. if (_this._inExpression)
  57647. return false;
  57648. t1 = _this.scanner;
  57649. t2 = t1._string_scanner$_position;
  57650. _this.super$Parser$silentComment();
  57651. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57652. },
  57653. atRule$2$root(child, root) {
  57654. var $name, _0_0, _this = this,
  57655. t1 = _this.scanner,
  57656. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57657. t1.expectChar$1(64);
  57658. $name = _this.interpolatedIdentifier$0();
  57659. _this.whitespace$1$consumeNewlines(true);
  57660. _0_0 = $name.get$asPlain();
  57661. $label0$0: {
  57662. 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)
  57663. _this._forbiddenAtRule$1(start);
  57664. if ("import" === _0_0) {
  57665. t1 = _this._cssImportRule$1(start);
  57666. break $label0$0;
  57667. }
  57668. if ("media" === _0_0) {
  57669. t1 = _this.mediaRule$1(start);
  57670. break $label0$0;
  57671. }
  57672. if ("-moz-document" === _0_0) {
  57673. t1 = _this.mozDocumentRule$2(start, $name);
  57674. break $label0$0;
  57675. }
  57676. if ("supports" === _0_0) {
  57677. t1 = _this.supportsRule$1(start);
  57678. break $label0$0;
  57679. }
  57680. t1 = _this.unknownAtRule$2(start, $name);
  57681. break $label0$0;
  57682. }
  57683. return t1;
  57684. },
  57685. _forbiddenAtRule$1(start) {
  57686. this.almostAnyValue$0();
  57687. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  57688. },
  57689. _cssImportRule$1(start) {
  57690. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  57691. t1 = _this.scanner,
  57692. t2 = t1._string_scanner$_position,
  57693. _1_0 = t1.peekChar$0();
  57694. $label1$1: {
  57695. if (117 === _1_0 || 85 === _1_0) {
  57696. _0_0 = _this.dynamicUrl$0();
  57697. $label0$0: {
  57698. if (_0_0 instanceof A.StringExpression) {
  57699. t3 = _0_0.text;
  57700. break $label0$0;
  57701. }
  57702. string = null;
  57703. t3 = false;
  57704. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  57705. $name = _0_0.name;
  57706. _0_3 = _0_0.$arguments;
  57707. _0_4 = _0_3.positional;
  57708. t4 = _0_4;
  57709. if (t4.length === 1) {
  57710. _0_8 = _0_4[0];
  57711. t4 = _0_8;
  57712. if (t4 instanceof A.StringExpression) {
  57713. type$.StringExpression._as(_0_8);
  57714. t4 = _0_3.named;
  57715. if (t4.get$isEmpty(t4))
  57716. if (_0_3.rest == null)
  57717. t3 = _0_3.keywordRest == null;
  57718. string = _0_8;
  57719. }
  57720. }
  57721. } else
  57722. $name = null;
  57723. if (t3) {
  57724. t3 = new A.StringBuffer("");
  57725. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  57726. t4.addInterpolation$1($name);
  57727. t5 = A.Primitives_stringFromCharCode(40);
  57728. t3._contents += t5;
  57729. t4.addInterpolation$1(string.asInterpolation$0());
  57730. t5 = A.Primitives_stringFromCharCode(41);
  57731. t3._contents += t5;
  57732. t4 = t4.interpolation$1(_0_0.span);
  57733. t3 = t4;
  57734. break $label0$0;
  57735. }
  57736. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  57737. }
  57738. break $label1$1;
  57739. }
  57740. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  57741. break $label1$1;
  57742. }
  57743. _this.whitespace$1$consumeNewlines(true);
  57744. modifiers = _this.tryImportModifiers$0();
  57745. _this.expectStatementSeparator$1("@import rule");
  57746. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  57747. t1 = t1.spanFrom$1(start);
  57748. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  57749. },
  57750. parentheses$0() {
  57751. var expression,
  57752. t1 = this.scanner,
  57753. t2 = t1._string_scanner$_position;
  57754. t1.expectChar$1(40);
  57755. this.whitespace$1$consumeNewlines(true);
  57756. expression = this.expressionUntilComma$0();
  57757. t1.expectChar$1(41);
  57758. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57759. },
  57760. identifierLike$0() {
  57761. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  57762. t1 = _this.scanner,
  57763. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57764. identifier = _this.interpolatedIdentifier$0(),
  57765. plain = identifier.get$asPlain(),
  57766. lower = plain.toLowerCase(),
  57767. _0_0 = _this.trySpecialFunction$2(lower, start);
  57768. if (_0_0 != null)
  57769. return _0_0;
  57770. t2 = t1._string_scanner$_position;
  57771. if (t1.scanChar$1(46))
  57772. return _this.namespacedExpression$2(plain, start);
  57773. if (!t1.scanChar$1(40))
  57774. return new A.StringExpression(identifier, false);
  57775. allowEmptySecondArg = lower === "var";
  57776. $arguments = A._setArrayType([], type$.JSArray_Expression);
  57777. if (!t1.scanChar$1(41)) {
  57778. do {
  57779. _this.whitespace$1$consumeNewlines(true);
  57780. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  57781. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57782. t4 = t3.offset;
  57783. t4 = A._FileSpan$(t3.file, t4, t4);
  57784. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  57785. break;
  57786. }
  57787. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  57788. _this.whitespace$1$consumeNewlines(true);
  57789. } while (t1.scanChar$1(44));
  57790. t1.expectChar$1(41);
  57791. }
  57792. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  57793. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  57794. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57795. t3 = type$.Expression;
  57796. t4 = A.List_List$unmodifiable($arguments, t3);
  57797. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  57798. t1 = t1.spanFrom$1(start);
  57799. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t4, t3, null, null, t2), t1);
  57800. },
  57801. namespacedExpression$2(namespace, start) {
  57802. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  57803. this.error$2(0, string$.Modulen, expression.get$span(expression));
  57804. }
  57805. };
  57806. A.KeyframeSelectorParser.prototype = {
  57807. parse$0(_) {
  57808. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  57809. },
  57810. _percentage$0() {
  57811. var $self, _0_0,
  57812. t1 = this.scanner,
  57813. t2 = t1.scanChar$1(43) ? A.Primitives_stringFromCharCode(43) : "",
  57814. second = t1.peekChar$0();
  57815. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  57816. t1.error$1(0, "Expected number.");
  57817. while (true) {
  57818. $self = t1.peekChar$0();
  57819. if (!($self != null && $self >= 48 && $self <= 57))
  57820. break;
  57821. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57822. }
  57823. if (t1.peekChar$0() === 46) {
  57824. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57825. while (true) {
  57826. $self = t1.peekChar$0();
  57827. if (!($self != null && $self >= 48 && $self <= 57))
  57828. break;
  57829. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57830. }
  57831. }
  57832. if (this.scanIdentChar$1(101)) {
  57833. t2 += A.Primitives_stringFromCharCode(101);
  57834. _0_0 = t1.peekChar$0();
  57835. if (43 === _0_0 || 45 === _0_0)
  57836. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57837. $self = t1.peekChar$0();
  57838. if (!($self != null && $self >= 48 && $self <= 57))
  57839. t1.error$1(0, "Expected digit.");
  57840. do {
  57841. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57842. $self = t1.peekChar$0();
  57843. } while ($self != null && $self >= 48 && $self <= 57);
  57844. }
  57845. t1.expectChar$1(37);
  57846. t2 += A.Primitives_stringFromCharCode(37);
  57847. return t2.charCodeAt(0) == 0 ? t2 : t2;
  57848. }
  57849. };
  57850. A.KeyframeSelectorParser_parse_closure.prototype = {
  57851. call$0() {
  57852. var selectors = A._setArrayType([], type$.JSArray_String),
  57853. t1 = this.$this,
  57854. t2 = t1.scanner;
  57855. do {
  57856. t1.whitespace$1$consumeNewlines(true);
  57857. if (t1.lookingAtIdentifier$0())
  57858. if (t1.scanIdentifier$1("from"))
  57859. selectors.push("from");
  57860. else {
  57861. t1.expectIdentifier$2$name("to", '"to" or "from"');
  57862. selectors.push("to");
  57863. }
  57864. else
  57865. selectors.push(t1._percentage$0());
  57866. t1.whitespace$1$consumeNewlines(true);
  57867. } while (t2.scanChar$1(44));
  57868. t2.expectDone$0();
  57869. return selectors;
  57870. },
  57871. $signature: 138
  57872. };
  57873. A.MediaQueryParser.prototype = {
  57874. parse$0(_) {
  57875. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  57876. },
  57877. _mediaQuery$0() {
  57878. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  57879. if (_this.scanner.peekChar$0() === 40) {
  57880. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  57881. _this.whitespace$1$consumeNewlines(true);
  57882. if (_this.scanIdentifier$1(_s3_)) {
  57883. _this.expectWhitespace$0();
  57884. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  57885. conjunction = true;
  57886. } else {
  57887. t1 = _this.scanIdentifier$1("or");
  57888. if (t1) {
  57889. _this.expectWhitespace$0();
  57890. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  57891. }
  57892. conjunction = !t1;
  57893. }
  57894. return A.CssMediaQuery$condition(conditions, conjunction);
  57895. }
  57896. identifier1 = _this.identifier$0();
  57897. if (A.equalsIgnoreCase(identifier1, "not")) {
  57898. _this.expectWhitespace$0();
  57899. if (!_this.lookingAtIdentifier$0())
  57900. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  57901. }
  57902. _this.whitespace$1$consumeNewlines(true);
  57903. if (!_this.lookingAtIdentifier$0())
  57904. return A.CssMediaQuery$type(identifier1, _null, _null);
  57905. identifier2 = _this.identifier$0();
  57906. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  57907. _this.expectWhitespace$0();
  57908. type = identifier1;
  57909. modifier = _null;
  57910. } else {
  57911. _this.whitespace$1$consumeNewlines(true);
  57912. if (_this.scanIdentifier$1(_s3_))
  57913. _this.expectWhitespace$0();
  57914. else
  57915. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  57916. type = identifier2;
  57917. modifier = identifier1;
  57918. }
  57919. if (_this.scanIdentifier$1("not")) {
  57920. _this.expectWhitespace$0();
  57921. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  57922. }
  57923. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  57924. },
  57925. _mediaLogicSequence$1(operator) {
  57926. var t1, t2, _this = this,
  57927. result = A._setArrayType([], type$.JSArray_String);
  57928. for (t1 = _this.scanner; true;) {
  57929. t1.expectChar$2$name(40, "media condition in parentheses");
  57930. t2 = _this.declarationValue$0();
  57931. t1.expectChar$1(41);
  57932. result.push("(" + t2 + ")");
  57933. _this.whitespace$1$consumeNewlines(true);
  57934. if (!_this.scanIdentifier$1(operator))
  57935. return result;
  57936. _this.expectWhitespace$0();
  57937. }
  57938. },
  57939. _mediaInParens$0() {
  57940. var t2,
  57941. t1 = this.scanner;
  57942. t1.expectChar$2$name(40, "media condition in parentheses");
  57943. t2 = this.declarationValue$0();
  57944. t1.expectChar$1(41);
  57945. return "(" + t2 + ")";
  57946. }
  57947. };
  57948. A.MediaQueryParser_parse_closure.prototype = {
  57949. call$0() {
  57950. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  57951. t1 = this.$this,
  57952. t2 = t1.scanner;
  57953. do {
  57954. t1.whitespace$1$consumeNewlines(true);
  57955. queries.push(t1._mediaQuery$0());
  57956. t1.whitespace$1$consumeNewlines(true);
  57957. } while (t2.scanChar$1(44));
  57958. t2.expectDone$0();
  57959. return queries;
  57960. },
  57961. $signature: 418
  57962. };
  57963. A.Parser.prototype = {
  57964. _parseIdentifier$0() {
  57965. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  57966. },
  57967. _isVariableDeclarationLike$0() {
  57968. var _this = this,
  57969. t1 = _this.scanner;
  57970. if (!t1.scanChar$1(36))
  57971. return false;
  57972. if (!_this.lookingAtIdentifier$0())
  57973. return false;
  57974. _this.identifier$0();
  57975. _this.whitespace$1$consumeNewlines(true);
  57976. return t1.scanChar$1(58);
  57977. },
  57978. whitespace$1$consumeNewlines(consumeNewlines) {
  57979. do
  57980. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  57981. while (this.scanComment$0());
  57982. },
  57983. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  57984. var t3,
  57985. t1 = this.scanner,
  57986. t2 = t1.string.length;
  57987. while (true) {
  57988. if (t1._string_scanner$_position !== t2) {
  57989. t3 = t1.peekChar$0();
  57990. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  57991. } else
  57992. t3 = false;
  57993. if (!t3)
  57994. break;
  57995. t1.readChar$0();
  57996. }
  57997. },
  57998. spaces$0() {
  57999. var t3,
  58000. t1 = this.scanner,
  58001. t2 = t1.string.length;
  58002. while (true) {
  58003. if (t1._string_scanner$_position !== t2) {
  58004. t3 = t1.peekChar$0();
  58005. t3 = t3 === 32 || t3 === 9;
  58006. } else
  58007. t3 = false;
  58008. if (!t3)
  58009. break;
  58010. t1.readChar$0();
  58011. }
  58012. },
  58013. scanComment$0() {
  58014. var _0_0,
  58015. t1 = this.scanner;
  58016. if (t1.peekChar$0() !== 47)
  58017. return false;
  58018. _0_0 = t1.peekChar$1(1);
  58019. if (47 === _0_0)
  58020. return this.silentComment$0();
  58021. if (42 === _0_0) {
  58022. this.loudComment$0();
  58023. return true;
  58024. }
  58025. return false;
  58026. },
  58027. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  58028. var t2, t3,
  58029. t1 = this.scanner;
  58030. if (t1._string_scanner$_position !== t1.string.length) {
  58031. t2 = t1.peekChar$0();
  58032. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  58033. t2 = t3;
  58034. } else
  58035. t2 = true;
  58036. if (t2)
  58037. t1.error$1(0, "Expected whitespace.");
  58038. this.whitespace$1$consumeNewlines(consumeNewlines);
  58039. },
  58040. expectWhitespace$0() {
  58041. return this.expectWhitespace$1$consumeNewlines(false);
  58042. },
  58043. silentComment$0() {
  58044. var t2, t3,
  58045. t1 = this.scanner;
  58046. t1.expect$1("//");
  58047. t2 = t1.string.length;
  58048. while (true) {
  58049. if (t1._string_scanner$_position !== t2) {
  58050. t3 = t1.peekChar$0();
  58051. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58052. } else
  58053. t3 = false;
  58054. if (!t3)
  58055. break;
  58056. t1.readChar$0();
  58057. }
  58058. return true;
  58059. },
  58060. loudComment$0() {
  58061. var next,
  58062. t1 = this.scanner;
  58063. t1.expect$1("/*");
  58064. for (; true;) {
  58065. if (t1.readChar$0() !== 42)
  58066. continue;
  58067. do
  58068. next = t1.readChar$0();
  58069. while (next === 42);
  58070. if (next === 47)
  58071. break;
  58072. }
  58073. },
  58074. identifier$2$normalize$unit(normalize, unit) {
  58075. var t2, _0_0, _this = this,
  58076. _s20_ = "Expected identifier.",
  58077. text = new A.StringBuffer(""),
  58078. t1 = _this.scanner;
  58079. if (t1.scanChar$1(45)) {
  58080. t2 = text._contents = A.Primitives_stringFromCharCode(45);
  58081. if (t1.scanChar$1(45)) {
  58082. text._contents = t2 + t2;
  58083. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58084. t1 = text._contents;
  58085. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58086. }
  58087. } else
  58088. t2 = "";
  58089. $label0$0: {
  58090. _0_0 = t1.peekChar$0();
  58091. if (_0_0 == null)
  58092. t1.error$1(0, _s20_);
  58093. if (95 === _0_0 && normalize) {
  58094. t1.readChar$0();
  58095. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58096. break $label0$0;
  58097. }
  58098. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58099. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58100. break $label0$0;
  58101. }
  58102. if (92 === _0_0) {
  58103. text._contents = t2 + _this.escape$1$identifierStart(true);
  58104. break $label0$0;
  58105. }
  58106. t1.error$1(0, _s20_);
  58107. }
  58108. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58109. t1 = text._contents;
  58110. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58111. },
  58112. identifier$0() {
  58113. return this.identifier$2$normalize$unit(false, false);
  58114. },
  58115. identifier$1$normalize(normalize) {
  58116. return this.identifier$2$normalize$unit(normalize, false);
  58117. },
  58118. identifier$1$unit(unit) {
  58119. return this.identifier$2$normalize$unit(false, unit);
  58120. },
  58121. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58122. var t1, _1_0, _0_0, t2;
  58123. for (t1 = this.scanner; true;) {
  58124. _1_0 = t1.peekChar$0();
  58125. if (_1_0 == null)
  58126. break;
  58127. if (45 === _1_0 && unit) {
  58128. _0_0 = t1.peekChar$1(1);
  58129. if (46 !== _0_0)
  58130. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58131. else
  58132. t2 = true;
  58133. if (t2)
  58134. break;
  58135. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58136. text._contents += t2;
  58137. continue;
  58138. }
  58139. if (95 === _1_0 && normalize) {
  58140. t1.readChar$0();
  58141. t2 = A.Primitives_stringFromCharCode(45);
  58142. text._contents += t2;
  58143. continue;
  58144. }
  58145. if (_1_0 !== 95) {
  58146. if (!(_1_0 >= 97 && _1_0 <= 122))
  58147. t2 = _1_0 >= 65 && _1_0 <= 90;
  58148. else
  58149. t2 = true;
  58150. t2 = t2 || _1_0 >= 128;
  58151. } else
  58152. t2 = true;
  58153. if (!t2)
  58154. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58155. else
  58156. t2 = true;
  58157. if (t2) {
  58158. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58159. text._contents += t2;
  58160. continue;
  58161. }
  58162. if (92 === _1_0) {
  58163. t2 = this.escape$0();
  58164. text._contents += t2;
  58165. continue;
  58166. }
  58167. break;
  58168. }
  58169. },
  58170. _identifierBody$1(text) {
  58171. return this._identifierBody$3$normalize$unit(text, false, false);
  58172. },
  58173. string$0() {
  58174. var buffer, _0_0, t2,
  58175. t1 = this.scanner,
  58176. quote = t1.readChar$0();
  58177. if (quote !== 39 && quote !== 34)
  58178. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58179. buffer = new A.StringBuffer("");
  58180. for (; true;) {
  58181. _0_0 = t1.peekChar$0();
  58182. if (_0_0 === quote) {
  58183. t1.readChar$0();
  58184. break;
  58185. }
  58186. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58187. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58188. if (92 === _0_0) {
  58189. t2 = t1.peekChar$1(1);
  58190. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58191. t1.readChar$0();
  58192. t1.readChar$0();
  58193. } else {
  58194. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58195. buffer._contents += t2;
  58196. }
  58197. continue;
  58198. }
  58199. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58200. buffer._contents += t2;
  58201. }
  58202. t1 = buffer._contents;
  58203. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58204. },
  58205. declarationValue$1$allowEmpty(allowEmpty) {
  58206. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58207. buffer = new A.StringBuffer(""),
  58208. brackets = A._setArrayType([], type$.JSArray_int);
  58209. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  58210. next = t1.peekChar$0();
  58211. if (next == null)
  58212. break;
  58213. wroteNewline0 = false;
  58214. if (92 === next) {
  58215. t4 = _this.escape$1$identifierStart(true);
  58216. buffer._contents += t4;
  58217. wroteNewline = wroteNewline0;
  58218. continue;
  58219. }
  58220. if (34 === next || 39 === next) {
  58221. start = t1._string_scanner$_position;
  58222. t3.call$0();
  58223. end = t1._string_scanner$_position;
  58224. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58225. wroteNewline = wroteNewline0;
  58226. continue;
  58227. }
  58228. if (47 === next) {
  58229. if (t1.peekChar$1(1) === 42) {
  58230. start = t1._string_scanner$_position;
  58231. t2.call$0();
  58232. end = t1._string_scanner$_position;
  58233. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58234. } else {
  58235. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58236. buffer._contents += t4;
  58237. }
  58238. wroteNewline = wroteNewline0;
  58239. continue;
  58240. }
  58241. if (32 === next || 9 === next) {
  58242. if (!wroteNewline) {
  58243. t4 = t1.peekChar$1(1);
  58244. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58245. } else
  58246. t4 = true;
  58247. if (t4) {
  58248. t4 = A.Primitives_stringFromCharCode(32);
  58249. buffer._contents += t4;
  58250. }
  58251. t1.readChar$0();
  58252. continue;
  58253. }
  58254. if (10 === next || 13 === next || 12 === next) {
  58255. t4 = t1.peekChar$1(-1);
  58256. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58257. buffer._contents += "\n";
  58258. t1.readChar$0();
  58259. wroteNewline = true;
  58260. continue;
  58261. }
  58262. if (40 === next || 123 === next || 91 === next) {
  58263. t4 = A.Primitives_stringFromCharCode(next);
  58264. buffer._contents += t4;
  58265. brackets.push(A.opposite(t1.readChar$0()));
  58266. wroteNewline = wroteNewline0;
  58267. continue;
  58268. }
  58269. if (41 === next || 125 === next || 93 === next) {
  58270. if (brackets.length === 0)
  58271. break;
  58272. t4 = A.Primitives_stringFromCharCode(next);
  58273. buffer._contents += t4;
  58274. t1.expectChar$1(brackets.pop());
  58275. wroteNewline = wroteNewline0;
  58276. continue;
  58277. }
  58278. if (59 === next) {
  58279. if (brackets.length === 0)
  58280. break;
  58281. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58282. buffer._contents += t4;
  58283. continue;
  58284. }
  58285. if (117 === next || 85 === next) {
  58286. _0_0 = _this.tryUrl$0();
  58287. if (_0_0 != null)
  58288. buffer._contents += _0_0;
  58289. else {
  58290. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58291. buffer._contents += t4;
  58292. }
  58293. wroteNewline = wroteNewline0;
  58294. continue;
  58295. }
  58296. if (_this.lookingAtIdentifier$0()) {
  58297. t4 = _this.identifier$0();
  58298. buffer._contents += t4;
  58299. } else {
  58300. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58301. buffer._contents += t4;
  58302. }
  58303. wroteNewline = wroteNewline0;
  58304. }
  58305. if (brackets.length !== 0)
  58306. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58307. if (!allowEmpty && buffer._contents.length === 0)
  58308. t1.error$1(0, "Expected token.");
  58309. t1 = buffer._contents;
  58310. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58311. },
  58312. declarationValue$0() {
  58313. return this.declarationValue$1$allowEmpty(false);
  58314. },
  58315. tryUrl$0() {
  58316. var buffer, _0_0, t2, _this = this,
  58317. t1 = _this.scanner,
  58318. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58319. if (!_this.scanIdentifier$1("url"))
  58320. return null;
  58321. if (!t1.scanChar$1(40)) {
  58322. t1.set$state(start);
  58323. return null;
  58324. }
  58325. _this.whitespace$1$consumeNewlines(true);
  58326. buffer = new A.StringBuffer("");
  58327. buffer._contents = "url(";
  58328. for (; true;) {
  58329. _0_0 = t1.peekChar$0();
  58330. if (_0_0 == null)
  58331. break;
  58332. if (92 === _0_0) {
  58333. t2 = _this.escape$0();
  58334. buffer._contents += t2;
  58335. continue;
  58336. }
  58337. t2 = true;
  58338. if (37 !== _0_0)
  58339. if (38 !== _0_0)
  58340. if (35 !== _0_0)
  58341. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58342. if (t2) {
  58343. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58344. buffer._contents += t2;
  58345. continue;
  58346. }
  58347. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58348. _this.whitespace$1$consumeNewlines(true);
  58349. if (t1.peekChar$0() !== 41)
  58350. break;
  58351. continue;
  58352. }
  58353. if (41 === _0_0) {
  58354. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58355. t2 = buffer._contents += t2;
  58356. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58357. }
  58358. break;
  58359. }
  58360. t1.set$state(start);
  58361. return null;
  58362. },
  58363. variableName$0() {
  58364. this.scanner.expectChar$1(36);
  58365. return this.identifier$1$normalize(true);
  58366. },
  58367. escape$1$identifierStart(identifierStart) {
  58368. var value, _0_0, i, next, t2, exception,
  58369. _s25_ = "Expected escape sequence.",
  58370. t1 = this.scanner,
  58371. start = t1._string_scanner$_position;
  58372. t1.expectChar$1(92);
  58373. value = 0;
  58374. $label0$1: {
  58375. _0_0 = t1.peekChar$0();
  58376. if (_0_0 == null)
  58377. t1.error$1(0, _s25_);
  58378. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58379. t1.error$1(0, _s25_);
  58380. if (A.CharacterExtension_get_isHex(_0_0)) {
  58381. for (i = 0; i < 6; ++i) {
  58382. next = t1.peekChar$0();
  58383. if (next != null) {
  58384. t2 = true;
  58385. if (!(next >= 48 && next <= 57))
  58386. if (!(next >= 97 && next <= 102))
  58387. t2 = next >= 65 && next <= 70;
  58388. t2 = !t2;
  58389. } else
  58390. t2 = true;
  58391. if (t2)
  58392. break;
  58393. value *= 16;
  58394. value += A.asHex(t1.readChar$0());
  58395. }
  58396. this.scanCharIf$1(new A.Parser_escape_closure());
  58397. break $label0$1;
  58398. }
  58399. value = t1.readChar$0();
  58400. }
  58401. if (identifierStart) {
  58402. t2 = value;
  58403. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58404. } else {
  58405. t2 = value;
  58406. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58407. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58408. else
  58409. t2 = true;
  58410. }
  58411. if (t2)
  58412. try {
  58413. t2 = A.Primitives_stringFromCharCode(value);
  58414. return t2;
  58415. } catch (exception) {
  58416. if (type$.RangeError._is(A.unwrapException(exception)))
  58417. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58418. else
  58419. throw exception;
  58420. }
  58421. else {
  58422. t1 = true;
  58423. if (!(value <= 31))
  58424. if (!J.$eq$(value, 127))
  58425. if (identifierStart) {
  58426. t1 = value;
  58427. t1 = t1 >= 48 && t1 <= 57;
  58428. } else
  58429. t1 = false;
  58430. if (t1) {
  58431. t1 = A.Primitives_stringFromCharCode(92);
  58432. if (value > 15)
  58433. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58434. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58435. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58436. } else
  58437. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58438. }
  58439. },
  58440. escape$0() {
  58441. return this.escape$1$identifierStart(false);
  58442. },
  58443. scanCharIf$1(condition) {
  58444. var t1 = this.scanner;
  58445. if (!condition.call$1(t1.peekChar$0()))
  58446. return false;
  58447. t1.readChar$0();
  58448. return true;
  58449. },
  58450. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58451. var t3,
  58452. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58453. t2 = this.scanner,
  58454. _0_0 = t2.peekChar$0();
  58455. if (_0_0 != null)
  58456. t3 = t1.call$1(_0_0);
  58457. else
  58458. t3 = false;
  58459. if (t3) {
  58460. t2.readChar$0();
  58461. return true;
  58462. }
  58463. if (92 === _0_0) {
  58464. t3 = t2._string_scanner$_position;
  58465. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58466. return true;
  58467. t2.set$state(new A._SpanScannerState(t2, t3));
  58468. }
  58469. return false;
  58470. },
  58471. scanIdentChar$1(char) {
  58472. return this.scanIdentChar$2$caseSensitive(char, false);
  58473. },
  58474. expectIdentChar$1(letter) {
  58475. var t1;
  58476. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58477. return;
  58478. t1 = this.scanner;
  58479. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58480. },
  58481. lookingAtIdentifier$1($forward) {
  58482. var t1, _1_0, t2, _0_0;
  58483. if ($forward == null)
  58484. $forward = 0;
  58485. t1 = this.scanner;
  58486. _1_0 = t1.peekChar$1($forward);
  58487. $label0$0: {
  58488. if (A._isInt(_1_0))
  58489. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58490. else
  58491. t2 = false;
  58492. if (t2 || 92 === _1_0) {
  58493. t1 = true;
  58494. break $label0$0;
  58495. }
  58496. if (45 === _1_0) {
  58497. _0_0 = t1.peekChar$1($forward + 1);
  58498. $label1$1: {
  58499. if (A._isInt(_0_0))
  58500. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58501. else
  58502. t1 = false;
  58503. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58504. break $label1$1;
  58505. }
  58506. break $label0$0;
  58507. }
  58508. t1 = false;
  58509. break $label0$0;
  58510. }
  58511. return t1;
  58512. },
  58513. lookingAtIdentifier$0() {
  58514. return this.lookingAtIdentifier$1(null);
  58515. },
  58516. lookingAtIdentifierBody$0() {
  58517. var t1,
  58518. next = this.scanner.peekChar$0();
  58519. if (next != null) {
  58520. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58521. t1 = next >= 48 && next <= 57 || next === 45;
  58522. else
  58523. t1 = true;
  58524. t1 = t1 || next === 92;
  58525. } else
  58526. t1 = false;
  58527. return t1;
  58528. },
  58529. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58530. var t1, t2, _this = this;
  58531. if (!_this.lookingAtIdentifier$0())
  58532. return false;
  58533. t1 = _this.scanner;
  58534. t2 = t1._string_scanner$_position;
  58535. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58536. return true;
  58537. else {
  58538. t1.set$state(new A._SpanScannerState(t1, t2));
  58539. return false;
  58540. }
  58541. },
  58542. scanIdentifier$1(text) {
  58543. return this.scanIdentifier$2$caseSensitive(text, false);
  58544. },
  58545. _consumeIdentifier$2(text, caseSensitive) {
  58546. var t1, t2, t3;
  58547. 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();) {
  58548. t3 = t1.__internal$_current;
  58549. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58550. return false;
  58551. }
  58552. return true;
  58553. },
  58554. expectIdentifier$2$name(text, $name) {
  58555. var t1, start, t2, t3, t4, t5, t6;
  58556. if ($name == null)
  58557. $name = '"' + text + '"';
  58558. t1 = this.scanner;
  58559. start = t1._string_scanner$_position;
  58560. 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();) {
  58561. t6 = t2.__internal$_current;
  58562. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58563. continue;
  58564. t1.error$2$position(0, t5, start);
  58565. }
  58566. if (!this.lookingAtIdentifierBody$0())
  58567. return;
  58568. t1.error$2$position(0, t4, start);
  58569. },
  58570. expectIdentifier$1(text) {
  58571. return this.expectIdentifier$2$name(text, null);
  58572. },
  58573. rawText$1(consumer) {
  58574. var t1 = this.scanner,
  58575. start = t1._string_scanner$_position;
  58576. consumer.call$0();
  58577. return t1.substring$1(0, start);
  58578. },
  58579. spanFrom$1(state) {
  58580. var span = this.scanner.spanFrom$1(state);
  58581. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58582. },
  58583. error$3(_, message, span, trace) {
  58584. var exception = new A.StringScannerException(this.scanner.string, message, span);
  58585. if (trace == null)
  58586. throw A.wrapException(exception);
  58587. else
  58588. A.throwWithTrace(exception, this.get$error(this), trace);
  58589. },
  58590. error$2(_, message, span) {
  58591. return this.error$3(0, message, span, null);
  58592. },
  58593. withErrorMessage$1$2(message, callback) {
  58594. var error, stackTrace, t1, exception;
  58595. try {
  58596. t1 = callback.call$0();
  58597. return t1;
  58598. } catch (exception) {
  58599. t1 = A.unwrapException(exception);
  58600. if (type$.SourceSpanFormatException._is(t1)) {
  58601. error = t1;
  58602. stackTrace = A.getTraceFromException(exception);
  58603. t1 = J.get$span$z(error);
  58604. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  58605. } else
  58606. throw exception;
  58607. }
  58608. },
  58609. withErrorMessage$2(message, callback) {
  58610. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  58611. },
  58612. wrapSpanFormatException$1$1(callback) {
  58613. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  58614. _s8_ = "expected";
  58615. try {
  58616. try {
  58617. t3 = callback.call$0();
  58618. return t3;
  58619. } catch (exception) {
  58620. t3 = A.unwrapException(exception);
  58621. if (type$.SourceSpanFormatException._is(t3)) {
  58622. error = t3;
  58623. stackTrace = A.getTraceFromException(exception);
  58624. map = _this._interpolationMap;
  58625. if (map == null)
  58626. throw exception;
  58627. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  58628. } else
  58629. throw exception;
  58630. }
  58631. } catch (exception) {
  58632. t3 = A.unwrapException(exception);
  58633. if (type$.MultiSourceSpanFormatException._is(t3)) {
  58634. error0 = t3;
  58635. stackTrace0 = A.getTraceFromException(exception);
  58636. span = J.get$span$z(error0);
  58637. t3 = type$.FileSpan;
  58638. t4 = type$.String;
  58639. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  58640. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  58641. span = _this._adjustExceptionSpan$1(span);
  58642. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58643. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  58644. t2 = t3.get$current(t3);
  58645. span0 = null;
  58646. description = null;
  58647. _0_0 = t2;
  58648. span0 = _0_0._0;
  58649. description = _0_0._1;
  58650. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  58651. }
  58652. secondarySpans = t1;
  58653. }
  58654. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  58655. } else if (type$.SourceSpanFormatException._is(t3)) {
  58656. error1 = t3;
  58657. stackTrace1 = A.getTraceFromException(exception);
  58658. span1 = J.get$span$z(error1);
  58659. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  58660. span1 = _this._adjustExceptionSpan$1(span1);
  58661. t1 = error1._span_exception$_message;
  58662. t2 = span1;
  58663. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  58664. } else
  58665. throw exception;
  58666. }
  58667. },
  58668. wrapSpanFormatException$1(callback) {
  58669. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  58670. },
  58671. _adjustExceptionSpan$1(span) {
  58672. var start, t1;
  58673. if (span.get$length(span) > 0)
  58674. return span;
  58675. start = this._firstNewlineBefore$1(span.get$start(span));
  58676. if (start.$eq(0, span.get$start(span)))
  58677. t1 = span;
  58678. else {
  58679. t1 = start.offset;
  58680. t1 = A._FileSpan$(start.file, t1, t1);
  58681. }
  58682. return t1;
  58683. },
  58684. _firstNewlineBefore$1($location) {
  58685. var lastNewline, codeUnit,
  58686. t1 = $location.file,
  58687. t2 = $location.offset,
  58688. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  58689. index = t2 - 1;
  58690. for (lastNewline = null; index >= 0;) {
  58691. codeUnit = text.charCodeAt(index);
  58692. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  58693. if (lastNewline == null)
  58694. t1 = $location;
  58695. else {
  58696. t2 = new A.FileLocation(t1, lastNewline);
  58697. t2.FileLocation$_$2(t1, lastNewline);
  58698. t1 = t2;
  58699. }
  58700. return t1;
  58701. }
  58702. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  58703. lastNewline = index;
  58704. --index;
  58705. }
  58706. return $location;
  58707. }
  58708. };
  58709. A.Parser__parseIdentifier_closure.prototype = {
  58710. call$0() {
  58711. var t1 = this.$this,
  58712. result = t1.identifier$0();
  58713. t1.scanner.expectDone$0();
  58714. return result;
  58715. },
  58716. $signature: 27
  58717. };
  58718. A.Parser_escape_closure.prototype = {
  58719. call$1(char) {
  58720. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  58721. },
  58722. $signature: 30
  58723. };
  58724. A.Parser_scanIdentChar_matches.prototype = {
  58725. call$1(actual) {
  58726. var t1 = this.char;
  58727. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  58728. },
  58729. $signature: 47
  58730. };
  58731. A.Parser_spanFrom_closure.prototype = {
  58732. call$0() {
  58733. var t1 = this.$this._interpolationMap;
  58734. if (t1 == null)
  58735. t1 = type$.InterpolationMap._as(t1);
  58736. return t1.mapSpan$1(this.span);
  58737. },
  58738. $signature: 28
  58739. };
  58740. A.SassParser.prototype = {
  58741. get$currentIndentation() {
  58742. return this._currentIndentation;
  58743. },
  58744. get$indented() {
  58745. return true;
  58746. },
  58747. styleRuleSelector$0() {
  58748. var t4,
  58749. t1 = this.scanner,
  58750. t2 = t1._string_scanner$_position,
  58751. t3 = new A.StringBuffer(""),
  58752. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58753. do {
  58754. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  58755. t4 = A.Primitives_stringFromCharCode(10);
  58756. t4 = t3._contents += t4;
  58757. } 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()));
  58758. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58759. },
  58760. expectStatementSeparator$1($name) {
  58761. var t1, _this = this,
  58762. trailingSemicolon = _this._tryTrailingSemicolon$0();
  58763. if (!_this.atEndOfStatement$0())
  58764. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  58765. if (_this._peekIndentation$0() <= _this._currentIndentation)
  58766. return;
  58767. t1 = $name == null ? "here" : "beneath a " + $name;
  58768. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  58769. },
  58770. expectStatementSeparator$0() {
  58771. return this.expectStatementSeparator$1(null);
  58772. },
  58773. atEndOfStatement$0() {
  58774. var t1 = this.scanner.peekChar$0();
  58775. if (t1 == null)
  58776. t1 = null;
  58777. else
  58778. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  58779. return t1 !== false;
  58780. },
  58781. lookingAtChildren$0() {
  58782. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  58783. },
  58784. importArgument$0() {
  58785. var url, span, innerError, stackTrace, t1, _0_0, start, t2, next, t3, exception, _this = this;
  58786. $label0$0: {
  58787. t1 = _this.scanner;
  58788. _0_0 = t1.peekChar$0();
  58789. if (117 === _0_0 || 85 === _0_0) {
  58790. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58791. if (_this.scanIdentifier$1("url"))
  58792. if (t1.scanChar$1(40)) {
  58793. t1.set$state(start);
  58794. return _this.super$StylesheetParser$importArgument();
  58795. } else
  58796. t1.set$state(start);
  58797. break $label0$0;
  58798. }
  58799. if (39 === _0_0 || 34 === _0_0)
  58800. return _this.super$StylesheetParser$importArgument();
  58801. }
  58802. t2 = t1._string_scanner$_position;
  58803. next = t1.peekChar$0();
  58804. while (true) {
  58805. t3 = false;
  58806. if (next != null)
  58807. if (next !== 44)
  58808. if (next !== 59)
  58809. t3 = !(next === 10 || next === 13 || next === 12);
  58810. if (!t3)
  58811. break;
  58812. t1.readChar$0();
  58813. next = t1.peekChar$0();
  58814. }
  58815. url = t1.substring$1(0, t2);
  58816. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  58817. if (_this.isPlainImportUrl$1(url))
  58818. 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);
  58819. else
  58820. try {
  58821. t1 = _this.parseImportUrl$1(url);
  58822. return new A.DynamicImport(t1, span);
  58823. } catch (exception) {
  58824. t1 = A.unwrapException(exception);
  58825. if (type$.FormatException._is(t1)) {
  58826. innerError = t1;
  58827. stackTrace = A.getTraceFromException(exception);
  58828. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  58829. } else
  58830. throw exception;
  58831. }
  58832. },
  58833. scanElse$1(ifIndentation) {
  58834. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  58835. if (_this._peekIndentation$0() !== ifIndentation)
  58836. return false;
  58837. t1 = _this.scanner;
  58838. t2 = t1._string_scanner$_position;
  58839. startIndentation = _this._currentIndentation;
  58840. startNextIndentation = _this._nextIndentation;
  58841. startNextIndentationEnd = _this._nextIndentationEnd;
  58842. _this._readIndentation$0();
  58843. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  58844. return true;
  58845. t1.set$state(new A._SpanScannerState(t1, t2));
  58846. _this._currentIndentation = startIndentation;
  58847. _this._nextIndentation = startNextIndentation;
  58848. _this._nextIndentationEnd = startNextIndentationEnd;
  58849. return false;
  58850. },
  58851. children$1(_, child) {
  58852. var children = A._setArrayType([], type$.JSArray_Statement);
  58853. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  58854. return children;
  58855. },
  58856. statements$1(statement) {
  58857. var statements, t2, _1_0,
  58858. t1 = this.scanner,
  58859. _0_0 = t1.peekChar$0();
  58860. if (9 === _0_0 || 32 === _0_0)
  58861. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  58862. statements = A._setArrayType([], type$.JSArray_Statement);
  58863. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58864. _1_0 = this._child$1(statement);
  58865. if (_1_0 != null)
  58866. statements.push(_1_0);
  58867. this._readIndentation$0();
  58868. }
  58869. return statements;
  58870. },
  58871. _child$1(child) {
  58872. var _0_0, _this = this,
  58873. t1 = _this.scanner,
  58874. _1_0 = t1.peekChar$0();
  58875. $label0$0: {
  58876. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  58877. t1 = null;
  58878. break $label0$0;
  58879. }
  58880. if (36 === _1_0) {
  58881. t1 = _this.variableDeclarationWithoutNamespace$0();
  58882. break $label0$0;
  58883. }
  58884. if (47 === _1_0) {
  58885. _0_0 = t1.peekChar$1(1);
  58886. $label1$1: {
  58887. if (47 === _0_0) {
  58888. t1 = _this._silentComment$0();
  58889. break $label1$1;
  58890. }
  58891. if (42 === _0_0) {
  58892. t1 = _this._loudComment$0();
  58893. break $label1$1;
  58894. }
  58895. t1 = child.call$0();
  58896. break $label1$1;
  58897. }
  58898. break $label0$0;
  58899. }
  58900. t1 = child.call$0();
  58901. break $label0$0;
  58902. }
  58903. return t1;
  58904. },
  58905. _silentComment$0() {
  58906. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  58907. t1 = _this.scanner,
  58908. t2 = t1._string_scanner$_position;
  58909. t1.expect$1("//");
  58910. buffer = new A.StringBuffer("");
  58911. parentIndentation = _this._currentIndentation;
  58912. t3 = t1.string.length;
  58913. t4 = 1 + parentIndentation;
  58914. t5 = 2 + parentIndentation;
  58915. $label0$0:
  58916. do {
  58917. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  58918. for (i = commentPrefix.length; true;) {
  58919. t6 = buffer._contents += commentPrefix;
  58920. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  58921. t6 += A.Primitives_stringFromCharCode(32);
  58922. buffer._contents = t6;
  58923. }
  58924. while (true) {
  58925. if (t1._string_scanner$_position !== t3) {
  58926. t7 = t1.peekChar$0();
  58927. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  58928. } else
  58929. t7 = false;
  58930. if (!t7)
  58931. break;
  58932. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  58933. buffer._contents = t6;
  58934. }
  58935. buffer._contents = t6 + "\n";
  58936. if (_this._peekIndentation$0() < parentIndentation)
  58937. break $label0$0;
  58938. if (_this._peekIndentation$0() === parentIndentation) {
  58939. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  58940. _this._readIndentation$0();
  58941. break;
  58942. }
  58943. _this._readIndentation$0();
  58944. }
  58945. } while (t1.scan$1("//"));
  58946. t3 = buffer._contents;
  58947. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58948. },
  58949. _loudComment$0() {
  58950. var t3, t4, t5, buffer, parentIndentation, t6, t7, first, beginningOfComment, t8, end, i, _1_0, _0_0, endPosition, span, _this = this,
  58951. t1 = _this.scanner,
  58952. t2 = t1._string_scanner$_position;
  58953. t1.expect$1("/*");
  58954. t3 = new A.StringBuffer("");
  58955. t4 = A._setArrayType([], type$.JSArray_Object);
  58956. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  58957. buffer = new A.InterpolationBuffer(t3, t4, t5);
  58958. t3._contents = "/*";
  58959. parentIndentation = _this._currentIndentation;
  58960. for (t6 = t1.string, t7 = t6.length, first = true; true; first = false) {
  58961. if (first) {
  58962. beginningOfComment = t1._string_scanner$_position;
  58963. _this.spaces$0();
  58964. t8 = t1.peekChar$0();
  58965. if (t8 === 10 || t8 === 13 || t8 === 12) {
  58966. _this._readIndentation$0();
  58967. t8 = A.Primitives_stringFromCharCode(32);
  58968. t3._contents += t8;
  58969. } else {
  58970. end = t1._string_scanner$_position;
  58971. t3._contents += B.JSString_methods.substring$2(t6, beginningOfComment, end);
  58972. }
  58973. } else
  58974. t3._contents = (t3._contents += "\n") + " * ";
  58975. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  58976. t8 = A.Primitives_stringFromCharCode(32);
  58977. t3._contents += t8;
  58978. }
  58979. for (; t1._string_scanner$_position !== t7;) {
  58980. _1_0 = t1.peekChar$0();
  58981. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  58982. break;
  58983. if (35 === _1_0) {
  58984. if (t1.peekChar$1(1) === 123) {
  58985. _0_0 = _this.singleInterpolation$0();
  58986. buffer._flushText$0();
  58987. t4.push(_0_0._0);
  58988. t5.push(_0_0._1);
  58989. } else {
  58990. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58991. t3._contents += t8;
  58992. }
  58993. continue;
  58994. }
  58995. if (42 === _1_0) {
  58996. if (t1.peekChar$1(1) === 47) {
  58997. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58998. t3._contents += t4;
  58999. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59000. t3._contents += t4;
  59001. endPosition = t1._string_scanner$_position;
  59002. t3 = t1._sourceFile;
  59003. span = new A._FileSpan(t3, t2, endPosition);
  59004. span._FileSpan$3(t3, t2, endPosition);
  59005. _this.whitespace$1$consumeNewlines(false);
  59006. while (true) {
  59007. t2 = t1.peekChar$0();
  59008. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  59009. break;
  59010. for (; _this._lookingAtDoubleNewline$0();)
  59011. _this._expectNewline$0();
  59012. _this._readIndentation$0();
  59013. _this.whitespace$1$consumeNewlines(false);
  59014. }
  59015. if (t1._string_scanner$_position !== t7) {
  59016. t2 = t1.peekChar$0();
  59017. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  59018. } else
  59019. t2 = false;
  59020. if (t2) {
  59021. t2 = t1._string_scanner$_position;
  59022. while (true) {
  59023. if (t1._string_scanner$_position !== t7) {
  59024. t3 = t1.peekChar$0();
  59025. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59026. } else
  59027. t3 = false;
  59028. if (!t3)
  59029. break;
  59030. t1.readChar$0();
  59031. }
  59032. 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));
  59033. } else
  59034. return new A.LoudComment(buffer.interpolation$1(span));
  59035. } else {
  59036. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59037. t3._contents += t8;
  59038. }
  59039. continue;
  59040. }
  59041. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59042. t3._contents += t8;
  59043. }
  59044. if (_this._peekIndentation$0() <= parentIndentation)
  59045. break;
  59046. for (; _this._lookingAtDoubleNewline$0();) {
  59047. _this._expectNewline$0();
  59048. t3._contents = (t3._contents += "\n") + " *";
  59049. }
  59050. _this._readIndentation$0();
  59051. }
  59052. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  59053. },
  59054. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  59055. var t1, t2, next, t3;
  59056. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  59057. next = t1.peekChar$0();
  59058. if (consumeNewlines)
  59059. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  59060. else
  59061. t3 = !(next === 32 || next === 9);
  59062. if (t3)
  59063. break;
  59064. t1.readChar$0();
  59065. }
  59066. },
  59067. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  59068. var t1 = this.scanner,
  59069. _0_0 = t1.peekChar$0();
  59070. if (13 === _0_0) {
  59071. t1.readChar$0();
  59072. if (t1.peekChar$0() === 10)
  59073. t1.readChar$0();
  59074. return;
  59075. }
  59076. if (10 === _0_0 || 12 === _0_0) {
  59077. t1.readChar$0();
  59078. return;
  59079. }
  59080. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  59081. },
  59082. _expectNewline$0() {
  59083. return this._expectNewline$1$trailingSemicolon(false);
  59084. },
  59085. _lookingAtDoubleNewline$0() {
  59086. var t2, _0_0,
  59087. t1 = this.scanner,
  59088. _1_0 = t1.peekChar$0();
  59089. $label1$1: {
  59090. t2 = false;
  59091. if (13 === _1_0) {
  59092. _0_0 = t1.peekChar$1(1);
  59093. $label0$0: {
  59094. if (10 === _0_0) {
  59095. t1 = t1.peekChar$1(2);
  59096. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59097. break $label0$0;
  59098. }
  59099. if (13 === _0_0 || 12 === _0_0) {
  59100. t1 = true;
  59101. break $label0$0;
  59102. }
  59103. t1 = t2;
  59104. break $label0$0;
  59105. }
  59106. break $label1$1;
  59107. }
  59108. if (10 === _1_0 || 12 === _1_0) {
  59109. t1 = t1.peekChar$1(1);
  59110. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59111. break $label1$1;
  59112. }
  59113. t1 = t2;
  59114. break $label1$1;
  59115. }
  59116. return t1;
  59117. },
  59118. _whileIndentedLower$1(body) {
  59119. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59120. parentIndentation = _this._currentIndentation;
  59121. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59122. indentation = _this._readIndentation$0();
  59123. if (childIndentation == null)
  59124. childIndentation = indentation;
  59125. if (childIndentation !== indentation) {
  59126. t3 = t1._string_scanner$_position;
  59127. t4 = t2.getColumn$1(t3);
  59128. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59129. }
  59130. body.call$0();
  59131. }
  59132. },
  59133. _readIndentation$0() {
  59134. var t1, _this = this,
  59135. currentIndentation = _this._nextIndentation;
  59136. if (currentIndentation == null)
  59137. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59138. _this._currentIndentation = currentIndentation;
  59139. t1 = _this._nextIndentationEnd;
  59140. t1.toString;
  59141. _this.scanner.set$state(t1);
  59142. _this._nextIndentationEnd = _this._nextIndentation = null;
  59143. return currentIndentation;
  59144. },
  59145. _peekIndentation$0() {
  59146. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59147. _0_0 = _this._nextIndentation;
  59148. if (_0_0 != null)
  59149. return _0_0;
  59150. t1 = _this.scanner;
  59151. t2 = t1._string_scanner$_position;
  59152. t3 = t1.string.length;
  59153. if (t2 === t3) {
  59154. _this._nextIndentation = 0;
  59155. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59156. return 0;
  59157. }
  59158. start = new A._SpanScannerState(t1, t2);
  59159. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59160. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59161. containsTab = A._Cell$();
  59162. containsSpace = A._Cell$();
  59163. nextIndentation = A._Cell$();
  59164. do {
  59165. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59166. nextIndentation.__late_helper$_value = 0;
  59167. for (; true;) {
  59168. $label0$0: {
  59169. _1_0 = t1.peekChar$0();
  59170. if (32 === _1_0) {
  59171. containsSpace.__late_helper$_value = true;
  59172. break $label0$0;
  59173. }
  59174. if (9 === _1_0) {
  59175. containsTab.__late_helper$_value = true;
  59176. break $label0$0;
  59177. }
  59178. break;
  59179. }
  59180. t2 = nextIndentation.__late_helper$_value;
  59181. if (t2 === nextIndentation)
  59182. A.throwExpression(A.LateError$localNI(""));
  59183. nextIndentation.__late_helper$_value = t2 + 1;
  59184. t1.readChar$0();
  59185. }
  59186. t2 = t1._string_scanner$_position;
  59187. if (t2 === t3) {
  59188. _this._nextIndentation = 0;
  59189. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59190. t1.set$state(start);
  59191. return 0;
  59192. }
  59193. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59194. t2 = containsTab._readLocal$0();
  59195. t3 = containsSpace._readLocal$0();
  59196. if (t2) {
  59197. if (t3) {
  59198. t2 = t1._string_scanner$_position;
  59199. t3 = t1._sourceFile;
  59200. t4 = t3.getColumn$1(t2);
  59201. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59202. } else if (_this._spaces === true) {
  59203. t2 = t1._string_scanner$_position;
  59204. t3 = t1._sourceFile;
  59205. t4 = t3.getColumn$1(t2);
  59206. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59207. }
  59208. } else if (t3 && _this._spaces === false) {
  59209. t2 = t1._string_scanner$_position;
  59210. t3 = t1._sourceFile;
  59211. t4 = t3.getColumn$1(t2);
  59212. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59213. }
  59214. _this._nextIndentation = nextIndentation._readLocal$0();
  59215. if (nextIndentation._readLocal$0() > 0)
  59216. if (_this._spaces == null)
  59217. _this._spaces = containsSpace._readLocal$0();
  59218. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59219. t1.set$state(start);
  59220. return nextIndentation._readLocal$0();
  59221. },
  59222. _tryTrailingSemicolon$0() {
  59223. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59224. this.whitespace$1$consumeNewlines(false);
  59225. return true;
  59226. }
  59227. return false;
  59228. }
  59229. };
  59230. A.SassParser_styleRuleSelector_closure.prototype = {
  59231. call$1(char) {
  59232. return char === 10 || char === 13 || char === 12;
  59233. },
  59234. $signature: 30
  59235. };
  59236. A.SassParser_children_closure.prototype = {
  59237. call$0() {
  59238. var _0_0 = this.$this._child$1(this.child);
  59239. if (_0_0 != null)
  59240. this.children.push(_0_0);
  59241. },
  59242. $signature: 0
  59243. };
  59244. A.SassParser__peekIndentation_closure.prototype = {
  59245. call$1(char) {
  59246. return char === 10 || char === 13 || char === 12;
  59247. },
  59248. $signature: 30
  59249. };
  59250. A.SassParser__peekIndentation_closure0.prototype = {
  59251. call$1(char) {
  59252. return char === 10 || char === 13 || char === 12;
  59253. },
  59254. $signature: 30
  59255. };
  59256. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59257. call$1(char) {
  59258. return char === 59;
  59259. },
  59260. $signature: 30
  59261. };
  59262. A.ScssParser.prototype = {
  59263. get$indented() {
  59264. return false;
  59265. },
  59266. get$currentIndentation() {
  59267. return 0;
  59268. },
  59269. styleRuleSelector$0() {
  59270. return this.almostAnyValue$0();
  59271. },
  59272. expectStatementSeparator$1($name) {
  59273. var t1, _0_0;
  59274. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59275. t1 = this.scanner;
  59276. if (t1._string_scanner$_position === t1.string.length)
  59277. return;
  59278. _0_0 = t1.peekChar$0();
  59279. if (59 === _0_0 || 125 === _0_0)
  59280. return;
  59281. t1.expectChar$1(59);
  59282. },
  59283. expectStatementSeparator$0() {
  59284. return this.expectStatementSeparator$1(null);
  59285. },
  59286. atEndOfStatement$0() {
  59287. var next = this.scanner.peekChar$0();
  59288. return next == null || next === 59 || next === 125 || next === 123;
  59289. },
  59290. lookingAtChildren$0() {
  59291. return this.scanner.peekChar$0() === 123;
  59292. },
  59293. scanElse$1(ifIndentation) {
  59294. var t3, _this = this,
  59295. t1 = _this.scanner,
  59296. t2 = t1._string_scanner$_position;
  59297. _this.whitespace$1$consumeNewlines(true);
  59298. t3 = t1._string_scanner$_position;
  59299. if (t1.scanChar$1(64)) {
  59300. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59301. return true;
  59302. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59303. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_hAa, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59304. t1.set$position(t1._string_scanner$_position - 2);
  59305. return true;
  59306. }
  59307. }
  59308. t1.set$state(new A._SpanScannerState(t1, t2));
  59309. return false;
  59310. },
  59311. children$1(_, child) {
  59312. var children, _this = this,
  59313. t1 = _this.scanner;
  59314. t1.expectChar$1(123);
  59315. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59316. children = A._setArrayType([], type$.JSArray_Statement);
  59317. for (; true;)
  59318. switch (t1.peekChar$0()) {
  59319. case 36:
  59320. children.push(_this.variableDeclarationWithoutNamespace$0());
  59321. break;
  59322. case 47:
  59323. switch (t1.peekChar$1(1)) {
  59324. case 47:
  59325. children.push(_this._scss$_silentComment$0());
  59326. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59327. break;
  59328. case 42:
  59329. children.push(_this._scss$_loudComment$0());
  59330. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59331. break;
  59332. default:
  59333. children.push(child.call$0());
  59334. }
  59335. break;
  59336. case 59:
  59337. t1.readChar$0();
  59338. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59339. break;
  59340. case 125:
  59341. t1.expectChar$1(125);
  59342. return children;
  59343. default:
  59344. children.push(child.call$0());
  59345. }
  59346. },
  59347. statements$1(statement) {
  59348. var t1, t2, _0_0, _1_0, _this = this,
  59349. statements = A._setArrayType([], type$.JSArray_Statement);
  59350. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59351. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59352. switch (t1.peekChar$0()) {
  59353. case 36:
  59354. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59355. break;
  59356. case 47:
  59357. switch (t1.peekChar$1(1)) {
  59358. case 47:
  59359. statements.push(_this._scss$_silentComment$0());
  59360. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59361. break;
  59362. case 42:
  59363. statements.push(_this._scss$_loudComment$0());
  59364. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59365. break;
  59366. default:
  59367. _0_0 = statement.call$0();
  59368. if (_0_0 != null)
  59369. statements.push(_0_0);
  59370. }
  59371. break;
  59372. case 59:
  59373. t1.readChar$0();
  59374. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59375. break;
  59376. default:
  59377. _1_0 = statement.call$0();
  59378. if (_1_0 != null)
  59379. statements.push(_1_0);
  59380. }
  59381. return statements;
  59382. },
  59383. _scss$_silentComment$0() {
  59384. var t3, t4, _this = this,
  59385. t1 = _this.scanner,
  59386. t2 = t1._string_scanner$_position,
  59387. start = new A._SpanScannerState(t1, t2);
  59388. t1.expect$1("//");
  59389. t3 = t1.string.length;
  59390. do {
  59391. while (true) {
  59392. if (t1._string_scanner$_position !== t3) {
  59393. t4 = t1.readChar$0();
  59394. t4 = !(t4 === 10 || t4 === 13 || t4 === 12);
  59395. } else
  59396. t4 = false;
  59397. if (!t4)
  59398. break;
  59399. }
  59400. if (t1._string_scanner$_position === t3)
  59401. break;
  59402. _this.spaces$0();
  59403. } while (t1.scan$1("//"));
  59404. if (_this.get$plainCss())
  59405. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  59406. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, t2), t1.spanFrom$1(start));
  59407. },
  59408. _scss$_loudComment$0() {
  59409. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  59410. t1 = this.scanner,
  59411. t2 = t1._string_scanner$_position;
  59412. t1.expect$1("/*");
  59413. t3 = new A.StringBuffer("");
  59414. t4 = A._setArrayType([], type$.JSArray_Object);
  59415. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59416. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59417. t3._contents = "/*";
  59418. $label0$1:
  59419. for (; true;)
  59420. switch (t1.peekChar$0()) {
  59421. case 35:
  59422. if (t1.peekChar$1(1) === 123) {
  59423. _0_0 = this.singleInterpolation$0();
  59424. buffer._flushText$0();
  59425. t4.push(_0_0._0);
  59426. t5.push(_0_0._1);
  59427. } else {
  59428. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59429. t3._contents += t6;
  59430. }
  59431. break;
  59432. case 42:
  59433. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59434. t3._contents += t6;
  59435. if (t1.peekChar$0() !== 47)
  59436. continue $label0$1;
  59437. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59438. t3._contents += t4;
  59439. endPosition = t1._string_scanner$_position;
  59440. t3 = t1._sourceFile;
  59441. t1 = new A._FileSpan(t3, t2, endPosition);
  59442. t1._FileSpan$3(t3, t2, endPosition);
  59443. return new A.LoudComment(buffer.interpolation$1(t1));
  59444. case 13:
  59445. t1.readChar$0();
  59446. if (t1.peekChar$0() !== 10) {
  59447. t6 = A.Primitives_stringFromCharCode(10);
  59448. t3._contents += t6;
  59449. }
  59450. break;
  59451. case 12:
  59452. t1.readChar$0();
  59453. t6 = A.Primitives_stringFromCharCode(10);
  59454. t3._contents += t6;
  59455. break;
  59456. default:
  59457. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59458. t3._contents += t6;
  59459. }
  59460. }
  59461. };
  59462. A.SelectorParser.prototype = {
  59463. parse$0(_) {
  59464. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59465. },
  59466. parseCompoundSelector$0() {
  59467. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59468. },
  59469. _selectorList$0() {
  59470. var t4, t5, lineBreak, _this = this,
  59471. t1 = _this.scanner,
  59472. t2 = t1._string_scanner$_position,
  59473. t3 = t1._sourceFile,
  59474. previousLine = t3.getLine$1(t2),
  59475. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59476. _this.whitespace$1$consumeNewlines(true);
  59477. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59478. _this.whitespace$1$consumeNewlines(true);
  59479. if (t1.peekChar$0() === 44)
  59480. continue;
  59481. t5 = t1._string_scanner$_position;
  59482. if (t5 === t4)
  59483. break;
  59484. lineBreak = t3.getLine$1(t5) !== previousLine;
  59485. if (lineBreak)
  59486. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59487. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59488. }
  59489. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59490. },
  59491. _complexSelector$1$lineBreak(lineBreak) {
  59492. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59493. _s18_ = "expected selector.",
  59494. t1 = _this.scanner,
  59495. t2 = t1._string_scanner$_position,
  59496. componentStart = new A._SpanScannerState(t1, t2),
  59497. t3 = type$.JSArray_CssValue_Combinator,
  59498. combinators = A._setArrayType([], t3),
  59499. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59500. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  59501. _this.whitespace$1$consumeNewlines(true);
  59502. _0_0 = t1.peekChar$0();
  59503. if (43 === _0_0) {
  59504. t5 = t1._string_scanner$_position;
  59505. t1.readChar$0();
  59506. combinators.push(new A.CssValue(B.Combinator_bOP, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59507. continue;
  59508. }
  59509. if (62 === _0_0) {
  59510. t5 = t1._string_scanner$_position;
  59511. t1.readChar$0();
  59512. combinators.push(new A.CssValue(B.Combinator_0mp, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59513. continue;
  59514. }
  59515. if (126 === _0_0) {
  59516. t5 = t1._string_scanner$_position;
  59517. t1.readChar$0();
  59518. combinators.push(new A.CssValue(B.Combinator_55N, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59519. continue;
  59520. }
  59521. if (_0_0 == null)
  59522. break;
  59523. t5 = true;
  59524. if (91 !== _0_0)
  59525. if (46 !== _0_0)
  59526. if (35 !== _0_0)
  59527. if (37 !== _0_0)
  59528. if (58 !== _0_0)
  59529. if (38 !== _0_0)
  59530. if (42 !== _0_0)
  59531. if (124 !== _0_0)
  59532. t5 = _this.lookingAtIdentifier$0();
  59533. if (t5) {
  59534. if (lastCompound != null) {
  59535. t5 = _this.spanFrom$1(componentStart);
  59536. result = A.List_List$from(combinators, false, t4);
  59537. result.$flags = 3;
  59538. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59539. } else if (combinators.length !== 0) {
  59540. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59541. initialCombinators = combinators;
  59542. }
  59543. lastCompound = _this._compoundSelector$0();
  59544. combinators = A._setArrayType([], t3);
  59545. if (t1.peekChar$0() === 38)
  59546. t1.error$1(0, string$.x22x26__ma);
  59547. continue;
  59548. }
  59549. break;
  59550. }
  59551. t3 = combinators.length !== 0;
  59552. if (t3 && _this._plainCss)
  59553. t1.error$1(0, _s18_);
  59554. else if (lastCompound != null) {
  59555. t3 = _this.spanFrom$1(componentStart);
  59556. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59557. } else if (t3)
  59558. initialCombinators = combinators;
  59559. else
  59560. t1.error$1(0, _s18_);
  59561. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59562. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59563. },
  59564. _complexSelector$0() {
  59565. return this._complexSelector$1$lineBreak(false);
  59566. },
  59567. _compoundSelector$0() {
  59568. var t3, _this = this,
  59569. t1 = _this.scanner,
  59570. t2 = t1._string_scanner$_position,
  59571. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59572. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  59573. components.push(_this._simpleSelector$1$allowParent(t3));
  59574. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59575. },
  59576. _simpleSelector$1$allowParent(allowParent) {
  59577. var t2, $name, text, t3, suffix, _this = this,
  59578. t1 = _this.scanner,
  59579. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59580. if (allowParent == null)
  59581. allowParent = _this._allowParent;
  59582. switch (t1.peekChar$0()) {
  59583. case 91:
  59584. return _this._attributeSelector$0();
  59585. case 46:
  59586. t2 = t1._string_scanner$_position;
  59587. t1.expectChar$1(46);
  59588. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59589. case 35:
  59590. t2 = t1._string_scanner$_position;
  59591. t1.expectChar$1(35);
  59592. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59593. case 37:
  59594. t2 = t1._string_scanner$_position;
  59595. t1.expectChar$1(37);
  59596. $name = _this.identifier$0();
  59597. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59598. if (_this._plainCss)
  59599. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  59600. return new A.PlaceholderSelector($name, t2);
  59601. case 58:
  59602. return _this._pseudoSelector$0();
  59603. case 38:
  59604. t2 = t1._string_scanner$_position;
  59605. t1.expectChar$1(38);
  59606. if (_this.lookingAtIdentifierBody$0()) {
  59607. text = new A.StringBuffer("");
  59608. _this._identifierBody$1(text);
  59609. if (text._contents.length === 0)
  59610. t1.error$1(0, "Expected identifier body.");
  59611. t3 = text._contents;
  59612. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  59613. } else
  59614. suffix = null;
  59615. if (_this._plainCss && suffix != null)
  59616. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  59617. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59618. if (!allowParent)
  59619. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  59620. return new A.ParentSelector(suffix, t2);
  59621. default:
  59622. return _this._typeOrUniversalSelector$0();
  59623. }
  59624. },
  59625. _simpleSelector$0() {
  59626. return this._simpleSelector$1$allowParent(null);
  59627. },
  59628. _attributeSelector$0() {
  59629. var $name, operator, next, value, modifier, _this = this, _null = null,
  59630. t1 = _this.scanner,
  59631. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59632. t1.expectChar$1(91);
  59633. _this.whitespace$1$consumeNewlines(true);
  59634. $name = _this._attributeName$0();
  59635. _this.whitespace$1$consumeNewlines(true);
  59636. if (t1.scanChar$1(93))
  59637. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  59638. operator = _this._attributeOperator$0();
  59639. _this.whitespace$1$consumeNewlines(true);
  59640. next = t1.peekChar$0();
  59641. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  59642. _this.whitespace$1$consumeNewlines(true);
  59643. next = t1.peekChar$0();
  59644. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  59645. t1.expectChar$1(93);
  59646. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  59647. },
  59648. _attributeName$0() {
  59649. var nameOrNamespace, _this = this,
  59650. t1 = _this.scanner;
  59651. if (t1.scanChar$1(42)) {
  59652. t1.expectChar$1(124);
  59653. return new A.QualifiedName(_this.identifier$0(), "*");
  59654. }
  59655. if (t1.scanChar$1(124))
  59656. return new A.QualifiedName(_this.identifier$0(), "");
  59657. nameOrNamespace = _this.identifier$0();
  59658. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  59659. return new A.QualifiedName(nameOrNamespace, null);
  59660. t1.readChar$0();
  59661. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  59662. },
  59663. _attributeOperator$0() {
  59664. var t1 = this.scanner,
  59665. t2 = t1._string_scanner$_position;
  59666. switch (t1.readChar$0()) {
  59667. case 61:
  59668. return B.AttributeOperator_Lvy;
  59669. case 126:
  59670. t1.expectChar$1(61);
  59671. return B.AttributeOperator_fp2;
  59672. case 124:
  59673. t1.expectChar$1(61);
  59674. return B.AttributeOperator_iyP;
  59675. case 94:
  59676. t1.expectChar$1(61);
  59677. return B.AttributeOperator_JzP;
  59678. case 36:
  59679. t1.expectChar$1(61);
  59680. return B.AttributeOperator_U1W;
  59681. case 42:
  59682. t1.expectChar$1(61);
  59683. return B.AttributeOperator_GWq;
  59684. default:
  59685. t1.error$2$position(0, 'Expected "]".', t2);
  59686. }
  59687. },
  59688. _pseudoSelector$0() {
  59689. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  59690. t1 = _this.scanner,
  59691. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59692. t1.expectChar$1(58);
  59693. element = t1.scanChar$1(58);
  59694. $name = _this.identifier$0();
  59695. if (!t1.scanChar$1(40))
  59696. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  59697. _this.whitespace$1$consumeNewlines(true);
  59698. unvendored = A.unvendor($name);
  59699. argument = _null;
  59700. selector = _null;
  59701. if (element)
  59702. if ($._selectorPseudoElements.contains$1(0, unvendored))
  59703. selector = _this._selectorList$0();
  59704. else
  59705. argument = _this.declarationValue$1$allowEmpty(true);
  59706. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  59707. selector = _this._selectorList$0();
  59708. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  59709. argument = _this._aNPlusB$0();
  59710. _this.whitespace$1$consumeNewlines(true);
  59711. t2 = t1.peekChar$1(-1);
  59712. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  59713. _this.expectIdentifier$1("of");
  59714. argument += " of";
  59715. _this.whitespace$1$consumeNewlines(true);
  59716. selector = _this._selectorList$0();
  59717. }
  59718. } else
  59719. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  59720. t1.expectChar$1(41);
  59721. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  59722. },
  59723. _aNPlusB$0() {
  59724. var t1, _0_0, t2, $self, next, _this = this;
  59725. $label0$0: {
  59726. t1 = _this.scanner;
  59727. _0_0 = t1.peekChar$0();
  59728. if (101 === _0_0 || 69 === _0_0) {
  59729. _this.expectIdentifier$1("even");
  59730. return "even";
  59731. }
  59732. if (111 === _0_0 || 79 === _0_0) {
  59733. _this.expectIdentifier$1("odd");
  59734. return "odd";
  59735. }
  59736. if (43 === _0_0 || 45 === _0_0) {
  59737. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59738. break $label0$0;
  59739. }
  59740. t2 = "";
  59741. }
  59742. $self = t1.peekChar$0();
  59743. if ($self != null && $self >= 48 && $self <= 57) {
  59744. do {
  59745. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59746. $self = t1.peekChar$0();
  59747. } while ($self != null && $self >= 48 && $self <= 57);
  59748. _this.whitespace$1$consumeNewlines(true);
  59749. if (!_this.scanIdentChar$1(110))
  59750. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59751. } else
  59752. _this.expectIdentChar$1(110);
  59753. t2 += A.Primitives_stringFromCharCode(110);
  59754. _this.whitespace$1$consumeNewlines(true);
  59755. next = t1.peekChar$0();
  59756. if (next !== 43 && next !== 45)
  59757. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59758. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59759. _this.whitespace$1$consumeNewlines(true);
  59760. $self = t1.peekChar$0();
  59761. if (!($self != null && $self >= 48 && $self <= 57))
  59762. t1.error$1(0, "Expected a number.");
  59763. do {
  59764. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59765. $self = t1.peekChar$0();
  59766. } while ($self != null && $self >= 48 && $self <= 57);
  59767. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59768. },
  59769. _typeOrUniversalSelector$0() {
  59770. var nameOrNamespace, _this = this,
  59771. t1 = _this.scanner,
  59772. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59773. if (t1.scanChar$1(42)) {
  59774. if (!t1.scanChar$1(124))
  59775. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  59776. 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));
  59777. } else if (t1.scanChar$1(124))
  59778. 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));
  59779. nameOrNamespace = _this.identifier$0();
  59780. if (!t1.scanChar$1(124))
  59781. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  59782. else if (t1.scanChar$1(42))
  59783. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  59784. else
  59785. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  59786. },
  59787. _isSimpleSelectorStart$1(character) {
  59788. var t1;
  59789. $label0$0: {
  59790. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  59791. t1 = true;
  59792. break $label0$0;
  59793. }
  59794. if (38 === character) {
  59795. t1 = this._plainCss;
  59796. break $label0$0;
  59797. }
  59798. t1 = false;
  59799. break $label0$0;
  59800. }
  59801. return t1;
  59802. }
  59803. };
  59804. A.SelectorParser_parse_closure.prototype = {
  59805. call$0() {
  59806. var t1 = this.$this,
  59807. selector = t1._selectorList$0();
  59808. t1 = t1.scanner;
  59809. if (t1._string_scanner$_position !== t1.string.length)
  59810. t1.error$1(0, "expected selector.");
  59811. return selector;
  59812. },
  59813. $signature: 448
  59814. };
  59815. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  59816. call$0() {
  59817. var t1 = this.$this,
  59818. compound = t1._compoundSelector$0();
  59819. t1 = t1.scanner;
  59820. if (t1._string_scanner$_position !== t1.string.length)
  59821. t1.error$1(0, "expected selector.");
  59822. return compound;
  59823. },
  59824. $signature: 451
  59825. };
  59826. A.StylesheetParser.prototype = {
  59827. parse$0(_) {
  59828. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  59829. },
  59830. parseParameterList$0() {
  59831. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  59832. },
  59833. parseVariableDeclaration$0() {
  59834. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  59835. },
  59836. parseUseRule$0() {
  59837. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  59838. },
  59839. _parseSingleProduction$1$1(production, $T) {
  59840. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  59841. },
  59842. _statement$1$root(root) {
  59843. var t2, _this = this,
  59844. t1 = _this.scanner,
  59845. _0_0 = t1.peekChar$0();
  59846. if (64 === _0_0)
  59847. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  59848. if (43 === _0_0) {
  59849. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  59850. return _this._styleRule$0();
  59851. _this._isUseAllowed = false;
  59852. t2 = t1._string_scanner$_position;
  59853. t1.readChar$0();
  59854. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  59855. }
  59856. if (61 === _0_0) {
  59857. if (!_this.get$indented())
  59858. return _this._styleRule$0();
  59859. _this._isUseAllowed = false;
  59860. t2 = t1._string_scanner$_position;
  59861. t1.readChar$0();
  59862. _this.whitespace$1$consumeNewlines(true);
  59863. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  59864. }
  59865. if (125 === _0_0)
  59866. t1.error$2$length(0, 'unmatched "}".', 1);
  59867. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  59868. },
  59869. _statement$0() {
  59870. return this._statement$1$root(false);
  59871. },
  59872. _variableDeclarationWithNamespace$0() {
  59873. var t1 = this.scanner,
  59874. t2 = t1._string_scanner$_position,
  59875. namespace = this.identifier$0();
  59876. t1.expectChar$1(46);
  59877. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  59878. },
  59879. variableDeclarationWithoutNamespace$2(namespace, start_) {
  59880. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  59881. precedingComment = _this.lastSilentComment;
  59882. _this.lastSilentComment = null;
  59883. if (start_ == null) {
  59884. t1 = _this.scanner;
  59885. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59886. } else
  59887. start = start_;
  59888. $name = _this.variableName$0();
  59889. t1 = namespace != null;
  59890. if (t1)
  59891. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  59892. if (_this.get$plainCss())
  59893. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  59894. _this.whitespace$1$consumeNewlines(true);
  59895. t2 = _this.scanner;
  59896. t2.expectChar$1(58);
  59897. _this.whitespace$1$consumeNewlines(true);
  59898. value = _this._expression$0();
  59899. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59900. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  59901. $label0$0: {
  59902. _0_0 = _this.identifier$0();
  59903. if ("default" === _0_0) {
  59904. if (guarded) {
  59905. endPosition = t2._string_scanner$_position;
  59906. t4 = t2._sourceFile;
  59907. t5 = flagStart.position;
  59908. t6 = new A._FileSpan(t4, t5, endPosition);
  59909. t6._FileSpan$3(t4, t5, endPosition);
  59910. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21defau, t6));
  59911. }
  59912. guarded = true;
  59913. break $label0$0;
  59914. }
  59915. if ("global" === _0_0) {
  59916. if (t1) {
  59917. endPosition = t2._string_scanner$_position;
  59918. t4 = t2._sourceFile;
  59919. t5 = flagStart.position;
  59920. t6 = new A._FileSpan(t4, t5, endPosition);
  59921. t6._FileSpan$3(t4, t5, endPosition);
  59922. _this.error$2(0, string$.x21globai, t6);
  59923. } else if (global) {
  59924. endPosition = t2._string_scanner$_position;
  59925. t4 = t2._sourceFile;
  59926. t5 = flagStart.position;
  59927. t6 = new A._FileSpan(t4, t5, endPosition);
  59928. t6._FileSpan$3(t4, t5, endPosition);
  59929. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21globas, t6));
  59930. }
  59931. global = true;
  59932. break $label0$0;
  59933. }
  59934. endPosition = t2._string_scanner$_position;
  59935. t4 = t2._sourceFile;
  59936. t5 = flagStart.position;
  59937. t6 = new A._FileSpan(t4, t5, endPosition);
  59938. t6._FileSpan$3(t4, t5, endPosition);
  59939. _this.error$2(0, "Invalid flag name.", t6);
  59940. }
  59941. _this.whitespace$1$consumeNewlines(false);
  59942. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59943. }
  59944. _this.expectStatementSeparator$1("variable declaration");
  59945. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  59946. if (global)
  59947. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  59948. return declaration;
  59949. },
  59950. variableDeclarationWithoutNamespace$0() {
  59951. return this.variableDeclarationWithoutNamespace$2(null, null);
  59952. },
  59953. _variableDeclarationOrStyleRule$0() {
  59954. var t1, t2, variableOrInterpolation, t3, _this = this;
  59955. if (_this.get$plainCss())
  59956. return _this._styleRule$0();
  59957. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59958. return _this._styleRule$0();
  59959. if (!_this.lookingAtIdentifier$0())
  59960. return _this._styleRule$0();
  59961. t1 = _this.scanner;
  59962. t2 = t1._string_scanner$_position;
  59963. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  59964. if (variableOrInterpolation instanceof A.VariableDeclaration)
  59965. t1 = variableOrInterpolation;
  59966. else {
  59967. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  59968. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  59969. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  59970. t1 = t2;
  59971. }
  59972. return t1;
  59973. },
  59974. _declarationOrStyleRule$0() {
  59975. var t1, t2, declarationOrBuffer, _this = this;
  59976. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  59977. return _this._styleRule$0();
  59978. t1 = _this.scanner;
  59979. t2 = t1._string_scanner$_position;
  59980. declarationOrBuffer = _this._declarationOrBuffer$0();
  59981. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  59982. },
  59983. _declarationOrBuffer$0() {
  59984. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, $name, t4, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  59985. t1 = _this.scanner,
  59986. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  59987. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  59988. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  59989. if (startsWithPunctuation) {
  59990. t2 = t1.readChar$0();
  59991. t3 = nameBuffer._interpolation_buffer$_text;
  59992. t2 = A.Primitives_stringFromCharCode(t2);
  59993. t3._contents += t2;
  59994. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  59995. t3 = nameBuffer._interpolation_buffer$_text;
  59996. t3._contents += t2;
  59997. }
  59998. if (!_this._lookingAtInterpolatedIdentifier$0())
  59999. return nameBuffer;
  60000. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  60001. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60002. return variableOrInterpolation;
  60003. else
  60004. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  60005. _this._isUseAllowed = false;
  60006. if (t1.matches$1("/*")) {
  60007. t2 = _this.rawText$1(_this.get$loudComment());
  60008. t3 = nameBuffer._interpolation_buffer$_text;
  60009. t3._contents += t2;
  60010. }
  60011. midBuffer = new A.StringBuffer("");
  60012. t2 = midBuffer;
  60013. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  60014. t2._contents += t3;
  60015. t3 = t1._string_scanner$_position;
  60016. if (!t1.scanChar$1(58)) {
  60017. if (midBuffer._contents.length !== 0) {
  60018. t1 = nameBuffer._interpolation_buffer$_text;
  60019. t2 = A.Primitives_stringFromCharCode(32);
  60020. t1._contents += t2;
  60021. }
  60022. return nameBuffer;
  60023. }
  60024. t2 = A.Primitives_stringFromCharCode(58);
  60025. midBuffer._contents += t2;
  60026. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  60027. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  60028. if (_this.atEndOfStatement$0()) {
  60029. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60030. t3 = t2.offset;
  60031. t3 = A.Interpolation$(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  60032. t2 = t3;
  60033. } else
  60034. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  60035. _this.expectStatementSeparator$1("custom property");
  60036. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  60037. }
  60038. if (t1.scanChar$1(58)) {
  60039. t1 = nameBuffer;
  60040. t3 = t1._interpolation_buffer$_text;
  60041. t4 = A.S(midBuffer);
  60042. t3._contents = (t3._contents += t4) + t2;
  60043. return t1;
  60044. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  60045. t1 = nameBuffer;
  60046. t2 = t1._interpolation_buffer$_text;
  60047. t3 = A.S(midBuffer);
  60048. t2._contents += t3;
  60049. return t1;
  60050. }
  60051. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure1(_this));
  60052. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60053. if (_0_0 != null)
  60054. return _0_0;
  60055. midBuffer._contents += postColonWhitespace;
  60056. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  60057. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60058. value = null;
  60059. try {
  60060. value = _this._expression$0();
  60061. if (_this.lookingAtChildren$0()) {
  60062. if (couldBeSelector)
  60063. _this.expectStatementSeparator$0();
  60064. } else if (!_this.atEndOfStatement$0())
  60065. _this.expectStatementSeparator$0();
  60066. } catch (exception) {
  60067. if (type$.FormatException._is(A.unwrapException(exception))) {
  60068. if (!couldBeSelector)
  60069. throw exception;
  60070. t1.set$state(beforeDeclaration);
  60071. additional = _this.almostAnyValue$0();
  60072. if (!_this.get$indented() && t1.peekChar$0() === 59)
  60073. throw exception;
  60074. t1 = nameBuffer._interpolation_buffer$_text;
  60075. t2 = A.S(midBuffer);
  60076. t1._contents += t2;
  60077. nameBuffer.addInterpolation$1(additional);
  60078. return nameBuffer;
  60079. } else
  60080. throw exception;
  60081. }
  60082. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60083. if (_1_0 != null)
  60084. return _1_0;
  60085. else {
  60086. _this.expectStatementSeparator$0();
  60087. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60088. }
  60089. },
  60090. _variableDeclarationOrInterpolation$0() {
  60091. var t1, start, identifier, t2, buffer, _this = this;
  60092. if (!_this.lookingAtIdentifier$0())
  60093. return _this.interpolatedIdentifier$0();
  60094. t1 = _this.scanner;
  60095. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60096. identifier = _this.identifier$0();
  60097. if (t1.matches$1(".$")) {
  60098. t1.readChar$0();
  60099. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60100. } else {
  60101. t2 = new A.StringBuffer("");
  60102. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60103. t2._contents = identifier;
  60104. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60105. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60106. return buffer.interpolation$1(t1.spanFrom$1(start));
  60107. }
  60108. },
  60109. _styleRule$2(buffer, start_) {
  60110. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  60111. _this._isUseAllowed = false;
  60112. if (start_ == null) {
  60113. t2 = _this.scanner;
  60114. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60115. } else
  60116. start = start_;
  60117. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60118. if (buffer != null) {
  60119. buffer.addInterpolation$1(interpolation);
  60120. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  60121. } else
  60122. t2 = interpolation;
  60123. if (t2.contents.length === 0)
  60124. _this.scanner.error$1(0, 'expected "}".');
  60125. wasInStyleRule = _this._inStyleRule;
  60126. _this._inStyleRule = true;
  60127. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  60128. },
  60129. _styleRule$0() {
  60130. return this._styleRule$2(null, null);
  60131. },
  60132. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  60133. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60134. t1 = _this.scanner,
  60135. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60136. if (_this._lookingAtPotentialPropertyHack$0()) {
  60137. t2 = new A.StringBuffer("");
  60138. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60139. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60140. t2._contents += t3;
  60141. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60142. t2._contents += t3;
  60143. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60144. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  60145. } else if (!_this.get$plainCss()) {
  60146. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60147. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60148. return variableOrInterpolation;
  60149. else
  60150. type$.Interpolation._as(variableOrInterpolation);
  60151. $name = variableOrInterpolation;
  60152. } else
  60153. $name = _this.interpolatedIdentifier$0();
  60154. _this.whitespace$1$consumeNewlines(false);
  60155. t1.expectChar$1(58);
  60156. _this.whitespace$1$consumeNewlines(false);
  60157. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60158. if (_0_0 != null)
  60159. return _0_0;
  60160. value = _this._expression$0();
  60161. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60162. if (_1_0 != null)
  60163. return _1_0;
  60164. else {
  60165. _this.expectStatementSeparator$0();
  60166. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60167. }
  60168. },
  60169. _tryDeclarationChildren$3$value($name, start, value) {
  60170. var _this = this;
  60171. if (!_this.lookingAtChildren$0())
  60172. return null;
  60173. if (_this.get$plainCss())
  60174. _this.scanner.error$1(0, string$.Nested);
  60175. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60176. },
  60177. _tryDeclarationChildren$2($name, start) {
  60178. return this._tryDeclarationChildren$3$value($name, start, null);
  60179. },
  60180. _declarationChild$0() {
  60181. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  60182. },
  60183. atRule$2$root(child, root) {
  60184. var $name, wasUseAllowed, value, optional, _this = this,
  60185. t1 = _this.scanner,
  60186. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60187. t1.expectChar$2$name(64, "@-rule");
  60188. $name = _this.interpolatedIdentifier$0();
  60189. wasUseAllowed = _this._isUseAllowed;
  60190. _this._isUseAllowed = false;
  60191. switch ($name.get$asPlain()) {
  60192. case "at-root":
  60193. return _this._atRootRule$1(start);
  60194. case "content":
  60195. return _this._contentRule$1(start);
  60196. case "debug":
  60197. return _this._debugRule$1(start);
  60198. case "each":
  60199. return _this._eachRule$2(start, child);
  60200. case "else":
  60201. return _this._disallowedAtRule$1(start);
  60202. case "error":
  60203. return _this._errorRule$1(start);
  60204. case "extend":
  60205. _this.whitespace$1$consumeNewlines(true);
  60206. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60207. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  60208. value = _this.almostAnyValue$0();
  60209. optional = t1.scanChar$1(33);
  60210. if (optional) {
  60211. _this.expectIdentifier$1("optional");
  60212. _this.whitespace$1$consumeNewlines(false);
  60213. }
  60214. _this.expectStatementSeparator$1("@extend rule");
  60215. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  60216. case "for":
  60217. return _this._forRule$2(start, child);
  60218. case "forward":
  60219. _this._isUseAllowed = wasUseAllowed;
  60220. if (!root)
  60221. _this._disallowedAtRule$1(start);
  60222. return _this._forwardRule$1(start);
  60223. case "function":
  60224. return _this._functionRule$1(start);
  60225. case "if":
  60226. return _this._ifRule$2(start, child);
  60227. case "import":
  60228. return _this._importRule$1(start);
  60229. case "include":
  60230. return _this._includeRule$1(start);
  60231. case "media":
  60232. return _this.mediaRule$1(start);
  60233. case "mixin":
  60234. return _this._mixinRule$1(start);
  60235. case "-moz-document":
  60236. return _this.mozDocumentRule$2(start, $name);
  60237. case "return":
  60238. return _this._disallowedAtRule$1(start);
  60239. case "supports":
  60240. return _this.supportsRule$1(start);
  60241. case "use":
  60242. _this._isUseAllowed = wasUseAllowed;
  60243. if (!root)
  60244. _this._disallowedAtRule$1(start);
  60245. return _this._useRule$1(start);
  60246. case "warn":
  60247. return _this._warnRule$1(start);
  60248. case "while":
  60249. return _this._whileRule$2(start, child);
  60250. default:
  60251. return _this.unknownAtRule$2(start, $name);
  60252. }
  60253. },
  60254. _declarationAtRule$0() {
  60255. var _this = this,
  60256. t1 = _this.scanner,
  60257. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60258. _0_0 = _this._plainAtRuleName$0();
  60259. $label0$0: {
  60260. if ("content" === _0_0) {
  60261. t1 = _this._contentRule$1(start);
  60262. break $label0$0;
  60263. }
  60264. if ("debug" === _0_0) {
  60265. t1 = _this._debugRule$1(start);
  60266. break $label0$0;
  60267. }
  60268. if ("each" === _0_0) {
  60269. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60270. break $label0$0;
  60271. }
  60272. if ("else" === _0_0)
  60273. _this._disallowedAtRule$1(start);
  60274. if ("error" === _0_0) {
  60275. t1 = _this._errorRule$1(start);
  60276. break $label0$0;
  60277. }
  60278. if ("for" === _0_0) {
  60279. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60280. break $label0$0;
  60281. }
  60282. if ("if" === _0_0) {
  60283. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60284. break $label0$0;
  60285. }
  60286. if ("include" === _0_0) {
  60287. t1 = _this._includeRule$1(start);
  60288. break $label0$0;
  60289. }
  60290. if ("warn" === _0_0) {
  60291. t1 = _this._warnRule$1(start);
  60292. break $label0$0;
  60293. }
  60294. if ("while" === _0_0) {
  60295. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60296. break $label0$0;
  60297. }
  60298. t1 = _this._disallowedAtRule$1(start);
  60299. }
  60300. return t1;
  60301. },
  60302. _functionChild$0() {
  60303. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60304. t1 = _this.scanner;
  60305. if (t1.peekChar$0() !== 64) {
  60306. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60307. try {
  60308. t2 = _this._variableDeclarationWithNamespace$0();
  60309. return t2;
  60310. } catch (exception) {
  60311. t2 = A.unwrapException(exception);
  60312. t3 = type$.SourceSpanFormatException;
  60313. if (t3._is(t2)) {
  60314. variableDeclarationError = t2;
  60315. stackTrace = A.getTraceFromException(exception);
  60316. t1.set$state(state);
  60317. statement = null;
  60318. try {
  60319. statement = _this._declarationOrStyleRule$0();
  60320. } catch (exception) {
  60321. if (t3._is(A.unwrapException(exception)))
  60322. throw A.wrapException(variableDeclarationError);
  60323. else
  60324. throw exception;
  60325. }
  60326. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60327. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60328. } else
  60329. throw exception;
  60330. }
  60331. }
  60332. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60333. _0_0 = _this._plainAtRuleName$0();
  60334. $label0$0: {
  60335. if ("debug" === _0_0) {
  60336. t1 = _this._debugRule$1(start);
  60337. break $label0$0;
  60338. }
  60339. if ("each" === _0_0) {
  60340. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60341. break $label0$0;
  60342. }
  60343. if ("else" === _0_0)
  60344. _this._disallowedAtRule$1(start);
  60345. if ("error" === _0_0) {
  60346. t1 = _this._errorRule$1(start);
  60347. break $label0$0;
  60348. }
  60349. if ("for" === _0_0) {
  60350. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60351. break $label0$0;
  60352. }
  60353. if ("if" === _0_0) {
  60354. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60355. break $label0$0;
  60356. }
  60357. if ("return" === _0_0) {
  60358. _this.whitespace$1$consumeNewlines(true);
  60359. value = _this._expression$0();
  60360. _this.expectStatementSeparator$1("@return rule");
  60361. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  60362. break $label0$0;
  60363. }
  60364. if ("warn" === _0_0) {
  60365. t1 = _this._warnRule$1(start);
  60366. break $label0$0;
  60367. }
  60368. if ("while" === _0_0) {
  60369. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60370. break $label0$0;
  60371. }
  60372. t1 = _this._disallowedAtRule$1(start);
  60373. }
  60374. return t1;
  60375. },
  60376. _plainAtRuleName$0() {
  60377. this.scanner.expectChar$2$name(64, "@-rule");
  60378. return this.identifier$0();
  60379. },
  60380. _atRootRule$1(start) {
  60381. var t1, t2, t3, buffer, t4, _this = this;
  60382. _this.whitespace$1$consumeNewlines(false);
  60383. t1 = _this.scanner;
  60384. if (t1.peekChar$0() === 40) {
  60385. t2 = t1._string_scanner$_position;
  60386. t3 = new A.StringBuffer("");
  60387. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60388. t1.expectChar$1(40);
  60389. t4 = A.Primitives_stringFromCharCode(40);
  60390. t3._contents += t4;
  60391. _this.whitespace$1$consumeNewlines(true);
  60392. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60393. if (t1.scanChar$1(58)) {
  60394. _this.whitespace$1$consumeNewlines(true);
  60395. t4 = A.Primitives_stringFromCharCode(58);
  60396. t3._contents += t4;
  60397. t4 = A.Primitives_stringFromCharCode(32);
  60398. t3._contents += t4;
  60399. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60400. }
  60401. t1.expectChar$1(41);
  60402. _this.whitespace$1$consumeNewlines(false);
  60403. t4 = A.Primitives_stringFromCharCode(41);
  60404. t3._contents += t4;
  60405. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60406. } else {
  60407. if (!_this.lookingAtChildren$0())
  60408. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  60409. else
  60410. t2 = true;
  60411. if (t2)
  60412. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60413. else
  60414. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  60415. }
  60416. },
  60417. _contentRule$1(start) {
  60418. var t1, beforeWhitespace, $arguments, t2, _this = this;
  60419. if (!_this._stylesheet$_inMixin)
  60420. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  60421. t1 = _this.scanner;
  60422. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60423. _this.whitespace$1$consumeNewlines(false);
  60424. if (t1.peekChar$0() === 40) {
  60425. $arguments = _this._argumentInvocation$1$mixin(true);
  60426. _this.whitespace$1$consumeNewlines(false);
  60427. } else {
  60428. t2 = beforeWhitespace.offset;
  60429. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  60430. }
  60431. _this.expectStatementSeparator$1("@content rule");
  60432. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  60433. },
  60434. _debugRule$1(start) {
  60435. var value, t1, t2, _this = this;
  60436. _this.whitespace$1$consumeNewlines(true);
  60437. value = _this._expression$0();
  60438. t1 = _this.scanner;
  60439. t2 = t1._string_scanner$_position;
  60440. _this.expectStatementSeparator$1("@debug rule");
  60441. return new A.DebugRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60442. },
  60443. _eachRule$2(start, child) {
  60444. var wasInControlDirective, variables, t1, _this = this;
  60445. _this.whitespace$1$consumeNewlines(true);
  60446. wasInControlDirective = _this._inControlDirective;
  60447. _this._inControlDirective = true;
  60448. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60449. _this.whitespace$1$consumeNewlines(true);
  60450. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60451. _this.whitespace$1$consumeNewlines(true);
  60452. t1.expectChar$1(36);
  60453. variables.push(_this.identifier$1$normalize(true));
  60454. _this.whitespace$1$consumeNewlines(true);
  60455. }
  60456. _this.whitespace$1$consumeNewlines(true);
  60457. _this.expectIdentifier$1("in");
  60458. _this.whitespace$1$consumeNewlines(true);
  60459. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60460. },
  60461. _errorRule$1(start) {
  60462. var value, t1, t2, _this = this;
  60463. _this.whitespace$1$consumeNewlines(true);
  60464. value = _this._expression$0();
  60465. t1 = _this.scanner;
  60466. t2 = t1._string_scanner$_position;
  60467. _this.expectStatementSeparator$1("@error rule");
  60468. return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60469. },
  60470. _functionRule$1(start) {
  60471. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  60472. _this.whitespace$1$consumeNewlines(true);
  60473. precedingComment = _this.lastSilentComment;
  60474. _this.lastSilentComment = null;
  60475. t1 = _this.scanner;
  60476. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60477. $name = _this.identifier$0();
  60478. if (B.JSString_methods.startsWith$1($name, "--"))
  60479. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  60480. else if (A.equalsIgnoreCase($name, "type"))
  60481. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_kms, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  60482. _this.whitespace$1$consumeNewlines(true);
  60483. parameters = _this._parameterList$0();
  60484. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60485. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  60486. else if (_this._inControlDirective)
  60487. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  60488. _0_0 = A.unvendor($name);
  60489. 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)
  60490. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  60491. _this.whitespace$1$consumeNewlines(false);
  60492. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60493. },
  60494. _forRule$2(start, child) {
  60495. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60496. _this.whitespace$1$consumeNewlines(true);
  60497. wasInControlDirective = _this._inControlDirective;
  60498. _this._inControlDirective = true;
  60499. variable = _this.variableName$0();
  60500. _this.whitespace$1$consumeNewlines(true);
  60501. _this.expectIdentifier$1("from");
  60502. _this.whitespace$1$consumeNewlines(true);
  60503. t1.exclusive = null;
  60504. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60505. if (t1.exclusive == null)
  60506. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60507. _this.whitespace$1$consumeNewlines(true);
  60508. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60509. },
  60510. _forwardRule$1(start) {
  60511. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60512. _this.whitespace$1$consumeNewlines(true);
  60513. url = _this._urlString$0();
  60514. _this.whitespace$1$consumeNewlines(false);
  60515. if (_this.scanIdentifier$1("as")) {
  60516. _this.whitespace$1$consumeNewlines(true);
  60517. prefix = _this.identifier$1$normalize(true);
  60518. _this.scanner.expectChar$1(42);
  60519. _this.whitespace$1$consumeNewlines(false);
  60520. } else
  60521. prefix = _null;
  60522. hiddenMixinsAndFunctions = _null;
  60523. hiddenVariables = _null;
  60524. if (_this.scanIdentifier$1("show")) {
  60525. _this.whitespace$1$consumeNewlines(true);
  60526. _0_0 = _this._memberList$0();
  60527. shownMixinsAndFunctions = _0_0._0;
  60528. shownVariables = _0_0._1;
  60529. } else {
  60530. if (_this.scanIdentifier$1("hide")) {
  60531. _this.whitespace$1$consumeNewlines(true);
  60532. _1_0 = _this._memberList$0();
  60533. hiddenMixinsAndFunctions = _1_0._0;
  60534. hiddenVariables = _1_0._1;
  60535. }
  60536. shownVariables = _null;
  60537. shownMixinsAndFunctions = shownVariables;
  60538. }
  60539. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60540. _this.whitespace$1$consumeNewlines(false);
  60541. _this.expectStatementSeparator$1("@forward rule");
  60542. span = _this.scanner.spanFrom$1(start);
  60543. if (!_this._isUseAllowed)
  60544. _this.error$2(0, string$.x40forwa, span);
  60545. if (shownMixinsAndFunctions != null) {
  60546. shownVariables.toString;
  60547. t1 = type$.String;
  60548. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60549. t3 = type$.UnmodifiableSetView_String;
  60550. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60551. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60552. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60553. } else if (hiddenMixinsAndFunctions != null) {
  60554. hiddenVariables.toString;
  60555. t1 = type$.String;
  60556. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60557. t3 = type$.UnmodifiableSetView_String;
  60558. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60559. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60560. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60561. } else
  60562. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60563. },
  60564. _memberList$0() {
  60565. var _this = this,
  60566. t1 = type$.String,
  60567. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60568. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60569. t1 = _this.scanner;
  60570. do {
  60571. _this.whitespace$1$consumeNewlines(true);
  60572. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60573. _this.whitespace$1$consumeNewlines(false);
  60574. } while (t1.scanChar$1(44));
  60575. return new A._Record_2(identifiers, variables);
  60576. },
  60577. _ifRule$2(start, child) {
  60578. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  60579. _this.whitespace$1$consumeNewlines(true);
  60580. ifIndentation = _this.get$currentIndentation();
  60581. wasInControlDirective = _this._inControlDirective;
  60582. _this._inControlDirective = true;
  60583. condition = _this._expression$0();
  60584. children = _this.children$1(0, child);
  60585. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60586. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  60587. while (true) {
  60588. if (!_this.scanElse$1(ifIndentation)) {
  60589. lastClause = null;
  60590. break;
  60591. }
  60592. _this.whitespace$1$consumeNewlines(false);
  60593. if (_this.scanIdentifier$1("if")) {
  60594. _this.whitespace$1$consumeNewlines(true);
  60595. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  60596. } else {
  60597. lastClause = A.ElseClause$(_this.children$1(0, child));
  60598. break;
  60599. }
  60600. }
  60601. _this._inControlDirective = wasInControlDirective;
  60602. span = _this.scanner.spanFrom$1(start);
  60603. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60604. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  60605. },
  60606. _importRule$1(start) {
  60607. var argument, t3, _this = this,
  60608. imports = A._setArrayType([], type$.JSArray_Import),
  60609. t1 = _this.scanner,
  60610. t2 = _this.warnings;
  60611. do {
  60612. _this.whitespace$1$consumeNewlines(false);
  60613. argument = _this.importArgument$0();
  60614. t3 = argument instanceof A.DynamicImport;
  60615. if (t3)
  60616. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_2g5, string$.Sassx20_i, argument.span));
  60617. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  60618. _this._disallowedAtRule$1(start);
  60619. imports.push(argument);
  60620. _this.whitespace$1$consumeNewlines(false);
  60621. } while (t1.scanChar$1(44));
  60622. _this.expectStatementSeparator$1("@import rule");
  60623. t1 = t1.spanFrom$1(start);
  60624. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  60625. },
  60626. importArgument$0() {
  60627. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  60628. t1 = _this.scanner,
  60629. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60630. _0_0 = t1.peekChar$0();
  60631. if (117 === _0_0 || 85 === _0_0) {
  60632. url = _this.dynamicUrl$0();
  60633. _this.whitespace$1$consumeNewlines(false);
  60634. modifiers = _this.tryImportModifiers$0();
  60635. 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));
  60636. return new A.StaticImport(t2, modifiers, t1.spanFrom$1(start));
  60637. }
  60638. url = _this.string$0();
  60639. urlSpan = t1.spanFrom$1(start);
  60640. _this.whitespace$1$consumeNewlines(false);
  60641. modifiers = _this.tryImportModifiers$0();
  60642. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  60643. t2 = urlSpan;
  60644. 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));
  60645. } else
  60646. try {
  60647. t1 = _this.parseImportUrl$1(url);
  60648. return new A.DynamicImport(t1, urlSpan);
  60649. } catch (exception) {
  60650. t1 = A.unwrapException(exception);
  60651. if (type$.FormatException._is(t1)) {
  60652. innerError = t1;
  60653. stackTrace = A.getTraceFromException(exception);
  60654. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  60655. } else
  60656. throw exception;
  60657. }
  60658. },
  60659. parseImportUrl$1(url) {
  60660. var t1 = $.$get$windows();
  60661. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  60662. return t1.toUri$1(url).toString$0(0);
  60663. A.Uri_parse(url);
  60664. return url;
  60665. },
  60666. isPlainImportUrl$1(url) {
  60667. var _0_0, t1;
  60668. if (url.length < 5)
  60669. return false;
  60670. if (B.JSString_methods.endsWith$1(url, ".css"))
  60671. return true;
  60672. _0_0 = url.charCodeAt(0);
  60673. $label0$0: {
  60674. if (47 === _0_0) {
  60675. t1 = url.charCodeAt(1) === 47;
  60676. break $label0$0;
  60677. }
  60678. if (104 === _0_0) {
  60679. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  60680. break $label0$0;
  60681. }
  60682. t1 = false;
  60683. break $label0$0;
  60684. }
  60685. return t1;
  60686. },
  60687. tryImportModifiers$0() {
  60688. var t1, t2, t3, t4, t5, buffer, t6, identifier, $name, query, t7, endPosition, _this = this;
  60689. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  60690. return null;
  60691. t1 = _this.scanner;
  60692. t2 = t1._string_scanner$_position;
  60693. t3 = new A.StringBuffer("");
  60694. t4 = A._setArrayType([], type$.JSArray_Object);
  60695. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60696. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60697. for (; true;)
  60698. if (_this._lookingAtInterpolatedIdentifier$0()) {
  60699. if (!(t4.length === 0 && t3._contents.length === 0)) {
  60700. t6 = A.Primitives_stringFromCharCode(32);
  60701. t3._contents += t6;
  60702. }
  60703. identifier = _this.interpolatedIdentifier$0();
  60704. buffer.addInterpolation$1(identifier);
  60705. t6 = identifier.get$asPlain();
  60706. $name = t6 == null ? null : t6.toLowerCase();
  60707. if ($name !== "and" && t1.scanChar$1(40)) {
  60708. if ($name === "supports") {
  60709. query = _this._importSupportsQuery$0();
  60710. t6 = !(query instanceof A.SupportsDeclaration);
  60711. if (t6) {
  60712. t7 = A.Primitives_stringFromCharCode(40);
  60713. t3._contents += t7;
  60714. }
  60715. t7 = query.get$span(query);
  60716. buffer._flushText$0();
  60717. t4.push(new A.SupportsExpression(query));
  60718. t5.push(t7);
  60719. if (t6) {
  60720. t6 = A.Primitives_stringFromCharCode(41);
  60721. t3._contents += t6;
  60722. }
  60723. } else {
  60724. t6 = A.Primitives_stringFromCharCode(40);
  60725. t3._contents += t6;
  60726. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  60727. t6 = A.Primitives_stringFromCharCode(41);
  60728. t3._contents += t6;
  60729. }
  60730. t1.expectChar$1(41);
  60731. _this.whitespace$1$consumeNewlines(false);
  60732. } else {
  60733. _this.whitespace$1$consumeNewlines(false);
  60734. if (t1.scanChar$1(44)) {
  60735. t3._contents += ", ";
  60736. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60737. endPosition = t1._string_scanner$_position;
  60738. t3 = t1._sourceFile;
  60739. t1 = new A._FileSpan(t3, t2, endPosition);
  60740. t1._FileSpan$3(t3, t2, endPosition);
  60741. return buffer.interpolation$1(t1);
  60742. }
  60743. }
  60744. } else if (t1.peekChar$0() === 40) {
  60745. if (!(t4.length === 0 && t3._contents.length === 0)) {
  60746. t4 = A.Primitives_stringFromCharCode(32);
  60747. t3._contents += t4;
  60748. }
  60749. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60750. endPosition = t1._string_scanner$_position;
  60751. t1 = t1._sourceFile;
  60752. t3 = new A._FileSpan(t1, t2, endPosition);
  60753. t3._FileSpan$3(t1, t2, endPosition);
  60754. return buffer.interpolation$1(t3);
  60755. } else {
  60756. endPosition = t1._string_scanner$_position;
  60757. t1 = t1._sourceFile;
  60758. t3 = new A._FileSpan(t1, t2, endPosition);
  60759. t3._FileSpan$3(t1, t2, endPosition);
  60760. return buffer.interpolation$1(t3);
  60761. }
  60762. },
  60763. _importSupportsQuery$0() {
  60764. var t1, t2, _0_0, $name, _this = this;
  60765. _this.whitespace$1$consumeNewlines(true);
  60766. if (_this.scanIdentifier$1("not")) {
  60767. _this.whitespace$1$consumeNewlines(true);
  60768. t1 = _this.scanner;
  60769. t2 = t1._string_scanner$_position;
  60770. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60771. } else {
  60772. t1 = _this.scanner;
  60773. if (t1.peekChar$0() === 40)
  60774. return _this._supportsCondition$1$inParentheses(true);
  60775. else {
  60776. _0_0 = _this._tryImportSupportsFunction$0();
  60777. if (_0_0 != null)
  60778. return _0_0;
  60779. t2 = t1._string_scanner$_position;
  60780. $name = _this._expression$1$consumeNewlines(true);
  60781. t1.expectChar$1(58);
  60782. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60783. }
  60784. }
  60785. },
  60786. _tryImportSupportsFunction$0() {
  60787. var t1, start, $name, value, _this = this;
  60788. if (!_this._lookingAtInterpolatedIdentifier$0())
  60789. return null;
  60790. t1 = _this.scanner;
  60791. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60792. $name = _this.interpolatedIdentifier$0();
  60793. if (!t1.scanChar$1(40)) {
  60794. t1.set$state(start);
  60795. return null;
  60796. }
  60797. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  60798. t1.expectChar$1(41);
  60799. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  60800. },
  60801. _includeRule$1(start) {
  60802. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  60803. _this.whitespace$1$consumeNewlines(true);
  60804. $name = _this.identifier$0();
  60805. t1 = _this.scanner;
  60806. if (t1.scanChar$1(46)) {
  60807. name0 = _this._publicIdentifier$0();
  60808. namespace = $name;
  60809. $name = name0;
  60810. } else
  60811. namespace = _null;
  60812. _this.whitespace$1$consumeNewlines(false);
  60813. if (t1.peekChar$0() === 40)
  60814. $arguments = _this._argumentInvocation$1$mixin(true);
  60815. else {
  60816. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60817. t3 = t2.offset;
  60818. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  60819. }
  60820. _this.whitespace$1$consumeNewlines(false);
  60821. if (_this.scanIdentifier$1("using")) {
  60822. _this.whitespace$1$consumeNewlines(true);
  60823. contentParameters = _this._parameterList$0();
  60824. _this.whitespace$1$consumeNewlines(false);
  60825. } else
  60826. contentParameters = _null;
  60827. t2 = contentParameters == null;
  60828. if (!t2 || _this.lookingAtChildren$0()) {
  60829. if (t2) {
  60830. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60831. t3 = t2.offset;
  60832. contentParameters_ = new A.ParameterList(B.List_empty14, _null, A._FileSpan$(t2.file, t3, t3));
  60833. } else
  60834. contentParameters_ = contentParameters;
  60835. wasInContentBlock = _this._inContentBlock;
  60836. _this._inContentBlock = true;
  60837. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  60838. _this._inContentBlock = wasInContentBlock;
  60839. } else {
  60840. _this.expectStatementSeparator$0();
  60841. $content = _null;
  60842. }
  60843. t1 = t1.spanFrom$2(start, start);
  60844. t2 = $content == null ? $arguments : $content;
  60845. span = t1.expand$1(0, t2.get$span(t2));
  60846. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  60847. },
  60848. mediaRule$1(start) {
  60849. var _this = this;
  60850. _this.whitespace$1$consumeNewlines(false);
  60851. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  60852. },
  60853. _mixinRule$1(start) {
  60854. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  60855. _this.whitespace$1$consumeNewlines(true);
  60856. precedingComment = _this.lastSilentComment;
  60857. _this.lastSilentComment = null;
  60858. t1 = _this.scanner;
  60859. t2 = t1._string_scanner$_position;
  60860. $name = _this.identifier$0();
  60861. if (B.JSString_methods.startsWith$1($name, "--"))
  60862. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60863. _this.whitespace$1$consumeNewlines(false);
  60864. if (t1.peekChar$0() === 40)
  60865. parameters = _this._parameterList$0();
  60866. else {
  60867. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60868. t3 = t2.offset;
  60869. parameters = new A.ParameterList(B.List_empty14, null, A._FileSpan$(t2.file, t3, t3));
  60870. }
  60871. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60872. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  60873. else if (_this._inControlDirective)
  60874. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  60875. _this.whitespace$1$consumeNewlines(false);
  60876. _this._stylesheet$_inMixin = true;
  60877. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  60878. },
  60879. mozDocumentRule$2(start, $name) {
  60880. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  60881. _this.whitespace$1$consumeNewlines(false);
  60882. t1 = _this.scanner;
  60883. t2 = t1._string_scanner$_position;
  60884. t3 = new A.StringBuffer("");
  60885. t4 = A._setArrayType([], type$.JSArray_Object);
  60886. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60887. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60888. _box_0.needsDeprecationWarning = false;
  60889. for (; true;) {
  60890. if (t1.peekChar$0() === 35) {
  60891. _0_0 = _this.singleInterpolation$0();
  60892. buffer._flushText$0();
  60893. t4.push(_0_0._0);
  60894. t5.push(_0_0._1);
  60895. _box_0.needsDeprecationWarning = true;
  60896. } else {
  60897. t6 = t1._string_scanner$_position;
  60898. identifier = _this.identifier$0();
  60899. $label0$0: {
  60900. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  60901. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  60902. if (_1_0 != null)
  60903. buffer.addInterpolation$1(_1_0);
  60904. else {
  60905. t1.expectChar$1(40);
  60906. _this.whitespace$1$consumeNewlines(false);
  60907. argument = _this.interpolatedString$0();
  60908. t1.expectChar$1(41);
  60909. t3._contents += identifier;
  60910. t6 = A.Primitives_stringFromCharCode(40);
  60911. t3._contents += t6;
  60912. buffer.addInterpolation$1(argument.asInterpolation$0());
  60913. t6 = A.Primitives_stringFromCharCode(41);
  60914. t3._contents += t6;
  60915. }
  60916. t6 = t3._contents;
  60917. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  60918. 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("")'))
  60919. _box_0.needsDeprecationWarning = true;
  60920. break $label0$0;
  60921. }
  60922. if ("regexp" === identifier) {
  60923. t3._contents += "regexp(";
  60924. t1.expectChar$1(40);
  60925. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  60926. t1.expectChar$1(41);
  60927. t6 = A.Primitives_stringFromCharCode(41);
  60928. t3._contents += t6;
  60929. _box_0.needsDeprecationWarning = true;
  60930. break $label0$0;
  60931. }
  60932. endPosition = t1._string_scanner$_position;
  60933. t7 = t1._sourceFile;
  60934. t8 = new A._FileSpan(t7, t6, endPosition);
  60935. t8._FileSpan$3(t7, t6, endPosition);
  60936. _this.error$2(0, "Invalid function name.", t8);
  60937. }
  60938. }
  60939. _this.whitespace$1$consumeNewlines(false);
  60940. if (!t1.scanChar$1(44))
  60941. break;
  60942. t6 = A.Primitives_stringFromCharCode(44);
  60943. t3._contents += t6;
  60944. start0 = t1._string_scanner$_position;
  60945. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  60946. end = t1._string_scanner$_position;
  60947. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  60948. }
  60949. 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)))));
  60950. },
  60951. supportsRule$1(start) {
  60952. var condition, _this = this;
  60953. _this.whitespace$1$consumeNewlines(false);
  60954. condition = _this._supportsCondition$0();
  60955. _this.whitespace$1$consumeNewlines(false);
  60956. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  60957. },
  60958. _useRule$1(start) {
  60959. var url, namespace, configuration, span, t1, _this = this;
  60960. _this.whitespace$1$consumeNewlines(true);
  60961. url = _this._urlString$0();
  60962. _this.whitespace$1$consumeNewlines(false);
  60963. namespace = _this._useNamespace$2(url, start);
  60964. _this.whitespace$1$consumeNewlines(false);
  60965. configuration = _this._stylesheet$_configuration$0();
  60966. _this.whitespace$1$consumeNewlines(false);
  60967. span = _this.scanner.spanFrom$1(start);
  60968. if (!_this._isUseAllowed)
  60969. _this.error$2(0, string$.x40use_r, span);
  60970. _this.expectStatementSeparator$1("@use rule");
  60971. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60972. t1.UseRule$4$configuration(url, namespace, span, configuration);
  60973. return t1;
  60974. },
  60975. _useNamespace$2(url, start) {
  60976. var namespace, basename, dot, t1, exception, _this = this;
  60977. if (_this.scanIdentifier$1("as")) {
  60978. _this.whitespace$1$consumeNewlines(true);
  60979. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  60980. }
  60981. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  60982. dot = B.JSString_methods.indexOf$1(basename, ".");
  60983. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  60984. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  60985. try {
  60986. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  60987. return t1;
  60988. } catch (exception) {
  60989. if (type$.SassFormatException._is(A.unwrapException(exception)))
  60990. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  60991. else
  60992. throw exception;
  60993. }
  60994. },
  60995. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  60996. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  60997. if (!_this.scanIdentifier$1("with"))
  60998. return null;
  60999. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61000. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  61001. _this.whitespace$1$consumeNewlines(true);
  61002. t1 = _this.scanner;
  61003. t1.expectChar$1(40);
  61004. for (; true;) {
  61005. _this.whitespace$1$consumeNewlines(true);
  61006. t2 = t1._string_scanner$_position;
  61007. t1.expectChar$1(36);
  61008. $name = _this.identifier$1$normalize(true);
  61009. _this.whitespace$1$consumeNewlines(true);
  61010. t1.expectChar$1(58);
  61011. _this.whitespace$1$consumeNewlines(true);
  61012. expression = _this.expressionUntilComma$0();
  61013. t3 = t1._string_scanner$_position;
  61014. if (allowGuarded && t1.scanChar$1(33)) {
  61015. guarded = _this.identifier$0() === "default";
  61016. if (guarded)
  61017. _this.whitespace$1$consumeNewlines(true);
  61018. else {
  61019. endPosition = t1._string_scanner$_position;
  61020. t4 = t1._sourceFile;
  61021. t5 = new A._FileSpan(t4, t3, endPosition);
  61022. t5._FileSpan$3(t4, t3, endPosition);
  61023. _this.error$2(0, "Invalid flag name.", t5);
  61024. }
  61025. } else
  61026. guarded = false;
  61027. endPosition = t1._string_scanner$_position;
  61028. t3 = t1._sourceFile;
  61029. span = new A._FileSpan(t3, t2, endPosition);
  61030. span._FileSpan$3(t3, t2, endPosition);
  61031. if (variableNames.contains$1(0, $name))
  61032. _this.error$2(0, string$.The_sa, span);
  61033. variableNames.add$1(0, $name);
  61034. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  61035. if (!t1.scanChar$1(44))
  61036. break;
  61037. _this.whitespace$1$consumeNewlines(true);
  61038. if (!_this._lookingAtExpression$0())
  61039. break;
  61040. }
  61041. t1.expectChar$1(41);
  61042. return configuration;
  61043. },
  61044. _stylesheet$_configuration$0() {
  61045. return this._stylesheet$_configuration$1$allowGuarded(false);
  61046. },
  61047. _warnRule$1(start) {
  61048. var value, t1, t2, _this = this;
  61049. _this.whitespace$1$consumeNewlines(true);
  61050. value = _this._expression$0();
  61051. t1 = _this.scanner;
  61052. t2 = t1._string_scanner$_position;
  61053. _this.expectStatementSeparator$1("@warn rule");
  61054. return new A.WarnRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  61055. },
  61056. _whileRule$2(start, child) {
  61057. var wasInControlDirective, _this = this;
  61058. _this.whitespace$1$consumeNewlines(true);
  61059. wasInControlDirective = _this._inControlDirective;
  61060. _this._inControlDirective = true;
  61061. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  61062. },
  61063. unknownAtRule$2(start, $name) {
  61064. var t2, t3, rule, _this = this, t1 = {},
  61065. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  61066. _this._stylesheet$_inUnknownAtRule = true;
  61067. _this.whitespace$1$consumeNewlines(false);
  61068. t1.value = null;
  61069. t2 = _this.scanner;
  61070. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  61071. if (_this.lookingAtChildren$0())
  61072. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  61073. else {
  61074. _this.expectStatementSeparator$0();
  61075. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  61076. }
  61077. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  61078. return rule;
  61079. },
  61080. _disallowedAtRule$1(start) {
  61081. var _this = this;
  61082. _this.whitespace$1$consumeNewlines(false);
  61083. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  61084. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  61085. },
  61086. _parameterList$0() {
  61087. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  61088. t1 = _this.scanner,
  61089. t2 = t1._string_scanner$_position;
  61090. t1.expectChar$1(40);
  61091. _this.whitespace$1$consumeNewlines(true);
  61092. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61093. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61094. for (; restParameter = null, t1.peekChar$0() === 36;) {
  61095. t3 = t1._string_scanner$_position;
  61096. t1.expectChar$1(36);
  61097. $name = _this.identifier$1$normalize(true);
  61098. _this.whitespace$1$consumeNewlines(true);
  61099. if (t1.scanChar$1(58)) {
  61100. _this.whitespace$1$consumeNewlines(true);
  61101. defaultValue = _this.expressionUntilComma$0();
  61102. } else {
  61103. if (t1.scanChar$1(46)) {
  61104. t1.expectChar$1(46);
  61105. t1.expectChar$1(46);
  61106. _this.whitespace$1$consumeNewlines(true);
  61107. if (t1.scanChar$1(44))
  61108. _this.whitespace$1$consumeNewlines(true);
  61109. restParameter = $name;
  61110. break;
  61111. }
  61112. defaultValue = null;
  61113. }
  61114. endPosition = t1._string_scanner$_position;
  61115. t4 = t1._sourceFile;
  61116. t5 = new A._FileSpan(t4, t3, endPosition);
  61117. t5._FileSpan$3(t4, t3, endPosition);
  61118. parameters.push(new A.Parameter($name, defaultValue, t5));
  61119. if (!named.add$1(0, $name))
  61120. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61121. if (!t1.scanChar$1(44))
  61122. break;
  61123. _this.whitespace$1$consumeNewlines(true);
  61124. }
  61125. t1.expectChar$1(41);
  61126. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61127. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61128. },
  61129. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61130. var positional, t3, t4, named, t5, t6, t7, t8, end, rest, emittedRestDeprecation, keywordRest, expression, emittedRestDeprecation0, t9, end0, t10, result, _this = this,
  61131. t1 = _this.scanner,
  61132. t2 = t1._string_scanner$_position;
  61133. t1.expectChar$1(40);
  61134. _this.whitespace$1$consumeNewlines(true);
  61135. positional = A._setArrayType([], type$.JSArray_Expression);
  61136. t3 = type$.String;
  61137. t4 = type$.Expression;
  61138. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61139. for (t5 = !mixin, t6 = _this.warnings, t7 = type$.SourceSpan, t8 = t1._sourceFile, end = t8._decodedChars.length, rest = null, emittedRestDeprecation = false; keywordRest = null, _this._lookingAtExpression$0();) {
  61140. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61141. _this.whitespace$1$consumeNewlines(true);
  61142. emittedRestDeprecation0 = true;
  61143. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61144. _this.whitespace$1$consumeNewlines(true);
  61145. t9 = expression.name;
  61146. if (named.containsKey$1(t9))
  61147. _this.error$2(0, "Duplicate argument.", expression.span);
  61148. named.$indexSet(0, t9, _this.expressionUntilComma$1$singleEquals(t5));
  61149. if (rest != null && !emittedRestDeprecation) {
  61150. t9 = expression.span;
  61151. t9 = t9.get$start(t9).offset;
  61152. end0 = t1._string_scanner$_position;
  61153. t10 = new A._FileSpan(t8, t9, end0);
  61154. t10._FileSpan$3(t8, t9, end0);
  61155. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_Np6, string$.Named_, new A.MultiSpan(t10, "named argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  61156. emittedRestDeprecation = emittedRestDeprecation0;
  61157. }
  61158. } else if (t1.scanChar$1(46)) {
  61159. t1.expectChar$1(46);
  61160. t1.expectChar$1(46);
  61161. if (rest != null) {
  61162. _this.whitespace$1$consumeNewlines(true);
  61163. if (t1.scanChar$1(44))
  61164. _this.whitespace$1$consumeNewlines(true);
  61165. keywordRest = expression;
  61166. break;
  61167. }
  61168. rest = expression;
  61169. } else if (named.__js_helper$_length !== 0)
  61170. _this.error$2(0, string$.Positik, expression.get$span(expression));
  61171. else {
  61172. positional.push(expression);
  61173. if (rest != null && !emittedRestDeprecation) {
  61174. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_Np6, string$.Positir, new A.MultiSpan(expression.get$span(expression), "positional argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  61175. emittedRestDeprecation = emittedRestDeprecation0;
  61176. }
  61177. }
  61178. _this.whitespace$1$consumeNewlines(true);
  61179. if (!t1.scanChar$1(44))
  61180. break;
  61181. _this.whitespace$1$consumeNewlines(true);
  61182. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61183. t5 = t1._string_scanner$_position;
  61184. new A.FileLocation(t8, t5).FileLocation$_$2(t8, t5);
  61185. t6 = new A._FileSpan(t8, t5, t5);
  61186. t6._FileSpan$3(t8, t5, t5);
  61187. result = A.List_List$from([""], false, type$.Object);
  61188. result.$flags = 3;
  61189. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t6), false));
  61190. break;
  61191. }
  61192. }
  61193. t1.expectChar$1(41);
  61194. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61195. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61196. },
  61197. _argumentInvocation$0() {
  61198. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61199. },
  61200. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61201. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61202. },
  61203. _argumentInvocation$1$mixin(mixin) {
  61204. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61205. },
  61206. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61207. 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,
  61208. _s20_ = "Expected expression.",
  61209. _box_0 = {},
  61210. t1 = until != null;
  61211. if (t1 && until.call$0())
  61212. _this.scanner.error$1(0, _s20_);
  61213. if (bracketList) {
  61214. t2 = _this.scanner;
  61215. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61216. t2.expectChar$1(91);
  61217. _this.whitespace$1$consumeNewlines(true);
  61218. if (t2.scanChar$1(93)) {
  61219. t1 = A._setArrayType([], type$.JSArray_Expression);
  61220. t2 = t2.spanFrom$1(beforeBracket);
  61221. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61222. }
  61223. } else
  61224. beforeBracket = null;
  61225. t2 = _this.scanner;
  61226. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61227. wasInExpression = _this._inExpression;
  61228. wasInParentheses = _this._inParentheses;
  61229. _this._inExpression = true;
  61230. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61231. _box_0.allowSlash = true;
  61232. _box_0.singleExpression_ = _this._singleExpression$0();
  61233. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61234. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61235. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61236. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61237. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation, addSingleExpression);
  61238. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61239. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
  61240. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61241. if (t1 && until.call$0())
  61242. break;
  61243. _3_0 = t2.peekChar$0();
  61244. if (_3_0 == null)
  61245. break;
  61246. if (40 === _3_0) {
  61247. addSingleExpression.call$1(_this.parentheses$0());
  61248. continue;
  61249. }
  61250. if (91 === _3_0) {
  61251. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61252. continue;
  61253. }
  61254. if (36 === _3_0) {
  61255. addSingleExpression.call$1(_this._variable$0());
  61256. continue;
  61257. }
  61258. if (38 === _3_0) {
  61259. addSingleExpression.call$1(_this._selector$0());
  61260. continue;
  61261. }
  61262. if (39 === _3_0 || 34 === _3_0) {
  61263. addSingleExpression.call$1(_this.interpolatedString$0());
  61264. continue;
  61265. }
  61266. if (35 === _3_0) {
  61267. addSingleExpression.call$1(_this._hashExpression$0());
  61268. continue;
  61269. }
  61270. if (61 === _3_0) {
  61271. t2.readChar$0();
  61272. if (singleEquals && t2.peekChar$0() !== 61)
  61273. addOperator.call$1(B.BinaryOperator_Kyq);
  61274. else {
  61275. t2.expectChar$1(61);
  61276. addOperator.call$1(B.BinaryOperator_r84);
  61277. }
  61278. continue;
  61279. }
  61280. if (33 === _3_0) {
  61281. $label0$1: {
  61282. _1_0 = t2.peekChar$1(1);
  61283. if (61 === _1_0) {
  61284. t2.readChar$0();
  61285. t2.readChar$0();
  61286. addOperator.call$1(B.BinaryOperator_qGq);
  61287. break $label0$1;
  61288. }
  61289. t5 = true;
  61290. if (_1_0 != null)
  61291. if (105 !== _1_0)
  61292. if (73 !== _1_0)
  61293. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61294. if (t5) {
  61295. addSingleExpression.call$1(_this._importantExpression$0());
  61296. break $label0$1;
  61297. }
  61298. break;
  61299. }
  61300. continue;
  61301. }
  61302. if (60 === _3_0) {
  61303. t2.readChar$0();
  61304. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG : B.BinaryOperator_qHy);
  61305. continue;
  61306. }
  61307. if (62 === _3_0) {
  61308. t2.readChar$0();
  61309. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR : B.BinaryOperator_o8O);
  61310. continue;
  61311. }
  61312. if (42 === _3_0) {
  61313. t2.readChar$0();
  61314. addOperator.call$1(B.BinaryOperator_tht);
  61315. continue;
  61316. }
  61317. _3_28 = 43 === _3_0;
  61318. if (_3_28 && _box_0.singleExpression_ == null) {
  61319. addSingleExpression.call$1(_this._unaryOperation$0());
  61320. continue;
  61321. }
  61322. if (_3_28) {
  61323. t2.readChar$0();
  61324. addOperator.call$1(B.BinaryOperator_Swh);
  61325. continue;
  61326. }
  61327. if (45 === _3_0) {
  61328. _2_0 = t2.peekChar$1(1);
  61329. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61330. if (_box_0.singleExpression_ != null) {
  61331. t5 = t2.peekChar$1(-1);
  61332. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61333. } else
  61334. t5 = true;
  61335. else
  61336. t5 = false;
  61337. if (t5)
  61338. addSingleExpression.call$1(_this._number$0());
  61339. else if (_this._lookingAtInterpolatedIdentifier$0())
  61340. addSingleExpression.call$1(_this.identifierLike$0());
  61341. else if (_box_0.singleExpression_ == null)
  61342. addSingleExpression.call$1(_this._unaryOperation$0());
  61343. else {
  61344. t2.readChar$0();
  61345. addOperator.call$1(B.BinaryOperator_QG1);
  61346. }
  61347. continue;
  61348. }
  61349. _3_32 = 47 === _3_0;
  61350. if (_3_32 && _box_0.singleExpression_ == null) {
  61351. addSingleExpression.call$1(_this._unaryOperation$0());
  61352. continue;
  61353. }
  61354. if (_3_32) {
  61355. t2.readChar$0();
  61356. addOperator.call$1(B.BinaryOperator_Mh5);
  61357. continue;
  61358. }
  61359. if (37 === _3_0) {
  61360. t2.readChar$0();
  61361. addOperator.call$1(B.BinaryOperator_s7T);
  61362. continue;
  61363. }
  61364. if (_3_0 >= 48 && _3_0 <= 57) {
  61365. addSingleExpression.call$1(_this._number$0());
  61366. continue;
  61367. }
  61368. _3_40 = 46 === _3_0;
  61369. if (_3_40 && t2.peekChar$1(1) === 46)
  61370. break;
  61371. if (_3_40) {
  61372. addSingleExpression.call$1(_this._number$0());
  61373. continue;
  61374. }
  61375. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61376. addOperator.call$1(B.BinaryOperator_uke);
  61377. continue;
  61378. }
  61379. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61380. addOperator.call$1(B.BinaryOperator_tKu);
  61381. continue;
  61382. }
  61383. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61384. addSingleExpression.call$1(_this._unicodeRange$0());
  61385. continue;
  61386. }
  61387. if (!(_3_0 >= 97 && _3_0 <= 122))
  61388. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61389. else
  61390. t5 = true;
  61391. if (t5) {
  61392. addSingleExpression.call$1(_this.identifierLike$0());
  61393. continue;
  61394. }
  61395. if (44 === _3_0) {
  61396. if (_this._inParentheses) {
  61397. _this._inParentheses = false;
  61398. if (_box_0.allowSlash) {
  61399. resetState.call$0();
  61400. continue;
  61401. }
  61402. }
  61403. commaExpressions = _box_0.commaExpressions_;
  61404. if (commaExpressions == null)
  61405. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61406. if (_box_0.singleExpression_ == null)
  61407. t2.error$1(0, _s20_);
  61408. resolveSpaceExpressions.call$0();
  61409. t5 = _box_0.singleExpression_;
  61410. t5.toString;
  61411. commaExpressions.push(t5);
  61412. t2.readChar$0();
  61413. _box_0.allowSlash = true;
  61414. _box_0.singleExpression_ = null;
  61415. continue;
  61416. }
  61417. break;
  61418. }
  61419. if (bracketList)
  61420. t2.expectChar$1(93);
  61421. commaExpressions = _box_0.commaExpressions_;
  61422. spaceExpressions = _box_0.spaceExpressions_;
  61423. if (commaExpressions != null) {
  61424. resolveSpaceExpressions.call$0();
  61425. _this._inParentheses = wasInParentheses;
  61426. singleExpression = _box_0.singleExpression_;
  61427. if (singleExpression != null)
  61428. commaExpressions.push(singleExpression);
  61429. _this._inExpression = wasInExpression;
  61430. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61431. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_qVN, bracketList, t1);
  61432. } else if (bracketList && spaceExpressions != null) {
  61433. resolveOperations.call$0();
  61434. _this._inExpression = wasInExpression;
  61435. t1 = _box_0.singleExpression_;
  61436. t1.toString;
  61437. spaceExpressions.push(t1);
  61438. beforeBracket.toString;
  61439. t2 = t2.spanFrom$1(beforeBracket);
  61440. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, true, t2);
  61441. } else {
  61442. resolveSpaceExpressions.call$0();
  61443. if (bracketList) {
  61444. t1 = _box_0.singleExpression_;
  61445. t1.toString;
  61446. t4 = A._setArrayType([t1], t4);
  61447. beforeBracket.toString;
  61448. t2 = t2.spanFrom$1(beforeBracket);
  61449. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61450. }
  61451. _this._inExpression = wasInExpression;
  61452. t1 = _box_0.singleExpression_;
  61453. t1.toString;
  61454. return t1;
  61455. }
  61456. },
  61457. _expression$0() {
  61458. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61459. },
  61460. _expression$1$consumeNewlines(consumeNewlines) {
  61461. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61462. },
  61463. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61464. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61465. },
  61466. _expression$1$bracketList(bracketList) {
  61467. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61468. },
  61469. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61470. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61471. },
  61472. expressionUntilComma$1$singleEquals(singleEquals) {
  61473. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61474. },
  61475. expressionUntilComma$0() {
  61476. return this.expressionUntilComma$1$singleEquals(false);
  61477. },
  61478. _isSlashOperand$1(expression) {
  61479. var t1 = true;
  61480. if (!(expression instanceof A.NumberExpression))
  61481. if (!(expression instanceof A.FunctionExpression))
  61482. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61483. return t1;
  61484. },
  61485. _singleExpression$0() {
  61486. var next, t2, _this = this,
  61487. _s20_ = "Expected expression.",
  61488. t1 = _this.scanner,
  61489. _0_0 = t1.peekChar$0();
  61490. $label0$0: {
  61491. if (_0_0 == null)
  61492. t1.error$1(0, _s20_);
  61493. if (40 === _0_0) {
  61494. t1 = _this.parentheses$0();
  61495. break $label0$0;
  61496. }
  61497. if (47 === _0_0) {
  61498. t1 = _this._unaryOperation$0();
  61499. break $label0$0;
  61500. }
  61501. if (46 === _0_0) {
  61502. t1 = _this._number$0();
  61503. break $label0$0;
  61504. }
  61505. if (91 === _0_0) {
  61506. t1 = _this._expression$1$bracketList(true);
  61507. break $label0$0;
  61508. }
  61509. if (36 === _0_0) {
  61510. t1 = _this._variable$0();
  61511. break $label0$0;
  61512. }
  61513. if (38 === _0_0) {
  61514. t1 = _this._selector$0();
  61515. break $label0$0;
  61516. }
  61517. if (39 === _0_0 || 34 === _0_0) {
  61518. t1 = _this.interpolatedString$0();
  61519. break $label0$0;
  61520. }
  61521. if (35 === _0_0) {
  61522. t1 = _this._hashExpression$0();
  61523. break $label0$0;
  61524. }
  61525. if (43 === _0_0) {
  61526. next = t1.peekChar$1(1);
  61527. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61528. break $label0$0;
  61529. }
  61530. if (45 === _0_0) {
  61531. t1 = _this._minusExpression$0();
  61532. break $label0$0;
  61533. }
  61534. if (33 === _0_0) {
  61535. t1 = _this._importantExpression$0();
  61536. break $label0$0;
  61537. }
  61538. if (37 === _0_0) {
  61539. t2 = t1._string_scanner$_position;
  61540. t1.readChar$0();
  61541. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61542. t2 = new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  61543. t1 = t2;
  61544. break $label0$0;
  61545. }
  61546. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61547. t1 = _this._unicodeRange$0();
  61548. break $label0$0;
  61549. }
  61550. if (_0_0 >= 48 && _0_0 <= 57) {
  61551. t1 = _this._number$0();
  61552. break $label0$0;
  61553. }
  61554. if (!(_0_0 >= 97 && _0_0 <= 122))
  61555. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61556. else
  61557. t2 = true;
  61558. if (t2) {
  61559. t1 = _this.identifierLike$0();
  61560. break $label0$0;
  61561. }
  61562. t1 = t1.error$1(0, _s20_);
  61563. }
  61564. return t1;
  61565. },
  61566. parentheses$0() {
  61567. var start, inside, first, expressions, list, t1, t2, _this = this,
  61568. wasInParentheses = _this._inParentheses;
  61569. _this._inParentheses = true;
  61570. try {
  61571. t1 = _this.scanner;
  61572. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61573. t1.expectChar$1(40);
  61574. _this.whitespace$1$consumeNewlines(true);
  61575. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61576. if (!_this._lookingAtExpression$0()) {
  61577. t1.expectChar$1(41);
  61578. t2 = A._setArrayType([], type$.JSArray_Expression);
  61579. t1 = t1.spanFrom$1(start);
  61580. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  61581. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  61582. }
  61583. first = _this.expressionUntilComma$0();
  61584. if (t1.scanChar$1(58)) {
  61585. _this.whitespace$1$consumeNewlines(true);
  61586. t1 = _this._stylesheet$_map$2(first, start);
  61587. return t1;
  61588. }
  61589. if (!t1.scanChar$1(44)) {
  61590. t1.expectChar$1(41);
  61591. t1 = t1.spanFrom$1(start);
  61592. return new A.ParenthesizedExpression(first, t1);
  61593. }
  61594. _this.whitespace$1$consumeNewlines(true);
  61595. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61596. for (; true;) {
  61597. if (!_this._lookingAtExpression$0())
  61598. break;
  61599. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  61600. if (!t1.scanChar$1(44))
  61601. break;
  61602. _this.whitespace$1$consumeNewlines(true);
  61603. }
  61604. t2 = t1.spanFrom$1(inside);
  61605. list = new A.ListExpression(A.List_List$unmodifiable(expressions, type$.Expression), B.ListSeparator_qVN, false, t2);
  61606. t1.expectChar$1(41);
  61607. t1 = t1.spanFrom$1(start);
  61608. return new A.ParenthesizedExpression(list, t1);
  61609. } finally {
  61610. _this._inParentheses = wasInParentheses;
  61611. }
  61612. },
  61613. _stylesheet$_map$2(first, start) {
  61614. var t1, key, _this = this,
  61615. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  61616. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  61617. _this.whitespace$1$consumeNewlines(true);
  61618. if (!_this._lookingAtExpression$0())
  61619. break;
  61620. key = _this.expressionUntilComma$0();
  61621. t1.expectChar$1(58);
  61622. _this.whitespace$1$consumeNewlines(true);
  61623. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  61624. }
  61625. t1.expectChar$1(41);
  61626. t1 = t1.spanFrom$1(start);
  61627. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  61628. },
  61629. _hashExpression$0() {
  61630. var start, t2, identifier, buffer, t3, _this = this,
  61631. t1 = _this.scanner;
  61632. if (t1.peekChar$1(1) === 123)
  61633. return _this.identifierLike$0();
  61634. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61635. t1.expectChar$1(35);
  61636. t2 = t1.peekChar$0();
  61637. if (t2 == null)
  61638. t2 = null;
  61639. else
  61640. t2 = t2 >= 48 && t2 <= 57;
  61641. if (t2 === true)
  61642. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61643. t2 = t1._string_scanner$_position;
  61644. identifier = _this.interpolatedIdentifier$0();
  61645. if (_this._isHexColor$1(identifier)) {
  61646. t1.set$state(new A._SpanScannerState(t1, t2));
  61647. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61648. }
  61649. t2 = new A.StringBuffer("");
  61650. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61651. t3 = A.Primitives_stringFromCharCode(35);
  61652. t2._contents += t3;
  61653. buffer.addInterpolation$1(identifier);
  61654. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61655. },
  61656. _hexColorContents$1(start) {
  61657. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  61658. digit1 = _this._hexDigit$0(),
  61659. digit2 = _this._hexDigit$0(),
  61660. digit3 = _this._hexDigit$0(),
  61661. t1 = _this.scanner,
  61662. $self = t1.peekChar$0();
  61663. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  61664. red = (digit1 << 4 >>> 0) + digit1;
  61665. green = (digit2 << 4 >>> 0) + digit2;
  61666. blue = (digit3 << 4 >>> 0) + digit3;
  61667. alpha = null;
  61668. } else {
  61669. digit4 = _this._hexDigit$0();
  61670. $self = t1.peekChar$0();
  61671. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  61672. t3 = digit1 << 4 >>> 0;
  61673. t4 = digit3 << 4 >>> 0;
  61674. if (!t2) {
  61675. red = t3 + digit1;
  61676. green = (digit2 << 4 >>> 0) + digit2;
  61677. blue = t4 + digit3;
  61678. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  61679. } else {
  61680. red = t3 + digit2;
  61681. green = t4 + digit4;
  61682. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  61683. $self = t1.peekChar$0();
  61684. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  61685. }
  61686. }
  61687. t2 = alpha == null;
  61688. t3 = t2 ? 1 : alpha;
  61689. return A.SassColor_SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  61690. },
  61691. _isHexColor$1(interpolation) {
  61692. var _0_2, t1,
  61693. plain = interpolation.get$asPlain();
  61694. if (typeof plain == "string") {
  61695. _0_2 = plain.length;
  61696. t1 = true;
  61697. if (3 !== _0_2)
  61698. if (4 !== _0_2)
  61699. if (6 !== _0_2)
  61700. t1 = 8 === _0_2;
  61701. } else
  61702. t1 = false;
  61703. if (t1) {
  61704. t1 = new A.CodeUnits(plain);
  61705. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  61706. } else
  61707. return false;
  61708. },
  61709. _hexDigit$0() {
  61710. var t1 = this.scanner,
  61711. t2 = t1.peekChar$0();
  61712. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  61713. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  61714. },
  61715. _minusExpression$0() {
  61716. var _this = this,
  61717. _0_0 = _this.scanner.peekChar$1(1);
  61718. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  61719. return _this._number$0();
  61720. if (_this._lookingAtInterpolatedIdentifier$0())
  61721. return _this.identifierLike$0();
  61722. return _this._unaryOperation$0();
  61723. },
  61724. _importantExpression$0() {
  61725. var t1 = this.scanner,
  61726. t2 = t1._string_scanner$_position;
  61727. t1.readChar$0();
  61728. this.whitespace$1$consumeNewlines(true);
  61729. this.expectIdentifier$1("important");
  61730. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61731. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  61732. },
  61733. _unaryOperation$0() {
  61734. var _this = this,
  61735. t1 = _this.scanner,
  61736. t2 = t1._string_scanner$_position,
  61737. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  61738. if (operator == null)
  61739. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  61740. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV)
  61741. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  61742. _this.whitespace$1$consumeNewlines(true);
  61743. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61744. },
  61745. _unaryOperatorFor$1(character) {
  61746. var t1;
  61747. $label0$0: {
  61748. if (43 === character) {
  61749. t1 = B.UnaryOperator_Rbl;
  61750. break $label0$0;
  61751. }
  61752. if (45 === character) {
  61753. t1 = B.UnaryOperator_UCP;
  61754. break $label0$0;
  61755. }
  61756. if (47 === character) {
  61757. t1 = B.UnaryOperator_lZV;
  61758. break $label0$0;
  61759. }
  61760. t1 = null;
  61761. break $label0$0;
  61762. }
  61763. return t1;
  61764. },
  61765. _number$0() {
  61766. var number, unit, _this = this,
  61767. t1 = _this.scanner,
  61768. t2 = t1._string_scanner$_position,
  61769. first = t1.peekChar$0(),
  61770. t3 = first !== 43;
  61771. if (!t3 || first === 45)
  61772. t1.readChar$0();
  61773. if (t1.peekChar$0() !== 46)
  61774. _this._consumeNaturalNumber$0();
  61775. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  61776. _this._tryExponent$0();
  61777. number = A.double_parse(t1.substring$1(0, t2));
  61778. if (t1.scanChar$1(37))
  61779. unit = "%";
  61780. else {
  61781. if (_this.lookingAtIdentifier$0())
  61782. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  61783. else
  61784. t3 = false;
  61785. unit = t3 ? _this.identifier$1$unit(true) : null;
  61786. }
  61787. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61788. },
  61789. _consumeNaturalNumber$0() {
  61790. var $self,
  61791. t1 = this.scanner,
  61792. t2 = t1.readChar$0();
  61793. if (!(t2 >= 48 && t2 <= 57))
  61794. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  61795. while (true) {
  61796. $self = t1.peekChar$0();
  61797. if (!($self != null && $self >= 48 && $self <= 57))
  61798. break;
  61799. t1.readChar$0();
  61800. }
  61801. },
  61802. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  61803. var $self,
  61804. t1 = this.scanner;
  61805. if (t1.peekChar$0() !== 46)
  61806. return;
  61807. $self = t1.peekChar$1(1);
  61808. if (!($self != null && $self >= 48 && $self <= 57)) {
  61809. if (allowTrailingDot)
  61810. return;
  61811. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  61812. }
  61813. t1.readChar$0();
  61814. while (true) {
  61815. $self = t1.peekChar$0();
  61816. if (!($self != null && $self >= 48 && $self <= 57))
  61817. break;
  61818. t1.readChar$0();
  61819. }
  61820. },
  61821. _tryExponent$0() {
  61822. var next, $self,
  61823. t1 = this.scanner,
  61824. first = t1.peekChar$0();
  61825. if (first !== 101 && first !== 69)
  61826. return;
  61827. next = t1.peekChar$1(1);
  61828. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  61829. return;
  61830. t1.readChar$0();
  61831. if (43 === next || 45 === next)
  61832. t1.readChar$0();
  61833. $self = t1.peekChar$0();
  61834. if (!($self != null && $self >= 48 && $self <= 57))
  61835. t1.error$1(0, "Expected digit.");
  61836. while (true) {
  61837. $self = t1.peekChar$0();
  61838. if (!($self != null && $self >= 48 && $self <= 57))
  61839. break;
  61840. t1.readChar$0();
  61841. }
  61842. },
  61843. _unicodeRange$0() {
  61844. var firstRangeLength, hasQuestionMark, t3, secondRangeLength, _this = this,
  61845. _s26_ = "Expected at most 6 digits.",
  61846. t1 = _this.scanner,
  61847. t2 = t1._string_scanner$_position,
  61848. start = new A._SpanScannerState(t1, t2);
  61849. _this.expectIdentChar$1(117);
  61850. t1.expectChar$1(43);
  61851. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  61852. ++firstRangeLength;
  61853. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  61854. ++firstRangeLength;
  61855. if (firstRangeLength === 0)
  61856. t1.error$1(0, 'Expected hex digit or "?".');
  61857. else if (firstRangeLength > 6)
  61858. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  61859. else if (hasQuestionMark) {
  61860. t2 = t1.substring$1(0, t2);
  61861. t1 = t1.spanFrom$1(start);
  61862. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61863. }
  61864. if (t1.scanChar$1(45)) {
  61865. t3 = t1._string_scanner$_position;
  61866. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  61867. ++secondRangeLength;
  61868. if (secondRangeLength === 0)
  61869. t1.error$1(0, "Expected hex digit.");
  61870. else if (secondRangeLength > 6)
  61871. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  61872. }
  61873. if (_this._lookingAtInterpolatedIdentifierBody$0())
  61874. t1.error$1(0, "Expected end of identifier.");
  61875. t2 = t1.substring$1(0, t2);
  61876. t1 = t1.spanFrom$1(start);
  61877. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61878. },
  61879. _variable$0() {
  61880. var _this = this,
  61881. t1 = _this.scanner,
  61882. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61883. $name = _this.variableName$0();
  61884. if (_this.get$plainCss())
  61885. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  61886. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  61887. },
  61888. _selector$0() {
  61889. var t1, start, _this = this;
  61890. if (_this.get$plainCss())
  61891. _this.scanner.error$2$length(0, string$.The_pa, 1);
  61892. t1 = _this.scanner;
  61893. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61894. t1.expectChar$1(38);
  61895. if (t1.scanChar$1(38)) {
  61896. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  61897. t1.set$position(t1._string_scanner$_position - 1);
  61898. }
  61899. return new A.SelectorExpression(t1.spanFrom$1(start));
  61900. },
  61901. interpolatedString$0() {
  61902. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  61903. t1 = this.scanner,
  61904. t2 = t1._string_scanner$_position,
  61905. quote = t1.readChar$0();
  61906. if (quote !== 39 && quote !== 34)
  61907. t1.error$2$position(0, "Expected string.", t2);
  61908. t3 = new A.StringBuffer("");
  61909. t4 = A._setArrayType([], type$.JSArray_Object);
  61910. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61911. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61912. for (; true;) {
  61913. _1_0 = t1.peekChar$0();
  61914. if (_1_0 === quote) {
  61915. t1.readChar$0();
  61916. break;
  61917. }
  61918. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  61919. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  61920. if (92 === _1_0) {
  61921. second = t1.peekChar$1(1);
  61922. if (second === 10 || second === 13 || second === 12) {
  61923. t1.readChar$0();
  61924. t1.readChar$0();
  61925. if (second === 13)
  61926. t1.scanChar$1(10);
  61927. } else {
  61928. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  61929. t3._contents += t6;
  61930. }
  61931. continue;
  61932. }
  61933. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  61934. _0_0 = this.singleInterpolation$0();
  61935. buffer._flushText$0();
  61936. t4.push(_0_0._0);
  61937. t5.push(_0_0._1);
  61938. continue;
  61939. }
  61940. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  61941. t3._contents += t6;
  61942. }
  61943. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  61944. },
  61945. identifierLike$0() {
  61946. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  61947. t1 = _this.scanner,
  61948. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61949. identifier = _this.interpolatedIdentifier$0(),
  61950. plain = identifier.get$asPlain(),
  61951. lower = A._Cell$(),
  61952. t2 = plain != null;
  61953. if (t2) {
  61954. if (plain === "if" && t1.peekChar$0() === 40) {
  61955. invocation = _this._argumentInvocation$0();
  61956. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  61957. } else if (plain === "not") {
  61958. _this.whitespace$1$consumeNewlines(true);
  61959. expression = _this._singleExpression$0();
  61960. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  61961. }
  61962. lower.__late_helper$_value = plain.toLowerCase();
  61963. if (t1.peekChar$0() !== 40) {
  61964. switch (plain) {
  61965. case "false":
  61966. return new A.BooleanExpression(false, identifier.span);
  61967. case "null":
  61968. return new A.NullExpression(identifier.span);
  61969. case "true":
  61970. return new A.BooleanExpression(true, identifier.span);
  61971. }
  61972. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  61973. if (_0_0 != null) {
  61974. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  61975. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  61976. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  61977. t4 = _0_0.alphaOrNull;
  61978. if (t4 == null)
  61979. t4 = 0;
  61980. t5 = identifier.span;
  61981. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  61982. }
  61983. }
  61984. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  61985. if (_1_0 != null)
  61986. return _1_0;
  61987. }
  61988. _2_0 = t1.peekChar$0();
  61989. _2_2 = 46 === _2_0;
  61990. if (_2_2 && t1.peekChar$1(1) === 46)
  61991. return new A.StringExpression(identifier, false);
  61992. if (_2_2) {
  61993. t1.readChar$0();
  61994. if (t2)
  61995. return _this.namespacedExpression$2(plain, start);
  61996. _this.error$2(0, string$.Interpn, identifier.span);
  61997. }
  61998. _2_4 = 40 === _2_0;
  61999. if (_2_4 && t2) {
  62000. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  62001. t1 = t1.spanFrom$1(start);
  62002. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  62003. }
  62004. if (_2_4)
  62005. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  62006. return new A.StringExpression(identifier, false);
  62007. },
  62008. namespacedExpression$2(namespace, start) {
  62009. var $name, t2, t3, _this = this,
  62010. t1 = _this.scanner;
  62011. if (t1.peekChar$0() === 36) {
  62012. $name = _this.variableName$0();
  62013. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  62014. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  62015. }
  62016. t2 = _this._publicIdentifier$0();
  62017. t3 = _this._argumentInvocation$0();
  62018. t1 = t1.spanFrom$1(start);
  62019. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  62020. },
  62021. trySpecialFunction$2($name, start) {
  62022. var t1, buffer, t2, next, t3, _this = this,
  62023. normalized = A.unvendor($name);
  62024. $label0$0: {
  62025. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  62026. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  62027. else
  62028. t1 = true;
  62029. if (t1) {
  62030. t1 = new A.StringBuffer("");
  62031. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62032. t1._contents = $name;
  62033. t2 = A.Primitives_stringFromCharCode(40);
  62034. t1._contents += t2;
  62035. break $label0$0;
  62036. }
  62037. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  62038. t1 = new A.StringBuffer("");
  62039. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62040. t1._contents = $name;
  62041. t2 = A.Primitives_stringFromCharCode(58);
  62042. t1._contents += t2;
  62043. t2 = _this.scanner;
  62044. next = t2.peekChar$0();
  62045. while (true) {
  62046. if (next != null) {
  62047. if (!(next >= 97 && next <= 122))
  62048. t3 = next >= 65 && next <= 90;
  62049. else
  62050. t3 = true;
  62051. t3 = t3 || next === 46;
  62052. } else
  62053. t3 = false;
  62054. if (!t3)
  62055. break;
  62056. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  62057. t1._contents += t3;
  62058. next = t2.peekChar$0();
  62059. }
  62060. t2.expectChar$1(40);
  62061. t2 = A.Primitives_stringFromCharCode(40);
  62062. t1._contents += t2;
  62063. break $label0$0;
  62064. }
  62065. if ("url" === normalized)
  62066. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  62067. return null;
  62068. }
  62069. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  62070. t1 = _this.scanner;
  62071. t1.expectChar$1(41);
  62072. t2 = buffer._interpolation_buffer$_text;
  62073. t3 = A.Primitives_stringFromCharCode(41);
  62074. t2._contents += t3;
  62075. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  62076. },
  62077. _tryUrlContents$2$name(start, $name) {
  62078. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  62079. t1 = _this.scanner,
  62080. t2 = t1._string_scanner$_position;
  62081. if (!t1.scanChar$1(40))
  62082. return null;
  62083. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62084. t3 = new A.StringBuffer("");
  62085. t4 = A._setArrayType([], type$.JSArray_Object);
  62086. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  62087. buffer = new A.InterpolationBuffer(t3, t4, t5);
  62088. t3._contents = $name == null ? "url" : $name;
  62089. t6 = A.Primitives_stringFromCharCode(40);
  62090. t3._contents += t6;
  62091. for (; true;) {
  62092. _1_0 = t1.peekChar$0();
  62093. if (_1_0 == null)
  62094. break;
  62095. if (92 === _1_0) {
  62096. t6 = _this.escape$0();
  62097. t3._contents += t6;
  62098. continue;
  62099. }
  62100. _1_6 = 35 === _1_0;
  62101. if (_1_6 && t1.peekChar$1(1) === 123) {
  62102. _0_0 = _this.singleInterpolation$0();
  62103. buffer._flushText$0();
  62104. t4.push(_0_0._0);
  62105. t5.push(_0_0._1);
  62106. continue;
  62107. }
  62108. t6 = true;
  62109. if (33 !== _1_0)
  62110. if (37 !== _1_0)
  62111. if (38 !== _1_0)
  62112. if (!_1_6)
  62113. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62114. if (t6) {
  62115. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62116. t3._contents += t6;
  62117. continue;
  62118. }
  62119. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62120. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62121. if (t1.peekChar$0() !== 41)
  62122. break;
  62123. continue;
  62124. }
  62125. if (41 === _1_0) {
  62126. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62127. t3._contents += t2;
  62128. endPosition = t1._string_scanner$_position;
  62129. t2 = t1._sourceFile;
  62130. t3 = start.position;
  62131. t1 = new A._FileSpan(t2, t3, endPosition);
  62132. t1._FileSpan$3(t2, t3, endPosition);
  62133. return buffer.interpolation$1(t1);
  62134. }
  62135. break;
  62136. }
  62137. t1.set$state(new A._SpanScannerState(t1, t2));
  62138. return null;
  62139. },
  62140. _tryUrlContents$1(start) {
  62141. return this._tryUrlContents$2$name(start, null);
  62142. },
  62143. dynamicUrl$0() {
  62144. var _0_0, t2, _this = this,
  62145. t1 = _this.scanner,
  62146. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62147. _this.expectIdentifier$1("url");
  62148. _0_0 = _this._tryUrlContents$1(start);
  62149. if (_0_0 != null)
  62150. return new A.StringExpression(_0_0, false);
  62151. t2 = t1.spanFrom$1(start);
  62152. 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));
  62153. },
  62154. almostAnyValue$1$omitComments(omitComments) {
  62155. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62156. t1 = _this.scanner,
  62157. t2 = t1._string_scanner$_position,
  62158. t3 = new A.StringBuffer(""),
  62159. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62160. brackets = A._setArrayType([], type$.JSArray_int);
  62161. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  62162. $label0$0: {
  62163. _2_0 = t1.peekChar$0();
  62164. if (92 === _2_0) {
  62165. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62166. t3._contents += t8;
  62167. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62168. t3._contents += t8;
  62169. break $label0$0;
  62170. }
  62171. if (34 === _2_0 || 39 === _2_0) {
  62172. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62173. break $label0$0;
  62174. }
  62175. if (47 === _2_0) {
  62176. $label1$1: {
  62177. _0_0 = t1.peekChar$1(1);
  62178. _0_2 = 42 === _0_0;
  62179. if (_0_2 && t6) {
  62180. start = t1._string_scanner$_position;
  62181. t7.call$0();
  62182. end = t1._string_scanner$_position;
  62183. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62184. break $label1$1;
  62185. }
  62186. if (_0_2) {
  62187. _this.loudComment$0();
  62188. break $label1$1;
  62189. }
  62190. _0_4 = 47 === _0_0;
  62191. if (_0_4 && t6) {
  62192. t8 = _this.get$silentComment();
  62193. start = t1._string_scanner$_position;
  62194. t8.call$0();
  62195. end = t1._string_scanner$_position;
  62196. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62197. break $label1$1;
  62198. }
  62199. if (_0_4) {
  62200. _this.silentComment$0();
  62201. break $label1$1;
  62202. }
  62203. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62204. t3._contents += t8;
  62205. }
  62206. break $label0$0;
  62207. }
  62208. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62209. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62210. break $label0$0;
  62211. }
  62212. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62213. if (_this.get$indented() && brackets.length === 0)
  62214. break;
  62215. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62216. t3._contents += t8;
  62217. break $label0$0;
  62218. }
  62219. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62220. break;
  62221. if (117 === _2_0 || 85 === _2_0) {
  62222. t8 = t1._string_scanner$_position;
  62223. identifier = _this.identifier$0();
  62224. if (identifier !== "url" && identifier !== "url-prefix") {
  62225. t3._contents += identifier;
  62226. continue;
  62227. }
  62228. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62229. if (_1_0 != null)
  62230. buffer.addInterpolation$1(_1_0);
  62231. else {
  62232. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62233. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62234. t1._string_scanner$_position = t8;
  62235. t1._lastMatch = null;
  62236. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62237. t3._contents += t8;
  62238. }
  62239. break $label0$0;
  62240. }
  62241. if (40 === _2_0 || 91 === _2_0) {
  62242. bracket = t1.readChar$0();
  62243. t8 = A.Primitives_stringFromCharCode(bracket);
  62244. t3._contents += t8;
  62245. brackets.push(A.opposite(bracket));
  62246. break $label0$0;
  62247. }
  62248. if (41 === _2_0 || 93 === _2_0) {
  62249. t8 = _2_0 != null;
  62250. char = t8 ? _2_0 : null;
  62251. } else {
  62252. char = null;
  62253. t8 = false;
  62254. }
  62255. if (t8) {
  62256. if (brackets.length === 0)
  62257. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62258. bracket = brackets.pop();
  62259. t1.expectChar$1(bracket);
  62260. t8 = A.Primitives_stringFromCharCode(bracket);
  62261. t3._contents += t8;
  62262. break $label0$0;
  62263. }
  62264. if (_2_0 == null)
  62265. break;
  62266. t8 = _this.lookingAtIdentifier$0();
  62267. if (t8) {
  62268. t8 = _this.identifier$0();
  62269. t3._contents += t8;
  62270. break $label0$0;
  62271. }
  62272. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62273. t3._contents += t8;
  62274. }
  62275. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62276. },
  62277. almostAnyValue$0() {
  62278. return this.almostAnyValue$1$omitComments(false);
  62279. },
  62280. _interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  62281. var t5, t6, t7, t8, t9, t10, t11, wroteNewline, _2_0, wroteNewline0, t12, _0_0, start, end, _2_12, _2_14_isSet, _2_14, t13, _2_16, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  62282. t1 = _this.scanner,
  62283. t2 = t1._string_scanner$_position,
  62284. t3 = new A.StringBuffer(""),
  62285. t4 = A._setArrayType([], type$.JSArray_Object),
  62286. buffer = new A.InterpolationBuffer(t3, t4, A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62287. brackets = A._setArrayType([], type$.JSArray_int);
  62288. for (t5 = !consumeNewlines, t6 = !allowOpenBrace, t7 = t1.string, t8 = t7.length, t9 = !allowColon, t10 = !allowSemicolon, t11 = _this.get$loudComment(), wroteNewline = false; true;)
  62289. $label0$0: {
  62290. _2_0 = t1.peekChar$0();
  62291. wroteNewline0 = false;
  62292. if (92 === _2_0) {
  62293. t12 = _this.escape$1$identifierStart(true);
  62294. t3._contents += t12;
  62295. wroteNewline = wroteNewline0;
  62296. break $label0$0;
  62297. }
  62298. if (34 === _2_0 || 39 === _2_0) {
  62299. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62300. wroteNewline = wroteNewline0;
  62301. break $label0$0;
  62302. }
  62303. if (47 === _2_0) {
  62304. $label1$1: {
  62305. _0_0 = t1.peekChar$1(1);
  62306. if (42 === _0_0) {
  62307. start = t1._string_scanner$_position;
  62308. t11.call$0();
  62309. end = t1._string_scanner$_position;
  62310. t3._contents += B.JSString_methods.substring$2(t7, start, end);
  62311. break $label1$1;
  62312. }
  62313. if (47 === _0_0 && silentComments) {
  62314. _this.silentComment$0();
  62315. break $label1$1;
  62316. }
  62317. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62318. t3._contents += t12;
  62319. }
  62320. wroteNewline = wroteNewline0;
  62321. break $label0$0;
  62322. }
  62323. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62324. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62325. wroteNewline = wroteNewline0;
  62326. break $label0$0;
  62327. }
  62328. _2_12 = 32 === _2_0;
  62329. _2_14_isSet = !_2_12;
  62330. if (_2_14_isSet) {
  62331. _2_14 = 9 === _2_0;
  62332. t12 = _2_14;
  62333. } else {
  62334. _2_14 = _null;
  62335. t12 = true;
  62336. }
  62337. t13 = false;
  62338. if (t12)
  62339. if (!wroteNewline) {
  62340. t12 = t1.peekChar$1(1);
  62341. t12 = t12 === 32 || t12 === 9 || t12 === 10 || t12 === 13 || t12 === 12;
  62342. } else
  62343. t12 = t13;
  62344. else
  62345. t12 = t13;
  62346. if (t12) {
  62347. t1.readChar$0();
  62348. break $label0$0;
  62349. }
  62350. if (!_2_12)
  62351. t12 = _2_14_isSet ? _2_14 : 9 === _2_0;
  62352. else
  62353. t12 = true;
  62354. if (t12) {
  62355. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62356. t3._contents += t12;
  62357. break $label0$0;
  62358. }
  62359. _2_16 = 10 === _2_0;
  62360. _2_18_isSet = !_2_16;
  62361. _2_20 = _null;
  62362. t12 = true;
  62363. if (_2_18_isSet) {
  62364. _2_18 = 13 === _2_0;
  62365. _2_20_isSet = !_2_18;
  62366. if (_2_20_isSet) {
  62367. _2_20 = 12 === _2_0;
  62368. t12 = _2_20;
  62369. }
  62370. } else {
  62371. _2_18 = _null;
  62372. _2_20_isSet = false;
  62373. }
  62374. if (t12 && _this.get$indented() && t5 && brackets.length === 0)
  62375. break;
  62376. t12 = true;
  62377. if (!_2_16)
  62378. if (!(_2_18_isSet ? _2_18 : 13 === _2_0))
  62379. t12 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62380. if (t12) {
  62381. t12 = t1.peekChar$1(-1);
  62382. if (!(t12 === 10 || t12 === 13 || t12 === 12))
  62383. t3._contents += "\n";
  62384. t1.readChar$0();
  62385. wroteNewline = true;
  62386. break $label0$0;
  62387. }
  62388. _2_22 = 123 === _2_0;
  62389. if (_2_22 && t6)
  62390. break;
  62391. if (40 !== _2_0)
  62392. t12 = _2_22 || 91 === _2_0;
  62393. else
  62394. t12 = true;
  62395. if (t12) {
  62396. bracket = t1.readChar$0();
  62397. t12 = A.Primitives_stringFromCharCode(bracket);
  62398. t3._contents += t12;
  62399. brackets.push(A.opposite(bracket));
  62400. wroteNewline = wroteNewline0;
  62401. break $label0$0;
  62402. }
  62403. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62404. if (brackets.length === 0)
  62405. break;
  62406. bracket = brackets.pop();
  62407. t1.expectChar$1(bracket);
  62408. t12 = A.Primitives_stringFromCharCode(bracket);
  62409. t3._contents += t12;
  62410. wroteNewline = wroteNewline0;
  62411. break $label0$0;
  62412. }
  62413. if (59 === _2_0) {
  62414. if (t10 && brackets.length === 0)
  62415. break;
  62416. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62417. t3._contents += t12;
  62418. wroteNewline = wroteNewline0;
  62419. break $label0$0;
  62420. }
  62421. if (58 === _2_0) {
  62422. if (t9 && brackets.length === 0)
  62423. break;
  62424. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62425. t3._contents += t12;
  62426. wroteNewline = wroteNewline0;
  62427. break $label0$0;
  62428. }
  62429. if (117 === _2_0 || 85 === _2_0) {
  62430. t12 = t1._string_scanner$_position;
  62431. identifier = _this.identifier$0();
  62432. if (identifier !== "url" && identifier !== "url-prefix") {
  62433. t3._contents += identifier;
  62434. wroteNewline = wroteNewline0;
  62435. continue;
  62436. }
  62437. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t12), identifier);
  62438. if (_1_0 != null)
  62439. buffer.addInterpolation$1(_1_0);
  62440. else {
  62441. if ((t12 === 0 ? 1 / t12 < 0 : t12 < 0) || t12 > t8)
  62442. A.throwExpression(A.ArgumentError$("Invalid position " + t12, _null));
  62443. t1._string_scanner$_position = t12;
  62444. t1._lastMatch = null;
  62445. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62446. t3._contents += t12;
  62447. }
  62448. wroteNewline = wroteNewline0;
  62449. break $label0$0;
  62450. }
  62451. if (_2_0 == null)
  62452. break;
  62453. t12 = _this.lookingAtIdentifier$0();
  62454. if (t12) {
  62455. t12 = _this.identifier$0();
  62456. t3._contents += t12;
  62457. wroteNewline = wroteNewline0;
  62458. break $label0$0;
  62459. }
  62460. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62461. t3._contents += t12;
  62462. wroteNewline = wroteNewline0;
  62463. }
  62464. if (brackets.length !== 0)
  62465. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62466. if (!allowEmpty && t4.length === 0 && t3._contents.length === 0)
  62467. t1.error$1(0, "Expected token.");
  62468. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62469. },
  62470. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62471. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  62472. },
  62473. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62474. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  62475. },
  62476. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62477. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62478. },
  62479. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62480. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62481. },
  62482. _interpolatedDeclarationValue$0() {
  62483. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  62484. },
  62485. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62486. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  62487. },
  62488. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62489. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  62490. },
  62491. interpolatedIdentifier$0() {
  62492. var t3, _1_0, _0_0, _this = this,
  62493. _s20_ = "Expected identifier.",
  62494. t1 = _this.scanner,
  62495. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62496. t2 = new A.StringBuffer(""),
  62497. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62498. if (t1.scanChar$1(45)) {
  62499. t3 = A.Primitives_stringFromCharCode(45);
  62500. t2._contents += t3;
  62501. if (t1.scanChar$1(45)) {
  62502. t2._contents += t3;
  62503. _this._interpolatedIdentifierBody$1(buffer);
  62504. return buffer.interpolation$1(t1.spanFrom$1(start));
  62505. }
  62506. }
  62507. $label0$0: {
  62508. _1_0 = t1.peekChar$0();
  62509. if (_1_0 == null)
  62510. t1.error$1(0, _s20_);
  62511. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62512. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62513. t2._contents += t3;
  62514. break $label0$0;
  62515. }
  62516. if (92 === _1_0) {
  62517. t3 = _this.escape$1$identifierStart(true);
  62518. t2._contents += t3;
  62519. break $label0$0;
  62520. }
  62521. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62522. _0_0 = _this.singleInterpolation$0();
  62523. buffer.add$2(0, _0_0._0, _0_0._1);
  62524. break $label0$0;
  62525. }
  62526. t1.error$1(0, _s20_);
  62527. }
  62528. _this._interpolatedIdentifierBody$1(buffer);
  62529. return buffer.interpolation$1(t1.spanFrom$1(start));
  62530. },
  62531. _interpolatedIdentifierBody$1(buffer) {
  62532. var t1, t2, t3, t4, _1_0, t5, _0_0;
  62533. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text; true;) {
  62534. _1_0 = t3.peekChar$0();
  62535. if (_1_0 == null)
  62536. break;
  62537. t5 = true;
  62538. if (95 !== _1_0)
  62539. if (45 !== _1_0) {
  62540. if (!(_1_0 >= 97 && _1_0 <= 122))
  62541. t5 = _1_0 >= 65 && _1_0 <= 90;
  62542. else
  62543. t5 = true;
  62544. if (!t5)
  62545. t5 = _1_0 >= 48 && _1_0 <= 57;
  62546. else
  62547. t5 = true;
  62548. t5 = t5 || _1_0 >= 128;
  62549. }
  62550. if (t5) {
  62551. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  62552. t4._contents += t5;
  62553. continue;
  62554. }
  62555. if (92 === _1_0) {
  62556. t5 = this.escape$0();
  62557. t4._contents += t5;
  62558. continue;
  62559. }
  62560. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  62561. _0_0 = this.singleInterpolation$0();
  62562. buffer._flushText$0();
  62563. t1.push(_0_0._0);
  62564. t2.push(_0_0._1);
  62565. continue;
  62566. }
  62567. break;
  62568. }
  62569. },
  62570. singleInterpolation$0() {
  62571. var contents, span, _this = this,
  62572. t1 = _this.scanner,
  62573. t2 = t1._string_scanner$_position;
  62574. t1.expect$1("#{");
  62575. _this.whitespace$1$consumeNewlines(true);
  62576. contents = _this._expression$1$consumeNewlines(true);
  62577. t1.expectChar$1(125);
  62578. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  62579. if (_this.get$plainCss())
  62580. _this.error$2(0, string$.Interpp, span);
  62581. return new A._Record_2(contents, span);
  62582. },
  62583. _mediaQueryList$0() {
  62584. var t4, _this = this,
  62585. t1 = _this.scanner,
  62586. t2 = t1._string_scanner$_position,
  62587. t3 = new A.StringBuffer(""),
  62588. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62589. for (; true;) {
  62590. _this.whitespace$1$consumeNewlines(false);
  62591. _this._stylesheet$_mediaQuery$1(buffer);
  62592. _this.whitespace$1$consumeNewlines(false);
  62593. if (!t1.scanChar$1(44))
  62594. break;
  62595. t4 = A.Primitives_stringFromCharCode(44);
  62596. t3._contents += t4;
  62597. t4 = A.Primitives_stringFromCharCode(32);
  62598. t3._contents += t4;
  62599. }
  62600. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62601. },
  62602. _stylesheet$_mediaQuery$1(buffer) {
  62603. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  62604. if (_this.scanner.peekChar$0() === 40) {
  62605. _this._stylesheet$_mediaInParens$1(buffer);
  62606. _this.whitespace$1$consumeNewlines(false);
  62607. if (_this.scanIdentifier$1(_s3_)) {
  62608. buffer._interpolation_buffer$_text._contents += " and ";
  62609. _this.expectWhitespace$0();
  62610. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62611. } else if (_this.scanIdentifier$1("or")) {
  62612. buffer._interpolation_buffer$_text._contents += " or ";
  62613. _this.expectWhitespace$0();
  62614. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62615. }
  62616. return;
  62617. }
  62618. identifier1 = _this.interpolatedIdentifier$0();
  62619. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  62620. _this.expectWhitespace$0();
  62621. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  62622. buffer._interpolation_buffer$_text._contents += "not ";
  62623. _this._mediaOrInterp$1(buffer);
  62624. return;
  62625. }
  62626. }
  62627. _this.whitespace$1$consumeNewlines(false);
  62628. buffer.addInterpolation$1(identifier1);
  62629. if (!_this._lookingAtInterpolatedIdentifier$0())
  62630. return;
  62631. t1 = buffer._interpolation_buffer$_text;
  62632. t2 = A.Primitives_stringFromCharCode(32);
  62633. t1._contents += t2;
  62634. identifier2 = _this.interpolatedIdentifier$0();
  62635. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  62636. _this.expectWhitespace$0();
  62637. t1._contents += " and ";
  62638. } else {
  62639. _this.whitespace$1$consumeNewlines(false);
  62640. buffer.addInterpolation$1(identifier2);
  62641. if (_this.scanIdentifier$1(_s3_)) {
  62642. _this.expectWhitespace$0();
  62643. t1._contents += " and ";
  62644. } else
  62645. return;
  62646. }
  62647. if (_this.scanIdentifier$1("not")) {
  62648. _this.expectWhitespace$0();
  62649. t1._contents += "not ";
  62650. _this._mediaOrInterp$1(buffer);
  62651. return;
  62652. }
  62653. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62654. return;
  62655. },
  62656. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  62657. var t1, t2, t3, _this = this;
  62658. for (t1 = buffer._interpolation_buffer$_text; true;) {
  62659. _this._mediaOrInterp$1(buffer);
  62660. _this.whitespace$1$consumeNewlines(false);
  62661. if (!_this.scanIdentifier$1(operator))
  62662. return;
  62663. _this.expectWhitespace$1$consumeNewlines(false);
  62664. t2 = A.Primitives_stringFromCharCode(32);
  62665. t3 = (t1._contents += t2) + operator;
  62666. t1._contents = t3;
  62667. t1._contents = t3 + t2;
  62668. }
  62669. },
  62670. _mediaOrInterp$1(buffer) {
  62671. var _0_0;
  62672. if (this.scanner.peekChar$0() === 35) {
  62673. _0_0 = this.singleInterpolation$0();
  62674. buffer.add$2(0, _0_0._0, _0_0._1);
  62675. } else
  62676. this._stylesheet$_mediaInParens$1(buffer);
  62677. },
  62678. _stylesheet$_mediaInParens$1(buffer) {
  62679. var t2, t3, expressionBefore, expressionAfter, next, t4, t5, expressionMiddle, _this = this,
  62680. t1 = _this.scanner;
  62681. t1.expectChar$2$name(40, "media condition in parentheses");
  62682. t2 = buffer._interpolation_buffer$_text;
  62683. t3 = A.Primitives_stringFromCharCode(40);
  62684. t2._contents += t3;
  62685. _this.whitespace$1$consumeNewlines(true);
  62686. if (t1.peekChar$0() === 40) {
  62687. _this._stylesheet$_mediaInParens$1(buffer);
  62688. _this.whitespace$1$consumeNewlines(true);
  62689. if (_this.scanIdentifier$1("and")) {
  62690. t2._contents += " and ";
  62691. _this.expectWhitespace$1$consumeNewlines(true);
  62692. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  62693. } else if (_this.scanIdentifier$1("or")) {
  62694. t2._contents += " or ";
  62695. _this.expectWhitespace$1$consumeNewlines(true);
  62696. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62697. }
  62698. } else if (_this.scanIdentifier$1("not")) {
  62699. t2._contents += "not ";
  62700. _this.expectWhitespace$1$consumeNewlines(true);
  62701. _this._mediaOrInterp$1(buffer);
  62702. } else {
  62703. expressionBefore = _this._expressionUntilComparison$0();
  62704. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  62705. if (t1.scanChar$1(58)) {
  62706. _this.whitespace$1$consumeNewlines(true);
  62707. t3 = A.Primitives_stringFromCharCode(58);
  62708. t2._contents += t3;
  62709. t3 = A.Primitives_stringFromCharCode(32);
  62710. t2._contents += t3;
  62711. expressionAfter = _this._expression$1$consumeNewlines(true);
  62712. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62713. } else {
  62714. next = t1.peekChar$0();
  62715. t3 = 60 !== next;
  62716. if (!t3 || 62 === next || 61 === next) {
  62717. t4 = A.Primitives_stringFromCharCode(32);
  62718. t2._contents += t4;
  62719. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62720. t2._contents += t5;
  62721. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  62722. t5 = A.Primitives_stringFromCharCode(61);
  62723. t2._contents += t5;
  62724. }
  62725. t2._contents += t4;
  62726. _this.whitespace$1$consumeNewlines(true);
  62727. expressionMiddle = _this._expressionUntilComparison$0();
  62728. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  62729. if (!t3 || 62 === next) {
  62730. next.toString;
  62731. t3 = t1.scanChar$1(next);
  62732. } else
  62733. t3 = false;
  62734. if (t3) {
  62735. t2._contents += t4;
  62736. t3 = A.Primitives_stringFromCharCode(next);
  62737. t2._contents += t3;
  62738. if (t1.scanChar$1(61)) {
  62739. t3 = A.Primitives_stringFromCharCode(61);
  62740. t2._contents += t3;
  62741. }
  62742. t2._contents += t4;
  62743. _this.whitespace$1$consumeNewlines(true);
  62744. expressionAfter = _this._expressionUntilComparison$0();
  62745. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62746. }
  62747. }
  62748. }
  62749. }
  62750. t1.expectChar$1(41);
  62751. _this.whitespace$1$consumeNewlines(false);
  62752. t1 = A.Primitives_stringFromCharCode(41);
  62753. t2._contents += t1;
  62754. },
  62755. _expressionUntilComparison$0() {
  62756. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  62757. },
  62758. _supportsCondition$1$inParentheses(inParentheses) {
  62759. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  62760. t1 = _this.scanner,
  62761. t2 = t1._string_scanner$_position;
  62762. if (_this.scanIdentifier$1("not")) {
  62763. _this.whitespace$1$consumeNewlines(inParentheses);
  62764. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62765. }
  62766. condition = _this._supportsConditionInParens$0();
  62767. _this.whitespace$1$consumeNewlines(inParentheses);
  62768. for (operator = null; _this.lookingAtIdentifier$0();) {
  62769. if (operator != null)
  62770. _this.expectIdentifier$1(operator);
  62771. else if (_this.scanIdentifier$1("or"))
  62772. operator = "or";
  62773. else {
  62774. _this.expectIdentifier$1("and");
  62775. operator = "and";
  62776. }
  62777. _this.whitespace$1$consumeNewlines(inParentheses);
  62778. right = _this._supportsConditionInParens$0();
  62779. endPosition = t1._string_scanner$_position;
  62780. t3 = t1._sourceFile;
  62781. t4 = new A._FileSpan(t3, t2, endPosition);
  62782. t4._FileSpan$3(t3, t2, endPosition);
  62783. condition = new A.SupportsOperation(condition, right, operator, t4);
  62784. lowerOperator = operator.toLowerCase();
  62785. if (lowerOperator !== "and" && lowerOperator !== "or")
  62786. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62787. _this.whitespace$1$consumeNewlines(inParentheses);
  62788. }
  62789. return condition;
  62790. },
  62791. _supportsCondition$0() {
  62792. return this._supportsCondition$1$inParentheses(false);
  62793. },
  62794. _supportsConditionInParens$0() {
  62795. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, value, _this = this,
  62796. t1 = _this.scanner,
  62797. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62798. if (_this._lookingAtInterpolatedIdentifier$0()) {
  62799. identifier0 = _this.interpolatedIdentifier$0();
  62800. t2 = identifier0.get$asPlain();
  62801. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  62802. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  62803. if (t1.scanChar$1(40)) {
  62804. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  62805. t1.expectChar$1(41);
  62806. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  62807. } else {
  62808. _0_0 = identifier0.contents;
  62809. _0_4_isSet = _0_0.length === 1;
  62810. if (_0_4_isSet) {
  62811. _0_4 = _0_0[0];
  62812. t2 = _0_4 instanceof A.Expression;
  62813. } else {
  62814. _0_4 = null;
  62815. t2 = false;
  62816. }
  62817. if (t2) {
  62818. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  62819. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  62820. } else
  62821. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  62822. }
  62823. }
  62824. t1.expectChar$1(40);
  62825. _this.whitespace$1$consumeNewlines(true);
  62826. if (_this.scanIdentifier$1("not")) {
  62827. _this.whitespace$1$consumeNewlines(true);
  62828. condition = _this._supportsConditionInParens$0();
  62829. t1.expectChar$1(41);
  62830. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  62831. } else if (t1.peekChar$0() === 40) {
  62832. condition = _this._supportsCondition$1$inParentheses(true);
  62833. t1.expectChar$1(41);
  62834. return condition.withSpan$1(t1.spanFrom$1(start));
  62835. }
  62836. $name = null;
  62837. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62838. wasInParentheses = _this._inParentheses;
  62839. try {
  62840. $name = _this._expression$1$consumeNewlines(true);
  62841. t1.expectChar$1(58);
  62842. } catch (exception) {
  62843. if (type$.FormatException._is(A.unwrapException(exception))) {
  62844. t1.set$state(nameStart);
  62845. _this._inParentheses = wasInParentheses;
  62846. identifier = _this.interpolatedIdentifier$0();
  62847. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  62848. operation = null;
  62849. if (_1_0 != null) {
  62850. operation = _1_0;
  62851. t1.expectChar$1(41);
  62852. t2 = operation;
  62853. t1 = t1.spanFrom$1(start);
  62854. return A.SupportsOperation$(t2.left, t2.right, t2.operator, t1);
  62855. }
  62856. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62857. t2.addInterpolation$1(identifier);
  62858. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  62859. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  62860. if (t1.peekChar$0() === 58)
  62861. throw exception;
  62862. t1.expectChar$1(41);
  62863. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  62864. } else
  62865. throw exception;
  62866. }
  62867. value = _this._supportsDeclarationValue$1($name);
  62868. t1.expectChar$1(41);
  62869. return new A.SupportsDeclaration($name, value, t1.spanFrom$1(start));
  62870. },
  62871. _supportsDeclarationValue$1($name) {
  62872. var t1 = false;
  62873. if ($name instanceof A.StringExpression)
  62874. if (!$name.hasQuotes)
  62875. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  62876. if (t1)
  62877. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  62878. else {
  62879. this.whitespace$1$consumeNewlines(true);
  62880. return this._expression$1$consumeNewlines(true);
  62881. }
  62882. },
  62883. _trySupportsOperation$2(interpolation, start) {
  62884. var expression, t2, t3, t4, operator, operation, right, t5, endPosition, t6, t7, lowerOperator, _this = this, _null = null,
  62885. t1 = interpolation.contents;
  62886. if (t1.length !== 1)
  62887. return _null;
  62888. expression = B.JSArray_methods.get$first(t1);
  62889. if (!(expression instanceof A.Expression))
  62890. return _null;
  62891. t1 = _this.scanner;
  62892. t2 = t1._string_scanner$_position;
  62893. _this.whitespace$1$consumeNewlines(true);
  62894. for (t3 = start.position, t4 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  62895. if (operator != null)
  62896. _this.expectIdentifier$1(operator);
  62897. else if (_this.scanIdentifier$1("and"))
  62898. operator = "and";
  62899. else {
  62900. if (!_this.scanIdentifier$1("or")) {
  62901. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  62902. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  62903. t1._string_scanner$_position = t2;
  62904. return t1._lastMatch = null;
  62905. }
  62906. operator = "or";
  62907. }
  62908. _this.whitespace$1$consumeNewlines(true);
  62909. right = _this._supportsConditionInParens$0();
  62910. t5 = operation == null ? new A.SupportsInterpolation(expression, t4) : operation;
  62911. endPosition = t1._string_scanner$_position;
  62912. t6 = t1._sourceFile;
  62913. t7 = new A._FileSpan(t6, t3, endPosition);
  62914. t7._FileSpan$3(t6, t3, endPosition);
  62915. operation = new A.SupportsOperation(t5, right, operator, t7);
  62916. lowerOperator = operator.toLowerCase();
  62917. if (lowerOperator !== "and" && lowerOperator !== "or")
  62918. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62919. _this.whitespace$1$consumeNewlines(true);
  62920. }
  62921. return operation;
  62922. },
  62923. _lookingAtInterpolatedIdentifier$0() {
  62924. var t2, _0_0,
  62925. t1 = this.scanner,
  62926. _1_0 = t1.peekChar$0();
  62927. $label0$0: {
  62928. t2 = false;
  62929. if (_1_0 == null) {
  62930. t1 = t2;
  62931. break $label0$0;
  62932. }
  62933. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  62934. t1 = true;
  62935. break $label0$0;
  62936. }
  62937. if (35 === _1_0) {
  62938. t1 = t1.peekChar$1(1) === 123;
  62939. break $label0$0;
  62940. }
  62941. if (45 === _1_0) {
  62942. _0_0 = t1.peekChar$1(1);
  62943. $label1$1: {
  62944. if (_0_0 == null) {
  62945. t1 = t2;
  62946. break $label1$1;
  62947. }
  62948. if (35 === _0_0) {
  62949. t1 = t1.peekChar$1(2) === 123;
  62950. break $label1$1;
  62951. }
  62952. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  62953. t1 = true;
  62954. break $label1$1;
  62955. }
  62956. t1 = t2;
  62957. break $label1$1;
  62958. }
  62959. break $label0$0;
  62960. }
  62961. t1 = t2;
  62962. break $label0$0;
  62963. }
  62964. return t1;
  62965. },
  62966. _lookingAtPotentialPropertyHack$0() {
  62967. var t1 = this.scanner,
  62968. _0_0 = t1.peekChar$0();
  62969. $label0$0: {
  62970. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  62971. t1 = true;
  62972. break $label0$0;
  62973. }
  62974. if (35 === _0_0) {
  62975. t1 = t1.peekChar$1(1) !== 123;
  62976. break $label0$0;
  62977. }
  62978. t1 = false;
  62979. break $label0$0;
  62980. }
  62981. return t1;
  62982. },
  62983. _lookingAtInterpolatedIdentifierBody$0() {
  62984. var t2, t3,
  62985. t1 = this.scanner,
  62986. _0_0 = t1.peekChar$0();
  62987. $label0$0: {
  62988. t2 = false;
  62989. if (_0_0 == null) {
  62990. t1 = t2;
  62991. break $label0$0;
  62992. }
  62993. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  62994. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  62995. else
  62996. t3 = true;
  62997. if (t3 || 92 === _0_0) {
  62998. t1 = true;
  62999. break $label0$0;
  63000. }
  63001. if (35 === _0_0) {
  63002. t1 = t1.peekChar$1(1) === 123;
  63003. break $label0$0;
  63004. }
  63005. t1 = t2;
  63006. break $label0$0;
  63007. }
  63008. return t1;
  63009. },
  63010. _lookingAtExpression$0() {
  63011. var t2, _0_0,
  63012. t1 = this.scanner,
  63013. _1_0 = t1.peekChar$0();
  63014. $label0$0: {
  63015. t2 = true;
  63016. if (_1_0 == null) {
  63017. t1 = false;
  63018. break $label0$0;
  63019. }
  63020. if (46 === _1_0) {
  63021. t1 = t1.peekChar$1(1) !== 46;
  63022. break $label0$0;
  63023. }
  63024. if (33 === _1_0) {
  63025. _0_0 = t1.peekChar$1(1);
  63026. $label1$1: {
  63027. if (_0_0 != null)
  63028. if (105 !== _0_0)
  63029. if (73 !== _0_0)
  63030. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  63031. else
  63032. t1 = t2;
  63033. else
  63034. t1 = t2;
  63035. else
  63036. t1 = t2;
  63037. break $label1$1;
  63038. }
  63039. break $label0$0;
  63040. }
  63041. t1 = true;
  63042. if (40 !== _1_0)
  63043. if (47 !== _1_0)
  63044. if (91 !== _1_0)
  63045. if (39 !== _1_0)
  63046. if (34 !== _1_0)
  63047. if (35 !== _1_0)
  63048. if (43 !== _1_0)
  63049. if (45 !== _1_0)
  63050. if (92 !== _1_0)
  63051. if (36 !== _1_0)
  63052. if (38 !== _1_0)
  63053. if (37 !== _1_0)
  63054. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  63055. t1 = _1_0 >= 48 && _1_0 <= 57;
  63056. if (t1) {
  63057. t1 = t2;
  63058. break $label0$0;
  63059. }
  63060. t1 = false;
  63061. break $label0$0;
  63062. }
  63063. return t1;
  63064. },
  63065. _withChildren$1$3(child, start, create) {
  63066. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  63067. this.whitespaceWithoutComments$1$consumeNewlines(false);
  63068. return result;
  63069. },
  63070. _withChildren$3(child, start, create) {
  63071. return this._withChildren$1$3(child, start, create, type$.dynamic);
  63072. },
  63073. _urlString$0() {
  63074. var innerError, stackTrace, t2, exception,
  63075. t1 = this.scanner,
  63076. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  63077. url = this.string$0();
  63078. try {
  63079. t2 = A.Uri_parse(url);
  63080. return t2;
  63081. } catch (exception) {
  63082. t2 = A.unwrapException(exception);
  63083. if (type$.FormatException._is(t2)) {
  63084. innerError = t2;
  63085. stackTrace = A.getTraceFromException(exception);
  63086. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  63087. } else
  63088. throw exception;
  63089. }
  63090. },
  63091. _publicIdentifier$0() {
  63092. var _this = this,
  63093. t1 = _this.scanner,
  63094. t2 = t1._string_scanner$_position,
  63095. result = _this.identifier$0();
  63096. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  63097. return result;
  63098. },
  63099. _assertPublic$2(identifier, span) {
  63100. var first = identifier.charCodeAt(0);
  63101. if (!(first === 45 || first === 95))
  63102. return;
  63103. this.error$2(0, string$.Privat, span.call$0());
  63104. },
  63105. _addOrInject$2(buffer, expression) {
  63106. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63107. buffer.addInterpolation$1(expression.text);
  63108. else
  63109. buffer.add$2(0, expression, expression.get$span(expression));
  63110. },
  63111. get$plainCss() {
  63112. return false;
  63113. }
  63114. };
  63115. A.StylesheetParser_parse_closure.prototype = {
  63116. call$0() {
  63117. var statements,
  63118. t1 = this.$this,
  63119. t2 = t1.scanner,
  63120. t3 = t2._string_scanner$_position;
  63121. t2.scanChar$1(65279);
  63122. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63123. t2.expectDone$0();
  63124. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63125. },
  63126. $signature: 538
  63127. };
  63128. A.StylesheetParser_parse__closure.prototype = {
  63129. call$0() {
  63130. var t1 = this.$this;
  63131. if (t1.scanner.scan$1("@charset")) {
  63132. t1.whitespace$1$consumeNewlines(false);
  63133. t1.string$0();
  63134. return null;
  63135. }
  63136. return t1._statement$1$root(true);
  63137. },
  63138. $signature: 539
  63139. };
  63140. A.StylesheetParser_parseParameterList_closure.prototype = {
  63141. call$0() {
  63142. var parameters,
  63143. t1 = this.$this,
  63144. t2 = t1.scanner;
  63145. t2.expectChar$2$name(64, "@-rule");
  63146. t1.identifier$0();
  63147. t1.whitespace$1$consumeNewlines(true);
  63148. t1.identifier$0();
  63149. parameters = t1._parameterList$0();
  63150. t1.whitespace$1$consumeNewlines(true);
  63151. t2.expectChar$1(123);
  63152. return parameters;
  63153. },
  63154. $signature: 540
  63155. };
  63156. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63157. call$0() {
  63158. var t1 = this.$this;
  63159. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63160. },
  63161. $signature: 542
  63162. };
  63163. A.StylesheetParser_parseUseRule_closure.prototype = {
  63164. call$0() {
  63165. var t1 = this.$this,
  63166. t2 = t1.scanner,
  63167. t3 = t2._string_scanner$_position;
  63168. t2.expectChar$2$name(64, "@-rule");
  63169. t1.expectIdentifier$1("use");
  63170. t1.whitespace$1$consumeNewlines(true);
  63171. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63172. },
  63173. $signature: 565
  63174. };
  63175. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63176. call$0() {
  63177. var result = this.production.call$0();
  63178. this.$this.scanner.expectDone$0();
  63179. return result;
  63180. },
  63181. $signature() {
  63182. return this.T._eval$1("0()");
  63183. }
  63184. };
  63185. A.StylesheetParser__statement_closure.prototype = {
  63186. call$0() {
  63187. return this.$this._statement$0();
  63188. },
  63189. $signature: 125
  63190. };
  63191. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63192. call$0() {
  63193. return this.$this.scanner.spanFrom$1(this.start);
  63194. },
  63195. $signature: 28
  63196. };
  63197. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63198. call$0() {
  63199. return this.declaration.span;
  63200. },
  63201. $signature: 28
  63202. };
  63203. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63204. call$0() {
  63205. return this.$this.whitespace$1$consumeNewlines(false);
  63206. },
  63207. $signature: 0
  63208. };
  63209. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63210. call$0() {
  63211. return this.$this.whitespace$1$consumeNewlines(false);
  63212. },
  63213. $signature: 0
  63214. };
  63215. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63216. call$0() {
  63217. return this.$this.whitespace$1$consumeNewlines(false);
  63218. },
  63219. $signature: 0
  63220. };
  63221. A.StylesheetParser__styleRule_closure.prototype = {
  63222. call$2(children, span) {
  63223. var _this = this,
  63224. t1 = _this.$this;
  63225. if (t1.get$indented() && children.length === 0)
  63226. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  63227. t1._inStyleRule = _this.wasInStyleRule;
  63228. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  63229. },
  63230. $signature: 604
  63231. };
  63232. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63233. call$0() {
  63234. return this.$this.whitespace$1$consumeNewlines(false);
  63235. },
  63236. $signature: 0
  63237. };
  63238. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63239. call$2(children, span) {
  63240. return A.Declaration$nested(this.name, children, span, this.value);
  63241. },
  63242. $signature: 274
  63243. };
  63244. A.StylesheetParser__atRootRule_closure.prototype = {
  63245. call$2(children, span) {
  63246. return A.AtRootRule$(children, span, this.query);
  63247. },
  63248. $signature: 160
  63249. };
  63250. A.StylesheetParser__atRootRule_closure0.prototype = {
  63251. call$2(children, span) {
  63252. return A.AtRootRule$(children, span, null);
  63253. },
  63254. $signature: 160
  63255. };
  63256. A.StylesheetParser__eachRule_closure.prototype = {
  63257. call$2(children, span) {
  63258. var _this = this;
  63259. _this.$this._inControlDirective = _this.wasInControlDirective;
  63260. return A.EachRule$(_this.variables, _this.list, children, span);
  63261. },
  63262. $signature: 293
  63263. };
  63264. A.StylesheetParser__functionRule_closure.prototype = {
  63265. call$2(children, span) {
  63266. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63267. },
  63268. $signature: 295
  63269. };
  63270. A.StylesheetParser__forRule_closure.prototype = {
  63271. call$0() {
  63272. var t1 = this.$this;
  63273. if (!t1.lookingAtIdentifier$0())
  63274. return false;
  63275. if (t1.scanIdentifier$1("to"))
  63276. return this._box_0.exclusive = true;
  63277. else if (t1.scanIdentifier$1("through")) {
  63278. this._box_0.exclusive = false;
  63279. return true;
  63280. } else
  63281. return false;
  63282. },
  63283. $signature: 20
  63284. };
  63285. A.StylesheetParser__forRule_closure0.prototype = {
  63286. call$2(children, span) {
  63287. var t1, _this = this;
  63288. _this.$this._inControlDirective = _this.wasInControlDirective;
  63289. t1 = _this._box_0.exclusive;
  63290. t1.toString;
  63291. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63292. },
  63293. $signature: 296
  63294. };
  63295. A.StylesheetParser__memberList_closure.prototype = {
  63296. call$0() {
  63297. var t1 = this.$this;
  63298. if (t1.scanner.peekChar$0() === 36)
  63299. this.variables.add$1(0, t1.variableName$0());
  63300. else
  63301. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63302. },
  63303. $signature: 1
  63304. };
  63305. A.StylesheetParser__includeRule_closure.prototype = {
  63306. call$2(children, span) {
  63307. return A.ContentBlock$(this.contentParameters_, children, span);
  63308. },
  63309. $signature: 298
  63310. };
  63311. A.StylesheetParser_mediaRule_closure.prototype = {
  63312. call$2(children, span) {
  63313. return A.MediaRule$(this.query, children, span);
  63314. },
  63315. $signature: 299
  63316. };
  63317. A.StylesheetParser__mixinRule_closure.prototype = {
  63318. call$2(children, span) {
  63319. var _this = this;
  63320. _this.$this._stylesheet$_inMixin = false;
  63321. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63322. },
  63323. $signature: 301
  63324. };
  63325. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63326. call$0() {
  63327. return this.$this.whitespace$1$consumeNewlines(false);
  63328. },
  63329. $signature: 0
  63330. };
  63331. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63332. call$2(children, span) {
  63333. var _this = this;
  63334. if (_this._box_0.needsDeprecationWarning)
  63335. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_89v, string$.x40_moz_, span));
  63336. return A.AtRule$(_this.name, span, children, _this.value);
  63337. },
  63338. $signature: 161
  63339. };
  63340. A.StylesheetParser_supportsRule_closure.prototype = {
  63341. call$2(children, span) {
  63342. return A.SupportsRule$(this.condition, children, span);
  63343. },
  63344. $signature: 307
  63345. };
  63346. A.StylesheetParser__whileRule_closure.prototype = {
  63347. call$2(children, span) {
  63348. this.$this._inControlDirective = this.wasInControlDirective;
  63349. return A.WhileRule$(this.condition, children, span);
  63350. },
  63351. $signature: 312
  63352. };
  63353. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63354. call$2(children, span) {
  63355. return A.AtRule$(this.name, span, children, this._box_0.value);
  63356. },
  63357. $signature: 161
  63358. };
  63359. A.StylesheetParser__expression_resetState.prototype = {
  63360. call$0() {
  63361. var t2,
  63362. t1 = this._box_0;
  63363. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63364. t2 = this.$this;
  63365. t2.scanner.set$state(this.start);
  63366. t1.allowSlash = true;
  63367. t1.singleExpression_ = t2._singleExpression$0();
  63368. },
  63369. $signature: 0
  63370. };
  63371. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63372. call$0() {
  63373. var t2, t3, t4, t5, t6, t7, _this = this,
  63374. t1 = _this._box_0,
  63375. operator = t1.operators_.pop(),
  63376. left = t1.operands_.pop(),
  63377. right = t1.singleExpression_;
  63378. if (right == null) {
  63379. t2 = _this.$this.scanner;
  63380. t3 = operator.operator.length;
  63381. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63382. }
  63383. if (t1.allowSlash) {
  63384. t2 = _this.$this;
  63385. t2 = !t2._inParentheses && operator === B.BinaryOperator_Mh5 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63386. } else
  63387. t2 = false;
  63388. if (t2)
  63389. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_Mh5, left, right, true);
  63390. else {
  63391. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63392. t2 = t1.allowSlash = false;
  63393. if (B.BinaryOperator_Swh === operator || B.BinaryOperator_QG1 === operator) {
  63394. t3 = _this.$this;
  63395. t4 = t3.scanner.string;
  63396. t5 = right.get$span(right);
  63397. t5 = t5.get$start(t5);
  63398. t6 = right.get$span(right);
  63399. t7 = operator.operator;
  63400. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63401. t2 = left.get$span(left);
  63402. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63403. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63404. }
  63405. if (t2) {
  63406. t2 = left.toString$0(0);
  63407. t4 = right.toString$0(0);
  63408. t5 = left.toString$0(0);
  63409. t6 = right.toString$0(0);
  63410. t1 = t1.singleExpression_;
  63411. 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)));
  63412. }
  63413. }
  63414. }
  63415. },
  63416. $signature: 0
  63417. };
  63418. A.StylesheetParser__expression_resolveOperations.prototype = {
  63419. call$0() {
  63420. var t1,
  63421. operators = this._box_0.operators_;
  63422. if (operators == null)
  63423. return;
  63424. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63425. t1.call$0();
  63426. },
  63427. $signature: 0
  63428. };
  63429. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63430. call$1(expression) {
  63431. var t2, spaceExpressions, _this = this,
  63432. t1 = _this._box_0;
  63433. if (t1.singleExpression_ != null) {
  63434. t2 = _this.$this;
  63435. if (t2._inParentheses) {
  63436. t2._inParentheses = false;
  63437. if (t1.allowSlash) {
  63438. _this.resetState.call$0();
  63439. return;
  63440. }
  63441. }
  63442. spaceExpressions = t1.spaceExpressions_;
  63443. if (spaceExpressions == null)
  63444. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63445. _this.resolveOperations.call$0();
  63446. t2 = t1.singleExpression_;
  63447. t2.toString;
  63448. spaceExpressions.push(t2);
  63449. t1.allowSlash = true;
  63450. }
  63451. t1.singleExpression_ = expression;
  63452. },
  63453. $signature: 313
  63454. };
  63455. A.StylesheetParser__expression_addOperator.prototype = {
  63456. call$1(operator) {
  63457. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  63458. t1 = _this.$this;
  63459. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
  63460. t2 = t1.scanner;
  63461. t3 = operator.operator.length;
  63462. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63463. }
  63464. t2 = _this._box_0;
  63465. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
  63466. operators = t2.operators_;
  63467. if (operators == null)
  63468. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63469. operands = t2.operands_;
  63470. if (operands == null)
  63471. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63472. t3 = _this.resolveOneOperation;
  63473. t4 = operator.precedence;
  63474. while (true) {
  63475. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63476. break;
  63477. t3.call$0();
  63478. }
  63479. singleExpression = t2.singleExpression_;
  63480. if (singleExpression == null) {
  63481. t3 = t1.scanner;
  63482. t4 = operator.operator.length;
  63483. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63484. }
  63485. t1.whitespace$1$consumeNewlines(true);
  63486. if (operator === B.BinaryOperator_s7T && !t1._lookingAtExpression$0()) {
  63487. t1 = t1.scanner;
  63488. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  63489. _this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  63490. } else {
  63491. operators.push(operator);
  63492. operands.push(singleExpression);
  63493. t2.singleExpression_ = t1._singleExpression$0();
  63494. }
  63495. },
  63496. $signature: 316
  63497. };
  63498. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63499. call$0() {
  63500. var t1, spaceExpressions, singleExpression, t2;
  63501. this.resolveOperations.call$0();
  63502. t1 = this._box_0;
  63503. spaceExpressions = t1.spaceExpressions_;
  63504. if (spaceExpressions == null)
  63505. return;
  63506. singleExpression = t1.singleExpression_;
  63507. if (singleExpression == null)
  63508. this.$this.scanner.error$1(0, "Expected expression.");
  63509. spaceExpressions.push(singleExpression);
  63510. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63511. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63512. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, false, t2);
  63513. t1.spaceExpressions_ = null;
  63514. },
  63515. $signature: 0
  63516. };
  63517. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63518. call$0() {
  63519. return this.$this.scanner.peekChar$0() === 44;
  63520. },
  63521. $signature: 20
  63522. };
  63523. A.StylesheetParser__isHexColor_closure.prototype = {
  63524. call$1(char) {
  63525. return A.CharacterExtension_get_isHex(char);
  63526. },
  63527. $signature: 47
  63528. };
  63529. A.StylesheetParser__unicodeRange_closure.prototype = {
  63530. call$1(char) {
  63531. return char != null && A.CharacterExtension_get_isHex(char);
  63532. },
  63533. $signature: 30
  63534. };
  63535. A.StylesheetParser__unicodeRange_closure0.prototype = {
  63536. call$1(char) {
  63537. return char != null && A.CharacterExtension_get_isHex(char);
  63538. },
  63539. $signature: 30
  63540. };
  63541. A.StylesheetParser_namespacedExpression_closure.prototype = {
  63542. call$0() {
  63543. return this.$this.scanner.spanFrom$1(this.start);
  63544. },
  63545. $signature: 28
  63546. };
  63547. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  63548. call$1(contents) {
  63549. return new A.StringExpression(contents, false);
  63550. },
  63551. $signature: 319
  63552. };
  63553. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  63554. call$0() {
  63555. var t1 = this.$this.scanner,
  63556. _0_0 = t1.peekChar$0();
  63557. $label0$0: {
  63558. if (61 === _0_0) {
  63559. t1 = t1.peekChar$1(1) !== 61;
  63560. break $label0$0;
  63561. }
  63562. if (60 === _0_0 || 62 === _0_0) {
  63563. t1 = true;
  63564. break $label0$0;
  63565. }
  63566. t1 = false;
  63567. break $label0$0;
  63568. }
  63569. return t1;
  63570. },
  63571. $signature: 20
  63572. };
  63573. A.StylesheetParser__publicIdentifier_closure.prototype = {
  63574. call$0() {
  63575. return this.$this.scanner.spanFrom$1(this.start);
  63576. },
  63577. $signature: 28
  63578. };
  63579. A.StylesheetGraph.prototype = {
  63580. modifiedSince$3(url, since, baseImporter) {
  63581. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  63582. if (node == null)
  63583. return true;
  63584. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  63585. },
  63586. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  63587. var importer, canonicalUrl, _this = this,
  63588. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  63589. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  63590. importer = result._0;
  63591. canonicalUrl = result._1;
  63592. _this.addCanonical$3(importer, canonicalUrl, result._2);
  63593. return _this._nodes.$index(0, canonicalUrl);
  63594. } else
  63595. return null;
  63596. },
  63597. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  63598. var stylesheet, _this = this,
  63599. t1 = _this._nodes;
  63600. if (t1.$index(0, canonicalUrl) != null)
  63601. return B.Set_empty4;
  63602. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  63603. if (stylesheet == null)
  63604. return B.Set_empty4;
  63605. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  63606. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty4;
  63607. },
  63608. addCanonical$3(importer, canonicalUrl, originalUrl) {
  63609. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  63610. },
  63611. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  63612. var t6, t7, t8,
  63613. t1 = type$.Uri,
  63614. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  63615. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63616. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63617. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63618. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  63619. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  63620. t6 = type$.UnmodifiableSetView_Uri;
  63621. t7 = type$.nullable_StylesheetNode;
  63622. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63623. for (t2 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([new A.UnmodifiableSetView0(t2, t6), new A.UnmodifiableSetView0(t3, t6), new A.UnmodifiableSetView0(t4, t6)], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  63624. t3 = t2.get$current(t2);
  63625. t8.$indexSet(0, t3, this._nodeFor$4(t3, baseImporter, baseUrl, active));
  63626. }
  63627. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63628. for (t2 = t5.get$iterator(0); t2.moveNext$0();) {
  63629. t3 = t2.get$current(0);
  63630. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  63631. }
  63632. return new A._Record_2_imports_modules(t1, t8);
  63633. },
  63634. reload$1(canonicalUrl) {
  63635. var stylesheet, upstream, _this = this,
  63636. node = _this._nodes.$index(0, canonicalUrl);
  63637. if (node == null)
  63638. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  63639. _this._transitiveModificationTimes.clear$0(0);
  63640. _this.importCache.clearImport$1(canonicalUrl);
  63641. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  63642. if (stylesheet == null)
  63643. return false;
  63644. node._stylesheet = stylesheet;
  63645. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  63646. node._replaceUpstream$2(upstream._1, upstream._0);
  63647. return true;
  63648. },
  63649. reloadAllModified$0() {
  63650. var node, modified, loadTime, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this,
  63651. t1 = _this._nodes;
  63652. t1 = A.List_List$_of(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), type$.StylesheetNode);
  63653. t2 = t1.length;
  63654. t3 = _this.importCache._loadTimes;
  63655. _i = 0;
  63656. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63657. node = t1[_i];
  63658. modified = false;
  63659. try {
  63660. loadTime = t3.$index(0, node.canonicalUrl);
  63661. if (loadTime != null) {
  63662. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  63663. t5 = loadTime;
  63664. t6 = t4._value;
  63665. t7 = t5._value;
  63666. if (t6 <= t7) {
  63667. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  63668. modified0 = t4;
  63669. } else
  63670. modified0 = true;
  63671. } else
  63672. modified0 = false;
  63673. modified = modified0;
  63674. } catch (exception) {
  63675. if (A.unwrapException(exception) instanceof A.FileSystemException)
  63676. modified = true;
  63677. else
  63678. throw exception;
  63679. }
  63680. if (modified)
  63681. if (!_this.reload$1(node.canonicalUrl))
  63682. _this.remove$2(0, node.importer, node.canonicalUrl);
  63683. }
  63684. },
  63685. remove$2(_, importer, canonicalUrl) {
  63686. var toRecompile, _this = this,
  63687. node = _this._nodes.remove$1(0, canonicalUrl),
  63688. t1 = node != null;
  63689. if (t1) {
  63690. _this._transitiveModificationTimes.clear$0(0);
  63691. _this.importCache.clearImport$1(canonicalUrl);
  63692. node._stylesheet_graph$_remove$0();
  63693. }
  63694. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  63695. if (t1)
  63696. toRecompile.addAll$1(0, node._downstream);
  63697. return toRecompile;
  63698. },
  63699. _recanonicalizeImports$2(importer, canonicalUrl) {
  63700. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  63701. _this.importCache.clearCanonicalize$1(canonicalUrl);
  63702. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  63703. 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();) {
  63704. t5 = t1.get$current(0);
  63705. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  63706. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  63707. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  63708. changed.add$1(0, t5);
  63709. 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));
  63710. }
  63711. }
  63712. if (changed._collection$_length !== 0)
  63713. _this._transitiveModificationTimes.clear$0(0);
  63714. return changed;
  63715. },
  63716. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  63717. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  63718. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  63719. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  63720. t1 = type$.Uri;
  63721. t2 = type$.nullable_StylesheetNode;
  63722. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63723. 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();) {
  63724. t6 = t1.get$current(t1);
  63725. url = null;
  63726. url = t6._0;
  63727. upstream = t6._1;
  63728. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  63729. continue;
  63730. result = null;
  63731. try {
  63732. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  63733. } catch (exception) {
  63734. }
  63735. t6 = result;
  63736. newCanonicalUrl = t6 == null ? null : t6._1;
  63737. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  63738. continue;
  63739. t6 = url;
  63740. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  63741. }
  63742. return newMap;
  63743. },
  63744. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  63745. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  63746. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  63747. if (result == null)
  63748. return null;
  63749. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  63750. t1.importer = result._0;
  63751. canonicalUrl = t1.canonicalUrl = result._1;
  63752. t1.originalUrl = result._2;
  63753. t2 = _this._nodes;
  63754. _1_0 = t2.$index(0, canonicalUrl);
  63755. if (_1_0 != null)
  63756. return _1_0;
  63757. if (active.contains$1(0, canonicalUrl))
  63758. return null;
  63759. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  63760. if (stylesheet == null)
  63761. return null;
  63762. active.add$1(0, t1.canonicalUrl);
  63763. t3 = t1.importer;
  63764. t4 = t1.canonicalUrl;
  63765. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  63766. active.remove$1(0, t1.canonicalUrl);
  63767. t2.$indexSet(0, t1.canonicalUrl, node);
  63768. return node;
  63769. },
  63770. _nodeFor$4(url, baseImporter, baseUrl, active) {
  63771. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  63772. },
  63773. _ignoreErrors$1$1(callback) {
  63774. var t1, exception;
  63775. try {
  63776. t1 = callback.call$0();
  63777. return t1;
  63778. } catch (exception) {
  63779. return null;
  63780. }
  63781. },
  63782. _ignoreErrors$1(callback) {
  63783. return this._ignoreErrors$1$1(callback, type$.dynamic);
  63784. }
  63785. };
  63786. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  63787. call$1(node) {
  63788. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  63789. },
  63790. $signature: 320
  63791. };
  63792. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  63793. call$0() {
  63794. var t2, t3, upstreamTime, t4,
  63795. t1 = this.node,
  63796. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  63797. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  63798. t3 = t1.get$current(0);
  63799. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  63800. t3 = upstreamTime._value;
  63801. t4 = latest._value;
  63802. if (t3 <= t4)
  63803. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  63804. else
  63805. t3 = true;
  63806. if (t3)
  63807. latest = upstreamTime;
  63808. }
  63809. return latest;
  63810. },
  63811. $signature: 155
  63812. };
  63813. A.StylesheetGraph__add_closure.prototype = {
  63814. call$0() {
  63815. var _this = this;
  63816. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  63817. },
  63818. $signature: 128
  63819. };
  63820. A.StylesheetGraph_addCanonical_closure.prototype = {
  63821. call$0() {
  63822. var _this = this;
  63823. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  63824. },
  63825. $signature: 116
  63826. };
  63827. A.StylesheetGraph_reload_closure.prototype = {
  63828. call$0() {
  63829. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  63830. },
  63831. $signature: 116
  63832. };
  63833. A.StylesheetGraph__nodeFor_closure.prototype = {
  63834. call$0() {
  63835. var _this = this;
  63836. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  63837. },
  63838. $signature: 128
  63839. };
  63840. A.StylesheetGraph__nodeFor_closure0.prototype = {
  63841. call$0() {
  63842. var t1 = this._box_0;
  63843. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  63844. },
  63845. $signature: 116
  63846. };
  63847. A.StylesheetNode.prototype = {
  63848. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  63849. var t1, t2;
  63850. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  63851. t2 = t1.get$current(0);
  63852. if (t2 != null)
  63853. t2._downstream.add$1(0, this);
  63854. }
  63855. },
  63856. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  63857. var t3, oldUpstream, newUpstreamSet, _this = this,
  63858. t1 = type$.nullable_StylesheetNode,
  63859. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  63860. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  63861. t3 = type$.StylesheetNode;
  63862. oldUpstream = A.SetExtension_removeNull(t2, t3);
  63863. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  63864. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  63865. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  63866. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63867. t1.get$current(t1)._downstream.remove$1(0, _this);
  63868. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63869. t1.get$current(t1)._downstream.add$1(0, _this);
  63870. _this._upstream = newUpstream;
  63871. _this._upstreamImports = newUpstreamImports;
  63872. },
  63873. _stylesheet_graph$_remove$0() {
  63874. var t1, t2, t3, t4, _i, url, _this = this;
  63875. 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();) {
  63876. t3 = t1._collection$_current;
  63877. if (t3 == null)
  63878. t3 = t2._as(t3);
  63879. if (t3 == null)
  63880. continue;
  63881. t3._downstream.remove$1(0, _this);
  63882. }
  63883. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  63884. t2 = t1.get$current(0);
  63885. t3 = t2._upstream;
  63886. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63887. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63888. t4 = t3.length;
  63889. _i = 0;
  63890. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63891. url = t3[_i];
  63892. if (t2._upstream.$index(0, url) === _this) {
  63893. t2._upstream.$indexSet(0, url, null);
  63894. break;
  63895. }
  63896. }
  63897. t3 = t2._upstreamImports;
  63898. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63899. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63900. t4 = t3.length;
  63901. _i = 0;
  63902. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63903. url = t3[_i];
  63904. if (t2._upstreamImports.$index(0, url) === _this) {
  63905. t2._upstreamImports.$indexSet(0, url, null);
  63906. break;
  63907. }
  63908. }
  63909. }
  63910. },
  63911. toString$0(_) {
  63912. var t1 = this._stylesheet.span;
  63913. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  63914. return t1 == null ? "<unknown>" : t1;
  63915. }
  63916. };
  63917. A.Syntax.prototype = {
  63918. _enumToString$0() {
  63919. return "Syntax." + this._name;
  63920. },
  63921. toString$0(_) {
  63922. return this._syntax$_name;
  63923. }
  63924. };
  63925. A.Box.prototype = {
  63926. $eq(_, other) {
  63927. if (other == null)
  63928. return false;
  63929. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  63930. },
  63931. get$hashCode(_) {
  63932. return A.Primitives_objectHashCode(this._box$_inner);
  63933. }
  63934. };
  63935. A.ModifiableBox.prototype = {};
  63936. A.LazyFileSpan.prototype = {
  63937. get$span(_) {
  63938. var t1 = this._lazy_file_span$_span;
  63939. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  63940. },
  63941. compareTo$1(_, other) {
  63942. return this.get$span(0).compareTo$1(0, other);
  63943. },
  63944. get$context(_) {
  63945. var t1 = this.get$span(0);
  63946. return t1.get$context(t1);
  63947. },
  63948. get$end(_) {
  63949. var t1 = this.get$span(0);
  63950. return t1.get$end(t1);
  63951. },
  63952. expand$1(_, other) {
  63953. return this.get$span(0).expand$1(0, other);
  63954. },
  63955. get$file(_) {
  63956. var t1 = this.get$span(0);
  63957. return t1.get$file(t1);
  63958. },
  63959. highlight$1$color(color) {
  63960. return this.get$span(0).highlight$1$color(color);
  63961. },
  63962. get$length(_) {
  63963. var t1 = this.get$span(0);
  63964. return t1.get$length(t1);
  63965. },
  63966. message$2$color(_, message, color) {
  63967. return this.get$span(0).message$2$color(0, message, color);
  63968. },
  63969. message$1(_, message) {
  63970. return this.message$2$color(0, message, null);
  63971. },
  63972. get$sourceUrl(_) {
  63973. var t1 = this.get$span(0);
  63974. return t1.get$sourceUrl(t1);
  63975. },
  63976. get$start(_) {
  63977. var t1 = this.get$span(0);
  63978. return t1.get$start(t1);
  63979. },
  63980. get$text() {
  63981. return this.get$span(0).get$text();
  63982. },
  63983. $isComparable: 1,
  63984. $isFileSpan: 1,
  63985. $isSourceSpan: 1,
  63986. $isSourceSpanWithContext: 1
  63987. };
  63988. A.LimitedMapView.prototype = {
  63989. get$keys(_) {
  63990. return this._limited_map_view$_keys;
  63991. },
  63992. get$length(_) {
  63993. return this._limited_map_view$_keys._collection$_length;
  63994. },
  63995. get$isEmpty(_) {
  63996. return this._limited_map_view$_keys._collection$_length === 0;
  63997. },
  63998. get$isNotEmpty(_) {
  63999. return this._limited_map_view$_keys._collection$_length !== 0;
  64000. },
  64001. $index(_, key) {
  64002. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  64003. },
  64004. containsKey$1(key) {
  64005. return this._limited_map_view$_keys.contains$1(0, key);
  64006. },
  64007. remove$1(_, key) {
  64008. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  64009. }
  64010. };
  64011. A.MapExtensions_get_pairs_closure.prototype = {
  64012. call$1(e) {
  64013. return new A._Record_2(e.key, e.value);
  64014. },
  64015. $signature() {
  64016. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  64017. }
  64018. };
  64019. A.MergedMapView.prototype = {
  64020. get$keys(_) {
  64021. var t1 = this._mapsByKey;
  64022. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  64023. },
  64024. get$length(_) {
  64025. return this._mapsByKey.__js_helper$_length;
  64026. },
  64027. get$isEmpty(_) {
  64028. return this._mapsByKey.__js_helper$_length === 0;
  64029. },
  64030. get$isNotEmpty(_) {
  64031. return this._mapsByKey.__js_helper$_length !== 0;
  64032. },
  64033. MergedMapView$1(maps, $K, $V) {
  64034. var t1, t2, _i, map, t3, t4;
  64035. for (t1 = maps.length, t2 = this._mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  64036. map = maps[_i];
  64037. if (map instanceof A.MergedMapView)
  64038. for (t3 = map._mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  64039. t4 = t3.__js_helper$_current;
  64040. A.setAll(t2, t4.get$keys(t4), t4);
  64041. }
  64042. else
  64043. A.setAll(t2, map.get$keys(map), map);
  64044. }
  64045. },
  64046. $index(_, key) {
  64047. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  64048. return t1 == null ? null : t1.$index(0, key);
  64049. },
  64050. $indexSet(_, key, value) {
  64051. var _0_0 = this._mapsByKey.$index(0, key);
  64052. if (_0_0 != null)
  64053. _0_0.$indexSet(0, key, value);
  64054. else
  64055. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  64056. },
  64057. remove$1(_, key) {
  64058. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  64059. },
  64060. containsKey$1(key) {
  64061. return this._mapsByKey.containsKey$1(key);
  64062. }
  64063. };
  64064. A.MultiDirWatcher.prototype = {
  64065. watch$1(_, directory) {
  64066. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, stream, completer;
  64067. 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) {
  64068. t5 = t2[_i];
  64069. _0_1 = t5._0;
  64070. _0_1.toString;
  64071. if (!isParentOfExistingDir) {
  64072. t6 = $.$get$context();
  64073. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  64074. } else
  64075. t6 = false;
  64076. if (t6) {
  64077. t1 = new A._Future($.Zone__current, type$._Future_void);
  64078. t1._asyncComplete$1(null);
  64079. return t1;
  64080. }
  64081. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  64082. t1.remove$1(0, _0_1);
  64083. t4.remove$1(0, t5._1);
  64084. isParentOfExistingDir = true;
  64085. }
  64086. }
  64087. future = A.watchDir(directory, this._poll);
  64088. stream = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  64089. completer = new A.StreamCompleter(stream, type$.StreamCompleter_WatchEvent);
  64090. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  64091. t1.$indexSet(0, directory, stream);
  64092. t4.add$1(0, stream);
  64093. return future;
  64094. }
  64095. };
  64096. A.MultiSpan.prototype = {
  64097. get$start(_) {
  64098. var t1 = this._multi_span$_primary;
  64099. return t1.get$start(t1);
  64100. },
  64101. get$end(_) {
  64102. var t1 = this._multi_span$_primary;
  64103. return t1.get$end(t1);
  64104. },
  64105. get$text() {
  64106. return this._multi_span$_primary.get$text();
  64107. },
  64108. get$context(_) {
  64109. var t1 = this._multi_span$_primary;
  64110. return t1.get$context(t1);
  64111. },
  64112. get$file(_) {
  64113. var t1 = this._multi_span$_primary;
  64114. return t1.get$file(t1);
  64115. },
  64116. get$length(_) {
  64117. var t1 = this._multi_span$_primary;
  64118. return t1.get$length(t1);
  64119. },
  64120. get$sourceUrl(_) {
  64121. var t1 = this._multi_span$_primary;
  64122. return t1.get$sourceUrl(t1);
  64123. },
  64124. compareTo$1(_, other) {
  64125. return this._multi_span$_primary.compareTo$1(0, other);
  64126. },
  64127. toString$0(_) {
  64128. return this._multi_span$_primary.toString$0(0);
  64129. },
  64130. expand$1(_, other) {
  64131. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64132. },
  64133. highlight$1$color(color) {
  64134. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64135. },
  64136. message$2$color(_, message, color) {
  64137. var t1 = J.$eq$(color, true) || typeof color == "string",
  64138. t2 = typeof color == "string" ? color : null;
  64139. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64140. },
  64141. message$1(_, message) {
  64142. return this.message$2$color(0, message, null);
  64143. },
  64144. $isComparable: 1,
  64145. $isFileSpan: 1,
  64146. $isSourceSpan: 1,
  64147. $isSourceSpanWithContext: 1
  64148. };
  64149. A.NoSourceMapBuffer.prototype = {
  64150. get$length(_) {
  64151. return this._no_source_map_buffer$_buffer._contents.length;
  64152. },
  64153. forSpan$1$2(span, callback) {
  64154. return callback.call$0();
  64155. },
  64156. forSpan$2(span, callback) {
  64157. return this.forSpan$1$2(span, callback, type$.dynamic);
  64158. },
  64159. write$1(_, object) {
  64160. var t1 = this._no_source_map_buffer$_buffer,
  64161. t2 = A.S(object);
  64162. t1._contents += t2;
  64163. return null;
  64164. },
  64165. writeCharCode$1(charCode) {
  64166. var t1 = this._no_source_map_buffer$_buffer,
  64167. t2 = A.Primitives_stringFromCharCode(charCode);
  64168. t1._contents += t2;
  64169. return null;
  64170. },
  64171. toString$0(_) {
  64172. var t1 = this._no_source_map_buffer$_buffer._contents;
  64173. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64174. },
  64175. buildSourceMap$1$prefix(prefix) {
  64176. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64177. }
  64178. };
  64179. A.PrefixedMapView.prototype = {
  64180. get$keys(_) {
  64181. return new A._PrefixedKeys(this);
  64182. },
  64183. get$length(_) {
  64184. var t1 = this._prefixed_map_view$_map;
  64185. return t1.get$length(t1);
  64186. },
  64187. get$isEmpty(_) {
  64188. var t1 = this._prefixed_map_view$_map;
  64189. return t1.get$isEmpty(t1);
  64190. },
  64191. get$isNotEmpty(_) {
  64192. var t1 = this._prefixed_map_view$_map;
  64193. return t1.get$isNotEmpty(t1);
  64194. },
  64195. $index(_, key) {
  64196. 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;
  64197. },
  64198. containsKey$1(key) {
  64199. 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));
  64200. }
  64201. };
  64202. A._PrefixedKeys.prototype = {
  64203. get$length(_) {
  64204. var t1 = this._view._prefixed_map_view$_map;
  64205. return t1.get$length(t1);
  64206. },
  64207. get$iterator(_) {
  64208. var t1 = this._view._prefixed_map_view$_map;
  64209. t1 = t1.get$keys(t1);
  64210. t1 = t1.map$1$1(t1, new A._PrefixedKeys_iterator_closure(this), type$.String);
  64211. return t1.get$iterator(t1);
  64212. },
  64213. contains$1(_, key) {
  64214. return this._view.containsKey$1(key);
  64215. }
  64216. };
  64217. A._PrefixedKeys_iterator_closure.prototype = {
  64218. call$1(key) {
  64219. return this.$this._view._prefix + key;
  64220. },
  64221. $signature: 6
  64222. };
  64223. A.PublicMemberMapView.prototype = {
  64224. get$keys(_) {
  64225. var t1 = this._public_member_map_view$_inner;
  64226. t1 = t1.get$keys(t1);
  64227. return t1.where$1(t1, A.utils__isPublic$closure());
  64228. },
  64229. containsKey$1(key) {
  64230. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64231. },
  64232. $index(_, key) {
  64233. if (typeof key == "string" && A.isPublic(key))
  64234. return this._public_member_map_view$_inner.$index(0, key);
  64235. return null;
  64236. }
  64237. };
  64238. A.SourceMapBuffer.prototype = {
  64239. get$_targetLocation() {
  64240. var t1 = this._source_map_buffer$_buffer._contents,
  64241. t2 = this._line;
  64242. return A.SourceLocation$(t1.length, this._column, t2, null);
  64243. },
  64244. get$length(_) {
  64245. return this._source_map_buffer$_buffer._contents.length;
  64246. },
  64247. forSpan$1$2(span, callback) {
  64248. var t1, _this = this,
  64249. wasInSpan = _this._inSpan;
  64250. _this._inSpan = true;
  64251. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64252. try {
  64253. t1 = callback.call$0();
  64254. return t1;
  64255. } finally {
  64256. _this._inSpan = wasInSpan;
  64257. }
  64258. },
  64259. forSpan$2(span, callback) {
  64260. return this.forSpan$1$2(span, callback, type$.dynamic);
  64261. },
  64262. _addEntry$2(source, target) {
  64263. var entry, t2,
  64264. t1 = this._entries;
  64265. if (t1.length !== 0) {
  64266. entry = B.JSArray_methods.get$last(t1);
  64267. t2 = entry.source;
  64268. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64269. return;
  64270. if (entry.target.offset === target.offset)
  64271. return;
  64272. }
  64273. t1.push(new A.Entry(source, target, null));
  64274. },
  64275. write$1(_, object) {
  64276. var t1, i,
  64277. string = J.toString$0$(object);
  64278. this._source_map_buffer$_buffer._contents += string;
  64279. for (t1 = string.length, i = 0; i < t1; ++i)
  64280. if (string.charCodeAt(i) === 10)
  64281. this._source_map_buffer$_writeLine$0();
  64282. else
  64283. ++this._column;
  64284. },
  64285. writeCharCode$1(charCode) {
  64286. var t1 = this._source_map_buffer$_buffer,
  64287. t2 = A.Primitives_stringFromCharCode(charCode);
  64288. t1._contents += t2;
  64289. if (charCode === 10)
  64290. this._source_map_buffer$_writeLine$0();
  64291. else
  64292. ++this._column;
  64293. },
  64294. _source_map_buffer$_writeLine$0() {
  64295. var _this = this,
  64296. t1 = _this._entries;
  64297. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64298. t1.pop();
  64299. ++_this._line;
  64300. _this._column = 0;
  64301. if (_this._inSpan)
  64302. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64303. },
  64304. toString$0(_) {
  64305. var t1 = this._source_map_buffer$_buffer._contents;
  64306. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64307. },
  64308. buildSourceMap$1$prefix(prefix) {
  64309. var i, t2, prefixColumn, _box_0 = {},
  64310. t1 = prefix.length;
  64311. if (t1 === 0)
  64312. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64313. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64314. for (i = 0, t2 = 0; i < t1; ++i)
  64315. if (prefix.charCodeAt(i) === 10) {
  64316. ++_box_0.prefixLines;
  64317. _box_0.prefixColumn = 0;
  64318. t2 = 0;
  64319. } else {
  64320. prefixColumn = t2 + 1;
  64321. _box_0.prefixColumn = prefixColumn;
  64322. t2 = prefixColumn;
  64323. }
  64324. t2 = this._entries;
  64325. 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>")));
  64326. }
  64327. };
  64328. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64329. call$1(entry) {
  64330. var t1 = entry.target,
  64331. t2 = t1.line,
  64332. t3 = this._box_0,
  64333. t4 = t3.prefixLines;
  64334. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64335. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64336. },
  64337. $signature: 164
  64338. };
  64339. A.UnprefixedMapView.prototype = {
  64340. get$keys(_) {
  64341. return new A._UnprefixedKeys(this);
  64342. },
  64343. $index(_, key) {
  64344. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64345. },
  64346. containsKey$1(key) {
  64347. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64348. },
  64349. remove$1(_, key) {
  64350. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64351. return t1;
  64352. }
  64353. };
  64354. A._UnprefixedKeys.prototype = {
  64355. get$iterator(_) {
  64356. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64357. t1 = t1.get$keys(t1);
  64358. t1 = t1.where$1(t1, new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure0(this), type$.String);
  64359. return t1.get$iterator(t1);
  64360. },
  64361. contains$1(_, key) {
  64362. return this._unprefixed_map_view$_view.containsKey$1(key);
  64363. }
  64364. };
  64365. A._UnprefixedKeys_iterator_closure.prototype = {
  64366. call$1(key) {
  64367. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64368. },
  64369. $signature: 5
  64370. };
  64371. A._UnprefixedKeys_iterator_closure0.prototype = {
  64372. call$1(key) {
  64373. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64374. },
  64375. $signature: 6
  64376. };
  64377. A.indent_closure.prototype = {
  64378. call$1(line) {
  64379. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64380. },
  64381. $signature: 6
  64382. };
  64383. A.flattenVertically_closure.prototype = {
  64384. call$1(inner) {
  64385. return A.QueueList_QueueList$from(inner, this.T);
  64386. },
  64387. $signature() {
  64388. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64389. }
  64390. };
  64391. A.flattenVertically_closure0.prototype = {
  64392. call$1(queue) {
  64393. this.result.push(queue.removeFirst$0());
  64394. return queue.get$length(0) === 0;
  64395. },
  64396. $signature() {
  64397. return this.T._eval$1("bool(QueueList<0>)");
  64398. }
  64399. };
  64400. A.longestCommonSubsequence_backtrack.prototype = {
  64401. call$2(i, j) {
  64402. var selection, t1, _this = this;
  64403. if (i === -1 || j === -1)
  64404. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64405. selection = _this.selections[i][j];
  64406. if (selection != null) {
  64407. t1 = _this.call$2(i - 1, j - 1);
  64408. J.add$1$ax(t1, selection);
  64409. return t1;
  64410. }
  64411. t1 = _this.lengths;
  64412. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64413. },
  64414. $signature() {
  64415. return this.T._eval$1("List<0>(int,int)");
  64416. }
  64417. };
  64418. A.mapAddAll2_closure.prototype = {
  64419. call$2(key, inner) {
  64420. var t1 = this.destination,
  64421. _0_0 = t1.$index(0, key);
  64422. if (_0_0 != null)
  64423. _0_0.addAll$1(0, inner);
  64424. else
  64425. t1.$indexSet(0, key, inner);
  64426. },
  64427. $signature() {
  64428. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64429. }
  64430. };
  64431. A.Value.prototype = {
  64432. get$isTruthy() {
  64433. return true;
  64434. },
  64435. get$separator(_) {
  64436. return B.ListSeparator_undecided_null_undecided;
  64437. },
  64438. get$hasBrackets() {
  64439. return false;
  64440. },
  64441. get$asList() {
  64442. return A._setArrayType([this], type$.JSArray_Value);
  64443. },
  64444. get$lengthAsList() {
  64445. return 1;
  64446. },
  64447. get$isBlank() {
  64448. return false;
  64449. },
  64450. get$isSpecialNumber() {
  64451. return false;
  64452. },
  64453. get$isVar() {
  64454. return false;
  64455. },
  64456. get$realNull() {
  64457. return this;
  64458. },
  64459. sassIndexToListIndex$2(sassIndex, $name) {
  64460. var t1, index,
  64461. indexValue = sassIndex.assertNumber$1($name);
  64462. if (indexValue.get$hasUnits()) {
  64463. t1 = indexValue.get$unitString();
  64464. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_jG1);
  64465. }
  64466. index = indexValue.assertInt$1($name);
  64467. if (index === 0)
  64468. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64469. if (Math.abs(index) > this.get$lengthAsList())
  64470. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64471. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64472. },
  64473. assertCalculation$1($name) {
  64474. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64475. },
  64476. assertColor$1($name) {
  64477. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64478. },
  64479. assertFunction$1($name) {
  64480. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64481. },
  64482. assertMixin$1($name) {
  64483. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64484. },
  64485. assertMap$1($name) {
  64486. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64487. },
  64488. tryMap$0() {
  64489. return null;
  64490. },
  64491. assertNumber$1($name) {
  64492. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64493. },
  64494. assertNumber$0() {
  64495. return this.assertNumber$1(null);
  64496. },
  64497. assertString$1($name) {
  64498. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64499. },
  64500. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  64501. var invalidSeparator, buffer, t1, _this = this,
  64502. _s8_ = "Expected",
  64503. _s23_ = "Expected an unbracketed";
  64504. if (_this.get$separator(_this) !== B.ListSeparator_qVN)
  64505. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz;
  64506. else
  64507. invalidSeparator = true;
  64508. if (!invalidSeparator && !_this.get$hasBrackets())
  64509. return _this.get$asList();
  64510. buffer = new A.StringBuffer(_s8_);
  64511. if (_this.get$hasBrackets()) {
  64512. buffer._contents = _s23_;
  64513. t1 = _s23_;
  64514. } else
  64515. t1 = _s8_;
  64516. if (invalidSeparator) {
  64517. t1 += _this.get$hasBrackets() ? "," : " a";
  64518. buffer._contents = t1;
  64519. t1 = buffer._contents = t1 + " space-";
  64520. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  64521. }
  64522. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  64523. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  64524. },
  64525. _selectorString$1($name) {
  64526. var _0_0 = this._selectorStringOrNull$0();
  64527. if (_0_0 != null)
  64528. return _0_0;
  64529. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  64530. },
  64531. _selectorStringOrNull$0() {
  64532. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  64533. if (_this instanceof A.SassString)
  64534. return _this._string$_text;
  64535. if (!(_this instanceof A.SassList))
  64536. return _null;
  64537. t1 = _this._list$_contents;
  64538. t2 = t1.length;
  64539. if (t2 === 0)
  64540. return _null;
  64541. result = A._setArrayType([], type$.JSArray_String);
  64542. $label0$1: {
  64543. _1_0 = _this._separator;
  64544. if (B.ListSeparator_qVN === _1_0) {
  64545. for (_i = 0; _i < t2; ++_i) {
  64546. complex = t1[_i];
  64547. if (complex instanceof A.SassString) {
  64548. result.push(complex._string$_text);
  64549. continue;
  64550. }
  64551. if (complex instanceof A.SassList && B.ListSeparator_qSL === complex._separator) {
  64552. string = complex._selectorStringOrNull$0();
  64553. if (string == null)
  64554. return _null;
  64555. result.push(string);
  64556. continue;
  64557. }
  64558. return _null;
  64559. }
  64560. break $label0$1;
  64561. }
  64562. if (B.ListSeparator_bRz === _1_0)
  64563. return _null;
  64564. for (_i = 0; _i < t2; ++_i) {
  64565. compound = t1[_i];
  64566. if (!(compound instanceof A.SassString))
  64567. return _null;
  64568. result.push(compound._string$_text);
  64569. }
  64570. }
  64571. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN ? ", " : " ");
  64572. },
  64573. withListContents$2$separator(contents, separator) {
  64574. var t1 = separator == null ? this.get$separator(this) : separator,
  64575. t2 = this.get$hasBrackets();
  64576. return A.SassList$(contents, t1, t2);
  64577. },
  64578. withListContents$1(contents) {
  64579. return this.withListContents$2$separator(contents, null);
  64580. },
  64581. greaterThan$1(other) {
  64582. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  64583. },
  64584. greaterThanOrEquals$1(other) {
  64585. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  64586. },
  64587. lessThan$1(other) {
  64588. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  64589. },
  64590. lessThanOrEquals$1(other) {
  64591. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  64592. },
  64593. times$1(other) {
  64594. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  64595. },
  64596. modulo$1(other) {
  64597. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  64598. },
  64599. plus$1(other) {
  64600. var t1;
  64601. $label0$0: {
  64602. if (other instanceof A.SassString) {
  64603. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  64604. break $label0$0;
  64605. }
  64606. if (other instanceof A.SassCalculation)
  64607. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64608. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  64609. break $label0$0;
  64610. }
  64611. return t1;
  64612. },
  64613. minus$1(other) {
  64614. 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);
  64615. },
  64616. dividedBy$1(other) {
  64617. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  64618. },
  64619. unaryPlus$0() {
  64620. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  64621. },
  64622. unaryMinus$0() {
  64623. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  64624. },
  64625. unaryNot$0() {
  64626. return B.SassBoolean_false;
  64627. },
  64628. withoutSlash$0() {
  64629. return this;
  64630. },
  64631. toCssString$1$quote(quote) {
  64632. return A.serializeValue(this, false, quote);
  64633. },
  64634. toCssString$0() {
  64635. return this.toCssString$1$quote(true);
  64636. },
  64637. toString$0(_) {
  64638. return A.serializeValue(this, true, true);
  64639. }
  64640. };
  64641. A.SassArgumentList.prototype = {};
  64642. A.SassBoolean.prototype = {
  64643. get$isTruthy() {
  64644. return this.value;
  64645. },
  64646. accept$1$1(visitor) {
  64647. return visitor._serialize$_buffer.write$1(0, String(this.value));
  64648. },
  64649. accept$1(visitor) {
  64650. return this.accept$1$1(visitor, type$.dynamic);
  64651. },
  64652. unaryNot$0() {
  64653. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  64654. }
  64655. };
  64656. A.SassCalculation.prototype = {
  64657. get$isSpecialNumber() {
  64658. return true;
  64659. },
  64660. accept$1$1(visitor) {
  64661. return visitor.visitCalculation$1(this);
  64662. },
  64663. accept$1(visitor) {
  64664. return this.accept$1$1(visitor, type$.dynamic);
  64665. },
  64666. assertCalculation$1($name) {
  64667. return this;
  64668. },
  64669. plus$1(other) {
  64670. if (other instanceof A.SassString)
  64671. return this.super$Value$plus(other);
  64672. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64673. },
  64674. minus$1(other) {
  64675. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64676. },
  64677. unaryPlus$0() {
  64678. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  64679. },
  64680. unaryMinus$0() {
  64681. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  64682. },
  64683. $eq(_, other) {
  64684. if (other == null)
  64685. return false;
  64686. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  64687. },
  64688. get$hashCode(_) {
  64689. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  64690. }
  64691. };
  64692. A.SassCalculation__verifyLength_closure.prototype = {
  64693. call$1(arg) {
  64694. return arg instanceof A.SassString;
  64695. },
  64696. $signature: 71
  64697. };
  64698. A.CalculationOperation.prototype = {
  64699. $eq(_, other) {
  64700. if (other == null)
  64701. return false;
  64702. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  64703. },
  64704. get$hashCode(_) {
  64705. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  64706. },
  64707. toString$0(_) {
  64708. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  64709. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  64710. }
  64711. };
  64712. A.CalculationOperator.prototype = {
  64713. _enumToString$0() {
  64714. return "CalculationOperator." + this._name;
  64715. },
  64716. toString$0(_) {
  64717. return this.name;
  64718. }
  64719. };
  64720. A.SassColor.prototype = {
  64721. get$channels() {
  64722. var t2, t3,
  64723. t1 = this.channel0OrNull;
  64724. if (t1 == null)
  64725. t1 = 0;
  64726. t2 = this.channel1OrNull;
  64727. if (t2 == null)
  64728. t2 = 0;
  64729. t3 = this.channel2OrNull;
  64730. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  64731. },
  64732. get$channelsOrNull() {
  64733. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  64734. },
  64735. get$isChannel0Powerless() {
  64736. var t1, t2, _this = this,
  64737. _0_0 = _this._space;
  64738. $label0$0: {
  64739. if (B.HslColorSpace_JQ2 === _0_0) {
  64740. t1 = _this.channel1OrNull;
  64741. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64742. break $label0$0;
  64743. }
  64744. if (B.HwbColorSpace_guQ === _0_0) {
  64745. t1 = _this.channel1OrNull;
  64746. if (t1 == null)
  64747. t1 = 0;
  64748. t2 = _this.channel2OrNull;
  64749. t1 += t2 == null ? 0 : t2;
  64750. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  64751. break $label0$0;
  64752. }
  64753. t1 = false;
  64754. break $label0$0;
  64755. }
  64756. return t1;
  64757. },
  64758. get$isChannel2Powerless() {
  64759. var t1,
  64760. _0_0 = this._space;
  64761. $label0$0: {
  64762. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  64763. t1 = this.channel1OrNull;
  64764. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64765. break $label0$0;
  64766. }
  64767. t1 = false;
  64768. break $label0$0;
  64769. }
  64770. return t1;
  64771. },
  64772. get$isInGamut() {
  64773. var t2, t3, _this = this,
  64774. t1 = _this._space;
  64775. if (!t1.get$isBoundedInternal())
  64776. return true;
  64777. t2 = _this.channel0OrNull;
  64778. if (t2 == null)
  64779. t2 = 0;
  64780. t1 = t1._channels;
  64781. t3 = false;
  64782. if (_this._isChannelInGamut$2(t2, t1[0])) {
  64783. t2 = _this.channel1OrNull;
  64784. if (t2 == null)
  64785. t2 = 0;
  64786. if (_this._isChannelInGamut$2(t2, t1[1])) {
  64787. t2 = _this.channel2OrNull;
  64788. if (t2 == null)
  64789. t2 = 0;
  64790. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  64791. } else
  64792. t1 = t3;
  64793. } else
  64794. t1 = t3;
  64795. return t1;
  64796. },
  64797. _isChannelInGamut$2(value, channel) {
  64798. var min, max, t1;
  64799. $label0$0: {
  64800. if (channel instanceof A.LinearChannel) {
  64801. min = channel.min;
  64802. max = channel.max;
  64803. if (value < max || A.fuzzyEquals(value, max))
  64804. t1 = value > min || A.fuzzyEquals(value, min);
  64805. else
  64806. t1 = false;
  64807. break $label0$0;
  64808. }
  64809. t1 = true;
  64810. break $label0$0;
  64811. }
  64812. return t1;
  64813. },
  64814. accept$1$1(visitor) {
  64815. return visitor.visitColor$1(this);
  64816. },
  64817. accept$1(visitor) {
  64818. return this.accept$1$1(visitor, type$.dynamic);
  64819. },
  64820. assertColor$1($name) {
  64821. return this;
  64822. },
  64823. assertLegacy$1($name) {
  64824. if (this._space.get$isLegacyInternal())
  64825. return;
  64826. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  64827. },
  64828. channel$1(_, channel) {
  64829. var t1, _this = this,
  64830. channels = _this._space._channels;
  64831. if (channel === channels[0].name) {
  64832. t1 = _this.channel0OrNull;
  64833. return t1 == null ? 0 : t1;
  64834. }
  64835. if (channel === channels[1].name) {
  64836. t1 = _this.channel1OrNull;
  64837. return t1 == null ? 0 : t1;
  64838. }
  64839. if (channel === channels[2].name) {
  64840. t1 = _this.channel2OrNull;
  64841. return t1 == null ? 0 : t1;
  64842. }
  64843. if (channel === "alpha") {
  64844. t1 = _this.alphaOrNull;
  64845. return t1 == null ? 0 : t1;
  64846. }
  64847. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  64848. },
  64849. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  64850. var _this = this,
  64851. channels = _this._space._channels;
  64852. if (channel === channels[0].name)
  64853. return _this.channel0OrNull == null;
  64854. if (channel === channels[1].name)
  64855. return _this.channel1OrNull == null;
  64856. if (channel === channels[2].name)
  64857. return _this.channel2OrNull == null;
  64858. if (channel === "alpha")
  64859. return _this.alphaOrNull == null;
  64860. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64861. },
  64862. isChannelMissing$1(channel) {
  64863. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  64864. },
  64865. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  64866. var _this = this,
  64867. channels = _this._space._channels;
  64868. if (channel === channels[0].name)
  64869. return _this.get$isChannel0Powerless();
  64870. if (channel === channels[1].name)
  64871. return false;
  64872. if (channel === channels[2].name)
  64873. return _this.get$isChannel2Powerless();
  64874. if (channel === "alpha")
  64875. return false;
  64876. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64877. },
  64878. _legacyChannel$2(space, channel) {
  64879. if (!this._space.get$isLegacyInternal())
  64880. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  64881. return this.toSpace$1(space).channel$1(0, channel);
  64882. },
  64883. toSpace$2$legacyMissing(space, legacyMissing) {
  64884. var t2, converted, t3, t4, _this = this,
  64885. t1 = _this._space;
  64886. if (t1 === space)
  64887. return _this;
  64888. t2 = _this.alphaOrNull;
  64889. if (t2 == null)
  64890. t2 = 0;
  64891. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  64892. t1 = false;
  64893. if (!legacyMissing)
  64894. if (converted._space.get$isLegacyInternal())
  64895. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  64896. if (t1) {
  64897. t1 = converted.channel0OrNull;
  64898. if (t1 == null)
  64899. t1 = 0;
  64900. t2 = converted.channel1OrNull;
  64901. if (t2 == null)
  64902. t2 = 0;
  64903. t3 = converted.channel2OrNull;
  64904. if (t3 == null)
  64905. t3 = 0;
  64906. t4 = converted.alphaOrNull;
  64907. if (t4 == null)
  64908. t4 = 0;
  64909. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  64910. t1 = t4;
  64911. } else
  64912. t1 = converted;
  64913. return t1;
  64914. },
  64915. toSpace$1(space) {
  64916. return this.toSpace$2$legacyMissing(space, true);
  64917. },
  64918. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  64919. var t2, t3, t4, t5, _this = this, _null = null,
  64920. t1 = _this._space;
  64921. if (!t1.get$isLegacyInternal())
  64922. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  64923. t2 = hue == null ? _null : hue;
  64924. if (t2 == null)
  64925. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  64926. t3 = saturation == null ? _null : saturation;
  64927. if (t3 == null)
  64928. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  64929. t4 = lightness == null ? _null : lightness;
  64930. if (t4 == null)
  64931. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  64932. t5 = _this.alphaOrNull;
  64933. if (t5 == null)
  64934. t5 = 0;
  64935. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  64936. },
  64937. changeHsl$1$saturation(saturation) {
  64938. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  64939. },
  64940. changeHsl$1$lightness(lightness) {
  64941. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  64942. },
  64943. changeHsl$1$hue(hue) {
  64944. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  64945. },
  64946. changeAlpha$1(alpha) {
  64947. var t2, t3, _this = this,
  64948. t1 = _this.channel0OrNull;
  64949. if (t1 == null)
  64950. t1 = 0;
  64951. t2 = _this.channel1OrNull;
  64952. if (t2 == null)
  64953. t2 = 0;
  64954. t3 = _this.channel2OrNull;
  64955. if (t3 == null)
  64956. t3 = 0;
  64957. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  64958. },
  64959. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  64960. 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;
  64961. if (A.fuzzyEquals(weight, 0))
  64962. return other;
  64963. if (A.fuzzyEquals(weight, 1))
  64964. return _this;
  64965. t1 = method.space;
  64966. color1 = _this.toSpace$1(t1);
  64967. color2 = other.toSpace$1(t1);
  64968. if (weight < 0 || weight > 1)
  64969. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  64970. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  64971. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  64972. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  64973. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  64974. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  64975. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  64976. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  64977. if (channel1_0 == null)
  64978. channel1_0 = 0;
  64979. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  64980. if (channel1_1 == null)
  64981. channel1_1 = 0;
  64982. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  64983. if (channel1_2 == null)
  64984. channel1_2 = 0;
  64985. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  64986. if (channel2_0 == null)
  64987. channel2_0 = 0;
  64988. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  64989. if (channel2_1 == null)
  64990. channel2_1 = 0;
  64991. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  64992. if (channel2_2 == null)
  64993. channel2_2 = 0;
  64994. alpha1 = _this.alphaOrNull;
  64995. t2 = alpha1 == null;
  64996. if (t2) {
  64997. t3 = other.alphaOrNull;
  64998. alpha10 = t3 == null ? 0 : t3;
  64999. } else
  65000. alpha10 = alpha1;
  65001. alpha2 = other.alphaOrNull;
  65002. t3 = alpha2 == null;
  65003. if (t3)
  65004. alpha20 = t2 ? 0 : alpha1;
  65005. else
  65006. alpha20 = alpha2;
  65007. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  65008. t4 = t3 ? 1 : alpha2;
  65009. t5 = 1 - weight;
  65010. otherMultiplier = t4 * t5;
  65011. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  65012. if (missing1_0 && missing2_0)
  65013. mixed0 = _null;
  65014. else {
  65015. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65016. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  65017. }
  65018. if (missing1_1 && missing2_1)
  65019. mixed1 = _null;
  65020. else {
  65021. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65022. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  65023. }
  65024. if (missing1_2 && missing2_2)
  65025. mixed2 = _null;
  65026. else {
  65027. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65028. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  65029. }
  65030. $label0$0: {
  65031. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  65032. if (missing1_0 && missing2_0)
  65033. t2 = _null;
  65034. else {
  65035. t2 = method.hue;
  65036. t2.toString;
  65037. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  65038. }
  65039. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  65040. t1 = t2;
  65041. break $label0$0;
  65042. }
  65043. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  65044. if (missing1_2 && missing2_2)
  65045. t2 = _null;
  65046. else {
  65047. t2 = method.hue;
  65048. t2.toString;
  65049. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  65050. }
  65051. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  65052. t1 = t2;
  65053. break $label0$0;
  65054. }
  65055. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  65056. break $label0$0;
  65057. }
  65058. return t1.toSpace$2$legacyMissing(_this._space, false);
  65059. },
  65060. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  65061. var originalChannel;
  65062. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  65063. return true;
  65064. if (original === output)
  65065. return false;
  65066. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  65067. if (originalChannel == null)
  65068. return false;
  65069. return original.isChannelMissing$1(originalChannel.name);
  65070. },
  65071. _interpolateHues$4(hue1, hue2, method, weight) {
  65072. var _0_0, _1_0;
  65073. $label1$1: {
  65074. if (B.HueInterpolationMethod_0 === method) {
  65075. $label0$0: {
  65076. _0_0 = hue2 - hue1;
  65077. if (_0_0 > 180) {
  65078. hue1 += 360;
  65079. break $label0$0;
  65080. }
  65081. if (_0_0 < -180)
  65082. hue2 += 360;
  65083. }
  65084. break $label1$1;
  65085. }
  65086. if (B.HueInterpolationMethod_1 === method) {
  65087. $label2$2: {
  65088. _1_0 = hue2 - hue1;
  65089. if (_1_0 > 0 && _1_0 < 180) {
  65090. hue2 += 360;
  65091. break $label2$2;
  65092. }
  65093. if (_1_0 > -180 && _1_0 <= 0)
  65094. hue1 += 360;
  65095. }
  65096. break $label1$1;
  65097. }
  65098. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  65099. hue2 += 360;
  65100. break $label1$1;
  65101. }
  65102. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  65103. hue1 += 360;
  65104. break $label1$1;
  65105. }
  65106. }
  65107. return hue1 * weight + hue2 * (1 - weight);
  65108. },
  65109. plus$1(other) {
  65110. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65111. return this.super$Value$plus(other);
  65112. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65113. },
  65114. minus$1(other) {
  65115. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65116. return this.super$Value$minus(other);
  65117. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  65118. },
  65119. dividedBy$1(other) {
  65120. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65121. return this.super$Value$dividedBy(other);
  65122. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  65123. },
  65124. $eq(_, other) {
  65125. var t1, t2, _this = this;
  65126. if (other == null)
  65127. return false;
  65128. if (!(other instanceof A.SassColor))
  65129. return false;
  65130. t1 = _this._space;
  65131. if (t1.get$isLegacyInternal()) {
  65132. t2 = other._space;
  65133. if (!t2.get$isLegacyInternal())
  65134. return false;
  65135. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65136. return false;
  65137. if (t1 === t2)
  65138. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65139. else
  65140. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65141. }
  65142. 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);
  65143. },
  65144. get$hashCode(_) {
  65145. var rgb, t2, t3, t4, t5, _this = this,
  65146. t1 = _this._space;
  65147. if (t1.get$isLegacyInternal()) {
  65148. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65149. t1 = rgb.channel0OrNull;
  65150. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65151. t2 = rgb.channel1OrNull;
  65152. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65153. t3 = rgb.channel2OrNull;
  65154. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65155. t4 = _this.alphaOrNull;
  65156. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65157. } else {
  65158. t1 = A.Primitives_objectHashCode(t1);
  65159. t2 = _this.channel0OrNull;
  65160. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65161. t3 = _this.channel1OrNull;
  65162. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65163. t4 = _this.channel2OrNull;
  65164. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65165. t5 = _this.alphaOrNull;
  65166. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65167. }
  65168. }
  65169. };
  65170. A.SassColor$_forSpace_closure.prototype = {
  65171. call$1(alpha) {
  65172. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65173. },
  65174. $signature: 16
  65175. };
  65176. A._ColorFormatEnum.prototype = {
  65177. toString$0(_) {
  65178. return "rgbFunction";
  65179. }
  65180. };
  65181. A.SpanColorFormat.prototype = {};
  65182. A.ColorChannel.prototype = {
  65183. isAnalogous$1(other) {
  65184. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65185. _0_1 = this.name,
  65186. _0_6 = other.name;
  65187. $label0$0: {
  65188. if ("red" !== _0_1)
  65189. _0_6_isSet = "x" === _0_1;
  65190. else
  65191. _0_6_isSet = true;
  65192. if (_0_6_isSet) {
  65193. if ("red" !== _0_6)
  65194. t1 = "x" === _0_6;
  65195. else
  65196. t1 = true;
  65197. _0_60 = _0_6;
  65198. } else {
  65199. _0_60 = null;
  65200. t1 = false;
  65201. }
  65202. t2 = true;
  65203. if (!t1) {
  65204. if ("green" !== _0_1)
  65205. t1 = "y" === _0_1;
  65206. else
  65207. t1 = true;
  65208. if (t1) {
  65209. _0_6_isSet0 = true;
  65210. if (_0_6_isSet)
  65211. t1 = _0_60;
  65212. else {
  65213. t1 = _0_6;
  65214. _0_6_isSet = _0_6_isSet0;
  65215. _0_60 = t1;
  65216. }
  65217. if ("green" !== t1) {
  65218. if (_0_6_isSet)
  65219. t1 = _0_60;
  65220. else {
  65221. t1 = _0_6;
  65222. _0_6_isSet = _0_6_isSet0;
  65223. _0_60 = t1;
  65224. }
  65225. t1 = "y" === t1;
  65226. } else
  65227. t1 = true;
  65228. } else
  65229. t1 = false;
  65230. if (!t1) {
  65231. if ("blue" !== _0_1)
  65232. t1 = "z" === _0_1;
  65233. else
  65234. t1 = true;
  65235. if (t1) {
  65236. _0_6_isSet0 = true;
  65237. if (_0_6_isSet)
  65238. t1 = _0_60;
  65239. else {
  65240. t1 = _0_6;
  65241. _0_6_isSet = _0_6_isSet0;
  65242. _0_60 = t1;
  65243. }
  65244. if ("blue" !== t1) {
  65245. if (_0_6_isSet)
  65246. t1 = _0_60;
  65247. else {
  65248. t1 = _0_6;
  65249. _0_6_isSet = _0_6_isSet0;
  65250. _0_60 = t1;
  65251. }
  65252. t1 = "z" === t1;
  65253. } else
  65254. t1 = true;
  65255. } else
  65256. t1 = false;
  65257. if (!t1) {
  65258. if ("chroma" !== _0_1)
  65259. t1 = "saturation" === _0_1;
  65260. else
  65261. t1 = true;
  65262. if (t1) {
  65263. _0_6_isSet0 = true;
  65264. if (_0_6_isSet)
  65265. t1 = _0_60;
  65266. else {
  65267. t1 = _0_6;
  65268. _0_6_isSet = _0_6_isSet0;
  65269. _0_60 = t1;
  65270. }
  65271. if ("chroma" !== t1) {
  65272. if (_0_6_isSet)
  65273. t1 = _0_60;
  65274. else {
  65275. t1 = _0_6;
  65276. _0_6_isSet = _0_6_isSet0;
  65277. _0_60 = t1;
  65278. }
  65279. t1 = "saturation" === t1;
  65280. } else
  65281. t1 = true;
  65282. } else
  65283. t1 = false;
  65284. if (!t1) {
  65285. if ("lightness" === _0_1) {
  65286. if (_0_6_isSet)
  65287. t1 = _0_60;
  65288. else {
  65289. t1 = _0_6;
  65290. _0_60 = t1;
  65291. _0_6_isSet = true;
  65292. }
  65293. t1 = "lightness" === t1;
  65294. } else
  65295. t1 = false;
  65296. if (!t1)
  65297. if ("hue" === _0_1)
  65298. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65299. else
  65300. t1 = false;
  65301. else
  65302. t1 = t2;
  65303. } else
  65304. t1 = t2;
  65305. } else
  65306. t1 = t2;
  65307. } else
  65308. t1 = t2;
  65309. } else
  65310. t1 = t2;
  65311. break $label0$0;
  65312. }
  65313. return t1;
  65314. }
  65315. };
  65316. A.LinearChannel.prototype = {};
  65317. A.GamutMapMethod.prototype = {
  65318. toString$0(_) {
  65319. return this.name;
  65320. }
  65321. };
  65322. A.ClipGamutMap.prototype = {
  65323. map$1(_, color) {
  65324. var t1 = color._space,
  65325. t2 = t1._channels;
  65326. 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);
  65327. },
  65328. _clampChannel$2(value, channel) {
  65329. var t1, min;
  65330. if (value == null)
  65331. t1 = null;
  65332. else
  65333. $label0$0: {
  65334. if (channel instanceof A.LinearChannel) {
  65335. min = channel.min;
  65336. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65337. break $label0$0;
  65338. }
  65339. t1 = value;
  65340. break $label0$0;
  65341. }
  65342. return t1;
  65343. }
  65344. };
  65345. A.LocalMindeGamutMap.prototype = {
  65346. map$1(_, color) {
  65347. var clipped, max, min, minInGamut, chroma, current, e,
  65348. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65349. lightness = originOklch.channel0OrNull,
  65350. hue = originOklch.channel2OrNull,
  65351. alpha = originOklch.alphaOrNull,
  65352. t1 = lightness == null,
  65353. t2 = t1 ? 0 : lightness;
  65354. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65355. t1 = color._space;
  65356. t2 = color.alphaOrNull;
  65357. 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);
  65358. } else {
  65359. t1 = t1 ? 0 : lightness;
  65360. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65361. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65362. }
  65363. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65364. if (this._deltaEOK$2(clipped, color) < 0.02)
  65365. return clipped;
  65366. max = originOklch.channel1OrNull;
  65367. if (max == null)
  65368. max = 0;
  65369. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65370. chroma = (min + max) / 2;
  65371. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65372. if (minInGamut && current.get$isInGamut()) {
  65373. min = chroma;
  65374. continue;
  65375. }
  65376. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65377. e = this._deltaEOK$2(clipped, current);
  65378. if (e < 0.02) {
  65379. if (0.02 - e < 0.0001)
  65380. return clipped;
  65381. min = chroma;
  65382. minInGamut = false;
  65383. } else
  65384. max = chroma;
  65385. }
  65386. return clipped;
  65387. },
  65388. _deltaEOK$2(color1, color2) {
  65389. var t2, t3, t4,
  65390. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65391. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65392. t1 = lab1.channel0OrNull;
  65393. if (t1 == null)
  65394. t1 = 0;
  65395. t2 = lab2.channel0OrNull;
  65396. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65397. t2 = lab1.channel1OrNull;
  65398. if (t2 == null)
  65399. t2 = 0;
  65400. t3 = lab2.channel1OrNull;
  65401. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65402. t3 = lab1.channel2OrNull;
  65403. if (t3 == null)
  65404. t3 = 0;
  65405. t4 = lab2.channel2OrNull;
  65406. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65407. }
  65408. };
  65409. A.InterpolationMethod.prototype = {
  65410. toString$0(_) {
  65411. var t1 = this.hue;
  65412. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65413. return this.space.name + t1;
  65414. }
  65415. };
  65416. A.HueInterpolationMethod.prototype = {
  65417. _enumToString$0() {
  65418. return "HueInterpolationMethod." + this._name;
  65419. }
  65420. };
  65421. A.ColorSpace.prototype = {
  65422. get$isLegacyInternal() {
  65423. return false;
  65424. },
  65425. get$isPolarInternal() {
  65426. return false;
  65427. },
  65428. convert$5(dest, channel0, channel1, channel2, alpha) {
  65429. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65430. },
  65431. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65432. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65433. $label0$0: {
  65434. t1 = B.HslColorSpace_JQ2 !== dest;
  65435. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65436. t2 = B.SrgbColorSpace_thf;
  65437. break $label0$0;
  65438. }
  65439. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65440. t2 = B.XyzD50ColorSpace_2OB;
  65441. break $label0$0;
  65442. }
  65443. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65444. t2 = B.LmsColorSpace_Os3;
  65445. break $label0$0;
  65446. }
  65447. t2 = dest;
  65448. break $label0$0;
  65449. }
  65450. if (t2 === _this) {
  65451. transformedBlue = blue;
  65452. transformedGreen = green;
  65453. transformedRed = red;
  65454. } else {
  65455. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65456. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65457. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65458. matrix = _this.transformationMatrix$1(t2);
  65459. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65460. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65461. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65462. }
  65463. $label1$1: {
  65464. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65465. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65466. break $label1$1;
  65467. }
  65468. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65469. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65470. break $label1$1;
  65471. }
  65472. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65473. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65474. break $label1$1;
  65475. }
  65476. t1 = red == null ? null : transformedRed;
  65477. t2 = green == null ? null : transformedGreen;
  65478. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65479. break $label1$1;
  65480. }
  65481. return t1;
  65482. },
  65483. convertLinear$5(dest, red, green, blue, alpha) {
  65484. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65485. },
  65486. toLinear$1(channel) {
  65487. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65488. },
  65489. fromLinear$1(channel) {
  65490. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65491. },
  65492. transformationMatrix$1(dest) {
  65493. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65494. },
  65495. toString$0(_) {
  65496. return this.name;
  65497. }
  65498. };
  65499. A.A98RgbColorSpace.prototype = {
  65500. get$isBoundedInternal() {
  65501. return true;
  65502. },
  65503. toLinear$1(channel) {
  65504. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  65505. },
  65506. fromLinear$1(channel) {
  65507. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  65508. },
  65509. transformationMatrix$1(dest) {
  65510. var t1;
  65511. $label0$0: {
  65512. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65513. t1 = $.$get$linearA98RgbToLinearSrgb();
  65514. break $label0$0;
  65515. }
  65516. if (B.DisplayP3ColorSpace_MmT === dest) {
  65517. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  65518. break $label0$0;
  65519. }
  65520. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65521. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  65522. break $label0$0;
  65523. }
  65524. if (B.Rec2020ColorSpace_6oo === dest) {
  65525. t1 = $.$get$linearA98RgbToLinearRec2020();
  65526. break $label0$0;
  65527. }
  65528. if (B.XyzD65ColorSpace_WiJ === dest) {
  65529. t1 = $.$get$linearA98RgbToXyzD65();
  65530. break $label0$0;
  65531. }
  65532. if (B.XyzD50ColorSpace_2OB === dest) {
  65533. t1 = $.$get$linearA98RgbToXyzD50();
  65534. break $label0$0;
  65535. }
  65536. if (B.LmsColorSpace_Os3 === dest) {
  65537. t1 = $.$get$linearA98RgbToLms();
  65538. break $label0$0;
  65539. }
  65540. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65541. break $label0$0;
  65542. }
  65543. return t1;
  65544. }
  65545. };
  65546. A.DisplayP3ColorSpace.prototype = {
  65547. get$isBoundedInternal() {
  65548. return true;
  65549. },
  65550. toLinear$1(channel) {
  65551. return A.srgbAndDisplayP3ToLinear(channel);
  65552. },
  65553. fromLinear$1(channel) {
  65554. return A.srgbAndDisplayP3FromLinear(channel);
  65555. },
  65556. transformationMatrix$1(dest) {
  65557. var t1;
  65558. $label0$0: {
  65559. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65560. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  65561. break $label0$0;
  65562. }
  65563. if (B.A98RgbColorSpace_lf2 === dest) {
  65564. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  65565. break $label0$0;
  65566. }
  65567. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65568. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  65569. break $label0$0;
  65570. }
  65571. if (B.Rec2020ColorSpace_6oo === dest) {
  65572. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  65573. break $label0$0;
  65574. }
  65575. if (B.XyzD65ColorSpace_WiJ === dest) {
  65576. t1 = $.$get$linearDisplayP3ToXyzD65();
  65577. break $label0$0;
  65578. }
  65579. if (B.XyzD50ColorSpace_2OB === dest) {
  65580. t1 = $.$get$linearDisplayP3ToXyzD50();
  65581. break $label0$0;
  65582. }
  65583. if (B.LmsColorSpace_Os3 === dest) {
  65584. t1 = $.$get$linearDisplayP3ToLms();
  65585. break $label0$0;
  65586. }
  65587. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65588. break $label0$0;
  65589. }
  65590. return t1;
  65591. }
  65592. };
  65593. A.HslColorSpace.prototype = {
  65594. get$isBoundedInternal() {
  65595. return true;
  65596. },
  65597. get$isLegacyInternal() {
  65598. return true;
  65599. },
  65600. get$isPolarInternal() {
  65601. return true;
  65602. },
  65603. convert$5(dest, hue, saturation, lightness, alpha) {
  65604. var t1 = hue == null,
  65605. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  65606. t2 = saturation == null,
  65607. scaledSaturation = (t2 ? 0 : saturation) / 100,
  65608. t3 = lightness == null,
  65609. scaledLightness = (t3 ? 0 : lightness) / 100,
  65610. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  65611. m1 = scaledLightness * 2 - m2;
  65612. 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);
  65613. }
  65614. };
  65615. A.HwbColorSpace.prototype = {
  65616. get$isBoundedInternal() {
  65617. return true;
  65618. },
  65619. get$isLegacyInternal() {
  65620. return true;
  65621. },
  65622. get$isPolarInternal() {
  65623. return true;
  65624. },
  65625. convert$5(dest, hue, whiteness, blackness, alpha) {
  65626. var t3, t1 = {},
  65627. t2 = hue == null,
  65628. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  65629. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  65630. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  65631. sum = scaledWhiteness + scaledBlackness;
  65632. if (sum > 1) {
  65633. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  65634. scaledBlackness /= sum;
  65635. } else
  65636. t3 = scaledWhiteness;
  65637. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  65638. 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);
  65639. }
  65640. };
  65641. A.HwbColorSpace_convert_toRgb.prototype = {
  65642. call$1(hue) {
  65643. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  65644. },
  65645. $signature: 16
  65646. };
  65647. A.LabColorSpace.prototype = {
  65648. get$isBoundedInternal() {
  65649. return false;
  65650. },
  65651. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65652. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  65653. switch (dest) {
  65654. case B.LabColorSpace_2nT:
  65655. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  65656. t1 = a == null || powerlessAB ? null : a;
  65657. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  65658. case B.LchColorSpace_Bpv:
  65659. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  65660. default:
  65661. missingLightness = lightness == null;
  65662. if (missingLightness)
  65663. lightness = 0;
  65664. f1 = (lightness + 16) / 116;
  65665. t1 = a == null;
  65666. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  65667. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  65668. t4 = b == null;
  65669. 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);
  65670. }
  65671. },
  65672. convert$5(dest, lightness, a, b, alpha) {
  65673. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65674. },
  65675. _convertFToXorZ$1(component) {
  65676. var cubed = Math.pow(component, 3) + 0;
  65677. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  65678. }
  65679. };
  65680. A.LchColorSpace.prototype = {
  65681. get$isBoundedInternal() {
  65682. return false;
  65683. },
  65684. get$isPolarInternal() {
  65685. return true;
  65686. },
  65687. convert$5(dest, lightness, chroma, hue, alpha) {
  65688. var t1 = hue == null,
  65689. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65690. t2 = chroma == null,
  65691. t3 = t2 ? 0 : chroma,
  65692. t4 = Math.cos(hueRadians),
  65693. t5 = t2 ? 0 : chroma;
  65694. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65695. }
  65696. };
  65697. A.LmsColorSpace.prototype = {
  65698. get$isBoundedInternal() {
  65699. return false;
  65700. },
  65701. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65702. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  65703. switch (dest) {
  65704. case B.OklabColorSpace_540:
  65705. t1 = long == null ? 0 : long;
  65706. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65707. t1 = medium == null ? 0 : medium;
  65708. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65709. t1 = short == null ? 0 : short;
  65710. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65711. t1 = $.$get$lmsToOklab();
  65712. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65713. t2 = missingLightness ? _null : lightness;
  65714. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  65715. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  65716. case B.OklchColorSpace_9Gj:
  65717. t1 = long == null ? 0 : long;
  65718. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65719. t1 = medium == null ? 0 : medium;
  65720. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65721. t1 = short == null ? 0 : short;
  65722. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65723. if (missingLightness)
  65724. t1 = _null;
  65725. else {
  65726. t1 = $.$get$lmsToOklab();
  65727. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65728. }
  65729. t2 = $.$get$lmsToOklab();
  65730. 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);
  65731. default:
  65732. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65733. }
  65734. },
  65735. convert$5(dest, long, medium, short, alpha) {
  65736. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  65737. },
  65738. toLinear$1(channel) {
  65739. return channel;
  65740. },
  65741. fromLinear$1(channel) {
  65742. return channel;
  65743. },
  65744. transformationMatrix$1(dest) {
  65745. var t1;
  65746. $label0$0: {
  65747. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65748. t1 = $.$get$lmsToLinearSrgb();
  65749. break $label0$0;
  65750. }
  65751. if (B.A98RgbColorSpace_lf2 === dest) {
  65752. t1 = $.$get$lmsToLinearA98Rgb();
  65753. break $label0$0;
  65754. }
  65755. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65756. t1 = $.$get$lmsToLinearProphotoRgb();
  65757. break $label0$0;
  65758. }
  65759. if (B.DisplayP3ColorSpace_MmT === dest) {
  65760. t1 = $.$get$lmsToLinearDisplayP3();
  65761. break $label0$0;
  65762. }
  65763. if (B.Rec2020ColorSpace_6oo === dest) {
  65764. t1 = $.$get$lmsToLinearRec2020();
  65765. break $label0$0;
  65766. }
  65767. if (B.XyzD65ColorSpace_WiJ === dest) {
  65768. t1 = $.$get$lmsToXyzD65();
  65769. break $label0$0;
  65770. }
  65771. if (B.XyzD50ColorSpace_2OB === dest) {
  65772. t1 = $.$get$lmsToXyzD50();
  65773. break $label0$0;
  65774. }
  65775. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65776. break $label0$0;
  65777. }
  65778. return t1;
  65779. }
  65780. };
  65781. A.OklabColorSpace.prototype = {
  65782. get$isBoundedInternal() {
  65783. return false;
  65784. },
  65785. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65786. var missingLightness, missingA, missingB, t1;
  65787. if (dest === B.OklchColorSpace_9Gj)
  65788. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  65789. missingLightness = lightness == null;
  65790. missingA = a == null;
  65791. missingB = b == null;
  65792. if (missingLightness)
  65793. lightness = 0;
  65794. if (missingA)
  65795. a = 0;
  65796. if (missingB)
  65797. b = 0;
  65798. t1 = $.$get$oklabToLms();
  65799. 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);
  65800. },
  65801. convert$5(dest, lightness, a, b, alpha) {
  65802. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65803. }
  65804. };
  65805. A.OklchColorSpace.prototype = {
  65806. get$isBoundedInternal() {
  65807. return false;
  65808. },
  65809. get$isPolarInternal() {
  65810. return true;
  65811. },
  65812. convert$5(dest, lightness, chroma, hue, alpha) {
  65813. var t1 = hue == null,
  65814. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65815. t2 = chroma == null,
  65816. t3 = t2 ? 0 : chroma,
  65817. t4 = Math.cos(hueRadians),
  65818. t5 = t2 ? 0 : chroma;
  65819. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65820. }
  65821. };
  65822. A.ProphotoRgbColorSpace.prototype = {
  65823. get$isBoundedInternal() {
  65824. return true;
  65825. },
  65826. toLinear$1(channel) {
  65827. var abs = Math.abs(channel);
  65828. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  65829. },
  65830. fromLinear$1(channel) {
  65831. var abs = Math.abs(channel);
  65832. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  65833. },
  65834. transformationMatrix$1(dest) {
  65835. var t1;
  65836. $label0$0: {
  65837. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65838. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  65839. break $label0$0;
  65840. }
  65841. if (B.A98RgbColorSpace_lf2 === dest) {
  65842. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  65843. break $label0$0;
  65844. }
  65845. if (B.DisplayP3ColorSpace_MmT === dest) {
  65846. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  65847. break $label0$0;
  65848. }
  65849. if (B.Rec2020ColorSpace_6oo === dest) {
  65850. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  65851. break $label0$0;
  65852. }
  65853. if (B.XyzD65ColorSpace_WiJ === dest) {
  65854. t1 = $.$get$linearProphotoRgbToXyzD65();
  65855. break $label0$0;
  65856. }
  65857. if (B.XyzD50ColorSpace_2OB === dest) {
  65858. t1 = $.$get$linearProphotoRgbToXyzD50();
  65859. break $label0$0;
  65860. }
  65861. if (B.LmsColorSpace_Os3 === dest) {
  65862. t1 = $.$get$linearProphotoRgbToLms();
  65863. break $label0$0;
  65864. }
  65865. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65866. break $label0$0;
  65867. }
  65868. return t1;
  65869. }
  65870. };
  65871. A.Rec2020ColorSpace.prototype = {
  65872. get$isBoundedInternal() {
  65873. return true;
  65874. },
  65875. toLinear$1(channel) {
  65876. var abs = Math.abs(channel);
  65877. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  65878. },
  65879. fromLinear$1(channel) {
  65880. var abs = Math.abs(channel);
  65881. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  65882. },
  65883. transformationMatrix$1(dest) {
  65884. var t1;
  65885. $label0$0: {
  65886. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65887. t1 = $.$get$linearRec2020ToLinearSrgb();
  65888. break $label0$0;
  65889. }
  65890. if (B.A98RgbColorSpace_lf2 === dest) {
  65891. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  65892. break $label0$0;
  65893. }
  65894. if (B.DisplayP3ColorSpace_MmT === dest) {
  65895. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  65896. break $label0$0;
  65897. }
  65898. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65899. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  65900. break $label0$0;
  65901. }
  65902. if (B.XyzD65ColorSpace_WiJ === dest) {
  65903. t1 = $.$get$linearRec2020ToXyzD65();
  65904. break $label0$0;
  65905. }
  65906. if (B.XyzD50ColorSpace_2OB === dest) {
  65907. t1 = $.$get$linearRec2020ToXyzD50();
  65908. break $label0$0;
  65909. }
  65910. if (B.LmsColorSpace_Os3 === dest) {
  65911. t1 = $.$get$linearRec2020ToLms();
  65912. break $label0$0;
  65913. }
  65914. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65915. break $label0$0;
  65916. }
  65917. return t1;
  65918. }
  65919. };
  65920. A.RgbColorSpace.prototype = {
  65921. get$isBoundedInternal() {
  65922. return true;
  65923. },
  65924. get$isLegacyInternal() {
  65925. return true;
  65926. },
  65927. convert$5(dest, red, green, blue, alpha) {
  65928. var t1 = red == null ? null : red / 255,
  65929. t2 = green == null ? null : green / 255;
  65930. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  65931. },
  65932. toLinear$1(channel) {
  65933. return A.srgbAndDisplayP3ToLinear(channel / 255);
  65934. },
  65935. fromLinear$1(channel) {
  65936. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  65937. }
  65938. };
  65939. A.SrgbColorSpace.prototype = {
  65940. get$isBoundedInternal() {
  65941. return true;
  65942. },
  65943. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  65944. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  65945. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  65946. if (red == null)
  65947. red = 0;
  65948. if (green == null)
  65949. green = 0;
  65950. if (blue == null)
  65951. blue = 0;
  65952. max = Math.max(Math.max(red, green), blue);
  65953. min = Math.min(Math.min(red, green), blue);
  65954. delta = max - min;
  65955. if (max === min)
  65956. hue = 0;
  65957. else if (max === red)
  65958. hue = 60 * (green - blue) / delta + 360;
  65959. else
  65960. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  65961. if (dest === B.HslColorSpace_JQ2) {
  65962. lightness = (min + max) / 2;
  65963. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  65964. if (saturation < 0) {
  65965. hue += 180;
  65966. saturation = Math.abs(saturation);
  65967. }
  65968. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  65969. t2 = missingChroma ? _null : saturation;
  65970. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  65971. } else {
  65972. whiteness = min * 100;
  65973. blackness = 100 - max * 100;
  65974. if (!missingHue) {
  65975. t1 = whiteness + blackness;
  65976. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  65977. } else
  65978. t1 = true;
  65979. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  65980. }
  65981. }
  65982. if (B.RgbColorSpace_i0P === dest) {
  65983. t1 = red == null ? _null : red * 255;
  65984. t2 = green == null ? _null : green * 255;
  65985. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  65986. }
  65987. if (B.SrgbLinearColorSpace_kUj === dest) {
  65988. t1 = this.get$toLinear();
  65989. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  65990. }
  65991. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  65992. },
  65993. convert$5(dest, red, green, blue, alpha) {
  65994. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  65995. },
  65996. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  65997. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  65998. },
  65999. toLinear$1(channel) {
  66000. return A.srgbAndDisplayP3ToLinear(channel);
  66001. },
  66002. fromLinear$1(channel) {
  66003. return A.srgbAndDisplayP3FromLinear(channel);
  66004. },
  66005. transformationMatrix$1(dest) {
  66006. var t1;
  66007. $label0$0: {
  66008. if (B.DisplayP3ColorSpace_MmT === dest) {
  66009. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66010. break $label0$0;
  66011. }
  66012. if (B.A98RgbColorSpace_lf2 === dest) {
  66013. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66014. break $label0$0;
  66015. }
  66016. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66017. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66018. break $label0$0;
  66019. }
  66020. if (B.Rec2020ColorSpace_6oo === dest) {
  66021. t1 = $.$get$linearSrgbToLinearRec2020();
  66022. break $label0$0;
  66023. }
  66024. if (B.XyzD65ColorSpace_WiJ === dest) {
  66025. t1 = $.$get$linearSrgbToXyzD65();
  66026. break $label0$0;
  66027. }
  66028. if (B.XyzD50ColorSpace_2OB === dest) {
  66029. t1 = $.$get$linearSrgbToXyzD50();
  66030. break $label0$0;
  66031. }
  66032. if (B.LmsColorSpace_Os3 === dest) {
  66033. t1 = $.$get$linearSrgbToLms();
  66034. break $label0$0;
  66035. }
  66036. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66037. break $label0$0;
  66038. }
  66039. return t1;
  66040. }
  66041. };
  66042. A.SrgbLinearColorSpace.prototype = {
  66043. get$isBoundedInternal() {
  66044. return true;
  66045. },
  66046. convert$5(dest, red, green, blue, alpha) {
  66047. var t1;
  66048. $label0$0: {
  66049. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  66050. 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);
  66051. break $label0$0;
  66052. }
  66053. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  66054. break $label0$0;
  66055. }
  66056. return t1;
  66057. },
  66058. toLinear$1(channel) {
  66059. return channel;
  66060. },
  66061. fromLinear$1(channel) {
  66062. return channel;
  66063. },
  66064. transformationMatrix$1(dest) {
  66065. var t1;
  66066. $label0$0: {
  66067. if (B.DisplayP3ColorSpace_MmT === dest) {
  66068. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66069. break $label0$0;
  66070. }
  66071. if (B.A98RgbColorSpace_lf2 === dest) {
  66072. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66073. break $label0$0;
  66074. }
  66075. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66076. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66077. break $label0$0;
  66078. }
  66079. if (B.Rec2020ColorSpace_6oo === dest) {
  66080. t1 = $.$get$linearSrgbToLinearRec2020();
  66081. break $label0$0;
  66082. }
  66083. if (B.XyzD65ColorSpace_WiJ === dest) {
  66084. t1 = $.$get$linearSrgbToXyzD65();
  66085. break $label0$0;
  66086. }
  66087. if (B.XyzD50ColorSpace_2OB === dest) {
  66088. t1 = $.$get$linearSrgbToXyzD50();
  66089. break $label0$0;
  66090. }
  66091. if (B.LmsColorSpace_Os3 === dest) {
  66092. t1 = $.$get$linearSrgbToLms();
  66093. break $label0$0;
  66094. }
  66095. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66096. break $label0$0;
  66097. }
  66098. return t1;
  66099. }
  66100. };
  66101. A.XyzD50ColorSpace.prototype = {
  66102. get$isBoundedInternal() {
  66103. return false;
  66104. },
  66105. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  66106. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  66107. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  66108. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  66109. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  66110. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  66111. lightness = missingLightness ? _null : 116 * f1 - 16;
  66112. a = 500 * (f0 - f1);
  66113. b = 200 * (f1 - f2);
  66114. if (dest === B.LabColorSpace_2nT) {
  66115. t1 = missingA ? _null : a;
  66116. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  66117. } else
  66118. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  66119. return t1;
  66120. }
  66121. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66122. },
  66123. convert$5(dest, x, y, z, alpha) {
  66124. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  66125. },
  66126. _convertComponentToLabF$1(component) {
  66127. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66128. },
  66129. toLinear$1(channel) {
  66130. return channel;
  66131. },
  66132. fromLinear$1(channel) {
  66133. return channel;
  66134. },
  66135. transformationMatrix$1(dest) {
  66136. var t1;
  66137. $label0$0: {
  66138. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66139. t1 = $.$get$xyzD50ToLinearSrgb();
  66140. break $label0$0;
  66141. }
  66142. if (B.A98RgbColorSpace_lf2 === dest) {
  66143. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66144. break $label0$0;
  66145. }
  66146. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66147. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66148. break $label0$0;
  66149. }
  66150. if (B.DisplayP3ColorSpace_MmT === dest) {
  66151. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66152. break $label0$0;
  66153. }
  66154. if (B.Rec2020ColorSpace_6oo === dest) {
  66155. t1 = $.$get$xyzD50ToLinearRec2020();
  66156. break $label0$0;
  66157. }
  66158. if (B.XyzD65ColorSpace_WiJ === dest) {
  66159. t1 = $.$get$xyzD50ToXyzD65();
  66160. break $label0$0;
  66161. }
  66162. if (B.LmsColorSpace_Os3 === dest) {
  66163. t1 = $.$get$xyzD50ToLms();
  66164. break $label0$0;
  66165. }
  66166. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66167. break $label0$0;
  66168. }
  66169. return t1;
  66170. }
  66171. };
  66172. A.XyzD65ColorSpace.prototype = {
  66173. get$isBoundedInternal() {
  66174. return false;
  66175. },
  66176. toLinear$1(channel) {
  66177. return channel;
  66178. },
  66179. fromLinear$1(channel) {
  66180. return channel;
  66181. },
  66182. transformationMatrix$1(dest) {
  66183. var t1;
  66184. $label0$0: {
  66185. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66186. t1 = $.$get$xyzD65ToLinearSrgb();
  66187. break $label0$0;
  66188. }
  66189. if (B.A98RgbColorSpace_lf2 === dest) {
  66190. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66191. break $label0$0;
  66192. }
  66193. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66194. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66195. break $label0$0;
  66196. }
  66197. if (B.DisplayP3ColorSpace_MmT === dest) {
  66198. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66199. break $label0$0;
  66200. }
  66201. if (B.Rec2020ColorSpace_6oo === dest) {
  66202. t1 = $.$get$xyzD65ToLinearRec2020();
  66203. break $label0$0;
  66204. }
  66205. if (B.XyzD50ColorSpace_2OB === dest) {
  66206. t1 = $.$get$xyzD65ToXyzD50();
  66207. break $label0$0;
  66208. }
  66209. if (B.LmsColorSpace_Os3 === dest) {
  66210. t1 = $.$get$xyzD65ToLms();
  66211. break $label0$0;
  66212. }
  66213. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66214. break $label0$0;
  66215. }
  66216. return t1;
  66217. }
  66218. };
  66219. A.SassFunction.prototype = {
  66220. accept$1$1(visitor) {
  66221. var t1, t2;
  66222. if (!visitor._inspect)
  66223. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66224. t1 = visitor._serialize$_buffer;
  66225. t1.write$1(0, "get-function(");
  66226. t2 = this.callable;
  66227. visitor._visitQuotedString$1(t2.get$name(t2));
  66228. t1.writeCharCode$1(41);
  66229. return null;
  66230. },
  66231. accept$1(visitor) {
  66232. return this.accept$1$1(visitor, type$.dynamic);
  66233. },
  66234. assertFunction$1($name) {
  66235. return this;
  66236. },
  66237. assertCompileContext$1(compileContext) {
  66238. var t1 = this._function$_compileContext !== compileContext;
  66239. if (t1)
  66240. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66241. return this;
  66242. },
  66243. $eq(_, other) {
  66244. if (other == null)
  66245. return false;
  66246. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66247. },
  66248. get$hashCode(_) {
  66249. var t1 = this.callable;
  66250. return t1.get$hashCode(t1);
  66251. }
  66252. };
  66253. A.SassList.prototype = {
  66254. get$separator(_) {
  66255. return this._separator;
  66256. },
  66257. get$hasBrackets() {
  66258. return this._hasBrackets;
  66259. },
  66260. get$isBlank() {
  66261. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66262. },
  66263. get$asList() {
  66264. return this._list$_contents;
  66265. },
  66266. get$lengthAsList() {
  66267. return this._list$_contents.length;
  66268. },
  66269. SassList$3$brackets(contents, _separator, brackets) {
  66270. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  66271. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66272. },
  66273. toString$0(_) {
  66274. var t2, _this = this,
  66275. t1 = true;
  66276. if (!_this._hasBrackets) {
  66277. t2 = _this._list$_contents.length;
  66278. if (t2 !== 0)
  66279. t1 = t2 === 1 && _this._separator === B.ListSeparator_qVN;
  66280. }
  66281. if (t1)
  66282. return _this.super$Value$toString(0);
  66283. return "(" + _this.super$Value$toString(0) + ")";
  66284. },
  66285. accept$1$1(visitor) {
  66286. return visitor.visitList$1(this);
  66287. },
  66288. accept$1(visitor) {
  66289. return this.accept$1$1(visitor, type$.dynamic);
  66290. },
  66291. assertMap$1($name) {
  66292. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66293. },
  66294. tryMap$0() {
  66295. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66296. },
  66297. $eq(_, other) {
  66298. var t1, _this = this;
  66299. if (other == null)
  66300. return false;
  66301. 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)))
  66302. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66303. else
  66304. t1 = true;
  66305. return t1;
  66306. },
  66307. get$hashCode(_) {
  66308. return B.C_ListEquality0.hash$1(this._list$_contents);
  66309. }
  66310. };
  66311. A.SassList_isBlank_closure.prototype = {
  66312. call$1(element) {
  66313. return element.get$isBlank();
  66314. },
  66315. $signature: 67
  66316. };
  66317. A.ListSeparator.prototype = {
  66318. _enumToString$0() {
  66319. return "ListSeparator." + this._name;
  66320. },
  66321. toString$0(_) {
  66322. return this._list$_name;
  66323. }
  66324. };
  66325. A.SassMap.prototype = {
  66326. get$separator(_) {
  66327. var t1 = this._map$_contents;
  66328. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_qVN;
  66329. },
  66330. get$asList() {
  66331. var t3, t4, t5, result,
  66332. t1 = type$.JSArray_Value,
  66333. t2 = A._setArrayType([], t1);
  66334. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66335. t5 = t4.get$current(t4);
  66336. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66337. result.$flags = 3;
  66338. t2.push(new A.SassList(result, B.ListSeparator_qSL, false));
  66339. }
  66340. return t2;
  66341. },
  66342. get$lengthAsList() {
  66343. var t1 = this._map$_contents;
  66344. return t1.get$length(t1);
  66345. },
  66346. accept$1$1(visitor) {
  66347. return visitor.visitMap$1(this);
  66348. },
  66349. accept$1(visitor) {
  66350. return this.accept$1$1(visitor, type$.dynamic);
  66351. },
  66352. assertMap$1($name) {
  66353. return this;
  66354. },
  66355. tryMap$0() {
  66356. return this;
  66357. },
  66358. $eq(_, other) {
  66359. var t1;
  66360. if (other == null)
  66361. return false;
  66362. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66363. t1 = this._map$_contents;
  66364. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66365. } else
  66366. t1 = true;
  66367. return t1;
  66368. },
  66369. get$hashCode(_) {
  66370. var t1 = this._map$_contents;
  66371. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66372. }
  66373. };
  66374. A.SassMixin.prototype = {
  66375. accept$1$1(visitor) {
  66376. var t1, t2;
  66377. if (!visitor._inspect)
  66378. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66379. t1 = visitor._serialize$_buffer;
  66380. t1.write$1(0, "get-mixin(");
  66381. t2 = this.callable;
  66382. visitor._visitQuotedString$1(t2.get$name(t2));
  66383. t1.writeCharCode$1(41);
  66384. return null;
  66385. },
  66386. accept$1(visitor) {
  66387. return this.accept$1$1(visitor, type$.dynamic);
  66388. },
  66389. assertMixin$1($name) {
  66390. return this;
  66391. },
  66392. assertCompileContext$1(compileContext) {
  66393. var t1 = this._mixin$_compileContext !== compileContext;
  66394. if (t1)
  66395. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66396. return this;
  66397. },
  66398. $eq(_, other) {
  66399. if (other == null)
  66400. return false;
  66401. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66402. },
  66403. get$hashCode(_) {
  66404. var t1 = this.callable;
  66405. return t1.get$hashCode(t1);
  66406. }
  66407. };
  66408. A._SassNull.prototype = {
  66409. get$isTruthy() {
  66410. return false;
  66411. },
  66412. get$isBlank() {
  66413. return true;
  66414. },
  66415. get$realNull() {
  66416. return null;
  66417. },
  66418. accept$1$1(visitor) {
  66419. if (visitor._inspect)
  66420. visitor._serialize$_buffer.write$1(0, "null");
  66421. return null;
  66422. },
  66423. accept$1(visitor) {
  66424. return this.accept$1$1(visitor, type$.dynamic);
  66425. },
  66426. unaryNot$0() {
  66427. return B.SassBoolean_true;
  66428. }
  66429. };
  66430. A.SassNumber.prototype = {
  66431. get$unitString() {
  66432. var _this = this;
  66433. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66434. },
  66435. accept$1$1(visitor) {
  66436. return visitor.visitNumber$1(this);
  66437. },
  66438. accept$1(visitor) {
  66439. return this.accept$1$1(visitor, type$.dynamic);
  66440. },
  66441. withoutSlash$0() {
  66442. var _this = this;
  66443. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66444. },
  66445. assertNumber$1($name) {
  66446. return this;
  66447. },
  66448. assertNumber$0() {
  66449. return this.assertNumber$1(null);
  66450. },
  66451. assertInt$1($name) {
  66452. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66453. if (_0_0 != null)
  66454. return _0_0;
  66455. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66456. },
  66457. assertInt$0() {
  66458. return this.assertInt$1(null);
  66459. },
  66460. valueInRange$3(min, max, $name) {
  66461. var _this = this,
  66462. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66463. if (_0_0 != null)
  66464. return _0_0;
  66465. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66466. },
  66467. valueInRangeWithUnit$4(min, max, $name, unit) {
  66468. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66469. if (_0_0 != null)
  66470. return _0_0;
  66471. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66472. },
  66473. hasCompatibleUnits$1(other) {
  66474. var _this = this;
  66475. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66476. return false;
  66477. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66478. return false;
  66479. return _this.isComparableTo$1(other);
  66480. },
  66481. assertUnit$2(unit, $name) {
  66482. if (this.hasUnit$1(unit))
  66483. return;
  66484. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66485. },
  66486. assertNoUnits$1($name) {
  66487. if (!this.get$hasUnits())
  66488. return;
  66489. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66490. },
  66491. assertNoUnits$0() {
  66492. return this.assertNoUnits$1(null);
  66493. },
  66494. convertValueToMatch$3(other, $name, otherName) {
  66495. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66496. },
  66497. convertValueToMatch$1(other) {
  66498. return this.convertValueToMatch$3(other, null, null);
  66499. },
  66500. coerce$3(newNumerators, newDenominators, $name) {
  66501. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  66502. },
  66503. coerce$2(newNumerators, newDenominators) {
  66504. return this.coerce$3(newNumerators, newDenominators, null);
  66505. },
  66506. coerceValue$3(newNumerators, newDenominators, $name) {
  66507. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  66508. },
  66509. coerceValueToUnit$2(unit, $name) {
  66510. var t1 = type$.JSArray_String;
  66511. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  66512. },
  66513. coerceValueToUnit$1(unit) {
  66514. return this.coerceValueToUnit$2(unit, null);
  66515. },
  66516. coerceToMatch$3(other, $name, otherName) {
  66517. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  66518. t2 = other.get$numeratorUnits(other);
  66519. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  66520. },
  66521. coerceValueToMatch$3(other, $name, otherName) {
  66522. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  66523. },
  66524. coerceValueToMatch$1(other) {
  66525. return this.coerceValueToMatch$3(other, null, null);
  66526. },
  66527. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  66528. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  66529. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  66530. return _this._number$_value;
  66531. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  66532. if (coerceUnitless)
  66533. t1 = !_this.get$hasUnits() || !otherHasUnits;
  66534. else
  66535. t1 = false;
  66536. if (t1)
  66537. return _this._number$_value;
  66538. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  66539. _box_0.value = _this._number$_value;
  66540. t1 = _this.get$numeratorUnits(_this);
  66541. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66542. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  66543. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  66544. t1 = _this.get$denominatorUnits(_this);
  66545. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66546. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  66547. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  66548. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  66549. throw A.wrapException(compatibilityException.call$0());
  66550. return _box_0.value;
  66551. },
  66552. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  66553. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  66554. },
  66555. isComparableTo$1(other) {
  66556. var exception;
  66557. if (!this.get$hasUnits() || !other.get$hasUnits())
  66558. return true;
  66559. try {
  66560. this.greaterThan$1(other);
  66561. return true;
  66562. } catch (exception) {
  66563. if (A.unwrapException(exception) instanceof A.SassScriptException)
  66564. return false;
  66565. else
  66566. throw exception;
  66567. }
  66568. },
  66569. greaterThan$1(other) {
  66570. if (other instanceof A.SassNumber)
  66571. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66572. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  66573. },
  66574. greaterThanOrEquals$1(other) {
  66575. if (other instanceof A.SassNumber)
  66576. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66577. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  66578. },
  66579. lessThan$1(other) {
  66580. if (other instanceof A.SassNumber)
  66581. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66582. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  66583. },
  66584. lessThanOrEquals$1(other) {
  66585. if (other instanceof A.SassNumber)
  66586. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66587. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  66588. },
  66589. modulo$1(other) {
  66590. if (other instanceof A.SassNumber)
  66591. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  66592. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  66593. },
  66594. plus$1(other) {
  66595. var _this = this;
  66596. if (other instanceof A.SassNumber)
  66597. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  66598. if (!(other instanceof A.SassColor))
  66599. return _this.super$Value$plus(other);
  66600. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  66601. },
  66602. minus$1(other) {
  66603. var _this = this;
  66604. if (other instanceof A.SassNumber)
  66605. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  66606. if (!(other instanceof A.SassColor))
  66607. return _this.super$Value$minus(other);
  66608. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  66609. },
  66610. times$1(other) {
  66611. var _this = this;
  66612. if (other instanceof A.SassNumber) {
  66613. if (!other.get$hasUnits())
  66614. return _this.withValue$1(_this._number$_value * other._number$_value);
  66615. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  66616. }
  66617. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  66618. },
  66619. dividedBy$1(other) {
  66620. var _this = this;
  66621. if (other instanceof A.SassNumber) {
  66622. if (!other.get$hasUnits())
  66623. return _this.withValue$1(_this._number$_value / other._number$_value);
  66624. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  66625. }
  66626. return _this.super$Value$dividedBy(other);
  66627. },
  66628. unaryPlus$0() {
  66629. return this;
  66630. },
  66631. _coerceUnits$1$2(other, operation) {
  66632. var t1, exception;
  66633. try {
  66634. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  66635. return t1;
  66636. } catch (exception) {
  66637. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  66638. this.coerceValueToMatch$1(other);
  66639. throw exception;
  66640. } else
  66641. throw exception;
  66642. }
  66643. },
  66644. _coerceUnits$2(other, operation) {
  66645. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  66646. },
  66647. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  66648. 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 = {};
  66649. _box_0.value = value;
  66650. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  66651. _0_1 = t1[0];
  66652. _0_6 = _null;
  66653. _0_3 = _null;
  66654. _0_9 = _null;
  66655. _0_9_isSet = false;
  66656. _0_7 = _null;
  66657. _0_7_isSet = false;
  66658. t2 = false;
  66659. _0_2 = t1[1];
  66660. _0_3 = t1[2];
  66661. _0_6 = _0_3.length <= 0;
  66662. _0_9_isSet = _0_6;
  66663. if (_0_9_isSet) {
  66664. _0_7 = t1[3];
  66665. _0_9 = _0_7.length <= 0;
  66666. t2 = _0_9;
  66667. }
  66668. _0_7_isSet = _0_9_isSet;
  66669. denominators_case_0 = _0_2;
  66670. _0_11_isSet = !t2;
  66671. _0_13 = _null;
  66672. if (_0_11_isSet) {
  66673. _0_11 = _0_1.length <= 0;
  66674. _0_13_isSet = _0_11;
  66675. if (_0_13_isSet) {
  66676. t2 = _0_2;
  66677. _0_13 = t2.length <= 0;
  66678. t2 = _0_13;
  66679. if (t2) {
  66680. numerators_case_0 = _0_3;
  66681. if (_0_7_isSet)
  66682. denominators_case_0 = _0_7;
  66683. else {
  66684. _0_7 = t1[3];
  66685. denominators_case_0 = _0_7;
  66686. _0_7_isSet = true;
  66687. }
  66688. } else
  66689. numerators_case_0 = _0_1;
  66690. } else {
  66691. numerators_case_0 = _0_1;
  66692. t2 = false;
  66693. }
  66694. } else {
  66695. numerators_case_0 = _0_1;
  66696. _0_11 = _null;
  66697. _0_13_isSet = false;
  66698. t2 = true;
  66699. }
  66700. if (t2) {
  66701. t4 = denominators_case_0;
  66702. t3 = numerators_case_0;
  66703. } else {
  66704. t4 = _null;
  66705. t3 = t4;
  66706. }
  66707. if (!t2) {
  66708. t2 = _null;
  66709. t5 = _null;
  66710. if (_0_11_isSet)
  66711. t6 = _0_11;
  66712. else {
  66713. _0_11 = _0_1.length <= 0;
  66714. t6 = _0_11;
  66715. }
  66716. t7 = false;
  66717. if (t6) {
  66718. denominators_case_1 = _0_2;
  66719. numerators_case_1 = _0_3;
  66720. if (_0_9_isSet)
  66721. t2 = _0_9;
  66722. else {
  66723. if (_0_7_isSet)
  66724. t2 = _0_7;
  66725. else {
  66726. _0_7 = t1[3];
  66727. t2 = _0_7;
  66728. _0_7_isSet = true;
  66729. }
  66730. _0_9 = t2.length <= 0;
  66731. t2 = _0_9;
  66732. }
  66733. } else {
  66734. numerators_case_1 = t2;
  66735. t2 = t7;
  66736. denominators_case_1 = t5;
  66737. }
  66738. if (!t2) {
  66739. t2 = false;
  66740. if (_0_13_isSet)
  66741. t5 = _0_13;
  66742. else {
  66743. _0_13 = _0_2.length <= 0;
  66744. t5 = _0_13;
  66745. }
  66746. if (t5) {
  66747. t2 = _0_6;
  66748. if (t2)
  66749. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  66750. t1 = t2;
  66751. } else
  66752. t1 = t2;
  66753. numerators_case_1 = _0_1;
  66754. } else
  66755. t1 = true;
  66756. if (t1) {
  66757. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  66758. if (t1) {
  66759. t3 = denominators_case_1;
  66760. t2 = numerators_case_1;
  66761. } else {
  66762. t2 = t3;
  66763. t3 = t4;
  66764. }
  66765. t0 = t3;
  66766. t3 = t1;
  66767. t1 = t2;
  66768. t2 = t0;
  66769. } else {
  66770. t2 = t4;
  66771. t1 = t3;
  66772. t3 = false;
  66773. }
  66774. } else {
  66775. t2 = t4;
  66776. t1 = t3;
  66777. t3 = true;
  66778. }
  66779. if (t3)
  66780. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  66781. newNumerators = A._setArrayType([], type$.JSArray_String);
  66782. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  66783. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  66784. numerator = t1[_i];
  66785. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  66786. }
  66787. t1 = _this.get$denominatorUnits(_this);
  66788. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66789. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  66790. numerator = otherNumerators[_i];
  66791. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  66792. }
  66793. t1 = _box_0.value;
  66794. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  66795. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  66796. },
  66797. _areAnyConvertible$2(units1, units2) {
  66798. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  66799. },
  66800. _unitString$2(numerators, denominators) {
  66801. var _0_4, _0_6, t1, _0_7, _0_5, _0_9, _0_10, denominator;
  66802. $label0$0: {
  66803. _0_4 = numerators.length <= 0;
  66804. if (_0_4) {
  66805. _0_6 = denominators.length;
  66806. t1 = _0_6;
  66807. _0_7 = t1 <= 0;
  66808. t1 = _0_7;
  66809. _0_5 = denominators;
  66810. } else {
  66811. _0_7 = null;
  66812. _0_6 = null;
  66813. _0_5 = null;
  66814. t1 = false;
  66815. }
  66816. if (t1) {
  66817. t1 = "no units";
  66818. break $label0$0;
  66819. }
  66820. if (_0_4) {
  66821. t1 = _0_6;
  66822. _0_9 = t1 === 1;
  66823. t1 = _0_9;
  66824. } else
  66825. t1 = false;
  66826. if (t1) {
  66827. _0_10 = (_0_4 ? _0_5 : denominators)[0];
  66828. denominator = _0_10;
  66829. t1 = denominator + "^-1";
  66830. break $label0$0;
  66831. }
  66832. if (_0_4) {
  66833. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  66834. break $label0$0;
  66835. }
  66836. t1 = denominators;
  66837. _0_5 = t1;
  66838. _0_6 = t1.length;
  66839. t1 = _0_6;
  66840. _0_7 = t1 <= 0;
  66841. t1 = _0_7;
  66842. if (t1) {
  66843. t1 = B.JSArray_methods.join$1(numerators, "*");
  66844. break $label0$0;
  66845. }
  66846. t1 = _0_6;
  66847. _0_9 = t1 === 1;
  66848. t1 = _0_9;
  66849. if (t1) {
  66850. _0_10 = _0_5[0];
  66851. denominator = _0_10;
  66852. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  66853. break $label0$0;
  66854. }
  66855. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  66856. break $label0$0;
  66857. }
  66858. return t1;
  66859. },
  66860. $eq(_, other) {
  66861. var _this = this;
  66862. if (other == null)
  66863. return false;
  66864. if (!(other instanceof A.SassNumber))
  66865. return false;
  66866. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66867. return false;
  66868. if (!_this.get$hasUnits())
  66869. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  66870. 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))))
  66871. return false;
  66872. 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)));
  66873. },
  66874. get$hashCode(_) {
  66875. var _this = this,
  66876. t1 = _this.hashCache;
  66877. 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;
  66878. },
  66879. _canonicalizeUnitList$1(units) {
  66880. var type,
  66881. t1 = units.length;
  66882. if (t1 === 0)
  66883. return units;
  66884. if (t1 === 1) {
  66885. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  66886. if (type == null)
  66887. t1 = units;
  66888. else {
  66889. t1 = B.Map_Sr65K.$index(0, type);
  66890. t1.toString;
  66891. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  66892. }
  66893. return t1;
  66894. }
  66895. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  66896. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), t1._eval$1("ListIterable.E"));
  66897. B.JSArray_methods.sort$0(t1);
  66898. return t1;
  66899. },
  66900. _canonicalMultiplier$1(units) {
  66901. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  66902. },
  66903. canonicalMultiplierForUnit$1(unit) {
  66904. var t1,
  66905. innerMap = B.Map_NtHoP.$index(0, unit);
  66906. if (innerMap == null)
  66907. t1 = 1;
  66908. else {
  66909. t1 = innerMap.get$values(innerMap);
  66910. t1 = 1 / t1.get$first(t1);
  66911. }
  66912. return t1;
  66913. },
  66914. unitSuggestion$2($name, unit) {
  66915. var t2, t3, result, _this = this,
  66916. t1 = _this.get$denominatorUnits(_this);
  66917. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66918. t2 = _this.get$numeratorUnits(_this);
  66919. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66920. t3 = unit == null ? "" : " * 1" + unit;
  66921. result = "$" + $name + t1 + t2 + t3;
  66922. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  66923. },
  66924. unitSuggestion$1($name) {
  66925. return this.unitSuggestion$2($name, null);
  66926. }
  66927. };
  66928. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  66929. call$0() {
  66930. var t2, t3, message, t4, type, unit, _this = this,
  66931. t1 = _this.other;
  66932. if (t1 != null) {
  66933. t2 = _this.$this;
  66934. t3 = t2.toString$0(0) + " and";
  66935. message = new A.StringBuffer(t3);
  66936. t4 = _this.otherName;
  66937. if (t4 != null)
  66938. t3 = message._contents = t3 + (" $" + t4 + ":");
  66939. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  66940. message._contents = t1;
  66941. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  66942. message._contents = t1 + " (one has units and the other doesn't)";
  66943. t1 = message.toString$0(0) + ".";
  66944. t2 = _this.name;
  66945. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66946. } else if (!_this.otherHasUnits) {
  66947. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  66948. t2 = _this.name;
  66949. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  66950. } else {
  66951. t1 = _this.newNumerators;
  66952. if (t1.length === 1 && _this.newDenominators.length === 0) {
  66953. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  66954. if (type != null) {
  66955. t1 = _this.$this.toString$0(0);
  66956. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  66957. t3 = B.Map_Sr65K.$index(0, type);
  66958. t3.toString;
  66959. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  66960. t2 = _this.name;
  66961. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  66962. }
  66963. }
  66964. t2 = _this.newDenominators;
  66965. unit = A.pluralize("unit", t1.length + t2.length, null);
  66966. t3 = _this.$this;
  66967. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  66968. t1 = _this.name;
  66969. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  66970. }
  66971. },
  66972. $signature: 326
  66973. };
  66974. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  66975. call$1(oldNumerator) {
  66976. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  66977. if (factor == null)
  66978. return false;
  66979. this._box_0.value *= factor;
  66980. return true;
  66981. },
  66982. $signature: 5
  66983. };
  66984. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  66985. call$0() {
  66986. return A.throwExpression(this.compatibilityException.call$0());
  66987. },
  66988. $signature: 0
  66989. };
  66990. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  66991. call$1(oldDenominator) {
  66992. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  66993. if (factor == null)
  66994. return false;
  66995. this._box_0.value /= factor;
  66996. return true;
  66997. },
  66998. $signature: 5
  66999. };
  67000. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  67001. call$0() {
  67002. return A.throwExpression(this.compatibilityException.call$0());
  67003. },
  67004. $signature: 0
  67005. };
  67006. A.SassNumber_plus_closure.prototype = {
  67007. call$2(num1, num2) {
  67008. return num1 + num2;
  67009. },
  67010. $signature: 61
  67011. };
  67012. A.SassNumber_minus_closure.prototype = {
  67013. call$2(num1, num2) {
  67014. return num1 - num2;
  67015. },
  67016. $signature: 61
  67017. };
  67018. A.SassNumber_multiplyUnits_closure.prototype = {
  67019. call$1(denominator) {
  67020. var factor = A.conversionFactor(this.numerator, denominator);
  67021. if (factor == null)
  67022. return false;
  67023. this._box_0.value /= factor;
  67024. return true;
  67025. },
  67026. $signature: 5
  67027. };
  67028. A.SassNumber_multiplyUnits_closure0.prototype = {
  67029. call$0() {
  67030. return this.newNumerators.push(this.numerator);
  67031. },
  67032. $signature: 0
  67033. };
  67034. A.SassNumber_multiplyUnits_closure1.prototype = {
  67035. call$1(denominator) {
  67036. var factor = A.conversionFactor(this.numerator, denominator);
  67037. if (factor == null)
  67038. return false;
  67039. this._box_0.value /= factor;
  67040. return true;
  67041. },
  67042. $signature: 5
  67043. };
  67044. A.SassNumber_multiplyUnits_closure2.prototype = {
  67045. call$0() {
  67046. return this.newNumerators.push(this.numerator);
  67047. },
  67048. $signature: 0
  67049. };
  67050. A.SassNumber__areAnyConvertible_closure.prototype = {
  67051. call$1(unit1) {
  67052. var t1,
  67053. _0_0 = B.Map_NtHoP.$index(0, unit1);
  67054. $label0$0: {
  67055. if (_0_0 != null) {
  67056. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  67057. break $label0$0;
  67058. }
  67059. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  67060. break $label0$0;
  67061. }
  67062. return t1;
  67063. },
  67064. $signature: 5
  67065. };
  67066. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  67067. call$1(unit) {
  67068. var t1,
  67069. type = $.$get$_typesByUnit().$index(0, unit);
  67070. if (type == null)
  67071. t1 = unit;
  67072. else {
  67073. t1 = B.Map_Sr65K.$index(0, type);
  67074. t1.toString;
  67075. t1 = B.JSArray_methods.get$first(t1);
  67076. }
  67077. return t1;
  67078. },
  67079. $signature: 6
  67080. };
  67081. A.SassNumber__canonicalMultiplier_closure.prototype = {
  67082. call$2(multiplier, unit) {
  67083. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  67084. },
  67085. $signature: 165
  67086. };
  67087. A.SassNumber_unitSuggestion_closure.prototype = {
  67088. call$1(unit) {
  67089. return " * 1" + unit;
  67090. },
  67091. $signature: 6
  67092. };
  67093. A.SassNumber_unitSuggestion_closure0.prototype = {
  67094. call$1(unit) {
  67095. return " / 1" + unit;
  67096. },
  67097. $signature: 6
  67098. };
  67099. A.ComplexSassNumber.prototype = {
  67100. get$numeratorUnits(_) {
  67101. return this._numeratorUnits;
  67102. },
  67103. get$denominatorUnits(_) {
  67104. return this._denominatorUnits;
  67105. },
  67106. get$hasUnits() {
  67107. return true;
  67108. },
  67109. get$hasComplexUnits() {
  67110. return true;
  67111. },
  67112. hasUnit$1(unit) {
  67113. return false;
  67114. },
  67115. compatibleWithUnit$1(unit) {
  67116. return false;
  67117. },
  67118. hasPossiblyCompatibleUnits$1(other) {
  67119. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67120. },
  67121. withValue$1(value) {
  67122. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67123. },
  67124. withSlash$2(numerator, denominator) {
  67125. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67126. }
  67127. };
  67128. A.SingleUnitSassNumber.prototype = {
  67129. get$numeratorUnits(_) {
  67130. return A.List_List$unmodifiable([this._unit], type$.String);
  67131. },
  67132. get$denominatorUnits(_) {
  67133. return B.List_empty;
  67134. },
  67135. get$hasUnits() {
  67136. return true;
  67137. },
  67138. get$hasComplexUnits() {
  67139. return false;
  67140. },
  67141. withValue$1(value) {
  67142. return new A.SingleUnitSassNumber(this._unit, value, null);
  67143. },
  67144. withSlash$2(numerator, denominator) {
  67145. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67146. },
  67147. hasUnit$1(unit) {
  67148. return unit === this._unit;
  67149. },
  67150. hasCompatibleUnits$1(other) {
  67151. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67152. },
  67153. hasPossiblyCompatibleUnits$1(other) {
  67154. var t1, knownCompatibilities, otherUnit;
  67155. if (!(other instanceof A.SingleUnitSassNumber))
  67156. return false;
  67157. t1 = $.$get$_knownCompatibilitiesByUnit();
  67158. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67159. if (knownCompatibilities == null)
  67160. return true;
  67161. otherUnit = other._unit.toLowerCase();
  67162. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67163. },
  67164. compatibleWithUnit$1(unit) {
  67165. return A.conversionFactor(this._unit, unit) != null;
  67166. },
  67167. coerceToMatch$1(other) {
  67168. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67169. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67170. },
  67171. coerceValueToMatch$3(other, $name, otherName) {
  67172. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67173. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67174. },
  67175. coerceValueToMatch$1(other) {
  67176. return this.coerceValueToMatch$3(other, null, null);
  67177. },
  67178. convertValueToMatch$3(other, $name, otherName) {
  67179. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67180. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67181. },
  67182. convertValueToMatch$1(other) {
  67183. return this.convertValueToMatch$3(other, null, null);
  67184. },
  67185. coerce$2(newNumerators, newDenominators) {
  67186. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67187. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67188. },
  67189. coerceValue$3(newNumerators, newDenominators, $name) {
  67190. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67191. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67192. },
  67193. coerceValueToUnit$2(unit, $name) {
  67194. var t1 = this._coerceValueToUnit$1(unit);
  67195. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67196. },
  67197. coerceValueToUnit$1(unit) {
  67198. return this.coerceValueToUnit$2(unit, null);
  67199. },
  67200. _coerceToUnit$1(unit) {
  67201. var t1 = this._unit;
  67202. if (t1 === unit)
  67203. return this;
  67204. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67205. },
  67206. _coerceValueToUnit$1(unit) {
  67207. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67208. },
  67209. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67210. var mutableOtherDenominators, t1 = {};
  67211. t1.value = value;
  67212. t1.newNumerators = otherNumerators;
  67213. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67214. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67215. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67216. },
  67217. unaryMinus$0() {
  67218. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67219. },
  67220. $eq(_, other) {
  67221. var factor;
  67222. if (other == null)
  67223. return false;
  67224. if (other instanceof A.SingleUnitSassNumber) {
  67225. factor = A.conversionFactor(other._unit, this._unit);
  67226. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67227. } else
  67228. return false;
  67229. },
  67230. get$hashCode(_) {
  67231. var _this = this,
  67232. t1 = _this.hashCache;
  67233. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67234. }
  67235. };
  67236. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67237. call$1(factor) {
  67238. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67239. },
  67240. $signature: 337
  67241. };
  67242. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67243. call$1(factor) {
  67244. return this.$this._number$_value * factor;
  67245. },
  67246. $signature: 16
  67247. };
  67248. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67249. call$1(denominator) {
  67250. var factor = A.conversionFactor(denominator, this.$this._unit);
  67251. if (factor == null)
  67252. return false;
  67253. this._box_0.value *= factor;
  67254. return true;
  67255. },
  67256. $signature: 5
  67257. };
  67258. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67259. call$0() {
  67260. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67261. t2 = this._box_0;
  67262. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67263. t2.newNumerators = t1;
  67264. },
  67265. $signature: 0
  67266. };
  67267. A.UnitlessSassNumber.prototype = {
  67268. get$numeratorUnits(_) {
  67269. return B.List_empty;
  67270. },
  67271. get$denominatorUnits(_) {
  67272. return B.List_empty;
  67273. },
  67274. get$hasUnits() {
  67275. return false;
  67276. },
  67277. get$hasComplexUnits() {
  67278. return false;
  67279. },
  67280. withValue$1(value) {
  67281. return new A.UnitlessSassNumber(value, null);
  67282. },
  67283. withSlash$2(numerator, denominator) {
  67284. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67285. },
  67286. hasUnit$1(unit) {
  67287. return false;
  67288. },
  67289. hasCompatibleUnits$1(other) {
  67290. return other instanceof A.UnitlessSassNumber;
  67291. },
  67292. hasPossiblyCompatibleUnits$1(other) {
  67293. return other instanceof A.UnitlessSassNumber;
  67294. },
  67295. compatibleWithUnit$1(unit) {
  67296. return true;
  67297. },
  67298. coerceToMatch$1(other) {
  67299. return other.withValue$1(this._number$_value);
  67300. },
  67301. coerceValueToMatch$3(other, $name, otherName) {
  67302. return this._number$_value;
  67303. },
  67304. coerceValueToMatch$1(other) {
  67305. return this.coerceValueToMatch$3(other, null, null);
  67306. },
  67307. convertValueToMatch$3(other, $name, otherName) {
  67308. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67309. },
  67310. convertValueToMatch$1(other) {
  67311. return this.convertValueToMatch$3(other, null, null);
  67312. },
  67313. coerce$2(newNumerators, newDenominators) {
  67314. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67315. },
  67316. coerceValue$3(newNumerators, newDenominators, $name) {
  67317. return this._number$_value;
  67318. },
  67319. coerceValueToUnit$2(unit, $name) {
  67320. return this._number$_value;
  67321. },
  67322. coerceValueToUnit$1(unit) {
  67323. return this.coerceValueToUnit$2(unit, null);
  67324. },
  67325. greaterThan$1(other) {
  67326. var t1, t2;
  67327. if (other instanceof A.SassNumber) {
  67328. t1 = this._number$_value;
  67329. t2 = other._number$_value;
  67330. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67331. }
  67332. return this.super$SassNumber$greaterThan(other);
  67333. },
  67334. greaterThanOrEquals$1(other) {
  67335. var t1, t2;
  67336. if (other instanceof A.SassNumber) {
  67337. t1 = this._number$_value;
  67338. t2 = other._number$_value;
  67339. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67340. }
  67341. return this.super$SassNumber$greaterThanOrEquals(other);
  67342. },
  67343. lessThan$1(other) {
  67344. var t1, t2;
  67345. if (other instanceof A.SassNumber) {
  67346. t1 = this._number$_value;
  67347. t2 = other._number$_value;
  67348. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67349. }
  67350. return this.super$SassNumber$lessThan(other);
  67351. },
  67352. lessThanOrEquals$1(other) {
  67353. var t1, t2;
  67354. if (other instanceof A.SassNumber) {
  67355. t1 = this._number$_value;
  67356. t2 = other._number$_value;
  67357. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67358. }
  67359. return this.super$SassNumber$lessThanOrEquals(other);
  67360. },
  67361. modulo$1(other) {
  67362. if (other instanceof A.SassNumber)
  67363. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67364. return this.super$SassNumber$modulo(other);
  67365. },
  67366. plus$1(other) {
  67367. if (other instanceof A.SassNumber)
  67368. return other.withValue$1(this._number$_value + other._number$_value);
  67369. return this.super$SassNumber$plus(other);
  67370. },
  67371. minus$1(other) {
  67372. if (other instanceof A.SassNumber)
  67373. return other.withValue$1(this._number$_value - other._number$_value);
  67374. return this.super$SassNumber$minus(other);
  67375. },
  67376. times$1(other) {
  67377. if (other instanceof A.SassNumber)
  67378. return other.withValue$1(this._number$_value * other._number$_value);
  67379. return this.super$SassNumber$times(other);
  67380. },
  67381. dividedBy$1(other) {
  67382. var t1, t2;
  67383. if (other instanceof A.SassNumber) {
  67384. t1 = this._number$_value / other._number$_value;
  67385. if (other.get$hasUnits()) {
  67386. t2 = other.get$denominatorUnits(other);
  67387. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67388. t1 = t2;
  67389. } else
  67390. t1 = new A.UnitlessSassNumber(t1, null);
  67391. return t1;
  67392. }
  67393. return this.super$SassNumber$dividedBy(other);
  67394. },
  67395. unaryMinus$0() {
  67396. return new A.UnitlessSassNumber(-this._number$_value, null);
  67397. },
  67398. $eq(_, other) {
  67399. if (other == null)
  67400. return false;
  67401. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67402. },
  67403. get$hashCode(_) {
  67404. var t1 = this.hashCache;
  67405. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67406. }
  67407. };
  67408. A.SassString.prototype = {
  67409. get$_sassLength() {
  67410. var result, _this = this,
  67411. value = _this.__SassString__sassLength_FI;
  67412. if (value === $) {
  67413. result = new A.Runes(_this._string$_text).get$length(0);
  67414. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67415. _this.__SassString__sassLength_FI = result;
  67416. value = result;
  67417. }
  67418. return value;
  67419. },
  67420. get$isSpecialNumber() {
  67421. var t1, _2_0, t2, _0_0, _1_0;
  67422. if (this._hasQuotes)
  67423. return false;
  67424. t1 = this._string$_text;
  67425. if (t1.length < 6)
  67426. return false;
  67427. _2_0 = t1.charCodeAt(0);
  67428. $label0$0: {
  67429. t2 = false;
  67430. if (97 === _2_0 || 65 === _2_0) {
  67431. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  67432. break $label0$0;
  67433. }
  67434. if (99 === _2_0 || 67 === _2_0) {
  67435. _0_0 = t1.charCodeAt(1);
  67436. $label1$1: {
  67437. if (108 === _0_0 || 76 === _0_0) {
  67438. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67439. break $label1$1;
  67440. }
  67441. if (97 === _0_0 || 65 === _0_0) {
  67442. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67443. break $label1$1;
  67444. }
  67445. t1 = t2;
  67446. break $label1$1;
  67447. }
  67448. break $label0$0;
  67449. }
  67450. if (118 === _2_0 || 86 === _2_0) {
  67451. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67452. break $label0$0;
  67453. }
  67454. if (101 === _2_0 || 69 === _2_0) {
  67455. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67456. break $label0$0;
  67457. }
  67458. if (109 === _2_0 || 77 === _2_0) {
  67459. _1_0 = t1.charCodeAt(1);
  67460. $label2$2: {
  67461. if (97 === _1_0 || 65 === _1_0) {
  67462. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67463. break $label2$2;
  67464. }
  67465. if (105 === _1_0 || 73 === _1_0) {
  67466. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67467. break $label2$2;
  67468. }
  67469. t1 = t2;
  67470. break $label2$2;
  67471. }
  67472. break $label0$0;
  67473. }
  67474. t1 = t2;
  67475. break $label0$0;
  67476. }
  67477. return t1;
  67478. },
  67479. get$isVar() {
  67480. if (this._hasQuotes)
  67481. return false;
  67482. var t1 = this._string$_text;
  67483. if (t1.length < 8)
  67484. return false;
  67485. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67486. },
  67487. get$isBlank() {
  67488. return !this._hasQuotes && this._string$_text.length === 0;
  67489. },
  67490. assertQuoted$1($name) {
  67491. if (this._hasQuotes)
  67492. return;
  67493. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67494. },
  67495. assertUnquoted$1($name) {
  67496. if (!this._hasQuotes)
  67497. return;
  67498. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  67499. },
  67500. assertUnquoted$0() {
  67501. return this.assertUnquoted$1(null);
  67502. },
  67503. accept$1$1(visitor) {
  67504. var t1 = visitor._quote && this._hasQuotes,
  67505. t2 = this._string$_text;
  67506. if (t1)
  67507. visitor._visitQuotedString$1(t2);
  67508. else
  67509. visitor._visitUnquotedString$1(t2);
  67510. return null;
  67511. },
  67512. accept$1(visitor) {
  67513. return this.accept$1$1(visitor, type$.dynamic);
  67514. },
  67515. assertString$1($name) {
  67516. return this;
  67517. },
  67518. plus$1(other) {
  67519. var t1 = this._string$_text,
  67520. t2 = this._hasQuotes;
  67521. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  67522. },
  67523. $eq(_, other) {
  67524. if (other == null)
  67525. return false;
  67526. return other instanceof A.SassString && this._string$_text === other._string$_text;
  67527. },
  67528. get$hashCode(_) {
  67529. var t1 = this._hashCache;
  67530. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  67531. }
  67532. };
  67533. A.AnySelectorVisitor.prototype = {
  67534. visitComplexSelector$1(complex) {
  67535. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  67536. },
  67537. visitCompoundSelector$1(compound) {
  67538. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  67539. },
  67540. visitPseudoSelector$1(pseudo) {
  67541. var selector = pseudo.selector;
  67542. return selector == null ? false : this.visitSelectorList$1(selector);
  67543. },
  67544. visitSelectorList$1(list) {
  67545. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67546. },
  67547. visitAttributeSelector$1(attribute) {
  67548. return false;
  67549. },
  67550. visitClassSelector$1(klass) {
  67551. return false;
  67552. },
  67553. visitIDSelector$1(id) {
  67554. return false;
  67555. },
  67556. visitParentSelector$1($parent) {
  67557. return false;
  67558. },
  67559. visitPlaceholderSelector$1(placeholder) {
  67560. return false;
  67561. },
  67562. visitTypeSelector$1(type) {
  67563. return false;
  67564. },
  67565. visitUniversalSelector$1(universal) {
  67566. return false;
  67567. }
  67568. };
  67569. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  67570. call$1(component) {
  67571. return this.$this.visitCompoundSelector$1(component.selector);
  67572. },
  67573. $signature: 52
  67574. };
  67575. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  67576. call$1(simple) {
  67577. return simple.accept$1(this.$this);
  67578. },
  67579. $signature: 14
  67580. };
  67581. A._EvaluateVisitor0.prototype = {
  67582. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  67583. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  67584. _s20_ = "$name, $module: null",
  67585. _s9_ = "sass:meta",
  67586. _s7_ = "$module",
  67587. t1 = type$.JSArray_AsyncBuiltInCallable,
  67588. 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),
  67589. 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);
  67590. t1 = type$.AsyncBuiltInCallable;
  67591. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  67592. B.JSArray_methods.addAll$1(t2, metaFunctions);
  67593. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  67594. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_AsyncCallable);
  67595. t1.push(metaModule);
  67596. t2 = t1.length;
  67597. t3 = _this._async_evaluate$_builtInModules;
  67598. _i = 0;
  67599. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  67600. module = t1[_i];
  67601. t3.$indexSet(0, module.url, module);
  67602. }
  67603. t1 = type$.JSArray_AsyncCallable;
  67604. t2 = A._setArrayType([], t1);
  67605. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  67606. t1 = A._setArrayType([], t1);
  67607. for (_i = 0; _i < 11; ++_i)
  67608. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  67609. B.JSArray_methods.addAll$1(t2, t1);
  67610. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67611. $function = t2[_i];
  67612. t4 = $function.get$name($function);
  67613. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  67614. }
  67615. },
  67616. run$2(_, importer, node) {
  67617. return this.run$body$_EvaluateVisitor(0, importer, node);
  67618. },
  67619. run$body$_EvaluateVisitor(_, importer, node) {
  67620. var $async$goto = 0,
  67621. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67622. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  67623. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67624. if ($async$errorCode === 1) {
  67625. $async$errorStack.push($async$result);
  67626. $async$goto = $async$handler;
  67627. }
  67628. while (true)
  67629. switch ($async$goto) {
  67630. case 0:
  67631. // Function start
  67632. $async$handler = 4;
  67633. t1 = type$.nullable_Object;
  67634. 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);
  67635. $async$goto = 7;
  67636. 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);
  67637. case 7:
  67638. // returning from await.
  67639. t1 = $async$result;
  67640. $async$returnValue = t1;
  67641. // goto return
  67642. $async$goto = 1;
  67643. break;
  67644. $async$handler = 2;
  67645. // goto after finally
  67646. $async$goto = 6;
  67647. break;
  67648. case 4:
  67649. // catch
  67650. $async$handler = 3;
  67651. $async$exception = $async$errorStack.pop();
  67652. t1 = A.unwrapException($async$exception);
  67653. if (t1 instanceof A.SassException) {
  67654. error = t1;
  67655. stackTrace = A.getTraceFromException($async$exception);
  67656. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  67657. } else
  67658. throw $async$exception;
  67659. // goto after finally
  67660. $async$goto = 6;
  67661. break;
  67662. case 3:
  67663. // uncaught
  67664. // goto rethrow
  67665. $async$goto = 2;
  67666. break;
  67667. case 6:
  67668. // after finally
  67669. case 1:
  67670. // return
  67671. return A._asyncReturn($async$returnValue, $async$completer);
  67672. case 2:
  67673. // rethrow
  67674. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  67675. }
  67676. });
  67677. return A._asyncStartSync($async$run$2, $async$completer);
  67678. },
  67679. _async_evaluate$_assertInModule$1$2(value, $name) {
  67680. if (value != null)
  67681. return value;
  67682. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  67683. },
  67684. _async_evaluate$_assertInModule$2(value, $name) {
  67685. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  67686. },
  67687. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67688. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  67689. },
  67690. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  67691. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  67692. },
  67693. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  67694. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  67695. },
  67696. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67697. var $async$goto = 0,
  67698. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67699. $async$returnValue, $async$self = this, t2, _0_0, t1;
  67700. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67701. if ($async$errorCode === 1)
  67702. return A._asyncRethrow($async$result, $async$completer);
  67703. while (true)
  67704. switch ($async$goto) {
  67705. case 0:
  67706. // Function start
  67707. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  67708. t1 = {};
  67709. t1.builtInModule = null;
  67710. $async$goto = _0_0 != null ? 3 : 4;
  67711. break;
  67712. case 3:
  67713. // then
  67714. t1.builtInModule = _0_0;
  67715. if (configuration instanceof A.ExplicitConfiguration) {
  67716. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  67717. t2 = configuration.nodeWithSpan;
  67718. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  67719. }
  67720. $async$goto = 5;
  67721. 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);
  67722. case 5:
  67723. // returning from await.
  67724. // goto return
  67725. $async$goto = 1;
  67726. break;
  67727. case 4:
  67728. // join
  67729. $async$goto = 6;
  67730. 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);
  67731. case 6:
  67732. // returning from await.
  67733. case 1:
  67734. // return
  67735. return A._asyncReturn($async$returnValue, $async$completer);
  67736. }
  67737. });
  67738. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  67739. },
  67740. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67741. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  67742. },
  67743. _async_evaluate$_execute$2(importer, stylesheet) {
  67744. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  67745. },
  67746. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67747. var $async$goto = 0,
  67748. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  67749. $async$returnValue, $async$self = this, currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  67750. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67751. if ($async$errorCode === 1)
  67752. return A._asyncRethrow($async$result, $async$completer);
  67753. while (true)
  67754. switch ($async$goto) {
  67755. case 0:
  67756. // Function start
  67757. t1 = stylesheet.span;
  67758. url = t1.get$sourceUrl(t1);
  67759. t1 = configuration == null;
  67760. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  67761. t2 = $async$self._async_evaluate$_modules;
  67762. _0_0 = t2.$index(0, url);
  67763. if (_0_0 != null) {
  67764. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  67765. t3 = t2.__originalConfiguration;
  67766. t2 = t3 == null ? t2 : t3;
  67767. t3 = currentConfiguration.__originalConfiguration;
  67768. 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))) {
  67769. if (namesInErrors) {
  67770. t2 = $.$get$context();
  67771. url.toString;
  67772. message = t2.prettyUri$1(url) + string$.x20was_a;
  67773. } else
  67774. message = string$.This_mw;
  67775. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  67776. existingSpan = t2 == null ? null : t2.get$span(t2);
  67777. if (t1) {
  67778. t1 = currentConfiguration.nodeWithSpan;
  67779. configurationSpan = t1.get$span(t1);
  67780. } else
  67781. configurationSpan = null;
  67782. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  67783. if (existingSpan != null)
  67784. t1.$indexSet(0, existingSpan, "original load");
  67785. if (configurationSpan != null)
  67786. t1.$indexSet(0, configurationSpan, "configuration");
  67787. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  67788. }
  67789. $async$returnValue = _0_0;
  67790. // goto return
  67791. $async$goto = 1;
  67792. break;
  67793. }
  67794. environment = A.AsyncEnvironment$();
  67795. css = A._Cell$();
  67796. preModuleComments = A._Cell$();
  67797. extensionStore = A.ExtensionStore$();
  67798. $async$goto = 3;
  67799. 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);
  67800. case 3:
  67801. // returning from await.
  67802. t1 = css._readLocal$0();
  67803. t3 = preModuleComments._readLocal$0();
  67804. module = environment.toModule$3(t1, t3 == null ? B.Map_empty7 : t3, extensionStore);
  67805. if (url != null) {
  67806. t2.$indexSet(0, url, module);
  67807. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  67808. if (nodeWithSpan != null)
  67809. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  67810. }
  67811. $async$returnValue = module;
  67812. // goto return
  67813. $async$goto = 1;
  67814. break;
  67815. case 1:
  67816. // return
  67817. return A._asyncReturn($async$returnValue, $async$completer);
  67818. }
  67819. });
  67820. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  67821. },
  67822. _async_evaluate$_addOutOfOrderImports$0() {
  67823. var t1, t2, _this = this, _s5_ = "_root",
  67824. _s13_ = "_endOfImports",
  67825. _0_0 = _this._async_evaluate$_outOfOrderImports;
  67826. $label0$0: {
  67827. if (_0_0 == null) {
  67828. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67829. break $label0$0;
  67830. }
  67831. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67832. 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);
  67833. B.JSArray_methods.addAll$1(t1, _0_0);
  67834. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67835. 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")));
  67836. break $label0$0;
  67837. }
  67838. return t1;
  67839. },
  67840. _async_evaluate$_combineCss$2$clone(root, clone) {
  67841. var selectors, _0_0, t1, imports, css, sorted, t2;
  67842. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  67843. selectors = root.get$extensionStore().get$simpleSelectors();
  67844. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  67845. if (_0_0 != null)
  67846. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  67847. return root.get$css(root);
  67848. }
  67849. t1 = type$.JSArray_CssNode;
  67850. imports = A._setArrayType([], t1);
  67851. css = A._setArrayType([], t1);
  67852. t1 = type$.Module_AsyncCallable;
  67853. sorted = A.ListQueue$(t1);
  67854. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  67855. if (root.get$transitivelyContainsExtensions())
  67856. this._async_evaluate$_extendModules$1(sorted);
  67857. t1 = B.JSArray_methods.$add(imports, css);
  67858. t2 = root.get$css(root);
  67859. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  67860. },
  67861. _async_evaluate$_combineCss$1(root) {
  67862. return this._async_evaluate$_combineCss$2$clone(root, false);
  67863. },
  67864. _async_evaluate$_extendModules$1(sortedModules) {
  67865. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  67866. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  67867. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  67868. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  67869. t3 = t1._collection$_current;
  67870. if (t3 == null)
  67871. t3 = t2._as(t3);
  67872. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  67873. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  67874. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  67875. t4 = t3.get$extensionStore().get$addExtensions();
  67876. if ($self != null)
  67877. t4.call$1($self);
  67878. t4 = t3.get$extensionStore();
  67879. if (t4.get$isEmpty(t4))
  67880. continue;
  67881. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  67882. upstream = t4[_i];
  67883. _0_0 = upstream.get$url(upstream);
  67884. if (_0_0 != null)
  67885. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  67886. }
  67887. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  67888. }
  67889. if (unsatisfiedExtensions._collection$_length !== 0)
  67890. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  67891. },
  67892. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  67893. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  67894. },
  67895. _async_evaluate$_indexAfterImports$1(statements) {
  67896. var t1, lastImport, i, _0_0;
  67897. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  67898. $label0$0: {
  67899. _0_0 = t1.$index(statements, i);
  67900. if (_0_0 instanceof A.ModifiableCssImport)
  67901. break $label0$0;
  67902. if (_0_0 instanceof A.ModifiableCssComment)
  67903. continue;
  67904. break;
  67905. }
  67906. lastImport = i;
  67907. }
  67908. return lastImport + 1;
  67909. },
  67910. visitStylesheet$1(_, node) {
  67911. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  67912. },
  67913. visitStylesheet$body$_EvaluateVisitor(_, node) {
  67914. var $async$goto = 0,
  67915. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67916. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  67917. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67918. if ($async$errorCode === 1)
  67919. return A._asyncRethrow($async$result, $async$completer);
  67920. while (true)
  67921. switch ($async$goto) {
  67922. case 0:
  67923. // Function start
  67924. 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();) {
  67925. warning = t1.__internal$_current;
  67926. if (warning == null)
  67927. warning = t2._as(warning);
  67928. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  67929. }
  67930. t1 = node.children, t2 = t1.length, _i = 0;
  67931. case 3:
  67932. // for condition
  67933. if (!(_i < t2)) {
  67934. // goto after for
  67935. $async$goto = 5;
  67936. break;
  67937. }
  67938. $async$goto = 6;
  67939. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  67940. case 6:
  67941. // returning from await.
  67942. case 4:
  67943. // for update
  67944. ++_i;
  67945. // goto for condition
  67946. $async$goto = 3;
  67947. break;
  67948. case 5:
  67949. // after for
  67950. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  67951. t2 = t1.get$current(t1);
  67952. $name = t2._0;
  67953. span = t2._1;
  67954. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  67955. }
  67956. $async$returnValue = null;
  67957. // goto return
  67958. $async$goto = 1;
  67959. break;
  67960. case 1:
  67961. // return
  67962. return A._asyncReturn($async$returnValue, $async$completer);
  67963. }
  67964. });
  67965. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  67966. },
  67967. visitAtRootRule$1(_, node) {
  67968. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  67969. },
  67970. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  67971. var $async$goto = 0,
  67972. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67973. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  67974. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67975. if ($async$errorCode === 1)
  67976. return A._asyncRethrow($async$result, $async$completer);
  67977. while (true)
  67978. switch ($async$goto) {
  67979. case 0:
  67980. // Function start
  67981. _0_0 = node.query;
  67982. $async$goto = _0_0 != null ? 3 : 5;
  67983. break;
  67984. case 3:
  67985. // then
  67986. $async$goto = 6;
  67987. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  67988. case 6:
  67989. // returning from await.
  67990. _1_0 = $async$result;
  67991. resolved = _1_0._0;
  67992. _1_0._1;
  67993. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  67994. // goto join
  67995. $async$goto = 4;
  67996. break;
  67997. case 5:
  67998. // else
  67999. query = B.AtRootQuery_bfj;
  68000. case 4:
  68001. // join
  68002. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68003. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  68004. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  68005. if (!query.excludes$1($parent))
  68006. included.push($parent);
  68007. _2_0 = $parent._parent;
  68008. if (_2_0 == null)
  68009. throw A.wrapException(A.StateError$(string$.CssNod));
  68010. }
  68011. root = $async$self._async_evaluate$_trimIncluded$1(included);
  68012. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  68013. break;
  68014. case 7:
  68015. // then
  68016. $async$goto = 9;
  68017. 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);
  68018. case 9:
  68019. // returning from await.
  68020. $async$returnValue = null;
  68021. // goto return
  68022. $async$goto = 1;
  68023. break;
  68024. case 8:
  68025. // join
  68026. if (included.length >= 1) {
  68027. first = included[0];
  68028. rest = B.JSArray_methods.sublist$1(included, 1);
  68029. innerCopy = first.copyWithoutChildren$0();
  68030. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  68031. copy = rest[_i].copyWithoutChildren$0();
  68032. copy.addChild$1(outerCopy);
  68033. }
  68034. root.addChild$1(outerCopy);
  68035. } else
  68036. innerCopy = root;
  68037. $async$goto = 10;
  68038. 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);
  68039. case 10:
  68040. // returning from await.
  68041. $async$returnValue = null;
  68042. // goto return
  68043. $async$goto = 1;
  68044. break;
  68045. case 1:
  68046. // return
  68047. return A._asyncReturn($async$returnValue, $async$completer);
  68048. }
  68049. });
  68050. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  68051. },
  68052. _async_evaluate$_trimIncluded$1(nodes) {
  68053. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  68054. _s22_ = " to be an ancestor of ";
  68055. if (nodes.length === 0)
  68056. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68057. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  68058. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  68059. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  68060. _0_0 = $parent._parent;
  68061. if (_0_0 == null)
  68062. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68063. }
  68064. if (innermostContiguous == null)
  68065. innermostContiguous = i;
  68066. _1_0 = $parent._parent;
  68067. if (_1_0 == null)
  68068. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68069. }
  68070. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  68071. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68072. innermostContiguous.toString;
  68073. root = nodes[innermostContiguous];
  68074. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  68075. return root;
  68076. },
  68077. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  68078. var _this = this,
  68079. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  68080. t1 = query._all || query._at_root_query$_rule;
  68081. if (t1 !== query.include)
  68082. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  68083. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  68084. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  68085. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  68086. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  68087. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  68088. },
  68089. visitContentBlock$1(_, node) {
  68090. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  68091. },
  68092. visitContentRule$1(_, node) {
  68093. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  68094. },
  68095. visitContentRule$body$_EvaluateVisitor(_, node) {
  68096. var $async$goto = 0,
  68097. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68098. $async$returnValue, $async$self = this, $content;
  68099. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68100. if ($async$errorCode === 1)
  68101. return A._asyncRethrow($async$result, $async$completer);
  68102. while (true)
  68103. switch ($async$goto) {
  68104. case 0:
  68105. // Function start
  68106. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  68107. if ($content == null) {
  68108. $async$returnValue = null;
  68109. // goto return
  68110. $async$goto = 1;
  68111. break;
  68112. }
  68113. $async$goto = 3;
  68114. 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);
  68115. case 3:
  68116. // returning from await.
  68117. $async$returnValue = null;
  68118. // goto return
  68119. $async$goto = 1;
  68120. break;
  68121. case 1:
  68122. // return
  68123. return A._asyncReturn($async$returnValue, $async$completer);
  68124. }
  68125. });
  68126. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68127. },
  68128. visitDebugRule$1(_, node) {
  68129. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68130. },
  68131. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68132. var $async$goto = 0,
  68133. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68134. $async$returnValue, $async$self = this, value, t1;
  68135. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68136. if ($async$errorCode === 1)
  68137. return A._asyncRethrow($async$result, $async$completer);
  68138. while (true)
  68139. switch ($async$goto) {
  68140. case 0:
  68141. // Function start
  68142. $async$goto = 3;
  68143. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68144. case 3:
  68145. // returning from await.
  68146. value = $async$result;
  68147. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68148. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68149. $async$returnValue = null;
  68150. // goto return
  68151. $async$goto = 1;
  68152. break;
  68153. case 1:
  68154. // return
  68155. return A._asyncReturn($async$returnValue, $async$completer);
  68156. }
  68157. });
  68158. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68159. },
  68160. visitDeclaration$1(_, node) {
  68161. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68162. },
  68163. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68164. var $async$goto = 0,
  68165. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68166. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  68167. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68168. if ($async$errorCode === 1)
  68169. return A._asyncRethrow($async$result, $async$completer);
  68170. while (true)
  68171. switch ($async$goto) {
  68172. case 0:
  68173. // Function start
  68174. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68175. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68176. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  68177. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  68178. siblings = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  68179. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  68180. if (siblings.get$last(siblings) !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent"))
  68181. t1 = !($async$self._async_evaluate$_quietDeps && $async$self._async_evaluate$_inDependency);
  68182. else
  68183. t1 = false;
  68184. if (t1)
  68185. 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();) {
  68186. t6 = t1.__internal$_current;
  68187. rule = t6 == null ? t2._as(t6) : t6;
  68188. $label0$1: {
  68189. if (rule instanceof A.ModifiableCssComment)
  68190. continue;
  68191. t6 = rule instanceof A.ModifiableCssStyleRule;
  68192. rule0 = t6 ? rule : null;
  68193. if (t6) {
  68194. interleavedRules.push(rule0);
  68195. break $label0$1;
  68196. }
  68197. $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);
  68198. B.JSArray_methods.clear$0(interleavedRules);
  68199. break $label0$1;
  68200. }
  68201. }
  68202. t1 = node.name;
  68203. $async$goto = 3;
  68204. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  68205. case 3:
  68206. // returning from await.
  68207. $name = $async$result;
  68208. _1_0 = $async$self._async_evaluate$_declarationName;
  68209. if (_1_0 != null)
  68210. $name = new A.CssValue(_1_0 + "-" + $name.value, $name.span, type$.CssValue_String);
  68211. _2_0 = node.value;
  68212. $async$goto = _2_0 != null ? 4 : 5;
  68213. break;
  68214. case 4:
  68215. // then
  68216. $async$goto = 6;
  68217. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  68218. case 6:
  68219. // returning from await.
  68220. value = $async$result;
  68221. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  68222. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68223. t3 = _2_0.get$span(_2_0);
  68224. t4 = node.span;
  68225. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  68226. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate$_stackTrace$1(t4);
  68227. if ($async$self._async_evaluate$_sourceMap) {
  68228. t6 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  68229. t6 = t6 == null ? null : J.get$span$z(t6);
  68230. } else
  68231. t6 = null;
  68232. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  68233. }
  68234. case 5:
  68235. // join
  68236. _3_0 = node.children;
  68237. t1 = {};
  68238. t1.children = null;
  68239. $async$goto = _3_0 != null ? 7 : 8;
  68240. break;
  68241. case 7:
  68242. // then
  68243. t1.children = _3_0;
  68244. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68245. $async$self._async_evaluate$_declarationName = $name.value;
  68246. $async$goto = 9;
  68247. 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);
  68248. case 9:
  68249. // returning from await.
  68250. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68251. case 8:
  68252. // join
  68253. $async$returnValue = null;
  68254. // goto return
  68255. $async$goto = 1;
  68256. break;
  68257. case 1:
  68258. // return
  68259. return A._asyncReturn($async$returnValue, $async$completer);
  68260. }
  68261. });
  68262. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68263. },
  68264. visitEachRule$1(_, node) {
  68265. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68266. },
  68267. visitEachRule$body$_EvaluateVisitor(_, node) {
  68268. var $async$goto = 0,
  68269. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68270. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68271. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68272. if ($async$errorCode === 1)
  68273. return A._asyncRethrow($async$result, $async$completer);
  68274. while (true)
  68275. switch ($async$goto) {
  68276. case 0:
  68277. // Function start
  68278. t1 = node.list;
  68279. $async$goto = 3;
  68280. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68281. case 3:
  68282. // returning from await.
  68283. list = $async$result;
  68284. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68285. _0_0 = node.variables;
  68286. $label0$0: {
  68287. t1 = {};
  68288. t1.variable = null;
  68289. if (_0_0.length === 1) {
  68290. t1.variable = _0_0[0];
  68291. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68292. break $label0$0;
  68293. }
  68294. t1 = {};
  68295. t1.variables = null;
  68296. t1.variables = _0_0;
  68297. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68298. break $label0$0;
  68299. }
  68300. $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);
  68301. // goto return
  68302. $async$goto = 1;
  68303. break;
  68304. case 1:
  68305. // return
  68306. return A._asyncReturn($async$returnValue, $async$completer);
  68307. }
  68308. });
  68309. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68310. },
  68311. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68312. var i,
  68313. list = value.get$asList(),
  68314. t1 = variables.length,
  68315. minLength = Math.min(t1, list.length);
  68316. for (i = 0; i < minLength; ++i)
  68317. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68318. for (i = minLength; i < t1; ++i)
  68319. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68320. },
  68321. visitErrorRule$1(_, node) {
  68322. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68323. },
  68324. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68325. var $async$goto = 0,
  68326. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68327. $async$self = this, $async$temp1, $async$temp2;
  68328. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68329. if ($async$errorCode === 1)
  68330. return A._asyncRethrow($async$result, $async$completer);
  68331. while (true)
  68332. switch ($async$goto) {
  68333. case 0:
  68334. // Function start
  68335. $async$temp1 = A;
  68336. $async$temp2 = J;
  68337. $async$goto = 2;
  68338. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68339. case 2:
  68340. // returning from await.
  68341. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68342. // implicit return
  68343. return A._asyncReturn(null, $async$completer);
  68344. }
  68345. });
  68346. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68347. },
  68348. visitExtendRule$1(_, node) {
  68349. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68350. },
  68351. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68352. var $async$goto = 0,
  68353. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68354. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, simple, styleRule;
  68355. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68356. if ($async$errorCode === 1)
  68357. return A._asyncRethrow($async$result, $async$completer);
  68358. while (true)
  68359. switch ($async$goto) {
  68360. case 0:
  68361. // Function start
  68362. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68363. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68364. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68365. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68366. complex = t1[_i];
  68367. if (!complex.accept$1(B._IsBogusVisitor_true))
  68368. continue;
  68369. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68370. complex.accept$1(visitor);
  68371. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68372. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68373. $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);
  68374. }
  68375. $async$goto = 3;
  68376. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68377. case 3:
  68378. // returning from await.
  68379. _0_0 = $async$result;
  68380. targetText = _0_0._0;
  68381. targetMap = _0_0._1;
  68382. 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) {
  68383. complex = t1[_i];
  68384. compound = complex.get$singleCompound();
  68385. if (compound == null)
  68386. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68387. t4 = compound.components;
  68388. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68389. if (simple == null)
  68390. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68391. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, $async$self._async_evaluate$_mediaQueries);
  68392. }
  68393. $async$returnValue = null;
  68394. // goto return
  68395. $async$goto = 1;
  68396. break;
  68397. case 1:
  68398. // return
  68399. return A._asyncReturn($async$returnValue, $async$completer);
  68400. }
  68401. });
  68402. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68403. },
  68404. visitAtRule$1(_, node) {
  68405. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68406. },
  68407. visitAtRule$body$_EvaluateVisitor(_, node) {
  68408. var $async$goto = 0,
  68409. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68410. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68411. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68412. if ($async$errorCode === 1)
  68413. return A._asyncRethrow($async$result, $async$completer);
  68414. while (true)
  68415. switch ($async$goto) {
  68416. case 0:
  68417. // Function start
  68418. if ($async$self._async_evaluate$_declarationName != null)
  68419. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68420. $async$goto = 3;
  68421. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68422. case 3:
  68423. // returning from await.
  68424. $name = $async$result;
  68425. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68426. $async$goto = 4;
  68427. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68428. case 4:
  68429. // returning from await.
  68430. value = $async$result;
  68431. children = node.children;
  68432. if (children == null) {
  68433. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68434. $async$returnValue = null;
  68435. // goto return
  68436. $async$goto = 1;
  68437. break;
  68438. }
  68439. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68440. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68441. if (A.unvendor($name.value) === "keyframes")
  68442. $async$self._async_evaluate$_inKeyframes = true;
  68443. else
  68444. $async$self._async_evaluate$_inUnknownAtRule = true;
  68445. $async$goto = 5;
  68446. 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);
  68447. case 5:
  68448. // returning from await.
  68449. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68450. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68451. $async$returnValue = null;
  68452. // goto return
  68453. $async$goto = 1;
  68454. break;
  68455. case 1:
  68456. // return
  68457. return A._asyncReturn($async$returnValue, $async$completer);
  68458. }
  68459. });
  68460. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68461. },
  68462. visitForRule$1(_, node) {
  68463. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68464. },
  68465. visitForRule$body$_EvaluateVisitor(_, node) {
  68466. var $async$goto = 0,
  68467. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68468. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68469. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68470. if ($async$errorCode === 1)
  68471. return A._asyncRethrow($async$result, $async$completer);
  68472. while (true)
  68473. switch ($async$goto) {
  68474. case 0:
  68475. // Function start
  68476. t1 = {};
  68477. t2 = node.from;
  68478. t3 = type$.SassNumber;
  68479. $async$goto = 3;
  68480. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68481. case 3:
  68482. // returning from await.
  68483. fromNumber = $async$result;
  68484. t4 = node.to;
  68485. $async$goto = 4;
  68486. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68487. case 4:
  68488. // returning from await.
  68489. toNumber = $async$result;
  68490. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68491. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68492. direction = from > to ? -1 : 1;
  68493. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68494. $async$returnValue = null;
  68495. // goto return
  68496. $async$goto = 1;
  68497. break;
  68498. }
  68499. $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);
  68500. // goto return
  68501. $async$goto = 1;
  68502. break;
  68503. case 1:
  68504. // return
  68505. return A._asyncReturn($async$returnValue, $async$completer);
  68506. }
  68507. });
  68508. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68509. },
  68510. visitForwardRule$1(_, node) {
  68511. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68512. },
  68513. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68514. var $async$goto = 0,
  68515. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68516. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68517. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68518. if ($async$errorCode === 1)
  68519. return A._asyncRethrow($async$result, $async$completer);
  68520. while (true)
  68521. switch ($async$goto) {
  68522. case 0:
  68523. // Function start
  68524. oldConfiguration = $async$self._async_evaluate$_configuration;
  68525. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  68526. t1 = node.configuration;
  68527. t2 = t1.length;
  68528. t3 = node.url;
  68529. $async$goto = t2 !== 0 ? 3 : 5;
  68530. break;
  68531. case 3:
  68532. // then
  68533. $async$goto = 6;
  68534. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  68535. case 6:
  68536. // returning from await.
  68537. newConfiguration = $async$result;
  68538. $async$goto = 7;
  68539. 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);
  68540. case 7:
  68541. // returning from await.
  68542. t3 = type$.String;
  68543. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68544. for (_i = 0; _i < t2; ++_i) {
  68545. variable = t1[_i];
  68546. if (!variable.isGuarded)
  68547. t4.add$1(0, variable.name);
  68548. }
  68549. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  68550. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68551. for (_i = 0; _i < t2; ++_i)
  68552. t3.add$1(0, t1[_i].name);
  68553. for (t1 = newConfiguration._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68554. $name = t2[_i];
  68555. if (!t3.contains$1(0, $name))
  68556. if (!t1.get$isEmpty(t1))
  68557. t1.remove$1(0, $name);
  68558. }
  68559. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  68560. // goto join
  68561. $async$goto = 4;
  68562. break;
  68563. case 5:
  68564. // else
  68565. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  68566. $async$goto = 8;
  68567. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  68568. case 8:
  68569. // returning from await.
  68570. $async$self._async_evaluate$_configuration = oldConfiguration;
  68571. case 4:
  68572. // join
  68573. $async$returnValue = null;
  68574. // goto return
  68575. $async$goto = 1;
  68576. break;
  68577. case 1:
  68578. // return
  68579. return A._asyncReturn($async$returnValue, $async$completer);
  68580. }
  68581. });
  68582. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  68583. },
  68584. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  68585. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  68586. },
  68587. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  68588. var $async$goto = 0,
  68589. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  68590. $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;
  68591. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68592. if ($async$errorCode === 1)
  68593. return A._asyncRethrow($async$result, $async$completer);
  68594. while (true)
  68595. switch ($async$goto) {
  68596. case 0:
  68597. // Function start
  68598. t1 = configuration._configuration$_values;
  68599. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68600. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  68601. case 3:
  68602. // for condition
  68603. if (!(_i < t3)) {
  68604. // goto after for
  68605. $async$goto = 5;
  68606. break;
  68607. }
  68608. variable = t2[_i];
  68609. if (variable.isGuarded) {
  68610. t6 = variable.name;
  68611. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  68612. if (_0_0 != null) {
  68613. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  68614. oldValue = _0_0;
  68615. } else {
  68616. oldValue = null;
  68617. t7 = false;
  68618. }
  68619. if (t7) {
  68620. newValues.$indexSet(0, t6, oldValue);
  68621. // goto for update
  68622. $async$goto = 4;
  68623. break;
  68624. }
  68625. }
  68626. t6 = variable.expression;
  68627. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  68628. t6 = t6.accept$1($async$self);
  68629. if (!t5._is(t6)) {
  68630. t7 = new A._Future($.Zone__current, t4);
  68631. t7._state = 8;
  68632. t7._resultOrListeners = t6;
  68633. t6 = t7;
  68634. }
  68635. $async$temp1 = newValues;
  68636. $async$temp2 = variable.name;
  68637. $async$temp3 = A;
  68638. $async$goto = 6;
  68639. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  68640. case 6:
  68641. // returning from await.
  68642. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  68643. case 4:
  68644. // for update
  68645. ++_i;
  68646. // goto for condition
  68647. $async$goto = 3;
  68648. break;
  68649. case 5:
  68650. // after for
  68651. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  68652. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  68653. // goto return
  68654. $async$goto = 1;
  68655. break;
  68656. } else {
  68657. $async$returnValue = new A.Configuration(newValues, null);
  68658. // goto return
  68659. $async$goto = 1;
  68660. break;
  68661. }
  68662. case 1:
  68663. // return
  68664. return A._asyncReturn($async$returnValue, $async$completer);
  68665. }
  68666. });
  68667. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  68668. },
  68669. _async_evaluate$_registerCommentsForModule$1(module) {
  68670. var _this = this, _s5_ = "_root",
  68671. t1 = _this._async_evaluate$__root;
  68672. if (t1 == null)
  68673. return;
  68674. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  68675. return;
  68676. t1 = _this._async_evaluate$_preModuleComments;
  68677. if (t1 == null)
  68678. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  68679. 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));
  68680. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  68681. _this._async_evaluate$__endOfImports = 0;
  68682. },
  68683. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  68684. var t1, t2, t3, t4, _i, $name;
  68685. for (t1 = upstream._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  68686. $name = t2[_i];
  68687. if (except.contains$1(0, $name))
  68688. continue;
  68689. if (!t4.containsKey$1($name))
  68690. if (!t1.get$isEmpty(t1))
  68691. t1.remove$1(0, $name);
  68692. }
  68693. },
  68694. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  68695. var t1, _0_0;
  68696. if (!(configuration instanceof A.ExplicitConfiguration))
  68697. return;
  68698. t1 = configuration._configuration$_values;
  68699. if (t1.get$isEmpty(t1))
  68700. return;
  68701. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68702. _0_0 = t1.get$first(t1);
  68703. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  68704. throw A.wrapException(this._async_evaluate$_exception$2(t1, _0_0._1.configurationSpan));
  68705. },
  68706. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  68707. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  68708. },
  68709. visitFunctionRule$1(_, node) {
  68710. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  68711. },
  68712. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  68713. var $async$goto = 0,
  68714. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68715. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  68716. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68717. if ($async$errorCode === 1)
  68718. return A._asyncRethrow($async$result, $async$completer);
  68719. while (true)
  68720. switch ($async$goto) {
  68721. case 0:
  68722. // Function start
  68723. t1 = $async$self._async_evaluate$_environment;
  68724. t2 = t1.closure$0();
  68725. t3 = $async$self._async_evaluate$_inDependency;
  68726. t4 = t1._async_environment$_functions;
  68727. index = t4.length - 1;
  68728. t5 = node.name;
  68729. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  68730. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  68731. $async$returnValue = null;
  68732. // goto return
  68733. $async$goto = 1;
  68734. break;
  68735. case 1:
  68736. // return
  68737. return A._asyncReturn($async$returnValue, $async$completer);
  68738. }
  68739. });
  68740. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  68741. },
  68742. visitIfRule$1(_, node) {
  68743. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  68744. },
  68745. visitIfRule$body$_EvaluateVisitor(_, node) {
  68746. var $async$goto = 0,
  68747. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68748. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  68749. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68750. if ($async$errorCode === 1)
  68751. return A._asyncRethrow($async$result, $async$completer);
  68752. while (true)
  68753. switch ($async$goto) {
  68754. case 0:
  68755. // Function start
  68756. clause = node.lastClause;
  68757. t1 = node.clauses, t2 = t1.length, _i = 0;
  68758. case 3:
  68759. // for condition
  68760. if (!(_i < t2)) {
  68761. // goto after for
  68762. $async$goto = 5;
  68763. break;
  68764. }
  68765. clauseToCheck = t1[_i];
  68766. $async$goto = 6;
  68767. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  68768. case 6:
  68769. // returning from await.
  68770. if ($async$result.get$isTruthy()) {
  68771. clause = clauseToCheck;
  68772. // goto after for
  68773. $async$goto = 5;
  68774. break;
  68775. }
  68776. case 4:
  68777. // for update
  68778. ++_i;
  68779. // goto for condition
  68780. $async$goto = 3;
  68781. break;
  68782. case 5:
  68783. // after for
  68784. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  68785. $async$goto = 7;
  68786. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  68787. case 7:
  68788. // returning from await.
  68789. $async$returnValue = $async$result;
  68790. // goto return
  68791. $async$goto = 1;
  68792. break;
  68793. case 1:
  68794. // return
  68795. return A._asyncReturn($async$returnValue, $async$completer);
  68796. }
  68797. });
  68798. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  68799. },
  68800. visitImportRule$1(_, node) {
  68801. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  68802. },
  68803. visitImportRule$body$_EvaluateVisitor(_, node) {
  68804. var $async$goto = 0,
  68805. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68806. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  68807. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68808. if ($async$errorCode === 1)
  68809. return A._asyncRethrow($async$result, $async$completer);
  68810. while (true)
  68811. switch ($async$goto) {
  68812. case 0:
  68813. // Function start
  68814. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  68815. case 3:
  68816. // for condition
  68817. if (!(_i < t2)) {
  68818. // goto after for
  68819. $async$goto = 5;
  68820. break;
  68821. }
  68822. $import = t1[_i];
  68823. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  68824. break;
  68825. case 6:
  68826. // then
  68827. $async$goto = 9;
  68828. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  68829. case 9:
  68830. // returning from await.
  68831. // goto join
  68832. $async$goto = 7;
  68833. break;
  68834. case 8:
  68835. // else
  68836. $async$goto = 10;
  68837. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  68838. case 10:
  68839. // returning from await.
  68840. case 7:
  68841. // join
  68842. case 4:
  68843. // for update
  68844. ++_i;
  68845. // goto for condition
  68846. $async$goto = 3;
  68847. break;
  68848. case 5:
  68849. // after for
  68850. $async$returnValue = null;
  68851. // goto return
  68852. $async$goto = 1;
  68853. break;
  68854. case 1:
  68855. // return
  68856. return A._asyncReturn($async$returnValue, $async$completer);
  68857. }
  68858. });
  68859. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  68860. },
  68861. _async_evaluate$_visitDynamicImport$1($import) {
  68862. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  68863. },
  68864. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  68865. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  68866. },
  68867. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  68868. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  68869. },
  68870. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  68871. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  68872. },
  68873. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  68874. var $async$goto = 0,
  68875. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  68876. $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;
  68877. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68878. if ($async$errorCode === 1) {
  68879. $async$errorStack.push($async$result);
  68880. $async$goto = $async$handler;
  68881. }
  68882. while (true)
  68883. switch ($async$goto) {
  68884. case 0:
  68885. // Function start
  68886. baseUrl = baseUrl;
  68887. $async$handler = 4;
  68888. $async$self._async_evaluate$_importSpan = span;
  68889. _0_0 = $async$self._async_evaluate$_importCache;
  68890. importCache = null;
  68891. $async$goto = _0_0 != null ? 7 : 8;
  68892. break;
  68893. case 7:
  68894. // then
  68895. importCache = _0_0;
  68896. if (baseUrl == null) {
  68897. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  68898. baseUrl = t1.get$sourceUrl(t1);
  68899. }
  68900. $async$goto = 9;
  68901. 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);
  68902. case 9:
  68903. // returning from await.
  68904. _1_0 = $async$result;
  68905. importer = null;
  68906. canonicalUrl = null;
  68907. originalUrl = null;
  68908. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  68909. break;
  68910. case 10:
  68911. // then
  68912. importer = _1_0._0;
  68913. canonicalUrl = _1_0._1;
  68914. originalUrl = _1_0._2;
  68915. if (canonicalUrl.get$scheme() === "")
  68916. 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);
  68917. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  68918. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  68919. $async$goto = 12;
  68920. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  68921. case 12:
  68922. // returning from await.
  68923. _2_0 = $async$result;
  68924. stylesheet = null;
  68925. if (_2_0 != null) {
  68926. stylesheet = _2_0;
  68927. t1 = stylesheet;
  68928. t2 = importer;
  68929. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  68930. $async$next = [1];
  68931. // goto finally
  68932. $async$goto = 5;
  68933. break;
  68934. }
  68935. case 11:
  68936. // join
  68937. case 8:
  68938. // join
  68939. t1 = B.JSString_methods.startsWith$1(url, "package:");
  68940. if (t1)
  68941. throw A.wrapException(string$.x22packa);
  68942. else
  68943. throw A.wrapException("Can't find stylesheet to import.");
  68944. $async$next.push(6);
  68945. // goto finally
  68946. $async$goto = 5;
  68947. break;
  68948. case 4:
  68949. // catch
  68950. $async$handler = 3;
  68951. $async$exception = $async$errorStack.pop();
  68952. t1 = A.unwrapException($async$exception);
  68953. if (t1 instanceof A.SassException)
  68954. throw $async$exception;
  68955. else if (t1 instanceof A.ArgumentError) {
  68956. error = t1;
  68957. stackTrace = A.getTraceFromException($async$exception);
  68958. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  68959. } else {
  68960. error0 = t1;
  68961. stackTrace0 = A.getTraceFromException($async$exception);
  68962. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  68963. }
  68964. $async$next.push(6);
  68965. // goto finally
  68966. $async$goto = 5;
  68967. break;
  68968. case 3:
  68969. // uncaught
  68970. $async$next = [2];
  68971. case 5:
  68972. // finally
  68973. $async$handler = 2;
  68974. $async$self._async_evaluate$_importSpan = null;
  68975. // goto the next finally handler
  68976. $async$goto = $async$next.pop();
  68977. break;
  68978. case 6:
  68979. // after finally
  68980. case 1:
  68981. // return
  68982. return A._asyncReturn($async$returnValue, $async$completer);
  68983. case 2:
  68984. // rethrow
  68985. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  68986. }
  68987. });
  68988. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  68989. },
  68990. _visitStaticImport$1($import) {
  68991. return this._visitStaticImport$body$_EvaluateVisitor($import);
  68992. },
  68993. _visitStaticImport$body$_EvaluateVisitor($import) {
  68994. var $async$goto = 0,
  68995. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68996. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  68997. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68998. if ($async$errorCode === 1)
  68999. return A._asyncRethrow($async$result, $async$completer);
  69000. while (true)
  69001. switch ($async$goto) {
  69002. case 0:
  69003. // Function start
  69004. $async$goto = 2;
  69005. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  69006. case 2:
  69007. // returning from await.
  69008. t1 = $async$result;
  69009. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  69010. $async$temp1 = A;
  69011. $async$temp2 = t1;
  69012. $async$goto = 3;
  69013. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  69014. case 3:
  69015. // returning from await.
  69016. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  69017. 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"))
  69018. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  69019. 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)) {
  69020. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  69021. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69022. } else {
  69023. t1 = $async$self._async_evaluate$_outOfOrderImports;
  69024. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  69025. }
  69026. // implicit return
  69027. return A._asyncReturn(null, $async$completer);
  69028. }
  69029. });
  69030. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  69031. },
  69032. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69033. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  69034. },
  69035. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69036. var $async$goto = 0,
  69037. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69038. $async$self = this, t1, _0_0, t2, _1_8, t3;
  69039. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69040. if ($async$errorCode === 1)
  69041. return A._asyncRethrow($async$result, $async$completer);
  69042. while (true)
  69043. switch ($async$goto) {
  69044. case 0:
  69045. // Function start
  69046. if (mixin == null)
  69047. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  69048. t1 = type$.AsyncBuiltInCallable._is(mixin);
  69049. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  69050. break;
  69051. case 3:
  69052. // then
  69053. $async$goto = 5;
  69054. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  69055. case 5:
  69056. // returning from await.
  69057. t1 = $async$result._values;
  69058. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  69059. 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));
  69060. case 4:
  69061. // join
  69062. $async$goto = t1 ? 6 : 7;
  69063. break;
  69064. case 6:
  69065. // then
  69066. $async$goto = 8;
  69067. 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);
  69068. case 8:
  69069. // returning from await.
  69070. // goto break $label0$0
  69071. $async$goto = 2;
  69072. break;
  69073. case 7:
  69074. // join
  69075. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  69076. t2 = false;
  69077. if (t1) {
  69078. _1_8 = mixin.declaration;
  69079. t3 = _1_8;
  69080. if (t3 instanceof A.MixinRule)
  69081. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  69082. }
  69083. if (t2)
  69084. 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));
  69085. $async$goto = t1 ? 9 : 10;
  69086. break;
  69087. case 9:
  69088. // then
  69089. $async$goto = 11;
  69090. 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);
  69091. case 11:
  69092. // returning from await.
  69093. // goto break $label0$0
  69094. $async$goto = 2;
  69095. break;
  69096. case 10:
  69097. // join
  69098. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  69099. case 2:
  69100. // break $label0$0
  69101. // implicit return
  69102. return A._asyncReturn(null, $async$completer);
  69103. }
  69104. });
  69105. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  69106. },
  69107. visitIncludeRule$1(_, node) {
  69108. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  69109. },
  69110. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  69111. var $async$goto = 0,
  69112. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69113. $async$returnValue, $async$self = this, mixin;
  69114. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69115. if ($async$errorCode === 1)
  69116. return A._asyncRethrow($async$result, $async$completer);
  69117. while (true)
  69118. switch ($async$goto) {
  69119. case 0:
  69120. // Function start
  69121. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69122. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69123. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  69124. $async$goto = 3;
  69125. 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);
  69126. case 3:
  69127. // returning from await.
  69128. $async$returnValue = null;
  69129. // goto return
  69130. $async$goto = 1;
  69131. break;
  69132. case 1:
  69133. // return
  69134. return A._asyncReturn($async$returnValue, $async$completer);
  69135. }
  69136. });
  69137. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69138. },
  69139. visitMixinRule$1(_, node) {
  69140. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69141. },
  69142. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69143. var $async$goto = 0,
  69144. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69145. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69146. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69147. if ($async$errorCode === 1)
  69148. return A._asyncRethrow($async$result, $async$completer);
  69149. while (true)
  69150. switch ($async$goto) {
  69151. case 0:
  69152. // Function start
  69153. t1 = $async$self._async_evaluate$_environment;
  69154. t2 = t1.closure$0();
  69155. t3 = $async$self._async_evaluate$_inDependency;
  69156. t4 = t1._async_environment$_mixins;
  69157. index = t4.length - 1;
  69158. t5 = node.name;
  69159. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69160. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69161. $async$returnValue = null;
  69162. // goto return
  69163. $async$goto = 1;
  69164. break;
  69165. case 1:
  69166. // return
  69167. return A._asyncReturn($async$returnValue, $async$completer);
  69168. }
  69169. });
  69170. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69171. },
  69172. visitLoudComment$1(_, node) {
  69173. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69174. },
  69175. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69176. var $async$goto = 0,
  69177. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69178. $async$returnValue, $async$self = this, t1, text;
  69179. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69180. if ($async$errorCode === 1)
  69181. return A._asyncRethrow($async$result, $async$completer);
  69182. while (true)
  69183. switch ($async$goto) {
  69184. case 0:
  69185. // Function start
  69186. if ($async$self._async_evaluate$_inFunction) {
  69187. $async$returnValue = null;
  69188. // goto return
  69189. $async$goto = 1;
  69190. break;
  69191. }
  69192. 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))
  69193. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69194. t1 = node.text;
  69195. $async$goto = 3;
  69196. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69197. case 3:
  69198. // returning from await.
  69199. text = $async$result;
  69200. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69201. text += " */";
  69202. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69203. $async$returnValue = null;
  69204. // goto return
  69205. $async$goto = 1;
  69206. break;
  69207. case 1:
  69208. // return
  69209. return A._asyncReturn($async$returnValue, $async$completer);
  69210. }
  69211. });
  69212. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69213. },
  69214. visitMediaRule$1(_, node) {
  69215. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69216. },
  69217. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69218. var $async$goto = 0,
  69219. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69220. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69221. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69222. if ($async$errorCode === 1)
  69223. return A._asyncRethrow($async$result, $async$completer);
  69224. while (true)
  69225. switch ($async$goto) {
  69226. case 0:
  69227. // Function start
  69228. if ($async$self._async_evaluate$_declarationName != null)
  69229. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69230. $async$goto = 3;
  69231. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69232. case 3:
  69233. // returning from await.
  69234. queries = $async$result;
  69235. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69236. t1 = mergedQueries == null;
  69237. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69238. $async$returnValue = null;
  69239. // goto return
  69240. $async$goto = 1;
  69241. break;
  69242. }
  69243. if (t1)
  69244. mergedSources = B.Set_empty2;
  69245. else {
  69246. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69247. t2.toString;
  69248. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69249. t3 = $async$self._async_evaluate$_mediaQueries;
  69250. t3.toString;
  69251. t2.addAll$1(0, t3);
  69252. t2.addAll$1(0, queries);
  69253. mergedSources = t2;
  69254. }
  69255. t1 = t1 ? queries : mergedQueries;
  69256. $async$goto = 4;
  69257. 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);
  69258. case 4:
  69259. // returning from await.
  69260. $async$returnValue = null;
  69261. // goto return
  69262. $async$goto = 1;
  69263. break;
  69264. case 1:
  69265. // return
  69266. return A._asyncReturn($async$returnValue, $async$completer);
  69267. }
  69268. });
  69269. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69270. },
  69271. _visitMediaQueries$1(interpolation) {
  69272. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69273. },
  69274. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69275. var $async$goto = 0,
  69276. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69277. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69278. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69279. if ($async$errorCode === 1)
  69280. return A._asyncRethrow($async$result, $async$completer);
  69281. while (true)
  69282. switch ($async$goto) {
  69283. case 0:
  69284. // Function start
  69285. $async$goto = 3;
  69286. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69287. case 3:
  69288. // returning from await.
  69289. _0_0 = $async$result;
  69290. resolved = _0_0._0;
  69291. map = _0_0._1;
  69292. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69293. // goto return
  69294. $async$goto = 1;
  69295. break;
  69296. case 1:
  69297. // return
  69298. return A._asyncReturn($async$returnValue, $async$completer);
  69299. }
  69300. });
  69301. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69302. },
  69303. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69304. var t1, t2, t3, t4, _0_0, t5, result,
  69305. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69306. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69307. t3 = t1.get$current(t1);
  69308. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69309. _0_0 = t3.merge$1(t4.get$current(t4));
  69310. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69311. continue;
  69312. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69313. return null;
  69314. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69315. result = t5 ? _0_0 : null;
  69316. if (t5)
  69317. queries.push(result.query);
  69318. }
  69319. }
  69320. return queries;
  69321. },
  69322. visitReturnRule$1(_, node) {
  69323. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69324. },
  69325. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69326. var $async$goto = 0,
  69327. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69328. $async$returnValue, $async$self = this, t1, t2;
  69329. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69330. if ($async$errorCode === 1)
  69331. return A._asyncRethrow($async$result, $async$completer);
  69332. while (true)
  69333. switch ($async$goto) {
  69334. case 0:
  69335. // Function start
  69336. t1 = node.expression;
  69337. t2 = t1.accept$1($async$self);
  69338. $async$goto = 3;
  69339. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69340. case 3:
  69341. // returning from await.
  69342. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69343. // goto return
  69344. $async$goto = 1;
  69345. break;
  69346. case 1:
  69347. // return
  69348. return A._asyncReturn($async$returnValue, $async$completer);
  69349. }
  69350. });
  69351. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69352. },
  69353. visitSilentComment$1(_, node) {
  69354. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69355. },
  69356. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69357. var $async$goto = 0,
  69358. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69359. $async$returnValue;
  69360. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69361. if ($async$errorCode === 1)
  69362. return A._asyncRethrow($async$result, $async$completer);
  69363. while (true)
  69364. switch ($async$goto) {
  69365. case 0:
  69366. // Function start
  69367. $async$returnValue = null;
  69368. // goto return
  69369. $async$goto = 1;
  69370. break;
  69371. case 1:
  69372. // return
  69373. return A._asyncReturn($async$returnValue, $async$completer);
  69374. }
  69375. });
  69376. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69377. },
  69378. visitStyleRule$1(_, node) {
  69379. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69380. },
  69381. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69382. var $async$goto = 0,
  69383. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69384. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  69385. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69386. if ($async$errorCode === 1)
  69387. return A._asyncRethrow($async$result, $async$completer);
  69388. while (true)
  69389. switch ($async$goto) {
  69390. case 0:
  69391. // Function start
  69392. if ($async$self._async_evaluate$_declarationName != null)
  69393. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69394. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69395. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69396. t1 = node.selector;
  69397. $async$goto = 3;
  69398. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69399. case 3:
  69400. // returning from await.
  69401. _0_0 = $async$result;
  69402. selectorText = _0_0._0;
  69403. selectorMap = _0_0._1;
  69404. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69405. break;
  69406. case 4:
  69407. // then
  69408. $async$goto = 6;
  69409. 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);
  69410. case 6:
  69411. // returning from await.
  69412. $async$returnValue = null;
  69413. // goto return
  69414. $async$goto = 1;
  69415. break;
  69416. case 5:
  69417. // join
  69418. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69419. _1_0 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69420. $label0$0: {
  69421. if (_1_0 == null) {
  69422. t1 = true;
  69423. break $label0$0;
  69424. }
  69425. if (_1_0.fromPlainCss) {
  69426. t1 = false;
  69427. break $label0$0;
  69428. }
  69429. t1 = !($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  69430. break $label0$0;
  69431. }
  69432. if (t1) {
  69433. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69434. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  69435. _2_0 = t2[_i].leadingCombinators;
  69436. if (_2_0.length >= 1) {
  69437. first = _2_0[0];
  69438. t4 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69439. } else {
  69440. first = null;
  69441. t4 = false;
  69442. }
  69443. if (t4)
  69444. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69445. }
  69446. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69447. t2 = t2 == null ? null : t2.originalSelector;
  69448. 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);
  69449. }
  69450. 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);
  69451. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69452. t2 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69453. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69454. $async$goto = 7;
  69455. 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);
  69456. case 7:
  69457. // returning from await.
  69458. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69459. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69460. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69461. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69462. t1 = !t1.get$isEmpty(t1);
  69463. } else
  69464. t1 = t2;
  69465. if (t1) {
  69466. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69467. t1.get$last(t1).isGroupEnd = true;
  69468. }
  69469. $async$returnValue = null;
  69470. // goto return
  69471. $async$goto = 1;
  69472. break;
  69473. case 1:
  69474. // return
  69475. return A._asyncReturn($async$returnValue, $async$completer);
  69476. }
  69477. });
  69478. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69479. },
  69480. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69481. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69482. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69483. 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) {
  69484. complex = t1[_i];
  69485. if (!complex.accept$1(B._IsBogusVisitor_true))
  69486. continue;
  69487. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69488. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69489. complex.accept$1(visitor);
  69490. _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);
  69491. } else if (complex.leadingCombinators.length !== 0) {
  69492. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69493. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69494. complex.accept$1(visitor);
  69495. _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);
  69496. }
  69497. } else {
  69498. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69499. complex.accept$1(visitor);
  69500. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69501. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69502. t8 = A.SpanExtensions_trimRight(complex.span);
  69503. if (t5.get$length(0) === 0)
  69504. A.throwExpression(A.IterableElementError_noElement());
  69505. t9 = J.get$span$z(t5.$index(0, 0));
  69506. _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);
  69507. }
  69508. }
  69509. },
  69510. visitSupportsRule$1(_, node) {
  69511. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69512. },
  69513. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69514. var $async$goto = 0,
  69515. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69516. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69517. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69518. if ($async$errorCode === 1)
  69519. return A._asyncRethrow($async$result, $async$completer);
  69520. while (true)
  69521. switch ($async$goto) {
  69522. case 0:
  69523. // Function start
  69524. if ($async$self._async_evaluate$_declarationName != null)
  69525. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  69526. t1 = node.condition;
  69527. $async$temp1 = A;
  69528. $async$temp2 = A;
  69529. $async$goto = 4;
  69530. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  69531. case 4:
  69532. // returning from await.
  69533. $async$goto = 3;
  69534. 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);
  69535. case 3:
  69536. // returning from await.
  69537. $async$returnValue = null;
  69538. // goto return
  69539. $async$goto = 1;
  69540. break;
  69541. case 1:
  69542. // return
  69543. return A._asyncReturn($async$returnValue, $async$completer);
  69544. }
  69545. });
  69546. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  69547. },
  69548. _async_evaluate$_visitSupportsCondition$1(condition) {
  69549. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  69550. },
  69551. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  69552. var $async$goto = 0,
  69553. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69554. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69555. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69556. if ($async$errorCode === 1)
  69557. return A._asyncRethrow($async$result, $async$completer);
  69558. while (true)
  69559. switch ($async$goto) {
  69560. case 0:
  69561. // Function start
  69562. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  69563. break;
  69564. case 4:
  69565. // then
  69566. t1 = condition.operator;
  69567. $async$temp1 = A;
  69568. $async$goto = 6;
  69569. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69570. case 6:
  69571. // returning from await.
  69572. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  69573. $async$temp2 = A;
  69574. $async$goto = 7;
  69575. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69576. case 7:
  69577. // returning from await.
  69578. t1 = $async$temp1 + $async$temp2.S($async$result);
  69579. // goto break $label0$0
  69580. $async$goto = 3;
  69581. break;
  69582. case 5:
  69583. // join
  69584. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  69585. break;
  69586. case 8:
  69587. // then
  69588. $async$temp1 = A;
  69589. $async$goto = 10;
  69590. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  69591. case 10:
  69592. // returning from await.
  69593. t1 = "not " + $async$temp1.S($async$result);
  69594. // goto break $label0$0
  69595. $async$goto = 3;
  69596. break;
  69597. case 9:
  69598. // join
  69599. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  69600. break;
  69601. case 11:
  69602. // then
  69603. $async$goto = 13;
  69604. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  69605. case 13:
  69606. // returning from await.
  69607. t1 = $async$result;
  69608. // goto break $label0$0
  69609. $async$goto = 3;
  69610. break;
  69611. case 12:
  69612. // join
  69613. t1 = {};
  69614. t1.declaration = null;
  69615. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  69616. break;
  69617. case 14:
  69618. // then
  69619. t1.declaration = condition;
  69620. $async$goto = 16;
  69621. 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);
  69622. case 16:
  69623. // returning from await.
  69624. t1 = $async$result;
  69625. // goto break $label0$0
  69626. $async$goto = 3;
  69627. break;
  69628. case 15:
  69629. // join
  69630. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  69631. break;
  69632. case 17:
  69633. // then
  69634. $async$temp1 = A;
  69635. $async$goto = 19;
  69636. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  69637. case 19:
  69638. // returning from await.
  69639. $async$temp1 = $async$temp1.S($async$result) + "(";
  69640. $async$temp2 = A;
  69641. $async$goto = 20;
  69642. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  69643. case 20:
  69644. // returning from await.
  69645. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  69646. // goto break $label0$0
  69647. $async$goto = 3;
  69648. break;
  69649. case 18:
  69650. // join
  69651. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  69652. break;
  69653. case 21:
  69654. // then
  69655. $async$temp1 = A;
  69656. $async$goto = 23;
  69657. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  69658. case 23:
  69659. // returning from await.
  69660. t1 = "(" + $async$temp1.S($async$result) + ")";
  69661. // goto break $label0$0
  69662. $async$goto = 3;
  69663. break;
  69664. case 22:
  69665. // join
  69666. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  69667. case 3:
  69668. // break $label0$0
  69669. $async$returnValue = t1;
  69670. // goto return
  69671. $async$goto = 1;
  69672. break;
  69673. case 1:
  69674. // return
  69675. return A._asyncReturn($async$returnValue, $async$completer);
  69676. }
  69677. });
  69678. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  69679. },
  69680. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  69681. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  69682. },
  69683. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  69684. var $async$goto = 0,
  69685. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69686. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  69687. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69688. if ($async$errorCode === 1) {
  69689. $async$errorStack.push($async$result);
  69690. $async$goto = $async$handler;
  69691. }
  69692. while (true)
  69693. switch ($async$goto) {
  69694. case 0:
  69695. // Function start
  69696. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  69697. $async$self._async_evaluate$_inSupportsDeclaration = true;
  69698. $async$handler = 3;
  69699. t1 = callback.call$0();
  69700. $async$goto = 6;
  69701. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  69702. case 6:
  69703. // returning from await.
  69704. t1 = $async$result;
  69705. $async$returnValue = t1;
  69706. $async$next = [1];
  69707. // goto finally
  69708. $async$goto = 4;
  69709. break;
  69710. $async$next.push(5);
  69711. // goto finally
  69712. $async$goto = 4;
  69713. break;
  69714. case 3:
  69715. // uncaught
  69716. $async$next = [2];
  69717. case 4:
  69718. // finally
  69719. $async$handler = 2;
  69720. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  69721. // goto the next finally handler
  69722. $async$goto = $async$next.pop();
  69723. break;
  69724. case 5:
  69725. // after finally
  69726. case 1:
  69727. // return
  69728. return A._asyncReturn($async$returnValue, $async$completer);
  69729. case 2:
  69730. // rethrow
  69731. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69732. }
  69733. });
  69734. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  69735. },
  69736. _async_evaluate$_parenthesize$2(condition, operator) {
  69737. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  69738. },
  69739. _async_evaluate$_parenthesize$1(condition) {
  69740. return this._async_evaluate$_parenthesize$2(condition, null);
  69741. },
  69742. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  69743. var $async$goto = 0,
  69744. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69745. $async$returnValue, $async$self = this, t1, $async$temp1;
  69746. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69747. if ($async$errorCode === 1)
  69748. return A._asyncRethrow($async$result, $async$completer);
  69749. while (true)
  69750. switch ($async$goto) {
  69751. case 0:
  69752. // Function start
  69753. if (!(condition instanceof A.SupportsNegation))
  69754. if (condition instanceof A.SupportsOperation)
  69755. t1 = operator == null || operator !== condition.operator;
  69756. else
  69757. t1 = false;
  69758. else
  69759. t1 = true;
  69760. $async$goto = t1 ? 3 : 4;
  69761. break;
  69762. case 3:
  69763. // then
  69764. $async$temp1 = A;
  69765. $async$goto = 5;
  69766. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69767. case 5:
  69768. // returning from await.
  69769. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  69770. // goto return
  69771. $async$goto = 1;
  69772. break;
  69773. case 4:
  69774. // join
  69775. $async$goto = 6;
  69776. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69777. case 6:
  69778. // returning from await.
  69779. $async$returnValue = $async$result;
  69780. // goto return
  69781. $async$goto = 1;
  69782. break;
  69783. case 1:
  69784. // return
  69785. return A._asyncReturn($async$returnValue, $async$completer);
  69786. }
  69787. });
  69788. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  69789. },
  69790. visitVariableDeclaration$1(_, node) {
  69791. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  69792. },
  69793. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  69794. var $async$goto = 0,
  69795. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69796. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  69797. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69798. if ($async$errorCode === 1)
  69799. return A._asyncRethrow($async$result, $async$completer);
  69800. while (true)
  69801. switch ($async$goto) {
  69802. case 0:
  69803. // Function start
  69804. if (node.isGuarded) {
  69805. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  69806. t1 = node.name;
  69807. $async$self._async_evaluate$_environment._async_environment$_configurableVariables.add$1(0, t1);
  69808. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  69809. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  69810. t1 = {};
  69811. t1.override = null;
  69812. if (_0_0 != null) {
  69813. t1.override = _0_0;
  69814. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  69815. } else
  69816. t2 = false;
  69817. if (t2) {
  69818. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  69819. $async$returnValue = null;
  69820. // goto return
  69821. $async$goto = 1;
  69822. break;
  69823. }
  69824. }
  69825. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  69826. if (value != null && !value.$eq(0, B.C__SassNull)) {
  69827. $async$returnValue = null;
  69828. // goto return
  69829. $async$goto = 1;
  69830. break;
  69831. }
  69832. }
  69833. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  69834. 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.";
  69835. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_Rg0);
  69836. }
  69837. t1 = node.expression;
  69838. t2 = t1.accept$1($async$self);
  69839. $async$temp1 = node;
  69840. $async$temp2 = A;
  69841. $async$temp3 = node;
  69842. $async$goto = 3;
  69843. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  69844. case 3:
  69845. // returning from await.
  69846. $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)));
  69847. $async$returnValue = null;
  69848. // goto return
  69849. $async$goto = 1;
  69850. break;
  69851. case 1:
  69852. // return
  69853. return A._asyncReturn($async$returnValue, $async$completer);
  69854. }
  69855. });
  69856. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  69857. },
  69858. visitUseRule$1(_, node) {
  69859. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  69860. },
  69861. visitUseRule$body$_EvaluateVisitor(_, node) {
  69862. var $async$goto = 0,
  69863. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69864. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  69865. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69866. if ($async$errorCode === 1)
  69867. return A._asyncRethrow($async$result, $async$completer);
  69868. while (true)
  69869. switch ($async$goto) {
  69870. case 0:
  69871. // Function start
  69872. t1 = node.configuration;
  69873. t2 = t1.length;
  69874. $async$goto = t2 !== 0 ? 3 : 5;
  69875. break;
  69876. case 3:
  69877. // then
  69878. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  69879. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  69880. case 6:
  69881. // for condition
  69882. if (!(_i < t2)) {
  69883. // goto after for
  69884. $async$goto = 8;
  69885. break;
  69886. }
  69887. variable = t1[_i];
  69888. t5 = variable.expression;
  69889. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  69890. t5 = t5.accept$1($async$self);
  69891. if (!t4._is(t5)) {
  69892. t6 = new A._Future($.Zone__current, t3);
  69893. t6._state = 8;
  69894. t6._resultOrListeners = t5;
  69895. t5 = t6;
  69896. }
  69897. $async$temp1 = values;
  69898. $async$temp2 = variable.name;
  69899. $async$temp3 = A;
  69900. $async$goto = 9;
  69901. return A._asyncAwait(t5, $async$visitUseRule$1);
  69902. case 9:
  69903. // returning from await.
  69904. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69905. case 7:
  69906. // for update
  69907. ++_i;
  69908. // goto for condition
  69909. $async$goto = 6;
  69910. break;
  69911. case 8:
  69912. // after for
  69913. configuration = new A.ExplicitConfiguration(node, values, null);
  69914. // goto join
  69915. $async$goto = 4;
  69916. break;
  69917. case 5:
  69918. // else
  69919. configuration = B.Configuration_Map_empty_null;
  69920. case 4:
  69921. // join
  69922. $async$goto = 10;
  69923. 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);
  69924. case 10:
  69925. // returning from await.
  69926. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  69927. $async$returnValue = null;
  69928. // goto return
  69929. $async$goto = 1;
  69930. break;
  69931. case 1:
  69932. // return
  69933. return A._asyncReturn($async$returnValue, $async$completer);
  69934. }
  69935. });
  69936. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  69937. },
  69938. visitWarnRule$1(_, node) {
  69939. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  69940. },
  69941. visitWarnRule$body$_EvaluateVisitor(_, node) {
  69942. var $async$goto = 0,
  69943. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69944. $async$returnValue, $async$self = this, value, t1, t2;
  69945. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69946. if ($async$errorCode === 1)
  69947. return A._asyncRethrow($async$result, $async$completer);
  69948. while (true)
  69949. switch ($async$goto) {
  69950. case 0:
  69951. // Function start
  69952. $async$goto = 3;
  69953. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  69954. case 3:
  69955. // returning from await.
  69956. value = $async$result;
  69957. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  69958. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  69959. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  69960. $async$returnValue = null;
  69961. // goto return
  69962. $async$goto = 1;
  69963. break;
  69964. case 1:
  69965. // return
  69966. return A._asyncReturn($async$returnValue, $async$completer);
  69967. }
  69968. });
  69969. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  69970. },
  69971. visitWhileRule$1(_, node) {
  69972. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  69973. },
  69974. visitBinaryOperationExpression$1(_, node) {
  69975. var t1, _this = this;
  69976. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69977. t1 = node.operator;
  69978. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  69979. } else
  69980. t1 = false;
  69981. if (t1)
  69982. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  69983. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  69984. },
  69985. _async_evaluate$_slash$3(left, right, node) {
  69986. var left0, _1_2,
  69987. result = left.dividedBy$1(right),
  69988. _1_2_isSet = left instanceof A.SassNumber,
  69989. right0 = null,
  69990. t1 = false;
  69991. if (_1_2_isSet) {
  69992. if (right instanceof A.SassNumber) {
  69993. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  69994. right0 = right;
  69995. }
  69996. left0 = left;
  69997. _1_2 = right;
  69998. } else {
  69999. _1_2 = null;
  70000. left0 = null;
  70001. }
  70002. if (t1)
  70003. return type$.SassNumber._as(result).withSlash$2(left0, right0);
  70004. if (left instanceof A.SassNumber)
  70005. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  70006. else
  70007. t1 = false;
  70008. if (t1) {
  70009. 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);
  70010. return result;
  70011. }
  70012. return result;
  70013. },
  70014. _async_evaluate$_operandAllowsSlash$1(node) {
  70015. var t1;
  70016. if (node instanceof A.FunctionExpression)
  70017. if (node.namespace == null) {
  70018. t1 = node.name;
  70019. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  70020. } else
  70021. t1 = false;
  70022. else
  70023. t1 = true;
  70024. return t1;
  70025. },
  70026. visitValueExpression$1(_, node) {
  70027. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  70028. },
  70029. visitValueExpression$body$_EvaluateVisitor(_, node) {
  70030. var $async$goto = 0,
  70031. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70032. $async$returnValue;
  70033. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70034. if ($async$errorCode === 1)
  70035. return A._asyncRethrow($async$result, $async$completer);
  70036. while (true)
  70037. switch ($async$goto) {
  70038. case 0:
  70039. // Function start
  70040. $async$returnValue = node.value;
  70041. // goto return
  70042. $async$goto = 1;
  70043. break;
  70044. case 1:
  70045. // return
  70046. return A._asyncReturn($async$returnValue, $async$completer);
  70047. }
  70048. });
  70049. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  70050. },
  70051. visitVariableExpression$1(_, node) {
  70052. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  70053. },
  70054. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  70055. var $async$goto = 0,
  70056. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70057. $async$returnValue, $async$self = this, result;
  70058. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70059. if ($async$errorCode === 1)
  70060. return A._asyncRethrow($async$result, $async$completer);
  70061. while (true)
  70062. switch ($async$goto) {
  70063. case 0:
  70064. // Function start
  70065. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  70066. if (result != null) {
  70067. $async$returnValue = result;
  70068. // goto return
  70069. $async$goto = 1;
  70070. break;
  70071. }
  70072. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  70073. case 1:
  70074. // return
  70075. return A._asyncReturn($async$returnValue, $async$completer);
  70076. }
  70077. });
  70078. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  70079. },
  70080. visitUnaryOperationExpression$1(_, node) {
  70081. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  70082. },
  70083. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  70084. var $async$goto = 0,
  70085. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70086. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  70087. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70088. if ($async$errorCode === 1)
  70089. return A._asyncRethrow($async$result, $async$completer);
  70090. while (true)
  70091. switch ($async$goto) {
  70092. case 0:
  70093. // Function start
  70094. $async$temp1 = node;
  70095. $async$temp2 = A;
  70096. $async$temp3 = node;
  70097. $async$goto = 3;
  70098. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  70099. case 3:
  70100. // returning from await.
  70101. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  70102. // goto return
  70103. $async$goto = 1;
  70104. break;
  70105. case 1:
  70106. // return
  70107. return A._asyncReturn($async$returnValue, $async$completer);
  70108. }
  70109. });
  70110. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  70111. },
  70112. visitBooleanExpression$1(_, node) {
  70113. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  70114. },
  70115. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  70116. var $async$goto = 0,
  70117. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  70118. $async$returnValue;
  70119. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70120. if ($async$errorCode === 1)
  70121. return A._asyncRethrow($async$result, $async$completer);
  70122. while (true)
  70123. switch ($async$goto) {
  70124. case 0:
  70125. // Function start
  70126. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  70127. // goto return
  70128. $async$goto = 1;
  70129. break;
  70130. case 1:
  70131. // return
  70132. return A._asyncReturn($async$returnValue, $async$completer);
  70133. }
  70134. });
  70135. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70136. },
  70137. visitIfExpression$1(_, node) {
  70138. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70139. },
  70140. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70141. var $async$goto = 0,
  70142. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70143. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70144. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70145. if ($async$errorCode === 1)
  70146. return A._asyncRethrow($async$result, $async$completer);
  70147. while (true)
  70148. switch ($async$goto) {
  70149. case 0:
  70150. // Function start
  70151. $async$goto = 3;
  70152. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70153. case 3:
  70154. // returning from await.
  70155. _0_0 = $async$result;
  70156. positional = _0_0._0;
  70157. named = _0_0._1;
  70158. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70159. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70160. if (condition == null) {
  70161. t1 = named.$index(0, "condition");
  70162. t1.toString;
  70163. condition = t1;
  70164. }
  70165. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70166. if (ifTrue == null) {
  70167. t1 = named.$index(0, "if-true");
  70168. t1.toString;
  70169. ifTrue = t1;
  70170. }
  70171. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70172. if (ifFalse == null) {
  70173. t1 = named.$index(0, "if-false");
  70174. t1.toString;
  70175. ifFalse = t1;
  70176. }
  70177. $async$goto = 4;
  70178. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70179. case 4:
  70180. // returning from await.
  70181. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70182. t1 = result.accept$1($async$self);
  70183. $async$goto = 5;
  70184. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70185. case 5:
  70186. // returning from await.
  70187. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70188. // goto return
  70189. $async$goto = 1;
  70190. break;
  70191. case 1:
  70192. // return
  70193. return A._asyncReturn($async$returnValue, $async$completer);
  70194. }
  70195. });
  70196. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70197. },
  70198. visitNullExpression$1(_, node) {
  70199. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70200. },
  70201. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70202. var $async$goto = 0,
  70203. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70204. $async$returnValue;
  70205. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70206. if ($async$errorCode === 1)
  70207. return A._asyncRethrow($async$result, $async$completer);
  70208. while (true)
  70209. switch ($async$goto) {
  70210. case 0:
  70211. // Function start
  70212. $async$returnValue = B.C__SassNull;
  70213. // goto return
  70214. $async$goto = 1;
  70215. break;
  70216. case 1:
  70217. // return
  70218. return A._asyncReturn($async$returnValue, $async$completer);
  70219. }
  70220. });
  70221. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70222. },
  70223. visitNumberExpression$1(_, node) {
  70224. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70225. },
  70226. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70227. var $async$goto = 0,
  70228. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70229. $async$returnValue;
  70230. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70231. if ($async$errorCode === 1)
  70232. return A._asyncRethrow($async$result, $async$completer);
  70233. while (true)
  70234. switch ($async$goto) {
  70235. case 0:
  70236. // Function start
  70237. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70238. // goto return
  70239. $async$goto = 1;
  70240. break;
  70241. case 1:
  70242. // return
  70243. return A._asyncReturn($async$returnValue, $async$completer);
  70244. }
  70245. });
  70246. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70247. },
  70248. visitParenthesizedExpression$1(_, node) {
  70249. var _this = this;
  70250. 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);
  70251. },
  70252. visitColorExpression$1(_, node) {
  70253. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70254. },
  70255. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70256. var $async$goto = 0,
  70257. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70258. $async$returnValue;
  70259. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70260. if ($async$errorCode === 1)
  70261. return A._asyncRethrow($async$result, $async$completer);
  70262. while (true)
  70263. switch ($async$goto) {
  70264. case 0:
  70265. // Function start
  70266. $async$returnValue = node.value;
  70267. // goto return
  70268. $async$goto = 1;
  70269. break;
  70270. case 1:
  70271. // return
  70272. return A._asyncReturn($async$returnValue, $async$completer);
  70273. }
  70274. });
  70275. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70276. },
  70277. visitListExpression$1(_, node) {
  70278. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70279. },
  70280. visitListExpression$body$_EvaluateVisitor(_, node) {
  70281. var $async$goto = 0,
  70282. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70283. $async$returnValue, $async$self = this, $async$temp1;
  70284. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70285. if ($async$errorCode === 1)
  70286. return A._asyncRethrow($async$result, $async$completer);
  70287. while (true)
  70288. switch ($async$goto) {
  70289. case 0:
  70290. // Function start
  70291. $async$temp1 = A;
  70292. $async$goto = 3;
  70293. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70294. case 3:
  70295. // returning from await.
  70296. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70297. // goto return
  70298. $async$goto = 1;
  70299. break;
  70300. case 1:
  70301. // return
  70302. return A._asyncReturn($async$returnValue, $async$completer);
  70303. }
  70304. });
  70305. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70306. },
  70307. visitMapExpression$1(_, node) {
  70308. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70309. },
  70310. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70311. var $async$goto = 0,
  70312. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70313. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70314. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70315. if ($async$errorCode === 1)
  70316. return A._asyncRethrow($async$result, $async$completer);
  70317. while (true)
  70318. switch ($async$goto) {
  70319. case 0:
  70320. // Function start
  70321. t1 = type$.Value;
  70322. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70323. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70324. t2 = node.pairs, t3 = t2.length, _i = 0;
  70325. case 3:
  70326. // for condition
  70327. if (!(_i < t3)) {
  70328. // goto after for
  70329. $async$goto = 5;
  70330. break;
  70331. }
  70332. t4 = t2[_i];
  70333. key = t4._0;
  70334. $async$goto = 6;
  70335. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70336. case 6:
  70337. // returning from await.
  70338. keyValue = $async$result;
  70339. $async$goto = 7;
  70340. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70341. case 7:
  70342. // returning from await.
  70343. valueValue = $async$result;
  70344. if (map.containsKey$1(keyValue)) {
  70345. t1 = keyNodes.$index(0, keyValue);
  70346. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70347. t1 = key.get$span(key);
  70348. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70349. if (oldValueSpan != null)
  70350. t2.$indexSet(0, oldValueSpan, "first key");
  70351. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70352. }
  70353. map.$indexSet(0, keyValue, valueValue);
  70354. keyNodes.$indexSet(0, keyValue, key);
  70355. case 4:
  70356. // for update
  70357. ++_i;
  70358. // goto for condition
  70359. $async$goto = 3;
  70360. break;
  70361. case 5:
  70362. // after for
  70363. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70364. // goto return
  70365. $async$goto = 1;
  70366. break;
  70367. case 1:
  70368. // return
  70369. return A._asyncReturn($async$returnValue, $async$completer);
  70370. }
  70371. });
  70372. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70373. },
  70374. visitFunctionExpression$1(_, node) {
  70375. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70376. },
  70377. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70378. var $async$goto = 0,
  70379. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70380. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70381. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70382. if ($async$errorCode === 1)
  70383. return A._asyncRethrow($async$result, $async$completer);
  70384. while (true)
  70385. switch ($async$goto) {
  70386. case 0:
  70387. // Function start
  70388. t1 = {};
  70389. $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));
  70390. t1.$function = $function;
  70391. $async$goto = $function == null ? 3 : 5;
  70392. break;
  70393. case 3:
  70394. // then
  70395. if (node.namespace != null)
  70396. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70397. t2 = node.name;
  70398. _0_0 = t2.toLowerCase();
  70399. t3 = false;
  70400. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70401. t3 = node.$arguments;
  70402. t4 = t3.named;
  70403. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70404. $name = _0_0;
  70405. } else
  70406. $name = null;
  70407. $async$goto = t3 ? 6 : 7;
  70408. break;
  70409. case 6:
  70410. // then
  70411. $async$goto = 8;
  70412. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70413. case 8:
  70414. // returning from await.
  70415. $async$returnValue = $async$result;
  70416. // goto return
  70417. $async$goto = 1;
  70418. break;
  70419. case 7:
  70420. // join
  70421. $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;
  70422. break;
  70423. case 9:
  70424. // then
  70425. $async$goto = 11;
  70426. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70427. case 11:
  70428. // returning from await.
  70429. $async$returnValue = $async$result;
  70430. // goto return
  70431. $async$goto = 1;
  70432. break;
  70433. case 10:
  70434. // join
  70435. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70436. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70437. // goto join
  70438. $async$goto = 4;
  70439. break;
  70440. case 5:
  70441. // else
  70442. t2 = $function;
  70443. case 4:
  70444. // join
  70445. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  70446. $async$self._async_evaluate$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  70447. oldInFunction = $async$self._async_evaluate$_inFunction;
  70448. $async$self._async_evaluate$_inFunction = true;
  70449. $async$goto = 12;
  70450. 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);
  70451. case 12:
  70452. // returning from await.
  70453. result = $async$result;
  70454. $async$self._async_evaluate$_inFunction = oldInFunction;
  70455. $async$returnValue = result;
  70456. // goto return
  70457. $async$goto = 1;
  70458. break;
  70459. case 1:
  70460. // return
  70461. return A._asyncReturn($async$returnValue, $async$completer);
  70462. }
  70463. });
  70464. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70465. },
  70466. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70467. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70468. },
  70469. _async_evaluate$_visitCalculation$1(node) {
  70470. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70471. },
  70472. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70473. var $async$goto = 0,
  70474. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70475. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70476. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70477. if ($async$errorCode === 1)
  70478. return A._asyncRethrow($async$result, $async$completer);
  70479. while (true)
  70480. switch ($async$goto) {
  70481. case 0:
  70482. // Function start
  70483. t2 = node.$arguments;
  70484. t3 = t2.named;
  70485. if (t3.get$isNotEmpty(t3))
  70486. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70487. else if (t2.rest != null)
  70488. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70489. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70490. t3 = A._setArrayType([], type$.JSArray_Object);
  70491. t2 = t2.positional, t4 = t2.length, _i = 0;
  70492. case 3:
  70493. // for condition
  70494. if (!(_i < t4)) {
  70495. // goto after for
  70496. $async$goto = 5;
  70497. break;
  70498. }
  70499. $async$temp1 = t3;
  70500. $async$goto = 6;
  70501. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70502. case 6:
  70503. // returning from await.
  70504. $async$temp1.push($async$result);
  70505. case 4:
  70506. // for update
  70507. ++_i;
  70508. // goto for condition
  70509. $async$goto = 3;
  70510. break;
  70511. case 5:
  70512. // after for
  70513. $arguments = t3;
  70514. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70515. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70516. // goto return
  70517. $async$goto = 1;
  70518. break;
  70519. }
  70520. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70521. $async$self._async_evaluate$_callableNode = node;
  70522. try {
  70523. t1 = null;
  70524. t3 = node.name;
  70525. _0_0 = t3.toLowerCase();
  70526. $label0$0: {
  70527. if ("calc" === _0_0) {
  70528. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  70529. break $label0$0;
  70530. }
  70531. if ("sqrt" === _0_0) {
  70532. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  70533. break $label0$0;
  70534. }
  70535. if ("sin" === _0_0) {
  70536. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  70537. break $label0$0;
  70538. }
  70539. if ("cos" === _0_0) {
  70540. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  70541. break $label0$0;
  70542. }
  70543. if ("tan" === _0_0) {
  70544. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  70545. break $label0$0;
  70546. }
  70547. if ("asin" === _0_0) {
  70548. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  70549. break $label0$0;
  70550. }
  70551. if ("acos" === _0_0) {
  70552. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  70553. break $label0$0;
  70554. }
  70555. if ("atan" === _0_0) {
  70556. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  70557. break $label0$0;
  70558. }
  70559. if ("abs" === _0_0) {
  70560. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  70561. break $label0$0;
  70562. }
  70563. if ("exp" === _0_0) {
  70564. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  70565. break $label0$0;
  70566. }
  70567. if ("sign" === _0_0) {
  70568. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  70569. break $label0$0;
  70570. }
  70571. if ("min" === _0_0) {
  70572. t1 = A.SassCalculation_min($arguments);
  70573. break $label0$0;
  70574. }
  70575. if ("max" === _0_0) {
  70576. t1 = A.SassCalculation_max($arguments);
  70577. break $label0$0;
  70578. }
  70579. if ("hypot" === _0_0) {
  70580. t1 = A.SassCalculation_hypot($arguments);
  70581. break $label0$0;
  70582. }
  70583. if ("pow" === _0_0) {
  70584. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70585. break $label0$0;
  70586. }
  70587. if ("atan2" === _0_0) {
  70588. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70589. break $label0$0;
  70590. }
  70591. if ("log" === _0_0) {
  70592. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70593. break $label0$0;
  70594. }
  70595. if ("mod" === _0_0) {
  70596. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70597. break $label0$0;
  70598. }
  70599. if ("rem" === _0_0) {
  70600. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70601. break $label0$0;
  70602. }
  70603. if ("round" === _0_0) {
  70604. 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));
  70605. break $label0$0;
  70606. }
  70607. if ("clamp" === _0_0) {
  70608. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  70609. break $label0$0;
  70610. }
  70611. if ("calc-size" === _0_0) {
  70612. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70613. break $label0$0;
  70614. }
  70615. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  70616. t1 = A.throwExpression(t3);
  70617. }
  70618. t1 = t1;
  70619. $async$returnValue = t1;
  70620. // goto return
  70621. $async$goto = 1;
  70622. break;
  70623. } catch (exception) {
  70624. t1 = A.unwrapException(exception);
  70625. if (t1 instanceof A.SassScriptException) {
  70626. error = t1;
  70627. stackTrace = A.getTraceFromException(exception);
  70628. if (B.JSString_methods.contains$1(error.message, "compatible"))
  70629. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  70630. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  70631. } else
  70632. throw exception;
  70633. } finally {
  70634. $async$self._async_evaluate$_callableNode = oldCallableNode;
  70635. }
  70636. case 1:
  70637. // return
  70638. return A._asyncReturn($async$returnValue, $async$completer);
  70639. }
  70640. });
  70641. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  70642. },
  70643. _async_evaluate$_checkCalculationArguments$1(node) {
  70644. var t1, _0_0,
  70645. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  70646. $label0$0: {
  70647. t1 = node.name;
  70648. _0_0 = t1.toLowerCase();
  70649. 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) {
  70650. check.call$1(1);
  70651. break $label0$0;
  70652. }
  70653. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  70654. check.call$0();
  70655. break $label0$0;
  70656. }
  70657. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  70658. check.call$1(2);
  70659. break $label0$0;
  70660. }
  70661. if ("round" === _0_0 || "clamp" === _0_0) {
  70662. check.call$1(3);
  70663. break $label0$0;
  70664. }
  70665. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  70666. }
  70667. },
  70668. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  70669. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  70670. for (i = 0; t1 = args.length, i < t1; ++i) {
  70671. _0_0 = args[i];
  70672. if (_0_0 instanceof A.SassNumber) {
  70673. t1 = _0_0.get$hasComplexUnits();
  70674. arg = _0_0;
  70675. } else {
  70676. arg = null;
  70677. t1 = false;
  70678. }
  70679. if (t1) {
  70680. t1 = A.S(arg);
  70681. t2 = nodesWithSpans[i];
  70682. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  70683. }
  70684. }
  70685. for (i = 0; i < t1 - 1; ++i) {
  70686. number1 = args[i];
  70687. if (!(number1 instanceof A.SassNumber))
  70688. continue;
  70689. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  70690. number2 = args[j];
  70691. if (!(number2 instanceof A.SassNumber))
  70692. continue;
  70693. if (number1.hasPossiblyCompatibleUnits$1(number2))
  70694. continue;
  70695. t1 = number1.toString$0(0);
  70696. t2 = number2.toString$0(0);
  70697. t3 = nodesWithSpans[i];
  70698. t3 = t3.get$span(t3);
  70699. t4 = number1.toString$0(0);
  70700. t5 = nodesWithSpans[j];
  70701. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  70702. t6 = nodesWithSpans[i];
  70703. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  70704. }
  70705. }
  70706. },
  70707. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  70708. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  70709. },
  70710. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70711. var $async$goto = 0,
  70712. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70713. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  70714. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70715. if ($async$errorCode === 1)
  70716. return A._asyncRethrow($async$result, $async$completer);
  70717. while (true)
  70718. switch ($async$goto) {
  70719. case 0:
  70720. // Function start
  70721. t1 = node instanceof A.ParenthesizedExpression;
  70722. inner = t1 ? node.expression : null;
  70723. $async$goto = t1 ? 3 : 4;
  70724. break;
  70725. case 3:
  70726. // then
  70727. $async$goto = 5;
  70728. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70729. case 5:
  70730. // returning from await.
  70731. result = $async$result;
  70732. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  70733. // goto return
  70734. $async$goto = 1;
  70735. break;
  70736. case 4:
  70737. // join
  70738. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  70739. break;
  70740. case 6:
  70741. // then
  70742. t1 = node.text;
  70743. t2 = t1.get$asPlain();
  70744. _0_0 = t2 == null ? null : t2.toLowerCase();
  70745. if ("pi" === _0_0) {
  70746. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  70747. // goto break $label0$0
  70748. $async$goto = 8;
  70749. break;
  70750. }
  70751. if ("e" === _0_0) {
  70752. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  70753. // goto break $label0$0
  70754. $async$goto = 8;
  70755. break;
  70756. }
  70757. if ("infinity" === _0_0) {
  70758. t1 = A.SassNumber_SassNumber(1 / 0, null);
  70759. // goto break $label0$0
  70760. $async$goto = 8;
  70761. break;
  70762. }
  70763. if ("-infinity" === _0_0) {
  70764. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  70765. // goto break $label0$0
  70766. $async$goto = 8;
  70767. break;
  70768. }
  70769. if ("nan" === _0_0) {
  70770. t1 = A.SassNumber_SassNumber(0 / 0, null);
  70771. // goto break $label0$0
  70772. $async$goto = 8;
  70773. break;
  70774. }
  70775. $async$temp1 = A;
  70776. $async$goto = 9;
  70777. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70778. case 9:
  70779. // returning from await.
  70780. t1 = new $async$temp1.SassString($async$result, false);
  70781. // goto break $label0$0
  70782. $async$goto = 8;
  70783. break;
  70784. case 8:
  70785. // break $label0$0
  70786. $async$returnValue = t1;
  70787. // goto return
  70788. $async$goto = 1;
  70789. break;
  70790. case 7:
  70791. // join
  70792. _box_0 = {};
  70793. _box_0.right = _box_0.left = _box_0.operator = null;
  70794. t1 = node instanceof A.BinaryOperationExpression;
  70795. if (t1) {
  70796. _box_0.operator = node.operator;
  70797. _box_0.left = node.left;
  70798. _box_0.right = node.right;
  70799. }
  70800. $async$goto = t1 ? 10 : 11;
  70801. break;
  70802. case 10:
  70803. // then
  70804. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  70805. $async$goto = 12;
  70806. 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);
  70807. case 12:
  70808. // returning from await.
  70809. $async$returnValue = $async$result;
  70810. // goto return
  70811. $async$goto = 1;
  70812. break;
  70813. case 11:
  70814. // join
  70815. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  70816. break;
  70817. case 13:
  70818. // then
  70819. $async$goto = 15;
  70820. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70821. case 15:
  70822. // returning from await.
  70823. _1_0 = $async$result;
  70824. $label1$1: {
  70825. if (_1_0 instanceof A.SassNumber) {
  70826. t1 = _1_0;
  70827. break $label1$1;
  70828. }
  70829. if (_1_0 instanceof A.SassCalculation) {
  70830. t1 = _1_0;
  70831. break $label1$1;
  70832. }
  70833. if (_1_0 instanceof A.SassString) {
  70834. t1 = !_1_0._hasQuotes;
  70835. result = _1_0;
  70836. } else {
  70837. result = null;
  70838. t1 = false;
  70839. }
  70840. if (t1) {
  70841. t1 = result;
  70842. break $label1$1;
  70843. }
  70844. 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)));
  70845. }
  70846. $async$returnValue = t1;
  70847. // goto return
  70848. $async$goto = 1;
  70849. break;
  70850. case 14:
  70851. // join
  70852. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2 ? 16 : 17;
  70853. break;
  70854. case 16:
  70855. // then
  70856. t1 = A._setArrayType([], type$.JSArray_Object);
  70857. t2 = node.contents, t3 = t2.length, _i = 0;
  70858. case 18:
  70859. // for condition
  70860. if (!(_i < t3)) {
  70861. // goto after for
  70862. $async$goto = 20;
  70863. break;
  70864. }
  70865. $async$temp1 = t1;
  70866. $async$goto = 21;
  70867. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70868. case 21:
  70869. // returning from await.
  70870. $async$temp1.push($async$result);
  70871. case 19:
  70872. // for update
  70873. ++_i;
  70874. // goto for condition
  70875. $async$goto = 18;
  70876. break;
  70877. case 20:
  70878. // after for
  70879. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  70880. for (i = 0; i < t1.length; ++i) {
  70881. t3 = t1[i];
  70882. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  70883. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  70884. }
  70885. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  70886. // goto return
  70887. $async$goto = 1;
  70888. break;
  70889. case 17:
  70890. // join
  70891. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  70892. case 1:
  70893. // return
  70894. return A._asyncReturn($async$returnValue, $async$completer);
  70895. }
  70896. });
  70897. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  70898. },
  70899. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  70900. var t2, t3, t4, textBetweenOperands, first, last,
  70901. t1 = node.operator;
  70902. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  70903. return;
  70904. t1 = node.left;
  70905. t2 = t1.get$span(t1);
  70906. t2 = t2.get$file(t2);
  70907. t3 = node.right;
  70908. t4 = t3.get$span(t3);
  70909. if (t2 !== t4.get$file(t4))
  70910. return;
  70911. t2 = t1.get$span(t1);
  70912. t2 = t2.get$end(t2);
  70913. t4 = t3.get$span(t3);
  70914. if (t2.offset >= t4.get$start(t4).offset)
  70915. return;
  70916. t2 = t1.get$span(t1);
  70917. t2 = t2.get$file(t2);
  70918. t1 = t1.get$span(t1);
  70919. t1 = t1.get$end(t1);
  70920. t3 = t3.get$span(t3);
  70921. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  70922. first = textBetweenOperands.charCodeAt(0);
  70923. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  70924. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  70925. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  70926. else
  70927. t1 = true;
  70928. if (t1)
  70929. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  70930. },
  70931. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  70932. var t1;
  70933. $label0$0: {
  70934. if (B.BinaryOperator_Swh === operator) {
  70935. t1 = B.CalculationOperator_F7i;
  70936. break $label0$0;
  70937. }
  70938. if (B.BinaryOperator_QG1 === operator) {
  70939. t1 = B.CalculationOperator_oum;
  70940. break $label0$0;
  70941. }
  70942. if (B.BinaryOperator_tht === operator) {
  70943. t1 = B.CalculationOperator_kkN;
  70944. break $label0$0;
  70945. }
  70946. if (B.BinaryOperator_Mh5 === operator) {
  70947. t1 = B.CalculationOperator_bo5;
  70948. break $label0$0;
  70949. }
  70950. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  70951. }
  70952. return t1;
  70953. },
  70954. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  70955. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  70956. for (t1 = elements.length, i = 1; i < t1; ++i) {
  70957. t2 = i - 1;
  70958. previous = elements[t2];
  70959. current = elements[i];
  70960. if (previous instanceof A.SassString || current instanceof A.SassString)
  70961. continue;
  70962. t1 = node.contents;
  70963. previousNode = t1[t2];
  70964. currentNode = t1[i];
  70965. if (currentNode instanceof A.UnaryOperationExpression) {
  70966. _0_2 = currentNode.operator;
  70967. if (B.UnaryOperator_UCP !== _0_2)
  70968. t1 = B.UnaryOperator_Rbl === _0_2;
  70969. else
  70970. t1 = true;
  70971. } else
  70972. t1 = false;
  70973. if (!t1)
  70974. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  70975. else
  70976. t1 = true;
  70977. if (t1)
  70978. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  70979. else
  70980. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  70981. }
  70982. },
  70983. visitInterpolatedFunctionExpression$1(_, node) {
  70984. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  70985. },
  70986. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  70987. var $async$goto = 0,
  70988. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70989. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  70990. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70991. if ($async$errorCode === 1)
  70992. return A._asyncRethrow($async$result, $async$completer);
  70993. while (true)
  70994. switch ($async$goto) {
  70995. case 0:
  70996. // Function start
  70997. $async$goto = 3;
  70998. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  70999. case 3:
  71000. // returning from await.
  71001. t1 = $async$result;
  71002. oldInFunction = $async$self._async_evaluate$_inFunction;
  71003. $async$self._async_evaluate$_inFunction = true;
  71004. $async$goto = 4;
  71005. 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);
  71006. case 4:
  71007. // returning from await.
  71008. result = $async$result;
  71009. $async$self._async_evaluate$_inFunction = oldInFunction;
  71010. $async$returnValue = result;
  71011. // goto return
  71012. $async$goto = 1;
  71013. break;
  71014. case 1:
  71015. // return
  71016. return A._asyncReturn($async$returnValue, $async$completer);
  71017. }
  71018. });
  71019. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  71020. },
  71021. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  71022. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  71023. },
  71024. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  71025. var $async$goto = 0,
  71026. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71027. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  71028. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71029. if ($async$errorCode === 1)
  71030. return A._asyncRethrow($async$result, $async$completer);
  71031. while (true)
  71032. switch ($async$goto) {
  71033. case 0:
  71034. // Function start
  71035. $async$goto = 3;
  71036. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  71037. case 3:
  71038. // returning from await.
  71039. evaluated = $async$result;
  71040. $name = callable.declaration.name;
  71041. if ($name !== "@content")
  71042. $name += "()";
  71043. oldInDependency = $async$self._async_evaluate$_inDependency;
  71044. $async$self._async_evaluate$_inDependency = callable.inDependency;
  71045. $async$goto = 4;
  71046. 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);
  71047. case 4:
  71048. // returning from await.
  71049. result = $async$result;
  71050. $async$self._async_evaluate$_inDependency = oldInDependency;
  71051. $async$returnValue = result;
  71052. // goto return
  71053. $async$goto = 1;
  71054. break;
  71055. case 1:
  71056. // return
  71057. return A._asyncReturn($async$returnValue, $async$completer);
  71058. }
  71059. });
  71060. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  71061. },
  71062. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  71063. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71064. },
  71065. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71066. var $async$goto = 0,
  71067. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71068. $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;
  71069. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71070. if ($async$errorCode === 1) {
  71071. $async$errorStack.push($async$result);
  71072. $async$goto = $async$handler;
  71073. }
  71074. while (true)
  71075. switch ($async$goto) {
  71076. case 0:
  71077. // Function start
  71078. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  71079. break;
  71080. case 3:
  71081. // then
  71082. $async$goto = 6;
  71083. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  71084. case 6:
  71085. // returning from await.
  71086. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  71087. // goto return
  71088. $async$goto = 1;
  71089. break;
  71090. // goto join
  71091. $async$goto = 4;
  71092. break;
  71093. case 5:
  71094. // else
  71095. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  71096. break;
  71097. case 7:
  71098. // then
  71099. $async$goto = 10;
  71100. 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);
  71101. case 10:
  71102. // returning from await.
  71103. $async$returnValue = $async$result;
  71104. // goto return
  71105. $async$goto = 1;
  71106. break;
  71107. // goto join
  71108. $async$goto = 8;
  71109. break;
  71110. case 9:
  71111. // else
  71112. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  71113. break;
  71114. case 11:
  71115. // then
  71116. t1 = $arguments.named;
  71117. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  71118. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  71119. buffer = new A.StringBuffer(callable.name + "(");
  71120. $async$handler = 15;
  71121. first = true;
  71122. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  71123. case 18:
  71124. // for condition
  71125. if (!(_i < t2)) {
  71126. // goto after for
  71127. $async$goto = 20;
  71128. break;
  71129. }
  71130. argument = t1[_i];
  71131. if (first)
  71132. first = false;
  71133. else
  71134. buffer._contents += ", ";
  71135. t3 = buffer;
  71136. $async$temp1 = A;
  71137. $async$goto = 21;
  71138. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71139. case 21:
  71140. // returning from await.
  71141. t4 = $async$temp1.S($async$result);
  71142. t3._contents += t4;
  71143. case 19:
  71144. // for update
  71145. ++_i;
  71146. // goto for condition
  71147. $async$goto = 18;
  71148. break;
  71149. case 20:
  71150. // after for
  71151. restArg = $arguments.rest;
  71152. $async$goto = restArg != null ? 22 : 23;
  71153. break;
  71154. case 22:
  71155. // then
  71156. $async$goto = 24;
  71157. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71158. case 24:
  71159. // returning from await.
  71160. rest = $async$result;
  71161. if (!first)
  71162. buffer._contents += ", ";
  71163. t1 = buffer;
  71164. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71165. t1._contents += t2;
  71166. case 23:
  71167. // join
  71168. $async$handler = 2;
  71169. // goto after finally
  71170. $async$goto = 17;
  71171. break;
  71172. case 15:
  71173. // catch
  71174. $async$handler = 14;
  71175. $async$exception = $async$errorStack.pop();
  71176. t1 = A.unwrapException($async$exception);
  71177. if (type$.SassRuntimeException._is(t1)) {
  71178. error = t1;
  71179. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71180. throw $async$exception;
  71181. 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));
  71182. } else
  71183. throw $async$exception;
  71184. // goto after finally
  71185. $async$goto = 17;
  71186. break;
  71187. case 14:
  71188. // uncaught
  71189. // goto rethrow
  71190. $async$goto = 2;
  71191. break;
  71192. case 17:
  71193. // after finally
  71194. t1 = buffer;
  71195. t2 = A.Primitives_stringFromCharCode(41);
  71196. t1._contents += t2;
  71197. t2 = buffer._contents;
  71198. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71199. // goto return
  71200. $async$goto = 1;
  71201. break;
  71202. // goto join
  71203. $async$goto = 12;
  71204. break;
  71205. case 13:
  71206. // else
  71207. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71208. case 12:
  71209. // join
  71210. case 8:
  71211. // join
  71212. case 4:
  71213. // join
  71214. case 1:
  71215. // return
  71216. return A._asyncReturn($async$returnValue, $async$completer);
  71217. case 2:
  71218. // rethrow
  71219. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71220. }
  71221. });
  71222. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71223. },
  71224. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71225. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71226. },
  71227. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71228. var $async$goto = 0,
  71229. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71230. $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;
  71231. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71232. if ($async$errorCode === 1) {
  71233. $async$errorStack.push($async$result);
  71234. $async$goto = $async$handler;
  71235. }
  71236. while (true)
  71237. switch ($async$goto) {
  71238. case 0:
  71239. // Function start
  71240. _box_0 = {};
  71241. $async$goto = 3;
  71242. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71243. case 3:
  71244. // returning from await.
  71245. evaluated = $async$result;
  71246. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71247. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71248. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71249. _box_0.callback = _box_0.overload = null;
  71250. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71251. _box_0.overload = _0_0._0;
  71252. _box_0.callback = _0_0._1;
  71253. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71254. parameters = _box_0.overload.parameters;
  71255. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71256. case 4:
  71257. // for condition
  71258. if (!(i < t1)) {
  71259. // goto after for
  71260. $async$goto = 6;
  71261. break;
  71262. }
  71263. parameter = parameters[i];
  71264. t4 = evaluated._values[2];
  71265. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71266. $async$goto = t5 == null ? 7 : 8;
  71267. break;
  71268. case 7:
  71269. // then
  71270. t5 = parameter.defaultValue;
  71271. t6 = t5.accept$1($async$self);
  71272. if (!t3._is(t6)) {
  71273. t7 = new A._Future($.Zone__current, t2);
  71274. t7._state = 8;
  71275. t7._resultOrListeners = t6;
  71276. t6 = t7;
  71277. }
  71278. $async$goto = 9;
  71279. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71280. case 9:
  71281. // returning from await.
  71282. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71283. case 8:
  71284. // join
  71285. J.add$1$ax(t4, t5);
  71286. case 5:
  71287. // for update
  71288. ++i;
  71289. // goto for condition
  71290. $async$goto = 4;
  71291. break;
  71292. case 6:
  71293. // after for
  71294. if (_box_0.overload.restParameter != null) {
  71295. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71296. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71297. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71298. } else
  71299. rest = B.List_empty8;
  71300. t1 = evaluated._values[0];
  71301. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  71302. J.add$1$ax(evaluated._values[2], argumentList);
  71303. } else
  71304. argumentList = null;
  71305. result = null;
  71306. $async$handler = 11;
  71307. $async$goto = 14;
  71308. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71309. case 14:
  71310. // returning from await.
  71311. result = $async$result;
  71312. $async$handler = 2;
  71313. // goto after finally
  71314. $async$goto = 13;
  71315. break;
  71316. case 11:
  71317. // catch
  71318. $async$handler = 10;
  71319. $async$exception = $async$errorStack.pop();
  71320. t1 = A.unwrapException($async$exception);
  71321. if (t1 instanceof A.SassException)
  71322. throw $async$exception;
  71323. else {
  71324. error = t1;
  71325. stackTrace = A.getTraceFromException($async$exception);
  71326. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71327. }
  71328. // goto after finally
  71329. $async$goto = 13;
  71330. break;
  71331. case 10:
  71332. // uncaught
  71333. // goto rethrow
  71334. $async$goto = 2;
  71335. break;
  71336. case 13:
  71337. // after finally
  71338. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71339. if (argumentList == null) {
  71340. $async$returnValue = result;
  71341. // goto return
  71342. $async$goto = 1;
  71343. break;
  71344. }
  71345. t1 = evaluated._values[0];
  71346. if (t1.get$isEmpty(t1)) {
  71347. $async$returnValue = result;
  71348. // goto return
  71349. $async$goto = 1;
  71350. break;
  71351. }
  71352. if (argumentList._wereKeywordsAccessed) {
  71353. $async$returnValue = result;
  71354. // goto return
  71355. $async$goto = 1;
  71356. break;
  71357. }
  71358. t1 = evaluated._values[0];
  71359. t1 = t1.get$keys(t1);
  71360. t1 = A.pluralize("parameter", t1.get$length(t1), null);
  71361. t2 = evaluated._values[0];
  71362. t2 = t2.get$keys(t2);
  71363. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(t2.map$1$1(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));
  71364. case 1:
  71365. // return
  71366. return A._asyncReturn($async$returnValue, $async$completer);
  71367. case 2:
  71368. // rethrow
  71369. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71370. }
  71371. });
  71372. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71373. },
  71374. _async_evaluate$_evaluateArguments$1($arguments) {
  71375. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71376. },
  71377. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71378. var $async$goto = 0,
  71379. $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),
  71380. $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;
  71381. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71382. if ($async$errorCode === 1)
  71383. return A._asyncRethrow($async$result, $async$completer);
  71384. while (true)
  71385. switch ($async$goto) {
  71386. case 0:
  71387. // Function start
  71388. positional = A._setArrayType([], type$.JSArray_Value);
  71389. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71390. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71391. case 3:
  71392. // for condition
  71393. if (!(_i < t2)) {
  71394. // goto after for
  71395. $async$goto = 5;
  71396. break;
  71397. }
  71398. expression = t1[_i];
  71399. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71400. t5 = expression.accept$1($async$self);
  71401. if (!t4._is(t5)) {
  71402. t6 = new A._Future($.Zone__current, t3);
  71403. t6._state = 8;
  71404. t6._resultOrListeners = t5;
  71405. t5 = t6;
  71406. }
  71407. $async$temp1 = positional;
  71408. $async$goto = 6;
  71409. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71410. case 6:
  71411. // returning from await.
  71412. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71413. positionalNodes.push(nodeForSpan);
  71414. case 4:
  71415. // for update
  71416. ++_i;
  71417. // goto for condition
  71418. $async$goto = 3;
  71419. break;
  71420. case 5:
  71421. // after for
  71422. t1 = type$.String;
  71423. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71424. t2 = type$.AstNode;
  71425. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71426. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71427. case 7:
  71428. // for condition
  71429. if (!t5.moveNext$0()) {
  71430. // goto after for
  71431. $async$goto = 8;
  71432. break;
  71433. }
  71434. t6 = t5.get$current(t5);
  71435. $name = t6._0;
  71436. value = t6._1;
  71437. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71438. t6 = value.accept$1($async$self);
  71439. if (!t4._is(t6)) {
  71440. t7 = new A._Future($.Zone__current, t3);
  71441. t7._state = 8;
  71442. t7._resultOrListeners = t6;
  71443. t6 = t7;
  71444. }
  71445. $async$temp1 = named;
  71446. $async$temp2 = $name;
  71447. $async$goto = 9;
  71448. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71449. case 9:
  71450. // returning from await.
  71451. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71452. namedNodes.$indexSet(0, $name, nodeForSpan);
  71453. // goto for condition
  71454. $async$goto = 7;
  71455. break;
  71456. case 8:
  71457. // after for
  71458. restArgs = $arguments.rest;
  71459. if (restArgs == null) {
  71460. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  71461. // goto return
  71462. $async$goto = 1;
  71463. break;
  71464. }
  71465. $async$goto = 10;
  71466. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71467. case 10:
  71468. // returning from await.
  71469. rest = $async$result;
  71470. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71471. if (rest instanceof A.SassMap) {
  71472. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71473. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71474. for (t4 = rest._map$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString; t4.moveNext$0();)
  71475. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71476. namedNodes.addAll$1(0, t3);
  71477. separator = B.ListSeparator_undecided_null_undecided;
  71478. } else if (rest instanceof A.SassList) {
  71479. t3 = rest._list$_contents;
  71480. 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>")));
  71481. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71482. separator = rest._separator;
  71483. if (rest instanceof A.SassArgumentList) {
  71484. rest._wereKeywordsAccessed = true;
  71485. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71486. }
  71487. } else {
  71488. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71489. positionalNodes.push(restNodeForSpan);
  71490. separator = B.ListSeparator_undecided_null_undecided;
  71491. }
  71492. keywordRestArgs = $arguments.keywordRest;
  71493. if (keywordRestArgs == null) {
  71494. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71495. // goto return
  71496. $async$goto = 1;
  71497. break;
  71498. }
  71499. $async$goto = 11;
  71500. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71501. case 11:
  71502. // returning from await.
  71503. keywordRest = $async$result;
  71504. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71505. if (keywordRest instanceof A.SassMap) {
  71506. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71507. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71508. for (t2 = keywordRest._map$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString; t2.moveNext$0();)
  71509. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71510. namedNodes.addAll$1(0, t1);
  71511. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71512. // goto return
  71513. $async$goto = 1;
  71514. break;
  71515. } else
  71516. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71517. case 1:
  71518. // return
  71519. return A._asyncReturn($async$returnValue, $async$completer);
  71520. }
  71521. });
  71522. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71523. },
  71524. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71525. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  71526. },
  71527. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  71528. var $async$goto = 0,
  71529. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  71530. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  71531. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71532. if ($async$errorCode === 1)
  71533. return A._asyncRethrow($async$result, $async$completer);
  71534. while (true)
  71535. switch ($async$goto) {
  71536. case 0:
  71537. // Function start
  71538. t1 = invocation.$arguments;
  71539. restArgs_ = t1.rest;
  71540. if (restArgs_ == null) {
  71541. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  71542. // goto return
  71543. $async$goto = 1;
  71544. break;
  71545. }
  71546. t2 = t1.positional;
  71547. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  71548. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  71549. $async$goto = 3;
  71550. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71551. case 3:
  71552. // returning from await.
  71553. rest = $async$result;
  71554. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  71555. if (rest instanceof A.SassMap)
  71556. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  71557. else if (rest instanceof A.SassList) {
  71558. t2 = rest._list$_contents;
  71559. 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>")));
  71560. if (rest instanceof A.SassArgumentList) {
  71561. rest._wereKeywordsAccessed = true;
  71562. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  71563. }
  71564. } else
  71565. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  71566. keywordRestArgs_ = t1.keywordRest;
  71567. if (keywordRestArgs_ == null) {
  71568. $async$returnValue = new A._Record_2(positional, named);
  71569. // goto return
  71570. $async$goto = 1;
  71571. break;
  71572. }
  71573. $async$goto = 4;
  71574. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71575. case 4:
  71576. // returning from await.
  71577. keywordRest = $async$result;
  71578. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  71579. if (keywordRest instanceof A.SassMap) {
  71580. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  71581. $async$returnValue = new A._Record_2(positional, named);
  71582. // goto return
  71583. $async$goto = 1;
  71584. break;
  71585. } else
  71586. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  71587. case 1:
  71588. // return
  71589. return A._asyncReturn($async$returnValue, $async$completer);
  71590. }
  71591. });
  71592. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  71593. },
  71594. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  71595. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  71596. },
  71597. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  71598. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  71599. },
  71600. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  71601. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  71602. },
  71603. visitSelectorExpression$1(_, node) {
  71604. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  71605. },
  71606. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  71607. var $async$goto = 0,
  71608. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71609. $async$returnValue, $async$self = this, t1;
  71610. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71611. if ($async$errorCode === 1)
  71612. return A._asyncRethrow($async$result, $async$completer);
  71613. while (true)
  71614. switch ($async$goto) {
  71615. case 0:
  71616. // Function start
  71617. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71618. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  71619. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  71620. // goto return
  71621. $async$goto = 1;
  71622. break;
  71623. case 1:
  71624. // return
  71625. return A._asyncReturn($async$returnValue, $async$completer);
  71626. }
  71627. });
  71628. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  71629. },
  71630. visitStringExpression$1(_, node) {
  71631. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  71632. },
  71633. visitStringExpression$body$_EvaluateVisitor(_, node) {
  71634. var $async$goto = 0,
  71635. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71636. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  71637. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71638. if ($async$errorCode === 1)
  71639. return A._asyncRethrow($async$result, $async$completer);
  71640. while (true)
  71641. switch ($async$goto) {
  71642. case 0:
  71643. // Function start
  71644. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  71645. $async$self._async_evaluate$_inSupportsDeclaration = false;
  71646. t1 = A._setArrayType([], type$.JSArray_String);
  71647. t2 = node.text.contents, t3 = t2.length, _i = 0;
  71648. case 3:
  71649. // for condition
  71650. if (!(_i < t3)) {
  71651. // goto after for
  71652. $async$goto = 5;
  71653. break;
  71654. }
  71655. value = t2[_i];
  71656. if (typeof value == "string") {
  71657. t4 = value;
  71658. // goto break $label0$0
  71659. $async$goto = 6;
  71660. break;
  71661. }
  71662. $async$goto = value instanceof A.Expression ? 7 : 8;
  71663. break;
  71664. case 7:
  71665. // then
  71666. $async$goto = 9;
  71667. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  71668. case 9:
  71669. // returning from await.
  71670. _0_0 = $async$result;
  71671. $label1$1: {
  71672. if (_0_0 instanceof A.SassString) {
  71673. text = _0_0._string$_text;
  71674. t4 = text;
  71675. break $label1$1;
  71676. }
  71677. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  71678. break $label1$1;
  71679. }
  71680. // goto break $label0$0
  71681. $async$goto = 6;
  71682. break;
  71683. case 8:
  71684. // join
  71685. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  71686. case 6:
  71687. // break $label0$0
  71688. t1.push(t4);
  71689. case 4:
  71690. // for update
  71691. ++_i;
  71692. // goto for condition
  71693. $async$goto = 3;
  71694. break;
  71695. case 5:
  71696. // after for
  71697. t1 = B.JSArray_methods.join$0(t1);
  71698. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  71699. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  71700. // goto return
  71701. $async$goto = 1;
  71702. break;
  71703. case 1:
  71704. // return
  71705. return A._asyncReturn($async$returnValue, $async$completer);
  71706. }
  71707. });
  71708. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  71709. },
  71710. visitSupportsExpression$1(_, expression) {
  71711. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  71712. },
  71713. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  71714. var $async$goto = 0,
  71715. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71716. $async$returnValue, $async$self = this, $async$temp1;
  71717. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71718. if ($async$errorCode === 1)
  71719. return A._asyncRethrow($async$result, $async$completer);
  71720. while (true)
  71721. switch ($async$goto) {
  71722. case 0:
  71723. // Function start
  71724. $async$temp1 = A;
  71725. $async$goto = 3;
  71726. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  71727. case 3:
  71728. // returning from await.
  71729. $async$returnValue = new $async$temp1.SassString($async$result, false);
  71730. // goto return
  71731. $async$goto = 1;
  71732. break;
  71733. case 1:
  71734. // return
  71735. return A._asyncReturn($async$returnValue, $async$completer);
  71736. }
  71737. });
  71738. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  71739. },
  71740. visitCssAtRule$1(node) {
  71741. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  71742. },
  71743. visitCssAtRule$body$_EvaluateVisitor(node) {
  71744. var $async$goto = 0,
  71745. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71746. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  71747. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71748. if ($async$errorCode === 1)
  71749. return A._asyncRethrow($async$result, $async$completer);
  71750. while (true)
  71751. switch ($async$goto) {
  71752. case 0:
  71753. // Function start
  71754. if ($async$self._async_evaluate$_declarationName != null)
  71755. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  71756. if (node.isChildless) {
  71757. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  71758. // goto return
  71759. $async$goto = 1;
  71760. break;
  71761. }
  71762. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  71763. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  71764. t1 = node.name;
  71765. if (A.unvendor(t1.value) === "keyframes")
  71766. $async$self._async_evaluate$_inKeyframes = true;
  71767. else
  71768. $async$self._async_evaluate$_inUnknownAtRule = true;
  71769. $async$goto = 3;
  71770. 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);
  71771. case 3:
  71772. // returning from await.
  71773. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  71774. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  71775. case 1:
  71776. // return
  71777. return A._asyncReturn($async$returnValue, $async$completer);
  71778. }
  71779. });
  71780. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  71781. },
  71782. visitCssComment$1(node) {
  71783. return this.visitCssComment$body$_EvaluateVisitor(node);
  71784. },
  71785. visitCssComment$body$_EvaluateVisitor(node) {
  71786. var $async$goto = 0,
  71787. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71788. $async$self = this;
  71789. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71790. if ($async$errorCode === 1)
  71791. return A._asyncRethrow($async$result, $async$completer);
  71792. while (true)
  71793. switch ($async$goto) {
  71794. case 0:
  71795. // Function start
  71796. 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))
  71797. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71798. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  71799. // implicit return
  71800. return A._asyncReturn(null, $async$completer);
  71801. }
  71802. });
  71803. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  71804. },
  71805. visitCssDeclaration$1(node) {
  71806. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  71807. },
  71808. visitCssDeclaration$body$_EvaluateVisitor(node) {
  71809. var $async$goto = 0,
  71810. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71811. $async$self = this;
  71812. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71813. if ($async$errorCode === 1)
  71814. return A._asyncRethrow($async$result, $async$completer);
  71815. while (true)
  71816. switch ($async$goto) {
  71817. case 0:
  71818. // Function start
  71819. $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));
  71820. // implicit return
  71821. return A._asyncReturn(null, $async$completer);
  71822. }
  71823. });
  71824. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  71825. },
  71826. visitCssImport$1(node) {
  71827. return this.visitCssImport$body$_EvaluateVisitor(node);
  71828. },
  71829. visitCssImport$body$_EvaluateVisitor(node) {
  71830. var $async$goto = 0,
  71831. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71832. $async$self = this, t1, modifiableNode;
  71833. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71834. if ($async$errorCode === 1)
  71835. return A._asyncRethrow($async$result, $async$completer);
  71836. while (true)
  71837. switch ($async$goto) {
  71838. case 0:
  71839. // Function start
  71840. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71841. 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"))
  71842. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  71843. 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)) {
  71844. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  71845. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71846. } else {
  71847. t1 = $async$self._async_evaluate$_outOfOrderImports;
  71848. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  71849. }
  71850. // implicit return
  71851. return A._asyncReturn(null, $async$completer);
  71852. }
  71853. });
  71854. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  71855. },
  71856. visitCssKeyframeBlock$1(node) {
  71857. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  71858. },
  71859. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  71860. var $async$goto = 0,
  71861. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71862. $async$self = this;
  71863. var $async$visitCssKeyframeBlock$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. $async$goto = 2;
  71871. 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);
  71872. case 2:
  71873. // returning from await.
  71874. // implicit return
  71875. return A._asyncReturn(null, $async$completer);
  71876. }
  71877. });
  71878. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  71879. },
  71880. visitCssMediaRule$1(node) {
  71881. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  71882. },
  71883. visitCssMediaRule$body$_EvaluateVisitor(node) {
  71884. var $async$goto = 0,
  71885. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71886. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  71887. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71888. if ($async$errorCode === 1)
  71889. return A._asyncRethrow($async$result, $async$completer);
  71890. while (true)
  71891. switch ($async$goto) {
  71892. case 0:
  71893. // Function start
  71894. if ($async$self._async_evaluate$_declarationName != null)
  71895. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  71896. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  71897. t1 = mergedQueries == null;
  71898. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  71899. // goto return
  71900. $async$goto = 1;
  71901. break;
  71902. }
  71903. if (t1)
  71904. mergedSources = B.Set_empty2;
  71905. else {
  71906. t2 = $async$self._async_evaluate$_mediaQuerySources;
  71907. t2.toString;
  71908. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71909. t3 = $async$self._async_evaluate$_mediaQueries;
  71910. t3.toString;
  71911. t2.addAll$1(0, t3);
  71912. t2.addAll$1(0, node.queries);
  71913. mergedSources = t2;
  71914. }
  71915. t1 = t1 ? node.queries : mergedQueries;
  71916. $async$goto = 3;
  71917. 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);
  71918. case 3:
  71919. // returning from await.
  71920. case 1:
  71921. // return
  71922. return A._asyncReturn($async$returnValue, $async$completer);
  71923. }
  71924. });
  71925. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  71926. },
  71927. visitCssStyleRule$1(node) {
  71928. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  71929. },
  71930. visitCssStyleRule$body$_EvaluateVisitor(node) {
  71931. var $async$goto = 0,
  71932. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71933. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  71934. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71935. if ($async$errorCode === 1)
  71936. return A._asyncRethrow($async$result, $async$completer);
  71937. while (true)
  71938. switch ($async$goto) {
  71939. case 0:
  71940. // Function start
  71941. if ($async$self._async_evaluate$_declarationName != null)
  71942. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  71943. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  71944. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  71945. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71946. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71947. _0_0 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71948. $label0$0: {
  71949. if (_0_0 == null) {
  71950. t1 = true;
  71951. break $label0$0;
  71952. }
  71953. if (_0_0.fromPlainCss) {
  71954. t1 = false;
  71955. break $label0$0;
  71956. }
  71957. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  71958. break $label0$0;
  71959. }
  71960. t2 = node._style_rule$_selector._box$_inner;
  71961. if (t1) {
  71962. t2 = t2.value;
  71963. t3 = styleRule == null ? null : styleRule.originalSelector;
  71964. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate$_atRootExcludingStyleRule, node.fromPlainCss);
  71965. } else
  71966. originalSelector = t2.value;
  71967. 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);
  71968. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  71969. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  71970. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  71971. $async$goto = 2;
  71972. 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);
  71973. case 2:
  71974. // returning from await.
  71975. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  71976. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  71977. t2 = J.getInterceptor$asx(t1);
  71978. _1_1 = t2.get$length(t1);
  71979. if (_1_1 >= 1) {
  71980. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  71981. t1 = styleRule == null;
  71982. } else {
  71983. lastChild = null;
  71984. t1 = false;
  71985. }
  71986. if (t1)
  71987. lastChild.isGroupEnd = true;
  71988. // implicit return
  71989. return A._asyncReturn(null, $async$completer);
  71990. }
  71991. });
  71992. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  71993. },
  71994. visitCssStylesheet$1(node) {
  71995. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  71996. },
  71997. visitCssStylesheet$body$_EvaluateVisitor(node) {
  71998. var $async$goto = 0,
  71999. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72000. $async$self = this, t1;
  72001. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72002. if ($async$errorCode === 1)
  72003. return A._asyncRethrow($async$result, $async$completer);
  72004. while (true)
  72005. switch ($async$goto) {
  72006. case 0:
  72007. // Function start
  72008. t1 = J.get$iterator$ax(node.get$children(node));
  72009. case 2:
  72010. // for condition
  72011. if (!t1.moveNext$0()) {
  72012. // goto after for
  72013. $async$goto = 3;
  72014. break;
  72015. }
  72016. $async$goto = 4;
  72017. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  72018. case 4:
  72019. // returning from await.
  72020. // goto for condition
  72021. $async$goto = 2;
  72022. break;
  72023. case 3:
  72024. // after for
  72025. // implicit return
  72026. return A._asyncReturn(null, $async$completer);
  72027. }
  72028. });
  72029. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  72030. },
  72031. visitCssSupportsRule$1(node) {
  72032. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  72033. },
  72034. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  72035. var $async$goto = 0,
  72036. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72037. $async$self = this;
  72038. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72039. if ($async$errorCode === 1)
  72040. return A._asyncRethrow($async$result, $async$completer);
  72041. while (true)
  72042. switch ($async$goto) {
  72043. case 0:
  72044. // Function start
  72045. if ($async$self._async_evaluate$_declarationName != null)
  72046. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  72047. $async$goto = 2;
  72048. 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);
  72049. case 2:
  72050. // returning from await.
  72051. // implicit return
  72052. return A._asyncReturn(null, $async$completer);
  72053. }
  72054. });
  72055. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  72056. },
  72057. _async_evaluate$_handleReturn$1$2(list, callback) {
  72058. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  72059. },
  72060. _async_evaluate$_handleReturn$2(list, callback) {
  72061. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  72062. },
  72063. _handleReturn$body$_EvaluateVisitor(list, callback) {
  72064. var $async$goto = 0,
  72065. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  72066. $async$returnValue, t1, _i, _0_0;
  72067. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72068. if ($async$errorCode === 1)
  72069. return A._asyncRethrow($async$result, $async$completer);
  72070. while (true)
  72071. switch ($async$goto) {
  72072. case 0:
  72073. // Function start
  72074. t1 = list.length, _i = 0;
  72075. case 3:
  72076. // for condition
  72077. if (!(_i < list.length)) {
  72078. // goto after for
  72079. $async$goto = 5;
  72080. break;
  72081. }
  72082. $async$goto = 6;
  72083. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  72084. case 6:
  72085. // returning from await.
  72086. _0_0 = $async$result;
  72087. if (_0_0 != null) {
  72088. $async$returnValue = _0_0;
  72089. // goto return
  72090. $async$goto = 1;
  72091. break;
  72092. }
  72093. case 4:
  72094. // for update
  72095. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  72096. // goto for condition
  72097. $async$goto = 3;
  72098. break;
  72099. case 5:
  72100. // after for
  72101. $async$returnValue = null;
  72102. // goto return
  72103. $async$goto = 1;
  72104. break;
  72105. case 1:
  72106. // return
  72107. return A._asyncReturn($async$returnValue, $async$completer);
  72108. }
  72109. });
  72110. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  72111. },
  72112. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  72113. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  72114. },
  72115. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  72116. var $async$goto = 0,
  72117. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72118. $async$returnValue, $async$self = this, result, oldEnvironment;
  72119. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72120. if ($async$errorCode === 1)
  72121. return A._asyncRethrow($async$result, $async$completer);
  72122. while (true)
  72123. switch ($async$goto) {
  72124. case 0:
  72125. // Function start
  72126. oldEnvironment = $async$self._async_evaluate$_environment;
  72127. $async$self._async_evaluate$_environment = environment;
  72128. $async$goto = 3;
  72129. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  72130. case 3:
  72131. // returning from await.
  72132. result = $async$result;
  72133. $async$self._async_evaluate$_environment = oldEnvironment;
  72134. $async$returnValue = result;
  72135. // goto return
  72136. $async$goto = 1;
  72137. break;
  72138. case 1:
  72139. // return
  72140. return A._asyncReturn($async$returnValue, $async$completer);
  72141. }
  72142. });
  72143. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72144. },
  72145. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72146. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72147. },
  72148. _async_evaluate$_interpolationToValue$1(interpolation) {
  72149. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72150. },
  72151. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72152. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72153. },
  72154. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72155. var $async$goto = 0,
  72156. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72157. $async$returnValue, $async$self = this, result, t1;
  72158. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72159. if ($async$errorCode === 1)
  72160. return A._asyncRethrow($async$result, $async$completer);
  72161. while (true)
  72162. switch ($async$goto) {
  72163. case 0:
  72164. // Function start
  72165. $async$goto = 3;
  72166. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72167. case 3:
  72168. // returning from await.
  72169. result = $async$result;
  72170. t1 = trim ? A.trimAscii(result, true) : result;
  72171. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72172. // goto return
  72173. $async$goto = 1;
  72174. break;
  72175. case 1:
  72176. // return
  72177. return A._asyncReturn($async$returnValue, $async$completer);
  72178. }
  72179. });
  72180. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72181. },
  72182. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72183. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72184. },
  72185. _async_evaluate$_performInterpolation$1(interpolation) {
  72186. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72187. },
  72188. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72189. var $async$goto = 0,
  72190. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72191. $async$returnValue, $async$self = this;
  72192. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72193. if ($async$errorCode === 1)
  72194. return A._asyncRethrow($async$result, $async$completer);
  72195. while (true)
  72196. switch ($async$goto) {
  72197. case 0:
  72198. // Function start
  72199. $async$goto = 3;
  72200. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72201. case 3:
  72202. // returning from await.
  72203. $async$returnValue = $async$result._0;
  72204. // goto return
  72205. $async$goto = 1;
  72206. break;
  72207. case 1:
  72208. // return
  72209. return A._asyncReturn($async$returnValue, $async$completer);
  72210. }
  72211. });
  72212. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72213. },
  72214. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72215. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72216. },
  72217. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72218. var $async$goto = 0,
  72219. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72220. $async$returnValue, $async$self = this, _0_0, result, map;
  72221. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72222. if ($async$errorCode === 1)
  72223. return A._asyncRethrow($async$result, $async$completer);
  72224. while (true)
  72225. switch ($async$goto) {
  72226. case 0:
  72227. // Function start
  72228. $async$goto = 3;
  72229. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72230. case 3:
  72231. // returning from await.
  72232. _0_0 = $async$result;
  72233. result = _0_0._0;
  72234. map = _0_0._1;
  72235. map.toString;
  72236. $async$returnValue = new A._Record_2(result, map);
  72237. // goto return
  72238. $async$goto = 1;
  72239. break;
  72240. case 1:
  72241. // return
  72242. return A._asyncReturn($async$returnValue, $async$completer);
  72243. }
  72244. });
  72245. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72246. },
  72247. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72248. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72249. },
  72250. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72251. var $async$goto = 0,
  72252. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72253. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  72254. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72255. if ($async$errorCode === 1)
  72256. return A._asyncRethrow($async$result, $async$completer);
  72257. while (true)
  72258. switch ($async$goto) {
  72259. case 0:
  72260. // Function start
  72261. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  72262. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72263. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72264. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72265. case 3:
  72266. // for condition
  72267. if (!(_i < t2)) {
  72268. // goto after for
  72269. $async$goto = 5;
  72270. break;
  72271. }
  72272. value = t1[_i];
  72273. if (!first)
  72274. if (!t4)
  72275. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  72276. if (typeof value == "string") {
  72277. t7 += value;
  72278. // goto for update
  72279. $async$goto = 4;
  72280. break;
  72281. }
  72282. t3._as(value);
  72283. $async$goto = 6;
  72284. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72285. case 6:
  72286. // returning from await.
  72287. result = $async$result;
  72288. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72289. result0 = A.List_List$from([""], false, t6);
  72290. result0.$flags = 3;
  72291. t8 = $.$get$namesByColor();
  72292. $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));
  72293. }
  72294. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72295. case 4:
  72296. // for update
  72297. ++_i, first = false;
  72298. // goto for condition
  72299. $async$goto = 3;
  72300. break;
  72301. case 5:
  72302. // after for
  72303. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72304. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72305. // goto return
  72306. $async$goto = 1;
  72307. break;
  72308. case 1:
  72309. // return
  72310. return A._asyncReturn($async$returnValue, $async$completer);
  72311. }
  72312. });
  72313. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72314. },
  72315. _evaluateToCss$2$quote(expression, quote) {
  72316. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72317. },
  72318. _evaluateToCss$1(expression) {
  72319. return this._evaluateToCss$2$quote(expression, true);
  72320. },
  72321. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72322. var $async$goto = 0,
  72323. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72324. $async$returnValue, $async$self = this, t1;
  72325. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72326. if ($async$errorCode === 1)
  72327. return A._asyncRethrow($async$result, $async$completer);
  72328. while (true)
  72329. switch ($async$goto) {
  72330. case 0:
  72331. // Function start
  72332. t1 = expression.accept$1($async$self);
  72333. $async$goto = 3;
  72334. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72335. case 3:
  72336. // returning from await.
  72337. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72338. // goto return
  72339. $async$goto = 1;
  72340. break;
  72341. case 1:
  72342. // return
  72343. return A._asyncReturn($async$returnValue, $async$completer);
  72344. }
  72345. });
  72346. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72347. },
  72348. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72349. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72350. },
  72351. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72352. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72353. },
  72354. _async_evaluate$_expressionNode$1(expression) {
  72355. var t1;
  72356. if (expression instanceof A.VariableExpression) {
  72357. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72358. return t1 == null ? expression : t1;
  72359. } else
  72360. return expression;
  72361. },
  72362. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72363. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72364. },
  72365. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72366. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72367. },
  72368. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72369. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72370. },
  72371. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72372. var $async$goto = 0,
  72373. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72374. $async$returnValue, $async$self = this, oldParent, result;
  72375. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72376. if ($async$errorCode === 1)
  72377. return A._asyncRethrow($async$result, $async$completer);
  72378. while (true)
  72379. switch ($async$goto) {
  72380. case 0:
  72381. // Function start
  72382. $async$self._async_evaluate$_addChild$2$through(node, through);
  72383. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72384. $async$self._async_evaluate$__parent = node;
  72385. $async$goto = 3;
  72386. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72387. case 3:
  72388. // returning from await.
  72389. result = $async$result;
  72390. $async$self._async_evaluate$__parent = oldParent;
  72391. $async$returnValue = result;
  72392. // goto return
  72393. $async$goto = 1;
  72394. break;
  72395. case 1:
  72396. // return
  72397. return A._asyncReturn($async$returnValue, $async$completer);
  72398. }
  72399. });
  72400. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72401. },
  72402. _async_evaluate$_addChild$2$through(node, through) {
  72403. var _0_0, grandparent, t1,
  72404. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72405. if (through != null) {
  72406. for (; through.call$1($parent); $parent = _0_0) {
  72407. _0_0 = $parent._parent;
  72408. if (_0_0 == null)
  72409. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72410. }
  72411. if ($parent.get$hasFollowingSibling()) {
  72412. grandparent = $parent._parent;
  72413. t1 = grandparent.children;
  72414. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72415. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72416. else {
  72417. $parent = $parent.copyWithoutChildren$0();
  72418. grandparent.addChild$1($parent);
  72419. }
  72420. }
  72421. }
  72422. $parent.addChild$1(node);
  72423. },
  72424. _async_evaluate$_addChild$1(node) {
  72425. return this._async_evaluate$_addChild$2$through(node, null);
  72426. },
  72427. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72428. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72429. },
  72430. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72431. var $async$goto = 0,
  72432. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72433. $async$returnValue, $async$self = this, result, oldRule;
  72434. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72435. if ($async$errorCode === 1)
  72436. return A._asyncRethrow($async$result, $async$completer);
  72437. while (true)
  72438. switch ($async$goto) {
  72439. case 0:
  72440. // Function start
  72441. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72442. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72443. $async$goto = 3;
  72444. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72445. case 3:
  72446. // returning from await.
  72447. result = $async$result;
  72448. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72449. $async$returnValue = result;
  72450. // goto return
  72451. $async$goto = 1;
  72452. break;
  72453. case 1:
  72454. // return
  72455. return A._asyncReturn($async$returnValue, $async$completer);
  72456. }
  72457. });
  72458. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72459. },
  72460. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72461. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72462. },
  72463. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72464. var $async$goto = 0,
  72465. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72466. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72467. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72468. if ($async$errorCode === 1)
  72469. return A._asyncRethrow($async$result, $async$completer);
  72470. while (true)
  72471. switch ($async$goto) {
  72472. case 0:
  72473. // Function start
  72474. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72475. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72476. $async$self._async_evaluate$_mediaQueries = queries;
  72477. $async$self._async_evaluate$_mediaQuerySources = sources;
  72478. $async$goto = 3;
  72479. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72480. case 3:
  72481. // returning from await.
  72482. result = $async$result;
  72483. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72484. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72485. $async$returnValue = result;
  72486. // goto return
  72487. $async$goto = 1;
  72488. break;
  72489. case 1:
  72490. // return
  72491. return A._asyncReturn($async$returnValue, $async$completer);
  72492. }
  72493. });
  72494. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72495. },
  72496. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72497. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72498. },
  72499. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72500. var $async$goto = 0,
  72501. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72502. $async$returnValue, $async$self = this, oldMember, result, t1;
  72503. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72504. if ($async$errorCode === 1)
  72505. return A._asyncRethrow($async$result, $async$completer);
  72506. while (true)
  72507. switch ($async$goto) {
  72508. case 0:
  72509. // Function start
  72510. t1 = $async$self._async_evaluate$_stack;
  72511. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  72512. oldMember = $async$self._async_evaluate$_member;
  72513. $async$self._async_evaluate$_member = member;
  72514. $async$goto = 3;
  72515. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  72516. case 3:
  72517. // returning from await.
  72518. result = $async$result;
  72519. $async$self._async_evaluate$_member = oldMember;
  72520. t1.pop();
  72521. $async$returnValue = result;
  72522. // goto return
  72523. $async$goto = 1;
  72524. break;
  72525. case 1:
  72526. // return
  72527. return A._asyncReturn($async$returnValue, $async$completer);
  72528. }
  72529. });
  72530. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  72531. },
  72532. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  72533. var t1;
  72534. if (value instanceof A.SassNumber)
  72535. t1 = value.asSlash != null;
  72536. else
  72537. t1 = false;
  72538. if (t1)
  72539. 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);
  72540. return value.withoutSlash$0();
  72541. },
  72542. _async_evaluate$_stackFrame$2(member, span) {
  72543. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  72544. },
  72545. _async_evaluate$_stackTrace$1(span) {
  72546. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72547. t1 = A._setArrayType([], type$.JSArray_Frame);
  72548. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72549. t4 = t2[_i];
  72550. nodeWithSpan = t4._1;
  72551. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72552. }
  72553. if (span != null)
  72554. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  72555. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72556. },
  72557. _async_evaluate$_stackTrace$0() {
  72558. return this._async_evaluate$_stackTrace$1(null);
  72559. },
  72560. _async_evaluate$_warn$3(message, span, deprecation) {
  72561. var trace, t1, _this = this;
  72562. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  72563. return;
  72564. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  72565. return;
  72566. trace = _this._async_evaluate$_stackTrace$1(span);
  72567. t1 = _this._async_evaluate$_logger;
  72568. if (deprecation == null)
  72569. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  72570. else
  72571. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  72572. },
  72573. _async_evaluate$_warn$2(message, span) {
  72574. return this._async_evaluate$_warn$3(message, span, null);
  72575. },
  72576. _async_evaluate$_exception$2(message, span) {
  72577. var t1, t2;
  72578. if (span == null) {
  72579. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72580. t1 = t1.get$span(t1);
  72581. } else
  72582. t1 = span;
  72583. t2 = this._async_evaluate$_stackTrace$1(span);
  72584. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  72585. },
  72586. _async_evaluate$_exception$1(message) {
  72587. return this._async_evaluate$_exception$2(message, null);
  72588. },
  72589. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  72590. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72591. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  72592. },
  72593. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  72594. var error, stackTrace, t1, exception,
  72595. addStackFrame = true;
  72596. try {
  72597. t1 = callback.call$0();
  72598. return t1;
  72599. } catch (exception) {
  72600. t1 = A.unwrapException(exception);
  72601. if (t1 instanceof A.SassScriptException) {
  72602. error = t1;
  72603. stackTrace = A.getTraceFromException(exception);
  72604. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72605. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72606. } else
  72607. throw exception;
  72608. }
  72609. },
  72610. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  72611. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  72612. },
  72613. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  72614. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  72615. },
  72616. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  72617. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  72618. },
  72619. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  72620. var $async$goto = 0,
  72621. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72622. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  72623. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72624. if ($async$errorCode === 1) {
  72625. $async$errorStack.push($async$result);
  72626. $async$goto = $async$handler;
  72627. }
  72628. while (true)
  72629. switch ($async$goto) {
  72630. case 0:
  72631. // Function start
  72632. $async$handler = 4;
  72633. t1 = callback.call$0();
  72634. $async$goto = 7;
  72635. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  72636. case 7:
  72637. // returning from await.
  72638. t1 = $async$result;
  72639. $async$returnValue = t1;
  72640. // goto return
  72641. $async$goto = 1;
  72642. break;
  72643. $async$handler = 2;
  72644. // goto after finally
  72645. $async$goto = 6;
  72646. break;
  72647. case 4:
  72648. // catch
  72649. $async$handler = 3;
  72650. $async$exception = $async$errorStack.pop();
  72651. t1 = A.unwrapException($async$exception);
  72652. if (t1 instanceof A.SassScriptException) {
  72653. error = t1;
  72654. stackTrace = A.getTraceFromException($async$exception);
  72655. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72656. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72657. } else
  72658. throw $async$exception;
  72659. // goto after finally
  72660. $async$goto = 6;
  72661. break;
  72662. case 3:
  72663. // uncaught
  72664. // goto rethrow
  72665. $async$goto = 2;
  72666. break;
  72667. case 6:
  72668. // after finally
  72669. case 1:
  72670. // return
  72671. return A._asyncReturn($async$returnValue, $async$completer);
  72672. case 2:
  72673. // rethrow
  72674. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72675. }
  72676. });
  72677. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  72678. },
  72679. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  72680. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  72681. },
  72682. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  72683. var $async$goto = 0,
  72684. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72685. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  72686. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72687. if ($async$errorCode === 1) {
  72688. $async$errorStack.push($async$result);
  72689. $async$goto = $async$handler;
  72690. }
  72691. while (true)
  72692. switch ($async$goto) {
  72693. case 0:
  72694. // Function start
  72695. $async$handler = 4;
  72696. t1 = callback.call$0();
  72697. $async$goto = 7;
  72698. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  72699. case 7:
  72700. // returning from await.
  72701. t1 = $async$result;
  72702. $async$returnValue = t1;
  72703. // goto return
  72704. $async$goto = 1;
  72705. break;
  72706. $async$handler = 2;
  72707. // goto after finally
  72708. $async$goto = 6;
  72709. break;
  72710. case 4:
  72711. // catch
  72712. $async$handler = 3;
  72713. $async$exception = $async$errorStack.pop();
  72714. t1 = A.unwrapException($async$exception);
  72715. if (type$.SassRuntimeException._is(t1))
  72716. throw $async$exception;
  72717. else if (t1 instanceof A.SassException) {
  72718. error = t1;
  72719. stackTrace = A.getTraceFromException($async$exception);
  72720. t1 = error;
  72721. t2 = J.getInterceptor$z(t1);
  72722. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  72723. } else
  72724. throw $async$exception;
  72725. // goto after finally
  72726. $async$goto = 6;
  72727. break;
  72728. case 3:
  72729. // uncaught
  72730. // goto rethrow
  72731. $async$goto = 2;
  72732. break;
  72733. case 6:
  72734. // after finally
  72735. case 1:
  72736. // return
  72737. return A._asyncReturn($async$returnValue, $async$completer);
  72738. case 2:
  72739. // rethrow
  72740. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72741. }
  72742. });
  72743. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  72744. },
  72745. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  72746. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  72747. },
  72748. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  72749. var $async$goto = 0,
  72750. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72751. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  72752. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72753. if ($async$errorCode === 1) {
  72754. $async$errorStack.push($async$result);
  72755. $async$goto = $async$handler;
  72756. }
  72757. while (true)
  72758. switch ($async$goto) {
  72759. case 0:
  72760. // Function start
  72761. $async$handler = 4;
  72762. $async$goto = 7;
  72763. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  72764. case 7:
  72765. // returning from await.
  72766. t1 = $async$result;
  72767. $async$returnValue = t1;
  72768. // goto return
  72769. $async$goto = 1;
  72770. break;
  72771. $async$handler = 2;
  72772. // goto after finally
  72773. $async$goto = 6;
  72774. break;
  72775. case 4:
  72776. // catch
  72777. $async$handler = 3;
  72778. $async$exception = $async$errorStack.pop();
  72779. t1 = A.unwrapException($async$exception);
  72780. if (type$.SassRuntimeException._is(t1)) {
  72781. error = t1;
  72782. stackTrace = A.getTraceFromException($async$exception);
  72783. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  72784. throw $async$exception;
  72785. t1 = error._span_exception$_message;
  72786. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72787. t3 = $async$self._async_evaluate$_stackTrace$0();
  72788. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  72789. } else
  72790. throw $async$exception;
  72791. // goto after finally
  72792. $async$goto = 6;
  72793. break;
  72794. case 3:
  72795. // uncaught
  72796. // goto rethrow
  72797. $async$goto = 2;
  72798. break;
  72799. case 6:
  72800. // after finally
  72801. case 1:
  72802. // return
  72803. return A._asyncReturn($async$returnValue, $async$completer);
  72804. case 2:
  72805. // rethrow
  72806. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72807. }
  72808. });
  72809. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  72810. },
  72811. _async_evaluate$_getErrorMessage$1(error) {
  72812. var t1, exception;
  72813. if (type$.Error._is(error))
  72814. return error.toString$0(0);
  72815. try {
  72816. t1 = A._asString(J.get$message$x(error));
  72817. return t1;
  72818. } catch (exception) {
  72819. t1 = J.toString$0$(error);
  72820. return t1;
  72821. }
  72822. }
  72823. };
  72824. A._EvaluateVisitor_closure12.prototype = {
  72825. call$1($arguments) {
  72826. var module, t2,
  72827. t1 = J.getInterceptor$asx($arguments),
  72828. variable = t1.$index($arguments, 0).assertString$1("name");
  72829. t1 = t1.$index($arguments, 1).get$realNull();
  72830. module = t1 == null ? null : t1.assertString$1("module");
  72831. t1 = this.$this._async_evaluate$_environment;
  72832. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72833. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  72834. },
  72835. $signature: 12
  72836. };
  72837. A._EvaluateVisitor_closure13.prototype = {
  72838. call$1($arguments) {
  72839. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  72840. t1 = this.$this._async_evaluate$_environment;
  72841. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72842. },
  72843. $signature: 12
  72844. };
  72845. A._EvaluateVisitor_closure14.prototype = {
  72846. call$1($arguments) {
  72847. var module, t2, t3, t4,
  72848. t1 = J.getInterceptor$asx($arguments),
  72849. variable = t1.$index($arguments, 0).assertString$1("name");
  72850. t1 = t1.$index($arguments, 1).get$realNull();
  72851. module = t1 == null ? null : t1.assertString$1("module");
  72852. t1 = this.$this;
  72853. t2 = t1._async_evaluate$_environment;
  72854. t3 = variable._string$_text;
  72855. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  72856. 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;
  72857. },
  72858. $signature: 12
  72859. };
  72860. A._EvaluateVisitor_closure15.prototype = {
  72861. call$1($arguments) {
  72862. var module, t2,
  72863. t1 = J.getInterceptor$asx($arguments),
  72864. variable = t1.$index($arguments, 0).assertString$1("name");
  72865. t1 = t1.$index($arguments, 1).get$realNull();
  72866. module = t1 == null ? null : t1.assertString$1("module");
  72867. t1 = this.$this._async_evaluate$_environment;
  72868. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72869. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72870. },
  72871. $signature: 12
  72872. };
  72873. A._EvaluateVisitor_closure16.prototype = {
  72874. call$1($arguments) {
  72875. var t1 = this.$this._async_evaluate$_environment;
  72876. if (!t1._async_environment$_inMixin)
  72877. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  72878. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  72879. },
  72880. $signature: 12
  72881. };
  72882. A._EvaluateVisitor_closure17.prototype = {
  72883. call$1($arguments) {
  72884. var t2, t3, t4,
  72885. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72886. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72887. if (module == null)
  72888. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72889. t1 = type$.Value;
  72890. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72891. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72892. t4 = t3.get$current(t3);
  72893. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  72894. }
  72895. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72896. },
  72897. $signature: 33
  72898. };
  72899. A._EvaluateVisitor_closure18.prototype = {
  72900. call$1($arguments) {
  72901. var t3, t4, t5,
  72902. t1 = this.$this,
  72903. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72904. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  72905. if (module == null)
  72906. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  72907. t2 = type$.Value;
  72908. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  72909. 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();) {
  72910. t5 = t4.get$current(t4);
  72911. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  72912. }
  72913. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  72914. },
  72915. $signature: 33
  72916. };
  72917. A._EvaluateVisitor_closure19.prototype = {
  72918. call$1($arguments) {
  72919. var t3, t4, t5,
  72920. t1 = this.$this,
  72921. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72922. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  72923. if (module == null)
  72924. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  72925. t2 = type$.Value;
  72926. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  72927. 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();) {
  72928. t5 = t4.get$current(t4);
  72929. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  72930. }
  72931. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  72932. },
  72933. $signature: 33
  72934. };
  72935. A._EvaluateVisitor_closure20.prototype = {
  72936. call$1($arguments) {
  72937. var module, t2, callable,
  72938. t1 = J.getInterceptor$asx($arguments),
  72939. $name = t1.$index($arguments, 0).assertString$1("name"),
  72940. css = t1.$index($arguments, 1).get$isTruthy();
  72941. t1 = t1.$index($arguments, 2).get$realNull();
  72942. module = t1 == null ? null : t1.assertString$1("module");
  72943. if (css) {
  72944. if (module != null)
  72945. throw A.wrapException(string$.x24css_a);
  72946. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._async_evaluate$_compileContext);
  72947. }
  72948. t1 = this.$this;
  72949. t2 = t1._async_evaluate$_callableNode;
  72950. t2.toString;
  72951. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  72952. if (callable == null)
  72953. throw A.wrapException("Function not found: " + $name.toString$0(0));
  72954. return new A.SassFunction(callable, t1._async_evaluate$_compileContext);
  72955. },
  72956. $signature: 167
  72957. };
  72958. A._EvaluateVisitor__closure6.prototype = {
  72959. call$0() {
  72960. var local,
  72961. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72962. t1 = this.module,
  72963. namespace = t1 == null ? null : t1._string$_text;
  72964. t1 = this.$this;
  72965. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  72966. if (local != null || namespace != null)
  72967. return local;
  72968. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  72969. },
  72970. $signature: 93
  72971. };
  72972. A._EvaluateVisitor_closure21.prototype = {
  72973. call$1($arguments) {
  72974. var module, t2, callable,
  72975. t1 = J.getInterceptor$asx($arguments),
  72976. $name = t1.$index($arguments, 0).assertString$1("name");
  72977. t1 = t1.$index($arguments, 1).get$realNull();
  72978. module = t1 == null ? null : t1.assertString$1("module");
  72979. t1 = this.$this;
  72980. t2 = t1._async_evaluate$_callableNode;
  72981. t2.toString;
  72982. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  72983. if (callable == null)
  72984. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  72985. return new A.SassMixin(callable, t1._async_evaluate$_compileContext);
  72986. },
  72987. $signature: 168
  72988. };
  72989. A._EvaluateVisitor__closure5.prototype = {
  72990. call$0() {
  72991. var t1 = this.$this._async_evaluate$_environment,
  72992. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  72993. t3 = this.module;
  72994. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  72995. },
  72996. $signature: 93
  72997. };
  72998. A._EvaluateVisitor_closure22.prototype = {
  72999. call$1($arguments) {
  73000. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  73001. },
  73002. $call$body$_EvaluateVisitor_closure1($arguments) {
  73003. var $async$goto = 0,
  73004. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  73005. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  73006. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73007. if ($async$errorCode === 1)
  73008. return A._asyncRethrow($async$result, $async$completer);
  73009. while (true)
  73010. switch ($async$goto) {
  73011. case 0:
  73012. // Function start
  73013. t1 = J.getInterceptor$asx($arguments);
  73014. $function = t1.$index($arguments, 0);
  73015. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73016. t1 = $async$self.$this;
  73017. t2 = t1._async_evaluate$_callableNode;
  73018. t2.toString;
  73019. t3 = A._setArrayType([], type$.JSArray_Expression);
  73020. t4 = type$.String;
  73021. t5 = type$.Expression;
  73022. t6 = t2.get$span(t2);
  73023. t7 = t2.get$span(t2);
  73024. args._wereKeywordsAccessed = true;
  73025. t8 = args._keywords;
  73026. if (t8.get$isEmpty(t8))
  73027. t2 = null;
  73028. else {
  73029. t9 = type$.Value;
  73030. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73031. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73032. t11 = t8.get$current(t8);
  73033. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  73034. }
  73035. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73036. }
  73037. 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);
  73038. $async$goto = $function instanceof A.SassString ? 3 : 4;
  73039. break;
  73040. case 3:
  73041. // then
  73042. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  73043. callableNode = t1._async_evaluate$_callableNode;
  73044. t2 = $function._string$_text;
  73045. t3 = callableNode.get$span(callableNode);
  73046. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  73047. $async$goto = 5;
  73048. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  73049. case 5:
  73050. // returning from await.
  73051. $async$returnValue = $async$result;
  73052. // goto return
  73053. $async$goto = 1;
  73054. break;
  73055. case 4:
  73056. // join
  73057. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate$_compileContext);
  73058. t3 = t1._async_evaluate$_callableNode;
  73059. t3.toString;
  73060. $async$goto = 6;
  73061. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  73062. case 6:
  73063. // returning from await.
  73064. t3 = $async$result;
  73065. $async$returnValue = t3;
  73066. // goto return
  73067. $async$goto = 1;
  73068. break;
  73069. case 1:
  73070. // return
  73071. return A._asyncReturn($async$returnValue, $async$completer);
  73072. }
  73073. });
  73074. return A._asyncStartSync($async$call$1, $async$completer);
  73075. },
  73076. $signature: 187
  73077. };
  73078. A._EvaluateVisitor_closure23.prototype = {
  73079. call$1($arguments) {
  73080. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  73081. },
  73082. $call$body$_EvaluateVisitor_closure0($arguments) {
  73083. var $async$goto = 0,
  73084. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73085. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  73086. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73087. if ($async$errorCode === 1)
  73088. return A._asyncRethrow($async$result, $async$completer);
  73089. while (true)
  73090. switch ($async$goto) {
  73091. case 0:
  73092. // Function start
  73093. t1 = J.getInterceptor$asx($arguments);
  73094. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  73095. t1 = t1.$index($arguments, 1).get$realNull();
  73096. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  73097. t1 = $async$self.$this;
  73098. t2 = t1._async_evaluate$_callableNode;
  73099. t2.toString;
  73100. if (withMap != null) {
  73101. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  73102. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  73103. configuration = new A.ExplicitConfiguration(t2, values, null);
  73104. } else
  73105. configuration = B.Configuration_Map_empty_null;
  73106. t3 = t2.get$span(t2);
  73107. $async$goto = 2;
  73108. 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);
  73109. case 2:
  73110. // returning from await.
  73111. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73112. // implicit return
  73113. return A._asyncReturn(null, $async$completer);
  73114. }
  73115. });
  73116. return A._asyncStartSync($async$call$1, $async$completer);
  73117. },
  73118. $signature: 169
  73119. };
  73120. A._EvaluateVisitor__closure3.prototype = {
  73121. call$2(variable, value) {
  73122. var t1 = variable.assertString$1("with key"),
  73123. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  73124. t1 = this.values;
  73125. if (t1.containsKey$1($name))
  73126. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73127. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  73128. },
  73129. $signature: 95
  73130. };
  73131. A._EvaluateVisitor__closure4.prototype = {
  73132. call$2(module, _) {
  73133. var t1 = this.$this;
  73134. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  73135. },
  73136. $signature: 360
  73137. };
  73138. A._EvaluateVisitor_closure24.prototype = {
  73139. call$1($arguments) {
  73140. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73141. },
  73142. $call$body$_EvaluateVisitor_closure($arguments) {
  73143. var $async$goto = 0,
  73144. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73145. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73146. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73147. if ($async$errorCode === 1)
  73148. return A._asyncRethrow($async$result, $async$completer);
  73149. while (true)
  73150. switch ($async$goto) {
  73151. case 0:
  73152. // Function start
  73153. t1 = J.getInterceptor$asx($arguments);
  73154. mixin = t1.$index($arguments, 0);
  73155. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73156. t1 = $async$self.$this;
  73157. callableNode = t1._async_evaluate$_callableNode;
  73158. t2 = callableNode.get$span(callableNode);
  73159. t3 = callableNode.get$span(callableNode);
  73160. t4 = type$.Expression;
  73161. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73162. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  73163. $async$goto = 2;
  73164. 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);
  73165. case 2:
  73166. // returning from await.
  73167. // implicit return
  73168. return A._asyncReturn(null, $async$completer);
  73169. }
  73170. });
  73171. return A._asyncStartSync($async$call$1, $async$completer);
  73172. },
  73173. $signature: 169
  73174. };
  73175. A._EvaluateVisitor_run_closure0.prototype = {
  73176. call$0() {
  73177. var $async$goto = 0,
  73178. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73179. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73180. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73181. if ($async$errorCode === 1)
  73182. return A._asyncRethrow($async$result, $async$completer);
  73183. while (true)
  73184. switch ($async$goto) {
  73185. case 0:
  73186. // Function start
  73187. t1 = $async$self.node;
  73188. t2 = t1.span;
  73189. _0_0 = t2.get$sourceUrl(t2);
  73190. url = null;
  73191. if (_0_0 != null) {
  73192. url = _0_0;
  73193. t2 = $async$self.$this;
  73194. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73195. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73196. }
  73197. t2 = $async$self.$this;
  73198. $async$goto = 3;
  73199. 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);
  73200. case 3:
  73201. // returning from await.
  73202. module = $async$result;
  73203. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  73204. // goto return
  73205. $async$goto = 1;
  73206. break;
  73207. case 1:
  73208. // return
  73209. return A._asyncReturn($async$returnValue, $async$completer);
  73210. }
  73211. });
  73212. return A._asyncStartSync($async$call$0, $async$completer);
  73213. },
  73214. $signature: 361
  73215. };
  73216. A._EvaluateVisitor_run__closure0.prototype = {
  73217. call$0() {
  73218. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73219. },
  73220. $signature: 367
  73221. };
  73222. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73223. call$0() {
  73224. return this.callback.call$2(this._box_0.builtInModule, false);
  73225. },
  73226. $signature: 0
  73227. };
  73228. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73229. call$0() {
  73230. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73231. },
  73232. $call$body$_EvaluateVisitor__loadModule_closure() {
  73233. var $async$goto = 0,
  73234. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73235. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73236. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73237. if ($async$errorCode === 1) {
  73238. $async$errorStack.push($async$result);
  73239. $async$goto = $async$handler;
  73240. }
  73241. while (true)
  73242. switch ($async$goto) {
  73243. case 0:
  73244. // Function start
  73245. t1 = {};
  73246. stylesheet = null;
  73247. importer = null;
  73248. t2 = $async$self.$this;
  73249. t3 = $async$self.nodeWithSpan;
  73250. $async$goto = 2;
  73251. 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);
  73252. case 2:
  73253. // returning from await.
  73254. _1_0 = $async$result;
  73255. stylesheet = _1_0._0;
  73256. importer = _1_0._1;
  73257. isDependency = _1_0._2;
  73258. t4 = stylesheet.span;
  73259. canonicalUrl = t4.get$sourceUrl(t4);
  73260. if (canonicalUrl != null) {
  73261. t4 = t2._async_evaluate$_activeModules;
  73262. if (t4.containsKey$1(canonicalUrl)) {
  73263. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  73264. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73265. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73266. } else
  73267. t4.$indexSet(0, canonicalUrl, t3);
  73268. }
  73269. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73270. oldInDependency = t2._async_evaluate$_inDependency;
  73271. t2._async_evaluate$_inDependency = isDependency;
  73272. t1.module = null;
  73273. $async$handler = 3;
  73274. $async$temp1 = t1;
  73275. $async$goto = 6;
  73276. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73277. case 6:
  73278. // returning from await.
  73279. $async$temp1.module = $async$result;
  73280. $async$next.push(5);
  73281. // goto finally
  73282. $async$goto = 4;
  73283. break;
  73284. case 3:
  73285. // uncaught
  73286. $async$next = [1];
  73287. case 4:
  73288. // finally
  73289. $async$handler = 1;
  73290. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73291. t2._async_evaluate$_inDependency = oldInDependency;
  73292. // goto the next finally handler
  73293. $async$goto = $async$next.pop();
  73294. break;
  73295. case 5:
  73296. // after finally
  73297. $async$goto = 7;
  73298. 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);
  73299. case 7:
  73300. // returning from await.
  73301. // implicit return
  73302. return A._asyncReturn(null, $async$completer);
  73303. case 1:
  73304. // rethrow
  73305. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73306. }
  73307. });
  73308. return A._asyncStartSync($async$call$0, $async$completer);
  73309. },
  73310. $signature: 2
  73311. };
  73312. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73313. call$1(previousLoad) {
  73314. 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));
  73315. },
  73316. $signature: 105
  73317. };
  73318. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73319. call$0() {
  73320. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73321. },
  73322. $signature: 0
  73323. };
  73324. A._EvaluateVisitor__execute_closure0.prototype = {
  73325. call$0() {
  73326. var $async$goto = 0,
  73327. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73328. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73329. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73330. if ($async$errorCode === 1)
  73331. return A._asyncRethrow($async$result, $async$completer);
  73332. while (true)
  73333. switch ($async$goto) {
  73334. case 0:
  73335. // Function start
  73336. t1 = $async$self.$this;
  73337. oldImporter = t1._async_evaluate$_importer;
  73338. oldStylesheet = t1._async_evaluate$__stylesheet;
  73339. oldRoot = t1._async_evaluate$__root;
  73340. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73341. oldParent = t1._async_evaluate$__parent;
  73342. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73343. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73344. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73345. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73346. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73347. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73348. oldDeclarationName = t1._async_evaluate$_declarationName;
  73349. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73350. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73351. oldConfiguration = t1._async_evaluate$_configuration;
  73352. t1._async_evaluate$_importer = $async$self.importer;
  73353. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73354. t4 = t3.span;
  73355. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73356. t1._async_evaluate$__endOfImports = 0;
  73357. t1._async_evaluate$_outOfOrderImports = null;
  73358. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73359. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73360. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73361. t6 = $async$self.configuration;
  73362. if (t6 != null)
  73363. t1._async_evaluate$_configuration = t6;
  73364. $async$goto = 2;
  73365. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73366. case 2:
  73367. // returning from await.
  73368. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73369. $async$self.css.__late_helper$_value = t3;
  73370. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73371. t1._async_evaluate$_importer = oldImporter;
  73372. t1._async_evaluate$__stylesheet = oldStylesheet;
  73373. t1._async_evaluate$__root = oldRoot;
  73374. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73375. t1._async_evaluate$__parent = oldParent;
  73376. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73377. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73378. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73379. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73380. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73381. t1._async_evaluate$_declarationName = oldDeclarationName;
  73382. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73383. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73384. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73385. t1._async_evaluate$_configuration = oldConfiguration;
  73386. // implicit return
  73387. return A._asyncReturn(null, $async$completer);
  73388. }
  73389. });
  73390. return A._asyncStartSync($async$call$0, $async$completer);
  73391. },
  73392. $signature: 2
  73393. };
  73394. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73395. call$1(module) {
  73396. return module.get$transitivelyContainsCss();
  73397. },
  73398. $signature: 103
  73399. };
  73400. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73401. call$1(target) {
  73402. return !this.selectors.contains$1(0, target);
  73403. },
  73404. $signature: 14
  73405. };
  73406. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73407. call$1(module) {
  73408. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73409. if (!_this.seen.add$1(0, module))
  73410. return;
  73411. if (_this.clone)
  73412. module = module.cloneCss$0();
  73413. 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) {
  73414. upstream = t1[_i];
  73415. if (upstream.get$transitivelyContainsCss()) {
  73416. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73417. if (_1_0 != null)
  73418. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73419. _this.call$1(upstream);
  73420. }
  73421. }
  73422. _this.sorted.addFirst$1(module);
  73423. t1 = module.get$css(module);
  73424. statements = t1.get$children(t1);
  73425. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73426. t1 = J.getInterceptor$ax(statements);
  73427. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73428. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73429. },
  73430. $signature: 389
  73431. };
  73432. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73433. call$1(target) {
  73434. return !this.originalSelectors.contains$1(0, target);
  73435. },
  73436. $signature: 14
  73437. };
  73438. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73439. call$0() {
  73440. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73441. },
  73442. $signature: 141
  73443. };
  73444. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73445. call$0() {
  73446. var $async$goto = 0,
  73447. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73448. $async$self = this, t1, t2, t3, _i;
  73449. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73450. if ($async$errorCode === 1)
  73451. return A._asyncRethrow($async$result, $async$completer);
  73452. while (true)
  73453. switch ($async$goto) {
  73454. case 0:
  73455. // Function start
  73456. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73457. case 2:
  73458. // for condition
  73459. if (!(_i < t2)) {
  73460. // goto after for
  73461. $async$goto = 4;
  73462. break;
  73463. }
  73464. $async$goto = 5;
  73465. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73466. case 5:
  73467. // returning from await.
  73468. case 3:
  73469. // for update
  73470. ++_i;
  73471. // goto for condition
  73472. $async$goto = 2;
  73473. break;
  73474. case 4:
  73475. // after for
  73476. // implicit return
  73477. return A._asyncReturn(null, $async$completer);
  73478. }
  73479. });
  73480. return A._asyncStartSync($async$call$0, $async$completer);
  73481. },
  73482. $signature: 2
  73483. };
  73484. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73485. call$0() {
  73486. var $async$goto = 0,
  73487. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73488. $async$self = this, t1, t2, t3, _i;
  73489. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73490. if ($async$errorCode === 1)
  73491. return A._asyncRethrow($async$result, $async$completer);
  73492. while (true)
  73493. switch ($async$goto) {
  73494. case 0:
  73495. // Function start
  73496. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73497. case 2:
  73498. // for condition
  73499. if (!(_i < t2)) {
  73500. // goto after for
  73501. $async$goto = 4;
  73502. break;
  73503. }
  73504. $async$goto = 5;
  73505. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73506. case 5:
  73507. // returning from await.
  73508. case 3:
  73509. // for update
  73510. ++_i;
  73511. // goto for condition
  73512. $async$goto = 2;
  73513. break;
  73514. case 4:
  73515. // after for
  73516. // implicit return
  73517. return A._asyncReturn(null, $async$completer);
  73518. }
  73519. });
  73520. return A._asyncStartSync($async$call$0, $async$completer);
  73521. },
  73522. $signature: 32
  73523. };
  73524. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  73525. call$1(callback) {
  73526. var $async$goto = 0,
  73527. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73528. $async$self = this, t1, oldParent;
  73529. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73530. if ($async$errorCode === 1)
  73531. return A._asyncRethrow($async$result, $async$completer);
  73532. while (true)
  73533. switch ($async$goto) {
  73534. case 0:
  73535. // Function start
  73536. t1 = $async$self.$this;
  73537. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  73538. t1._async_evaluate$__parent = $async$self.newParent;
  73539. $async$goto = 2;
  73540. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  73541. case 2:
  73542. // returning from await.
  73543. t1._async_evaluate$__parent = oldParent;
  73544. // implicit return
  73545. return A._asyncReturn(null, $async$completer);
  73546. }
  73547. });
  73548. return A._asyncStartSync($async$call$1, $async$completer);
  73549. },
  73550. $signature: 40
  73551. };
  73552. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  73553. call$1(callback) {
  73554. var $async$goto = 0,
  73555. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73556. $async$self = this, t1, oldAtRootExcludingStyleRule;
  73557. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73558. if ($async$errorCode === 1)
  73559. return A._asyncRethrow($async$result, $async$completer);
  73560. while (true)
  73561. switch ($async$goto) {
  73562. case 0:
  73563. // Function start
  73564. t1 = $async$self.$this;
  73565. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  73566. t1._async_evaluate$_atRootExcludingStyleRule = true;
  73567. $async$goto = 2;
  73568. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73569. case 2:
  73570. // returning from await.
  73571. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73572. // implicit return
  73573. return A._asyncReturn(null, $async$completer);
  73574. }
  73575. });
  73576. return A._asyncStartSync($async$call$1, $async$completer);
  73577. },
  73578. $signature: 40
  73579. };
  73580. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  73581. call$1(callback) {
  73582. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  73583. },
  73584. $signature: 40
  73585. };
  73586. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  73587. call$0() {
  73588. return this.innerScope.call$1(this.callback);
  73589. },
  73590. $signature: 2
  73591. };
  73592. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  73593. call$1(callback) {
  73594. var $async$goto = 0,
  73595. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73596. $async$self = this, t1, wasInKeyframes;
  73597. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73598. if ($async$errorCode === 1)
  73599. return A._asyncRethrow($async$result, $async$completer);
  73600. while (true)
  73601. switch ($async$goto) {
  73602. case 0:
  73603. // Function start
  73604. t1 = $async$self.$this;
  73605. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  73606. t1._async_evaluate$_inKeyframes = false;
  73607. $async$goto = 2;
  73608. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73609. case 2:
  73610. // returning from await.
  73611. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  73612. // implicit return
  73613. return A._asyncReturn(null, $async$completer);
  73614. }
  73615. });
  73616. return A._asyncStartSync($async$call$1, $async$completer);
  73617. },
  73618. $signature: 40
  73619. };
  73620. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  73621. call$1($parent) {
  73622. return $parent instanceof A.ModifiableCssAtRule;
  73623. },
  73624. $signature: 172
  73625. };
  73626. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  73627. call$1(callback) {
  73628. var $async$goto = 0,
  73629. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73630. $async$self = this, t1, wasInUnknownAtRule;
  73631. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73632. if ($async$errorCode === 1)
  73633. return A._asyncRethrow($async$result, $async$completer);
  73634. while (true)
  73635. switch ($async$goto) {
  73636. case 0:
  73637. // Function start
  73638. t1 = $async$self.$this;
  73639. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73640. t1._async_evaluate$_inUnknownAtRule = false;
  73641. $async$goto = 2;
  73642. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73643. case 2:
  73644. // returning from await.
  73645. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  73646. // implicit return
  73647. return A._asyncReturn(null, $async$completer);
  73648. }
  73649. });
  73650. return A._asyncStartSync($async$call$1, $async$completer);
  73651. },
  73652. $signature: 40
  73653. };
  73654. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  73655. call$0() {
  73656. var $async$goto = 0,
  73657. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73658. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  73659. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73660. if ($async$errorCode === 1)
  73661. return A._asyncRethrow($async$result, $async$completer);
  73662. while (true)
  73663. switch ($async$goto) {
  73664. case 0:
  73665. // Function start
  73666. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73667. case 3:
  73668. // for condition
  73669. if (!(_i < t2)) {
  73670. // goto after for
  73671. $async$goto = 5;
  73672. break;
  73673. }
  73674. $async$goto = 6;
  73675. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73676. case 6:
  73677. // returning from await.
  73678. case 4:
  73679. // for update
  73680. ++_i;
  73681. // goto for condition
  73682. $async$goto = 3;
  73683. break;
  73684. case 5:
  73685. // after for
  73686. $async$returnValue = null;
  73687. // goto return
  73688. $async$goto = 1;
  73689. break;
  73690. case 1:
  73691. // return
  73692. return A._asyncReturn($async$returnValue, $async$completer);
  73693. }
  73694. });
  73695. return A._asyncStartSync($async$call$0, $async$completer);
  73696. },
  73697. $signature: 2
  73698. };
  73699. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  73700. call$0() {
  73701. var $async$goto = 0,
  73702. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73703. $async$self = this, t1, t2, t3, _i;
  73704. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73705. if ($async$errorCode === 1)
  73706. return A._asyncRethrow($async$result, $async$completer);
  73707. while (true)
  73708. switch ($async$goto) {
  73709. case 0:
  73710. // Function start
  73711. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73712. case 2:
  73713. // for condition
  73714. if (!(_i < t2)) {
  73715. // goto after for
  73716. $async$goto = 4;
  73717. break;
  73718. }
  73719. $async$goto = 5;
  73720. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73721. case 5:
  73722. // returning from await.
  73723. case 3:
  73724. // for update
  73725. ++_i;
  73726. // goto for condition
  73727. $async$goto = 2;
  73728. break;
  73729. case 4:
  73730. // after for
  73731. // implicit return
  73732. return A._asyncReturn(null, $async$completer);
  73733. }
  73734. });
  73735. return A._asyncStartSync($async$call$0, $async$completer);
  73736. },
  73737. $signature: 2
  73738. };
  73739. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  73740. call$1(value) {
  73741. var t1 = this.$this,
  73742. t2 = this.nodeWithSpan;
  73743. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  73744. },
  73745. $signature: 62
  73746. };
  73747. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  73748. call$1(value) {
  73749. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  73750. },
  73751. $signature: 62
  73752. };
  73753. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  73754. call$0() {
  73755. var _this = this,
  73756. t1 = _this.$this;
  73757. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  73758. },
  73759. $signature: 79
  73760. };
  73761. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  73762. call$1(element) {
  73763. var t1;
  73764. this.setVariables.call$1(element);
  73765. t1 = this.$this;
  73766. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  73767. },
  73768. $signature: 674
  73769. };
  73770. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  73771. call$1(child) {
  73772. return child.accept$1(this.$this);
  73773. },
  73774. $signature: 106
  73775. };
  73776. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  73777. call$1(value) {
  73778. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  73779. },
  73780. $signature: 424
  73781. };
  73782. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  73783. call$0() {
  73784. var $async$goto = 0,
  73785. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73786. $async$self = this, t2, t3, _i, t1, styleRule;
  73787. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73788. if ($async$errorCode === 1)
  73789. return A._asyncRethrow($async$result, $async$completer);
  73790. while (true)
  73791. switch ($async$goto) {
  73792. case 0:
  73793. // Function start
  73794. t1 = $async$self.$this;
  73795. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73796. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || $async$self.name.value === "font-face" ? 2 : 4;
  73797. break;
  73798. case 2:
  73799. // then
  73800. t2 = $async$self.children, t3 = t2.length, _i = 0;
  73801. case 5:
  73802. // for condition
  73803. if (!(_i < t3)) {
  73804. // goto after for
  73805. $async$goto = 7;
  73806. break;
  73807. }
  73808. $async$goto = 8;
  73809. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  73810. case 8:
  73811. // returning from await.
  73812. case 6:
  73813. // for update
  73814. ++_i;
  73815. // goto for condition
  73816. $async$goto = 5;
  73817. break;
  73818. case 7:
  73819. // after for
  73820. // goto join
  73821. $async$goto = 3;
  73822. break;
  73823. case 4:
  73824. // else
  73825. $async$goto = 9;
  73826. 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);
  73827. case 9:
  73828. // returning from await.
  73829. case 3:
  73830. // join
  73831. // implicit return
  73832. return A._asyncReturn(null, $async$completer);
  73833. }
  73834. });
  73835. return A._asyncStartSync($async$call$0, $async$completer);
  73836. },
  73837. $signature: 2
  73838. };
  73839. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  73840. call$0() {
  73841. var $async$goto = 0,
  73842. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73843. $async$self = this, t1, t2, t3, _i;
  73844. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73845. if ($async$errorCode === 1)
  73846. return A._asyncRethrow($async$result, $async$completer);
  73847. while (true)
  73848. switch ($async$goto) {
  73849. case 0:
  73850. // Function start
  73851. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73852. case 2:
  73853. // for condition
  73854. if (!(_i < t2)) {
  73855. // goto after for
  73856. $async$goto = 4;
  73857. break;
  73858. }
  73859. $async$goto = 5;
  73860. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73861. case 5:
  73862. // returning from await.
  73863. case 3:
  73864. // for update
  73865. ++_i;
  73866. // goto for condition
  73867. $async$goto = 2;
  73868. break;
  73869. case 4:
  73870. // after for
  73871. // implicit return
  73872. return A._asyncReturn(null, $async$completer);
  73873. }
  73874. });
  73875. return A._asyncStartSync($async$call$0, $async$completer);
  73876. },
  73877. $signature: 2
  73878. };
  73879. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  73880. call$1(node) {
  73881. return node instanceof A.ModifiableCssStyleRule;
  73882. },
  73883. $signature: 7
  73884. };
  73885. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  73886. call$0() {
  73887. var $async$goto = 0,
  73888. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73889. $async$returnValue, $async$self = this;
  73890. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73891. if ($async$errorCode === 1)
  73892. return A._asyncRethrow($async$result, $async$completer);
  73893. while (true)
  73894. switch ($async$goto) {
  73895. case 0:
  73896. // Function start
  73897. $async$goto = 3;
  73898. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  73899. case 3:
  73900. // returning from await.
  73901. $async$returnValue = $async$result.assertNumber$0();
  73902. // goto return
  73903. $async$goto = 1;
  73904. break;
  73905. case 1:
  73906. // return
  73907. return A._asyncReturn($async$returnValue, $async$completer);
  73908. }
  73909. });
  73910. return A._asyncStartSync($async$call$0, $async$completer);
  73911. },
  73912. $signature: 176
  73913. };
  73914. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  73915. call$0() {
  73916. var $async$goto = 0,
  73917. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73918. $async$returnValue, $async$self = this;
  73919. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73920. if ($async$errorCode === 1)
  73921. return A._asyncRethrow($async$result, $async$completer);
  73922. while (true)
  73923. switch ($async$goto) {
  73924. case 0:
  73925. // Function start
  73926. $async$goto = 3;
  73927. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  73928. case 3:
  73929. // returning from await.
  73930. $async$returnValue = $async$result.assertNumber$0();
  73931. // goto return
  73932. $async$goto = 1;
  73933. break;
  73934. case 1:
  73935. // return
  73936. return A._asyncReturn($async$returnValue, $async$completer);
  73937. }
  73938. });
  73939. return A._asyncStartSync($async$call$0, $async$completer);
  73940. },
  73941. $signature: 176
  73942. };
  73943. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  73944. call$0() {
  73945. return this.fromNumber.assertInt$0();
  73946. },
  73947. $signature: 10
  73948. };
  73949. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  73950. call$0() {
  73951. var t1 = this.fromNumber;
  73952. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  73953. },
  73954. $signature: 10
  73955. };
  73956. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  73957. call$0() {
  73958. var $async$goto = 0,
  73959. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  73960. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  73961. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73962. if ($async$errorCode === 1)
  73963. return A._asyncRethrow($async$result, $async$completer);
  73964. while (true)
  73965. switch ($async$goto) {
  73966. case 0:
  73967. // Function start
  73968. t1 = $async$self.$this;
  73969. t2 = $async$self.node;
  73970. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  73971. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  73972. case 3:
  73973. // for condition
  73974. if (!(i !== t3.to)) {
  73975. // goto after for
  73976. $async$goto = 5;
  73977. break;
  73978. }
  73979. t7 = t1._async_evaluate$_environment;
  73980. t8 = t6.get$numeratorUnits(t6);
  73981. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  73982. $async$goto = 6;
  73983. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  73984. case 6:
  73985. // returning from await.
  73986. _0_0 = $async$result;
  73987. if (_0_0 != null) {
  73988. $async$returnValue = _0_0;
  73989. // goto return
  73990. $async$goto = 1;
  73991. break;
  73992. }
  73993. case 4:
  73994. // for update
  73995. i += t4;
  73996. // goto for condition
  73997. $async$goto = 3;
  73998. break;
  73999. case 5:
  74000. // after for
  74001. $async$returnValue = null;
  74002. // goto return
  74003. $async$goto = 1;
  74004. break;
  74005. case 1:
  74006. // return
  74007. return A._asyncReturn($async$returnValue, $async$completer);
  74008. }
  74009. });
  74010. return A._asyncStartSync($async$call$0, $async$completer);
  74011. },
  74012. $signature: 79
  74013. };
  74014. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  74015. call$1(child) {
  74016. return child.accept$1(this.$this);
  74017. },
  74018. $signature: 106
  74019. };
  74020. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  74021. call$2(module, firstLoad) {
  74022. if (firstLoad)
  74023. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74024. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74025. },
  74026. $signature: 122
  74027. };
  74028. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  74029. call$2(module, firstLoad) {
  74030. if (firstLoad)
  74031. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74032. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74033. },
  74034. $signature: 122
  74035. };
  74036. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  74037. call$0() {
  74038. return A._setArrayType([], type$.JSArray_CssComment);
  74039. },
  74040. $signature: 177
  74041. };
  74042. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  74043. call$1(clause) {
  74044. var t1 = this.$this;
  74045. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74046. },
  74047. $signature: 447
  74048. };
  74049. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  74050. call$0() {
  74051. var t1 = this.$this;
  74052. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  74053. },
  74054. $signature: 79
  74055. };
  74056. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  74057. call$1(child) {
  74058. return child.accept$1(this.$this);
  74059. },
  74060. $signature: 106
  74061. };
  74062. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  74063. call$0() {
  74064. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  74065. },
  74066. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  74067. var $async$goto = 0,
  74068. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74069. $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;
  74070. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74071. if ($async$errorCode === 1)
  74072. return A._asyncRethrow($async$result, $async$completer);
  74073. while (true)
  74074. switch ($async$goto) {
  74075. case 0:
  74076. // Function start
  74077. _box_0 = {};
  74078. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74079. t1 = $async$self.$this;
  74080. t2 = $async$self.$import;
  74081. $async$goto = 3;
  74082. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74083. case 3:
  74084. // returning from await.
  74085. _0_0 = $async$result;
  74086. stylesheet = _box_0.stylesheet = _0_0._0;
  74087. importer = _0_0._1;
  74088. _box_0.importer = importer;
  74089. isDependency = _0_0._2;
  74090. _box_0.isDependency = isDependency;
  74091. t3 = stylesheet.span;
  74092. url = t3.get$sourceUrl(t3);
  74093. if (url != null) {
  74094. t3 = t1._async_evaluate$_activeModules;
  74095. if (t3.containsKey$1(url)) {
  74096. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  74097. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  74098. }
  74099. t3.$indexSet(0, url, t2);
  74100. }
  74101. t2 = stylesheet._uses;
  74102. t3 = type$.UnmodifiableListView_UseRule;
  74103. $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;
  74104. break;
  74105. case 4:
  74106. // then
  74107. oldImporter = t1._async_evaluate$_importer;
  74108. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74109. oldInDependency = t1._async_evaluate$_inDependency;
  74110. t1._async_evaluate$_importer = importer;
  74111. t1._async_evaluate$__stylesheet = stylesheet;
  74112. t1._async_evaluate$_inDependency = isDependency;
  74113. $async$goto = 6;
  74114. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  74115. case 6:
  74116. // returning from await.
  74117. t1._async_evaluate$_importer = oldImporter;
  74118. t1._async_evaluate$__stylesheet = oldStylesheet;
  74119. t1._async_evaluate$_inDependency = oldInDependency;
  74120. t1._async_evaluate$_activeModules.remove$1(0, url);
  74121. // goto return
  74122. $async$goto = 1;
  74123. break;
  74124. case 5:
  74125. // join
  74126. t2 = new A.UnmodifiableListView(t2, t3);
  74127. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  74128. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74129. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  74130. } else
  74131. loadsUserDefinedModules = true;
  74132. children = A._Cell$();
  74133. t2 = t1._async_evaluate$_environment;
  74134. t3 = type$.String;
  74135. t4 = type$.Module_AsyncCallable;
  74136. t5 = type$.AstNode;
  74137. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74138. t7 = t2._async_environment$_variables;
  74139. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74140. t8 = t2._async_environment$_variableNodes;
  74141. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74142. t9 = t2._async_environment$_functions;
  74143. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74144. t10 = t2._async_environment$_mixins;
  74145. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74146. 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);
  74147. $async$goto = 7;
  74148. 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);
  74149. case 7:
  74150. // returning from await.
  74151. module = environment.toDummyModule$0();
  74152. t1._async_evaluate$_environment.importForwards$1(module);
  74153. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74154. break;
  74155. case 8:
  74156. // then
  74157. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74158. break;
  74159. case 10:
  74160. // then
  74161. $async$goto = 12;
  74162. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74163. case 12:
  74164. // returning from await.
  74165. case 11:
  74166. // join
  74167. visitor = new A._ImportedCssVisitor0(t1);
  74168. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74169. t2.get$current(t2).accept$1(visitor);
  74170. case 9:
  74171. // join
  74172. t1._async_evaluate$_activeModules.remove$1(0, url);
  74173. case 1:
  74174. // return
  74175. return A._asyncReturn($async$returnValue, $async$completer);
  74176. }
  74177. });
  74178. return A._asyncStartSync($async$call$0, $async$completer);
  74179. },
  74180. $signature: 32
  74181. };
  74182. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74183. call$1(previousLoad) {
  74184. 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));
  74185. },
  74186. $signature: 105
  74187. };
  74188. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74189. call$1(rule) {
  74190. return rule.url.get$scheme() !== "sass";
  74191. },
  74192. $signature: 178
  74193. };
  74194. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74195. call$1(rule) {
  74196. return rule.url.get$scheme() !== "sass";
  74197. },
  74198. $signature: 179
  74199. };
  74200. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74201. call$0() {
  74202. var $async$goto = 0,
  74203. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74204. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74205. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74206. if ($async$errorCode === 1)
  74207. return A._asyncRethrow($async$result, $async$completer);
  74208. while (true)
  74209. switch ($async$goto) {
  74210. case 0:
  74211. // Function start
  74212. t1 = $async$self.$this;
  74213. oldImporter = t1._async_evaluate$_importer;
  74214. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74215. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74216. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74217. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74218. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74219. oldConfiguration = t1._async_evaluate$_configuration;
  74220. oldInDependency = t1._async_evaluate$_inDependency;
  74221. t2 = $async$self._box_0;
  74222. t1._async_evaluate$_importer = t2.importer;
  74223. t3 = t2.stylesheet;
  74224. t1._async_evaluate$__stylesheet = t3;
  74225. t4 = $async$self.loadsUserDefinedModules;
  74226. if (t4) {
  74227. t3 = A.ModifiableCssStylesheet$(t3.span);
  74228. t1._async_evaluate$__root = t3;
  74229. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74230. t1._async_evaluate$__endOfImports = 0;
  74231. t1._async_evaluate$_outOfOrderImports = null;
  74232. }
  74233. t1._async_evaluate$_inDependency = t2.isDependency;
  74234. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74235. if (!t3.get$isEmpty(t3))
  74236. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74237. $async$goto = 2;
  74238. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74239. case 2:
  74240. // returning from await.
  74241. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74242. $async$self.children.__late_helper$_value = t2;
  74243. t1._async_evaluate$_importer = oldImporter;
  74244. t1._async_evaluate$__stylesheet = oldStylesheet;
  74245. if (t4) {
  74246. t1._async_evaluate$__root = oldRoot;
  74247. t1._async_evaluate$__parent = oldParent;
  74248. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74249. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74250. }
  74251. t1._async_evaluate$_configuration = oldConfiguration;
  74252. t1._async_evaluate$_inDependency = oldInDependency;
  74253. // implicit return
  74254. return A._asyncReturn(null, $async$completer);
  74255. }
  74256. });
  74257. return A._asyncStartSync($async$call$0, $async$completer);
  74258. },
  74259. $signature: 2
  74260. };
  74261. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74262. call$0() {
  74263. var $async$goto = 0,
  74264. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74265. $async$self = this, t1;
  74266. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74267. if ($async$errorCode === 1)
  74268. return A._asyncRethrow($async$result, $async$completer);
  74269. while (true)
  74270. switch ($async$goto) {
  74271. case 0:
  74272. // Function start
  74273. t1 = $async$self.$this;
  74274. $async$goto = 2;
  74275. 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);
  74276. case 2:
  74277. // returning from await.
  74278. // implicit return
  74279. return A._asyncReturn(null, $async$completer);
  74280. }
  74281. });
  74282. return A._asyncStartSync($async$call$0, $async$completer);
  74283. },
  74284. $signature: 32
  74285. };
  74286. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74287. call$0() {
  74288. var $async$goto = 0,
  74289. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74290. $async$self = this;
  74291. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74292. if ($async$errorCode === 1)
  74293. return A._asyncRethrow($async$result, $async$completer);
  74294. while (true)
  74295. switch ($async$goto) {
  74296. case 0:
  74297. // Function start
  74298. $async$goto = 2;
  74299. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74300. case 2:
  74301. // returning from await.
  74302. // implicit return
  74303. return A._asyncReturn(null, $async$completer);
  74304. }
  74305. });
  74306. return A._asyncStartSync($async$call$0, $async$completer);
  74307. },
  74308. $signature: 32
  74309. };
  74310. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74311. call$0() {
  74312. var $async$goto = 0,
  74313. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74314. $async$self = this, t1;
  74315. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74316. if ($async$errorCode === 1)
  74317. return A._asyncRethrow($async$result, $async$completer);
  74318. while (true)
  74319. switch ($async$goto) {
  74320. case 0:
  74321. // Function start
  74322. t1 = $async$self.$this;
  74323. $async$goto = 2;
  74324. 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);
  74325. case 2:
  74326. // returning from await.
  74327. // implicit return
  74328. return A._asyncReturn(null, $async$completer);
  74329. }
  74330. });
  74331. return A._asyncStartSync($async$call$0, $async$completer);
  74332. },
  74333. $signature: 2
  74334. };
  74335. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74336. call$0() {
  74337. var $async$goto = 0,
  74338. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74339. $async$self = this, t1;
  74340. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74341. if ($async$errorCode === 1)
  74342. return A._asyncRethrow($async$result, $async$completer);
  74343. while (true)
  74344. switch ($async$goto) {
  74345. case 0:
  74346. // Function start
  74347. t1 = $async$self.$this;
  74348. $async$goto = 2;
  74349. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74350. case 2:
  74351. // returning from await.
  74352. // implicit return
  74353. return A._asyncReturn(null, $async$completer);
  74354. }
  74355. });
  74356. return A._asyncStartSync($async$call$0, $async$completer);
  74357. },
  74358. $signature: 32
  74359. };
  74360. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74361. call$0() {
  74362. var $async$goto = 0,
  74363. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74364. $async$self = this, t1, t2, t3, t4, t5, _i;
  74365. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74366. if ($async$errorCode === 1)
  74367. return A._asyncRethrow($async$result, $async$completer);
  74368. while (true)
  74369. switch ($async$goto) {
  74370. case 0:
  74371. // Function start
  74372. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74373. case 2:
  74374. // for condition
  74375. if (!(_i < t2)) {
  74376. // goto after for
  74377. $async$goto = 4;
  74378. break;
  74379. }
  74380. $async$goto = 5;
  74381. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74382. case 5:
  74383. // returning from await.
  74384. case 3:
  74385. // for update
  74386. ++_i;
  74387. // goto for condition
  74388. $async$goto = 2;
  74389. break;
  74390. case 4:
  74391. // after for
  74392. // implicit return
  74393. return A._asyncReturn(null, $async$completer);
  74394. }
  74395. });
  74396. return A._asyncStartSync($async$call$0, $async$completer);
  74397. },
  74398. $signature: 32
  74399. };
  74400. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74401. call$0() {
  74402. return this.statement.accept$1(this.$this);
  74403. },
  74404. $signature: 79
  74405. };
  74406. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74407. call$0() {
  74408. var t1 = this.node;
  74409. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74410. },
  74411. $signature: 93
  74412. };
  74413. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74414. call$1($content) {
  74415. var t1 = this.$this;
  74416. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74417. },
  74418. $signature: 456
  74419. };
  74420. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74421. call$0() {
  74422. return this.node.get$spanWithoutContent();
  74423. },
  74424. $signature: 28
  74425. };
  74426. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74427. call$1(mediaQueries) {
  74428. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74429. },
  74430. $signature: 101
  74431. };
  74432. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74433. call$0() {
  74434. var $async$goto = 0,
  74435. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74436. $async$self = this, t1, t2;
  74437. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74438. if ($async$errorCode === 1)
  74439. return A._asyncRethrow($async$result, $async$completer);
  74440. while (true)
  74441. switch ($async$goto) {
  74442. case 0:
  74443. // Function start
  74444. t1 = $async$self.$this;
  74445. t2 = $async$self.mergedQueries;
  74446. if (t2 == null)
  74447. t2 = $async$self.queries;
  74448. $async$goto = 2;
  74449. 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);
  74450. case 2:
  74451. // returning from await.
  74452. // implicit return
  74453. return A._asyncReturn(null, $async$completer);
  74454. }
  74455. });
  74456. return A._asyncStartSync($async$call$0, $async$completer);
  74457. },
  74458. $signature: 2
  74459. };
  74460. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74461. call$0() {
  74462. var $async$goto = 0,
  74463. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74464. $async$self = this, t2, t3, _i, t1, _0_0;
  74465. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74466. if ($async$errorCode === 1)
  74467. return A._asyncRethrow($async$result, $async$completer);
  74468. while (true)
  74469. switch ($async$goto) {
  74470. case 0:
  74471. // Function start
  74472. t1 = $async$self.$this;
  74473. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74474. $async$goto = _0_0 != null ? 2 : 4;
  74475. break;
  74476. case 2:
  74477. // then
  74478. $async$goto = 5;
  74479. 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);
  74480. case 5:
  74481. // returning from await.
  74482. // goto join
  74483. $async$goto = 3;
  74484. break;
  74485. case 4:
  74486. // else
  74487. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74488. case 6:
  74489. // for condition
  74490. if (!(_i < t3)) {
  74491. // goto after for
  74492. $async$goto = 8;
  74493. break;
  74494. }
  74495. $async$goto = 9;
  74496. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74497. case 9:
  74498. // returning from await.
  74499. case 7:
  74500. // for update
  74501. ++_i;
  74502. // goto for condition
  74503. $async$goto = 6;
  74504. break;
  74505. case 8:
  74506. // after for
  74507. case 3:
  74508. // join
  74509. // implicit return
  74510. return A._asyncReturn(null, $async$completer);
  74511. }
  74512. });
  74513. return A._asyncStartSync($async$call$0, $async$completer);
  74514. },
  74515. $signature: 2
  74516. };
  74517. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  74518. call$0() {
  74519. var $async$goto = 0,
  74520. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74521. $async$self = this, t1, t2, t3, _i;
  74522. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74523. if ($async$errorCode === 1)
  74524. return A._asyncRethrow($async$result, $async$completer);
  74525. while (true)
  74526. switch ($async$goto) {
  74527. case 0:
  74528. // Function start
  74529. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74530. case 2:
  74531. // for condition
  74532. if (!(_i < t2)) {
  74533. // goto after for
  74534. $async$goto = 4;
  74535. break;
  74536. }
  74537. $async$goto = 5;
  74538. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74539. case 5:
  74540. // returning from await.
  74541. case 3:
  74542. // for update
  74543. ++_i;
  74544. // goto for condition
  74545. $async$goto = 2;
  74546. break;
  74547. case 4:
  74548. // after for
  74549. // implicit return
  74550. return A._asyncReturn(null, $async$completer);
  74551. }
  74552. });
  74553. return A._asyncStartSync($async$call$0, $async$completer);
  74554. },
  74555. $signature: 2
  74556. };
  74557. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  74558. call$1(node) {
  74559. var t1;
  74560. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74561. t1 = this.mergedSources;
  74562. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74563. } else
  74564. t1 = true;
  74565. return t1;
  74566. },
  74567. $signature: 7
  74568. };
  74569. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74570. call$0() {
  74571. var $async$goto = 0,
  74572. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74573. $async$self = this, t1, t2, t3, _i;
  74574. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74575. if ($async$errorCode === 1)
  74576. return A._asyncRethrow($async$result, $async$completer);
  74577. while (true)
  74578. switch ($async$goto) {
  74579. case 0:
  74580. // Function start
  74581. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74582. case 2:
  74583. // for condition
  74584. if (!(_i < t2)) {
  74585. // goto after for
  74586. $async$goto = 4;
  74587. break;
  74588. }
  74589. $async$goto = 5;
  74590. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74591. case 5:
  74592. // returning from await.
  74593. case 3:
  74594. // for update
  74595. ++_i;
  74596. // goto for condition
  74597. $async$goto = 2;
  74598. break;
  74599. case 4:
  74600. // after for
  74601. // implicit return
  74602. return A._asyncReturn(null, $async$completer);
  74603. }
  74604. });
  74605. return A._asyncStartSync($async$call$0, $async$completer);
  74606. },
  74607. $signature: 2
  74608. };
  74609. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  74610. call$1(node) {
  74611. return node instanceof A.ModifiableCssStyleRule;
  74612. },
  74613. $signature: 7
  74614. };
  74615. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  74616. call$0() {
  74617. var $async$goto = 0,
  74618. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74619. $async$self = this, t1;
  74620. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74621. if ($async$errorCode === 1)
  74622. return A._asyncRethrow($async$result, $async$completer);
  74623. while (true)
  74624. switch ($async$goto) {
  74625. case 0:
  74626. // Function start
  74627. t1 = $async$self.$this;
  74628. $async$goto = 2;
  74629. 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);
  74630. case 2:
  74631. // returning from await.
  74632. // implicit return
  74633. return A._asyncReturn(null, $async$completer);
  74634. }
  74635. });
  74636. return A._asyncStartSync($async$call$0, $async$completer);
  74637. },
  74638. $signature: 2
  74639. };
  74640. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  74641. call$0() {
  74642. var $async$goto = 0,
  74643. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74644. $async$self = this, t1, t2, t3, _i;
  74645. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74646. if ($async$errorCode === 1)
  74647. return A._asyncRethrow($async$result, $async$completer);
  74648. while (true)
  74649. switch ($async$goto) {
  74650. case 0:
  74651. // Function start
  74652. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74653. case 2:
  74654. // for condition
  74655. if (!(_i < t2)) {
  74656. // goto after for
  74657. $async$goto = 4;
  74658. break;
  74659. }
  74660. $async$goto = 5;
  74661. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74662. case 5:
  74663. // returning from await.
  74664. case 3:
  74665. // for update
  74666. ++_i;
  74667. // goto for condition
  74668. $async$goto = 2;
  74669. break;
  74670. case 4:
  74671. // after for
  74672. // implicit return
  74673. return A._asyncReturn(null, $async$completer);
  74674. }
  74675. });
  74676. return A._asyncStartSync($async$call$0, $async$completer);
  74677. },
  74678. $signature: 2
  74679. };
  74680. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  74681. call$1(node) {
  74682. return node instanceof A.ModifiableCssStyleRule;
  74683. },
  74684. $signature: 7
  74685. };
  74686. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  74687. call$1(child) {
  74688. return child instanceof A.ModifiableCssComment;
  74689. },
  74690. $signature: 7
  74691. };
  74692. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  74693. call$0() {
  74694. var $async$goto = 0,
  74695. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74696. $async$self = this, t2, t3, _i, t1, _0_0;
  74697. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74698. if ($async$errorCode === 1)
  74699. return A._asyncRethrow($async$result, $async$completer);
  74700. while (true)
  74701. switch ($async$goto) {
  74702. case 0:
  74703. // Function start
  74704. t1 = $async$self.$this;
  74705. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74706. $async$goto = _0_0 != null ? 2 : 4;
  74707. break;
  74708. case 2:
  74709. // then
  74710. $async$goto = 5;
  74711. 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);
  74712. case 5:
  74713. // returning from await.
  74714. // goto join
  74715. $async$goto = 3;
  74716. break;
  74717. case 4:
  74718. // else
  74719. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74720. case 6:
  74721. // for condition
  74722. if (!(_i < t3)) {
  74723. // goto after for
  74724. $async$goto = 8;
  74725. break;
  74726. }
  74727. $async$goto = 9;
  74728. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74729. case 9:
  74730. // returning from await.
  74731. case 7:
  74732. // for update
  74733. ++_i;
  74734. // goto for condition
  74735. $async$goto = 6;
  74736. break;
  74737. case 8:
  74738. // after for
  74739. case 3:
  74740. // join
  74741. // implicit return
  74742. return A._asyncReturn(null, $async$completer);
  74743. }
  74744. });
  74745. return A._asyncStartSync($async$call$0, $async$completer);
  74746. },
  74747. $signature: 2
  74748. };
  74749. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  74750. call$0() {
  74751. var $async$goto = 0,
  74752. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74753. $async$self = this, t1, t2, t3, _i;
  74754. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74755. if ($async$errorCode === 1)
  74756. return A._asyncRethrow($async$result, $async$completer);
  74757. while (true)
  74758. switch ($async$goto) {
  74759. case 0:
  74760. // Function start
  74761. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74762. case 2:
  74763. // for condition
  74764. if (!(_i < t2)) {
  74765. // goto after for
  74766. $async$goto = 4;
  74767. break;
  74768. }
  74769. $async$goto = 5;
  74770. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74771. case 5:
  74772. // returning from await.
  74773. case 3:
  74774. // for update
  74775. ++_i;
  74776. // goto for condition
  74777. $async$goto = 2;
  74778. break;
  74779. case 4:
  74780. // after for
  74781. // implicit return
  74782. return A._asyncReturn(null, $async$completer);
  74783. }
  74784. });
  74785. return A._asyncStartSync($async$call$0, $async$completer);
  74786. },
  74787. $signature: 2
  74788. };
  74789. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  74790. call$1(node) {
  74791. return node instanceof A.ModifiableCssStyleRule;
  74792. },
  74793. $signature: 7
  74794. };
  74795. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  74796. call$0() {
  74797. var $async$goto = 0,
  74798. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74799. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  74800. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74801. if ($async$errorCode === 1)
  74802. return A._asyncRethrow($async$result, $async$completer);
  74803. while (true)
  74804. switch ($async$goto) {
  74805. case 0:
  74806. // Function start
  74807. t1 = $async$self.$this;
  74808. t2 = $async$self._box_0;
  74809. $async$temp1 = A;
  74810. $async$goto = 3;
  74811. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  74812. case 3:
  74813. // returning from await.
  74814. t3 = $async$temp1.S($async$result);
  74815. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74816. $async$temp1 = "(" + t3 + ":" + t4;
  74817. $async$temp2 = A;
  74818. $async$goto = 4;
  74819. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  74820. case 4:
  74821. // returning from await.
  74822. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  74823. // goto return
  74824. $async$goto = 1;
  74825. break;
  74826. case 1:
  74827. // return
  74828. return A._asyncReturn($async$returnValue, $async$completer);
  74829. }
  74830. });
  74831. return A._asyncStartSync($async$call$0, $async$completer);
  74832. },
  74833. $signature: 181
  74834. };
  74835. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  74836. call$0() {
  74837. var t1 = this.$this._async_evaluate$_environment,
  74838. t2 = this._box_0.override;
  74839. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74840. },
  74841. $signature: 1
  74842. };
  74843. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  74844. call$0() {
  74845. var t1 = this.node;
  74846. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  74847. },
  74848. $signature: 42
  74849. };
  74850. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  74851. call$0() {
  74852. var t1 = this.$this,
  74853. t2 = this.node;
  74854. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74855. },
  74856. $signature: 1
  74857. };
  74858. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  74859. call$2(module, firstLoad) {
  74860. var t1, t2, t3, _0_0, t4, t5, span;
  74861. if (firstLoad)
  74862. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74863. t1 = this.$this._async_evaluate$_environment;
  74864. t2 = this.node;
  74865. t3 = t2.namespace;
  74866. if (t3 == null) {
  74867. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  74868. t1._async_environment$_allModules.push(module);
  74869. t1 = B.JSArray_methods.get$first(t1._async_environment$_variables);
  74870. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  74871. if (_0_0 != null)
  74872. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74873. } else {
  74874. t4 = t1._async_environment$_modules;
  74875. if (t4.containsKey$1(t3)) {
  74876. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  74877. span = t5 == null ? null : t5.span;
  74878. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74879. if (span != null)
  74880. t5.$indexSet(0, span, "original @use");
  74881. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74882. }
  74883. t4.$indexSet(0, t3, module);
  74884. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  74885. t1._async_environment$_allModules.push(module);
  74886. }
  74887. },
  74888. $signature: 122
  74889. };
  74890. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  74891. call$0() {
  74892. return this.node.expression.accept$1(this.$this);
  74893. },
  74894. $signature: 70
  74895. };
  74896. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  74897. call$0() {
  74898. var $async$goto = 0,
  74899. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74900. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  74901. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74902. if ($async$errorCode === 1)
  74903. return A._asyncRethrow($async$result, $async$completer);
  74904. while (true)
  74905. switch ($async$goto) {
  74906. case 0:
  74907. // Function start
  74908. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  74909. case 3:
  74910. // for condition
  74911. $async$goto = 5;
  74912. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  74913. case 5:
  74914. // returning from await.
  74915. if (!$async$result.get$isTruthy()) {
  74916. // goto after for
  74917. $async$goto = 4;
  74918. break;
  74919. }
  74920. $async$goto = 6;
  74921. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  74922. case 6:
  74923. // returning from await.
  74924. _0_0 = $async$result;
  74925. if (_0_0 != null) {
  74926. $async$returnValue = _0_0;
  74927. // goto return
  74928. $async$goto = 1;
  74929. break;
  74930. }
  74931. // goto for condition
  74932. $async$goto = 3;
  74933. break;
  74934. case 4:
  74935. // after for
  74936. $async$returnValue = null;
  74937. // goto return
  74938. $async$goto = 1;
  74939. break;
  74940. case 1:
  74941. // return
  74942. return A._asyncReturn($async$returnValue, $async$completer);
  74943. }
  74944. });
  74945. return A._asyncStartSync($async$call$0, $async$completer);
  74946. },
  74947. $signature: 79
  74948. };
  74949. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  74950. call$1(child) {
  74951. return child.accept$1(this.$this);
  74952. },
  74953. $signature: 106
  74954. };
  74955. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  74956. call$0() {
  74957. var $async$goto = 0,
  74958. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  74959. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  74960. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74961. if ($async$errorCode === 1)
  74962. return A._asyncRethrow($async$result, $async$completer);
  74963. while (true)
  74964. switch ($async$goto) {
  74965. case 0:
  74966. // Function start
  74967. t1 = $async$self.node;
  74968. t2 = $async$self.$this;
  74969. $async$goto = 3;
  74970. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  74971. case 3:
  74972. // returning from await.
  74973. left = $async$result;
  74974. case 4:
  74975. // switch
  74976. switch (t1.operator) {
  74977. case B.BinaryOperator_Kyq:
  74978. // goto case
  74979. $async$goto = 6;
  74980. break;
  74981. case B.BinaryOperator_tKu:
  74982. // goto case
  74983. $async$goto = 7;
  74984. break;
  74985. case B.BinaryOperator_uke:
  74986. // goto case
  74987. $async$goto = 8;
  74988. break;
  74989. case B.BinaryOperator_r84:
  74990. // goto case
  74991. $async$goto = 9;
  74992. break;
  74993. case B.BinaryOperator_qGq:
  74994. // goto case
  74995. $async$goto = 10;
  74996. break;
  74997. case B.BinaryOperator_o8O:
  74998. // goto case
  74999. $async$goto = 11;
  75000. break;
  75001. case B.BinaryOperator_JiR:
  75002. // goto case
  75003. $async$goto = 12;
  75004. break;
  75005. case B.BinaryOperator_qHy:
  75006. // goto case
  75007. $async$goto = 13;
  75008. break;
  75009. case B.BinaryOperator_FPG:
  75010. // goto case
  75011. $async$goto = 14;
  75012. break;
  75013. case B.BinaryOperator_Swh:
  75014. // goto case
  75015. $async$goto = 15;
  75016. break;
  75017. case B.BinaryOperator_QG1:
  75018. // goto case
  75019. $async$goto = 16;
  75020. break;
  75021. case B.BinaryOperator_tht:
  75022. // goto case
  75023. $async$goto = 17;
  75024. break;
  75025. case B.BinaryOperator_Mh5:
  75026. // goto case
  75027. $async$goto = 18;
  75028. break;
  75029. case B.BinaryOperator_s7T:
  75030. // goto case
  75031. $async$goto = 19;
  75032. break;
  75033. default:
  75034. // goto default
  75035. $async$goto = 20;
  75036. break;
  75037. }
  75038. break;
  75039. case 6:
  75040. // case
  75041. t1 = t1.right.accept$1(t2);
  75042. $async$goto = 21;
  75043. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75044. case 21:
  75045. // returning from await.
  75046. t1 = $async$result;
  75047. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75048. // goto after switch
  75049. $async$goto = 5;
  75050. break;
  75051. case 7:
  75052. // case
  75053. $async$goto = left.get$isTruthy() ? 22 : 24;
  75054. break;
  75055. case 22:
  75056. // then
  75057. t1 = left;
  75058. // goto join
  75059. $async$goto = 23;
  75060. break;
  75061. case 24:
  75062. // else
  75063. t1 = t1.right.accept$1(t2);
  75064. $async$goto = 25;
  75065. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75066. case 25:
  75067. // returning from await.
  75068. t1 = $async$result;
  75069. case 23:
  75070. // join
  75071. // goto after switch
  75072. $async$goto = 5;
  75073. break;
  75074. case 8:
  75075. // case
  75076. $async$goto = left.get$isTruthy() ? 26 : 28;
  75077. break;
  75078. case 26:
  75079. // then
  75080. t1 = t1.right.accept$1(t2);
  75081. $async$goto = 29;
  75082. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75083. case 29:
  75084. // returning from await.
  75085. t1 = $async$result;
  75086. // goto join
  75087. $async$goto = 27;
  75088. break;
  75089. case 28:
  75090. // else
  75091. t1 = left;
  75092. case 27:
  75093. // join
  75094. // goto after switch
  75095. $async$goto = 5;
  75096. break;
  75097. case 9:
  75098. // case
  75099. $async$temp1 = left;
  75100. $async$goto = 30;
  75101. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75102. case 30:
  75103. // returning from await.
  75104. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75105. // goto after switch
  75106. $async$goto = 5;
  75107. break;
  75108. case 10:
  75109. // case
  75110. $async$temp1 = left;
  75111. $async$goto = 31;
  75112. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75113. case 31:
  75114. // returning from await.
  75115. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75116. // goto after switch
  75117. $async$goto = 5;
  75118. break;
  75119. case 11:
  75120. // case
  75121. t1 = t1.right.accept$1(t2);
  75122. $async$temp1 = left;
  75123. $async$goto = 32;
  75124. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75125. case 32:
  75126. // returning from await.
  75127. t1 = $async$temp1.greaterThan$1($async$result);
  75128. // goto after switch
  75129. $async$goto = 5;
  75130. break;
  75131. case 12:
  75132. // case
  75133. t1 = t1.right.accept$1(t2);
  75134. $async$temp1 = left;
  75135. $async$goto = 33;
  75136. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75137. case 33:
  75138. // returning from await.
  75139. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75140. // goto after switch
  75141. $async$goto = 5;
  75142. break;
  75143. case 13:
  75144. // case
  75145. t1 = t1.right.accept$1(t2);
  75146. $async$temp1 = left;
  75147. $async$goto = 34;
  75148. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75149. case 34:
  75150. // returning from await.
  75151. t1 = $async$temp1.lessThan$1($async$result);
  75152. // goto after switch
  75153. $async$goto = 5;
  75154. break;
  75155. case 14:
  75156. // case
  75157. t1 = t1.right.accept$1(t2);
  75158. $async$temp1 = left;
  75159. $async$goto = 35;
  75160. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75161. case 35:
  75162. // returning from await.
  75163. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75164. // goto after switch
  75165. $async$goto = 5;
  75166. break;
  75167. case 15:
  75168. // case
  75169. t1 = t1.right.accept$1(t2);
  75170. $async$temp1 = left;
  75171. $async$goto = 36;
  75172. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75173. case 36:
  75174. // returning from await.
  75175. t1 = $async$temp1.plus$1($async$result);
  75176. // goto after switch
  75177. $async$goto = 5;
  75178. break;
  75179. case 16:
  75180. // case
  75181. t1 = t1.right.accept$1(t2);
  75182. $async$temp1 = left;
  75183. $async$goto = 37;
  75184. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75185. case 37:
  75186. // returning from await.
  75187. t1 = $async$temp1.minus$1($async$result);
  75188. // goto after switch
  75189. $async$goto = 5;
  75190. break;
  75191. case 17:
  75192. // case
  75193. t1 = t1.right.accept$1(t2);
  75194. $async$temp1 = left;
  75195. $async$goto = 38;
  75196. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75197. case 38:
  75198. // returning from await.
  75199. t1 = $async$temp1.times$1($async$result);
  75200. // goto after switch
  75201. $async$goto = 5;
  75202. break;
  75203. case 18:
  75204. // case
  75205. t3 = t1.right.accept$1(t2);
  75206. $async$temp1 = t2;
  75207. $async$temp2 = left;
  75208. $async$goto = 39;
  75209. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75210. case 39:
  75211. // returning from await.
  75212. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75213. // goto after switch
  75214. $async$goto = 5;
  75215. break;
  75216. case 19:
  75217. // case
  75218. t1 = t1.right.accept$1(t2);
  75219. $async$temp1 = left;
  75220. $async$goto = 40;
  75221. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75222. case 40:
  75223. // returning from await.
  75224. t1 = $async$temp1.modulo$1($async$result);
  75225. // goto after switch
  75226. $async$goto = 5;
  75227. break;
  75228. case 20:
  75229. // default
  75230. t1 = null;
  75231. case 5:
  75232. // after switch
  75233. $async$returnValue = t1;
  75234. // goto return
  75235. $async$goto = 1;
  75236. break;
  75237. case 1:
  75238. // return
  75239. return A._asyncReturn($async$returnValue, $async$completer);
  75240. }
  75241. });
  75242. return A._asyncStartSync($async$call$0, $async$completer);
  75243. },
  75244. $signature: 70
  75245. };
  75246. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75247. call$1(expression) {
  75248. var t1;
  75249. $label0$0: {
  75250. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  75251. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75252. break $label0$0;
  75253. }
  75254. if (expression instanceof A.ParenthesizedExpression) {
  75255. t1 = expression.expression.toString$0(0);
  75256. break $label0$0;
  75257. }
  75258. t1 = expression.toString$0(0);
  75259. break $label0$0;
  75260. }
  75261. return t1;
  75262. },
  75263. $signature: 133
  75264. };
  75265. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75266. call$0() {
  75267. var t1 = this.node;
  75268. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75269. },
  75270. $signature: 42
  75271. };
  75272. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75273. call$0() {
  75274. var t1, _this = this;
  75275. switch (_this.node.operator) {
  75276. case B.UnaryOperator_Rbl:
  75277. t1 = _this.operand.unaryPlus$0();
  75278. break;
  75279. case B.UnaryOperator_UCP:
  75280. t1 = _this.operand.unaryMinus$0();
  75281. break;
  75282. case B.UnaryOperator_lZV:
  75283. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75284. break;
  75285. case B.UnaryOperator_not_not_not:
  75286. t1 = _this.operand.unaryNot$0();
  75287. break;
  75288. default:
  75289. t1 = null;
  75290. }
  75291. return t1;
  75292. },
  75293. $signature: 34
  75294. };
  75295. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75296. call$1(expression) {
  75297. return expression.accept$1(this.$this);
  75298. },
  75299. $signature: 486
  75300. };
  75301. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75302. call$0() {
  75303. var t1 = this.node;
  75304. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75305. },
  75306. $signature: 93
  75307. };
  75308. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75309. call$1(argument) {
  75310. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75311. },
  75312. $signature: 121
  75313. };
  75314. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75315. call$0() {
  75316. var t1 = this.node;
  75317. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75318. },
  75319. $signature: 70
  75320. };
  75321. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75322. call$2(message, deprecation) {
  75323. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75324. },
  75325. call$1(message) {
  75326. return this.call$2(message, null);
  75327. },
  75328. $signature: 87
  75329. };
  75330. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75331. call$1(maxArgs) {
  75332. var t1 = this.node,
  75333. t2 = t1.$arguments.positional.length;
  75334. if (t2 === 0)
  75335. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75336. else if (maxArgs != null && t2 > maxArgs)
  75337. 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));
  75338. },
  75339. call$0() {
  75340. return this.call$1(null);
  75341. },
  75342. $signature: 85
  75343. };
  75344. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75345. call$0() {
  75346. var $async$goto = 0,
  75347. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75348. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  75349. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75350. if ($async$errorCode === 1)
  75351. return A._asyncRethrow($async$result, $async$completer);
  75352. while (true)
  75353. switch ($async$goto) {
  75354. case 0:
  75355. // Function start
  75356. t1 = $async$self.$this;
  75357. t2 = $async$self._box_0;
  75358. t3 = $async$self.node;
  75359. t4 = $async$self.inLegacySassFunction;
  75360. $async$temp1 = A;
  75361. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75362. $async$goto = 3;
  75363. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75364. case 3:
  75365. // returning from await.
  75366. $async$temp3 = $async$result;
  75367. $async$goto = 4;
  75368. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75369. case 4:
  75370. // returning from await.
  75371. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75372. // goto return
  75373. $async$goto = 1;
  75374. break;
  75375. case 1:
  75376. // return
  75377. return A._asyncReturn($async$returnValue, $async$completer);
  75378. }
  75379. });
  75380. return A._asyncStartSync($async$call$0, $async$completer);
  75381. },
  75382. $signature: 183
  75383. };
  75384. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75385. call$2(message, deprecation) {
  75386. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75387. },
  75388. call$1(message) {
  75389. return this.call$2(message, null);
  75390. },
  75391. $signature: 87
  75392. };
  75393. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75394. call$0() {
  75395. var t1 = this.node;
  75396. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75397. },
  75398. $signature: 70
  75399. };
  75400. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75401. call$0() {
  75402. var _this = this,
  75403. t1 = _this.$this,
  75404. t2 = _this.callable,
  75405. t3 = _this.V;
  75406. 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);
  75407. },
  75408. $signature() {
  75409. return this.V._eval$1("Future<0>()");
  75410. }
  75411. };
  75412. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75413. call$0() {
  75414. var _this = this,
  75415. t1 = _this.$this,
  75416. t2 = _this.V;
  75417. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75418. },
  75419. $signature() {
  75420. return this.V._eval$1("Future<0>()");
  75421. }
  75422. };
  75423. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75424. call$0() {
  75425. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75426. },
  75427. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75428. var $async$goto = 0,
  75429. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75430. $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;
  75431. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75432. if ($async$errorCode === 1)
  75433. return A._asyncRethrow($async$result, $async$completer);
  75434. while (true)
  75435. switch ($async$goto) {
  75436. case 0:
  75437. // Function start
  75438. t1 = $async$self.$this;
  75439. t2 = $async$self.evaluated._values;
  75440. t3 = $async$self.callable.declaration.parameters;
  75441. t4 = $async$self.nodeWithSpan;
  75442. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75443. parameters = t3.parameters;
  75444. t5 = parameters.length;
  75445. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75446. for (i = 0; i < minLength; ++i)
  75447. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75448. i = J.get$length$asx(t2[2]);
  75449. case 3:
  75450. // for condition
  75451. if (!(i < t5)) {
  75452. // goto after for
  75453. $async$goto = 5;
  75454. break;
  75455. }
  75456. parameter = parameters[i];
  75457. t6 = parameter.name;
  75458. value = t2[0].remove$1(0, t6);
  75459. $async$goto = value == null ? 6 : 7;
  75460. break;
  75461. case 6:
  75462. // then
  75463. t7 = parameter.defaultValue;
  75464. $async$temp1 = t1;
  75465. $async$goto = 8;
  75466. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75467. case 8:
  75468. // returning from await.
  75469. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75470. case 7:
  75471. // join
  75472. t7 = t1._async_evaluate$_environment;
  75473. t8 = t2[1].$index(0, t6);
  75474. if (t8 == null) {
  75475. t8 = parameter.defaultValue;
  75476. t8.toString;
  75477. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75478. }
  75479. t7.setLocalVariable$3(t6, value, t8);
  75480. case 4:
  75481. // for update
  75482. ++i;
  75483. // goto for condition
  75484. $async$goto = 3;
  75485. break;
  75486. case 5:
  75487. // after for
  75488. restParameter = t3.restParameter;
  75489. if (restParameter != null) {
  75490. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75491. t5 = t2[0];
  75492. t6 = t2[4];
  75493. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  75494. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75495. } else
  75496. argumentList = null;
  75497. $async$goto = 9;
  75498. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  75499. case 9:
  75500. // returning from await.
  75501. result = $async$result;
  75502. if (argumentList == null) {
  75503. $async$returnValue = result;
  75504. // goto return
  75505. $async$goto = 1;
  75506. break;
  75507. }
  75508. t5 = t2[0];
  75509. if (t5.get$isEmpty(t5)) {
  75510. $async$returnValue = result;
  75511. // goto return
  75512. $async$goto = 1;
  75513. break;
  75514. }
  75515. if (argumentList._wereKeywordsAccessed) {
  75516. $async$returnValue = result;
  75517. // goto return
  75518. $async$goto = 1;
  75519. break;
  75520. }
  75521. t5 = t2[0];
  75522. t5 = t5.get$keys(t5);
  75523. parameterWord = A.pluralize("parameter", t5.get$length(t5), null);
  75524. t2 = t2[0];
  75525. t2 = t2.get$keys(t2);
  75526. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + parameterWord + " named " + A.toSentence(t2.map$1$1(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));
  75527. case 1:
  75528. // return
  75529. return A._asyncReturn($async$returnValue, $async$completer);
  75530. }
  75531. });
  75532. return A._asyncStartSync($async$call$0, $async$completer);
  75533. },
  75534. $signature() {
  75535. return this.V._eval$1("Future<0>()");
  75536. }
  75537. };
  75538. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  75539. call$1($name) {
  75540. return "$" + $name;
  75541. },
  75542. $signature: 6
  75543. };
  75544. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  75545. call$0() {
  75546. var $async$goto = 0,
  75547. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75548. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  75549. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75550. if ($async$errorCode === 1)
  75551. return A._asyncRethrow($async$result, $async$completer);
  75552. while (true)
  75553. switch ($async$goto) {
  75554. case 0:
  75555. // Function start
  75556. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  75557. case 3:
  75558. // for condition
  75559. if (!(_i < t3)) {
  75560. // goto after for
  75561. $async$goto = 5;
  75562. break;
  75563. }
  75564. $async$goto = 6;
  75565. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  75566. case 6:
  75567. // returning from await.
  75568. $returnValue = $async$result;
  75569. if ($returnValue instanceof A.Value) {
  75570. $async$returnValue = $returnValue;
  75571. // goto return
  75572. $async$goto = 1;
  75573. break;
  75574. }
  75575. case 4:
  75576. // for update
  75577. ++_i;
  75578. // goto for condition
  75579. $async$goto = 3;
  75580. break;
  75581. case 5:
  75582. // after for
  75583. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  75584. case 1:
  75585. // return
  75586. return A._asyncReturn($async$returnValue, $async$completer);
  75587. }
  75588. });
  75589. return A._asyncStartSync($async$call$0, $async$completer);
  75590. },
  75591. $signature: 70
  75592. };
  75593. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  75594. call$0() {
  75595. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75596. },
  75597. $signature: 0
  75598. };
  75599. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  75600. call$0() {
  75601. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75602. },
  75603. $signature: 524
  75604. };
  75605. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  75606. call$1($name) {
  75607. return "$" + $name;
  75608. },
  75609. $signature: 6
  75610. };
  75611. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  75612. call$1(value) {
  75613. return value;
  75614. },
  75615. $signature: 41
  75616. };
  75617. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  75618. call$1(value) {
  75619. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  75620. },
  75621. $signature: 41
  75622. };
  75623. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  75624. call$2(key, value) {
  75625. var _this = this,
  75626. t1 = _this.restNodeForSpan;
  75627. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  75628. _this.namedNodes.$indexSet(0, key, t1);
  75629. },
  75630. $signature: 84
  75631. };
  75632. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  75633. call$1(value) {
  75634. return value;
  75635. },
  75636. $signature: 41
  75637. };
  75638. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  75639. call$1(value) {
  75640. var t1 = this.restArgs;
  75641. return new A.ValueExpression(value, t1.get$span(t1));
  75642. },
  75643. $signature: 63
  75644. };
  75645. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  75646. call$1(value) {
  75647. var t1 = this.restArgs;
  75648. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75649. },
  75650. $signature: 63
  75651. };
  75652. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  75653. call$2(key, value) {
  75654. var _this = this,
  75655. t1 = _this.restArgs;
  75656. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75657. },
  75658. $signature: 84
  75659. };
  75660. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  75661. call$1(value) {
  75662. var t1 = this.keywordRestArgs;
  75663. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75664. },
  75665. $signature: 63
  75666. };
  75667. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  75668. call$2(key, value) {
  75669. var t2, _this = this,
  75670. t1 = _this.$this;
  75671. if (key instanceof A.SassString)
  75672. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  75673. else {
  75674. t2 = _this.nodeWithSpan;
  75675. 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)));
  75676. }
  75677. },
  75678. $signature: 95
  75679. };
  75680. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  75681. call$0() {
  75682. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75683. },
  75684. $signature: 0
  75685. };
  75686. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  75687. call$0() {
  75688. var $async$goto = 0,
  75689. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75690. $async$self = this, t1, t2, t3, t4;
  75691. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75692. if ($async$errorCode === 1)
  75693. return A._asyncRethrow($async$result, $async$completer);
  75694. while (true)
  75695. switch ($async$goto) {
  75696. case 0:
  75697. // Function start
  75698. t1 = $async$self.node.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");
  75699. case 2:
  75700. // for condition
  75701. if (!t1.moveNext$0()) {
  75702. // goto after for
  75703. $async$goto = 3;
  75704. break;
  75705. }
  75706. t4 = t1.__internal$_current;
  75707. $async$goto = 4;
  75708. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75709. case 4:
  75710. // returning from await.
  75711. // goto for condition
  75712. $async$goto = 2;
  75713. break;
  75714. case 3:
  75715. // after for
  75716. // implicit return
  75717. return A._asyncReturn(null, $async$completer);
  75718. }
  75719. });
  75720. return A._asyncStartSync($async$call$0, $async$completer);
  75721. },
  75722. $signature: 2
  75723. };
  75724. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  75725. call$1(node) {
  75726. return node instanceof A.ModifiableCssStyleRule;
  75727. },
  75728. $signature: 7
  75729. };
  75730. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  75731. call$0() {
  75732. var $async$goto = 0,
  75733. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75734. $async$self = this, t1, t2, t3, t4;
  75735. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75736. if ($async$errorCode === 1)
  75737. return A._asyncRethrow($async$result, $async$completer);
  75738. while (true)
  75739. switch ($async$goto) {
  75740. case 0:
  75741. // Function start
  75742. 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");
  75743. case 2:
  75744. // for condition
  75745. if (!t1.moveNext$0()) {
  75746. // goto after for
  75747. $async$goto = 3;
  75748. break;
  75749. }
  75750. t4 = t1.__internal$_current;
  75751. $async$goto = 4;
  75752. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75753. case 4:
  75754. // returning from await.
  75755. // goto for condition
  75756. $async$goto = 2;
  75757. break;
  75758. case 3:
  75759. // after for
  75760. // implicit return
  75761. return A._asyncReturn(null, $async$completer);
  75762. }
  75763. });
  75764. return A._asyncStartSync($async$call$0, $async$completer);
  75765. },
  75766. $signature: 2
  75767. };
  75768. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  75769. call$1(node) {
  75770. return node instanceof A.ModifiableCssStyleRule;
  75771. },
  75772. $signature: 7
  75773. };
  75774. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  75775. call$1(mediaQueries) {
  75776. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  75777. },
  75778. $signature: 101
  75779. };
  75780. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  75781. call$0() {
  75782. var $async$goto = 0,
  75783. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75784. $async$self = this, t1, t2;
  75785. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75786. if ($async$errorCode === 1)
  75787. return A._asyncRethrow($async$result, $async$completer);
  75788. while (true)
  75789. switch ($async$goto) {
  75790. case 0:
  75791. // Function start
  75792. t1 = $async$self.$this;
  75793. t2 = $async$self.mergedQueries;
  75794. if (t2 == null)
  75795. t2 = $async$self.node.queries;
  75796. $async$goto = 2;
  75797. 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);
  75798. case 2:
  75799. // returning from await.
  75800. // implicit return
  75801. return A._asyncReturn(null, $async$completer);
  75802. }
  75803. });
  75804. return A._asyncStartSync($async$call$0, $async$completer);
  75805. },
  75806. $signature: 2
  75807. };
  75808. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  75809. call$0() {
  75810. var $async$goto = 0,
  75811. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75812. $async$self = this, t2, t3, t4, t1, _0_0;
  75813. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75814. if ($async$errorCode === 1)
  75815. return A._asyncRethrow($async$result, $async$completer);
  75816. while (true)
  75817. switch ($async$goto) {
  75818. case 0:
  75819. // Function start
  75820. t1 = $async$self.$this;
  75821. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75822. $async$goto = _0_0 != null ? 2 : 4;
  75823. break;
  75824. case 2:
  75825. // then
  75826. $async$goto = 5;
  75827. 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);
  75828. case 5:
  75829. // returning from await.
  75830. // goto join
  75831. $async$goto = 3;
  75832. break;
  75833. case 4:
  75834. // else
  75835. 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");
  75836. case 6:
  75837. // for condition
  75838. if (!t2.moveNext$0()) {
  75839. // goto after for
  75840. $async$goto = 7;
  75841. break;
  75842. }
  75843. t4 = t2.__internal$_current;
  75844. $async$goto = 8;
  75845. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75846. case 8:
  75847. // returning from await.
  75848. // goto for condition
  75849. $async$goto = 6;
  75850. break;
  75851. case 7:
  75852. // after for
  75853. case 3:
  75854. // join
  75855. // implicit return
  75856. return A._asyncReturn(null, $async$completer);
  75857. }
  75858. });
  75859. return A._asyncStartSync($async$call$0, $async$completer);
  75860. },
  75861. $signature: 2
  75862. };
  75863. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  75864. call$0() {
  75865. var $async$goto = 0,
  75866. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75867. $async$self = this, t1, t2, t3, t4;
  75868. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75869. if ($async$errorCode === 1)
  75870. return A._asyncRethrow($async$result, $async$completer);
  75871. while (true)
  75872. switch ($async$goto) {
  75873. case 0:
  75874. // Function start
  75875. 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");
  75876. case 2:
  75877. // for condition
  75878. if (!t1.moveNext$0()) {
  75879. // goto after for
  75880. $async$goto = 3;
  75881. break;
  75882. }
  75883. t4 = t1.__internal$_current;
  75884. $async$goto = 4;
  75885. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75886. case 4:
  75887. // returning from await.
  75888. // goto for condition
  75889. $async$goto = 2;
  75890. break;
  75891. case 3:
  75892. // after for
  75893. // implicit return
  75894. return A._asyncReturn(null, $async$completer);
  75895. }
  75896. });
  75897. return A._asyncStartSync($async$call$0, $async$completer);
  75898. },
  75899. $signature: 2
  75900. };
  75901. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  75902. call$1(node) {
  75903. var t1;
  75904. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75905. t1 = this.mergedSources;
  75906. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75907. } else
  75908. t1 = true;
  75909. return t1;
  75910. },
  75911. $signature: 7
  75912. };
  75913. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  75914. call$0() {
  75915. var $async$goto = 0,
  75916. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75917. $async$self = this, t1;
  75918. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75919. if ($async$errorCode === 1)
  75920. return A._asyncRethrow($async$result, $async$completer);
  75921. while (true)
  75922. switch ($async$goto) {
  75923. case 0:
  75924. // Function start
  75925. t1 = $async$self.$this;
  75926. $async$goto = 2;
  75927. 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);
  75928. case 2:
  75929. // returning from await.
  75930. // implicit return
  75931. return A._asyncReturn(null, $async$completer);
  75932. }
  75933. });
  75934. return A._asyncStartSync($async$call$0, $async$completer);
  75935. },
  75936. $signature: 2
  75937. };
  75938. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  75939. call$0() {
  75940. var $async$goto = 0,
  75941. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75942. $async$self = this, t1, t2, t3, t4;
  75943. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75944. if ($async$errorCode === 1)
  75945. return A._asyncRethrow($async$result, $async$completer);
  75946. while (true)
  75947. switch ($async$goto) {
  75948. case 0:
  75949. // Function start
  75950. 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");
  75951. case 2:
  75952. // for condition
  75953. if (!t1.moveNext$0()) {
  75954. // goto after for
  75955. $async$goto = 3;
  75956. break;
  75957. }
  75958. t4 = t1.__internal$_current;
  75959. $async$goto = 4;
  75960. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75961. case 4:
  75962. // returning from await.
  75963. // goto for condition
  75964. $async$goto = 2;
  75965. break;
  75966. case 3:
  75967. // after for
  75968. // implicit return
  75969. return A._asyncReturn(null, $async$completer);
  75970. }
  75971. });
  75972. return A._asyncStartSync($async$call$0, $async$completer);
  75973. },
  75974. $signature: 2
  75975. };
  75976. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  75977. call$1(node) {
  75978. return node instanceof A.ModifiableCssStyleRule;
  75979. },
  75980. $signature: 7
  75981. };
  75982. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  75983. call$0() {
  75984. var $async$goto = 0,
  75985. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75986. $async$self = this, t2, t3, t4, t1, _0_0;
  75987. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75988. if ($async$errorCode === 1)
  75989. return A._asyncRethrow($async$result, $async$completer);
  75990. while (true)
  75991. switch ($async$goto) {
  75992. case 0:
  75993. // Function start
  75994. t1 = $async$self.$this;
  75995. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75996. $async$goto = _0_0 != null ? 2 : 4;
  75997. break;
  75998. case 2:
  75999. // then
  76000. $async$goto = 5;
  76001. 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);
  76002. case 5:
  76003. // returning from await.
  76004. // goto join
  76005. $async$goto = 3;
  76006. break;
  76007. case 4:
  76008. // else
  76009. 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");
  76010. case 6:
  76011. // for condition
  76012. if (!t2.moveNext$0()) {
  76013. // goto after for
  76014. $async$goto = 7;
  76015. break;
  76016. }
  76017. t4 = t2.__internal$_current;
  76018. $async$goto = 8;
  76019. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76020. case 8:
  76021. // returning from await.
  76022. // goto for condition
  76023. $async$goto = 6;
  76024. break;
  76025. case 7:
  76026. // after for
  76027. case 3:
  76028. // join
  76029. // implicit return
  76030. return A._asyncReturn(null, $async$completer);
  76031. }
  76032. });
  76033. return A._asyncStartSync($async$call$0, $async$completer);
  76034. },
  76035. $signature: 2
  76036. };
  76037. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  76038. call$0() {
  76039. var $async$goto = 0,
  76040. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76041. $async$self = this, t1, t2, t3, t4;
  76042. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76043. if ($async$errorCode === 1)
  76044. return A._asyncRethrow($async$result, $async$completer);
  76045. while (true)
  76046. switch ($async$goto) {
  76047. case 0:
  76048. // Function start
  76049. 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");
  76050. case 2:
  76051. // for condition
  76052. if (!t1.moveNext$0()) {
  76053. // goto after for
  76054. $async$goto = 3;
  76055. break;
  76056. }
  76057. t4 = t1.__internal$_current;
  76058. $async$goto = 4;
  76059. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76060. case 4:
  76061. // returning from await.
  76062. // goto for condition
  76063. $async$goto = 2;
  76064. break;
  76065. case 3:
  76066. // after for
  76067. // implicit return
  76068. return A._asyncReturn(null, $async$completer);
  76069. }
  76070. });
  76071. return A._asyncStartSync($async$call$0, $async$completer);
  76072. },
  76073. $signature: 2
  76074. };
  76075. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  76076. call$1(node) {
  76077. return node instanceof A.ModifiableCssStyleRule;
  76078. },
  76079. $signature: 7
  76080. };
  76081. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  76082. call$1(targetLocations) {
  76083. return A.InterpolationMap$(this.interpolation, targetLocations);
  76084. },
  76085. $signature: 184
  76086. };
  76087. A._EvaluateVisitor__serialize_closure0.prototype = {
  76088. call$0() {
  76089. return A.serializeValue(this.value, false, this.quote);
  76090. },
  76091. $signature: 27
  76092. };
  76093. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  76094. call$0() {
  76095. var t1 = this.expression;
  76096. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76097. },
  76098. $signature: 142
  76099. };
  76100. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  76101. call$1(number) {
  76102. var before, after, t1,
  76103. _1_0 = number.asSlash;
  76104. $label0$0: {
  76105. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  76106. before = _1_0._0;
  76107. after = _1_0._1;
  76108. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  76109. break $label0$0;
  76110. }
  76111. t1 = A.serializeValue(number, true, true);
  76112. break $label0$0;
  76113. }
  76114. return t1;
  76115. },
  76116. $signature: 186
  76117. };
  76118. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  76119. call$1(url) {
  76120. var t1 = this.$this._async_evaluate$_importCache;
  76121. t1 = t1 == null ? null : t1.humanize$1(url);
  76122. return t1 == null ? url : t1;
  76123. },
  76124. $signature: 48
  76125. };
  76126. A._ImportedCssVisitor0.prototype = {
  76127. visitCssAtRule$1(node) {
  76128. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  76129. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  76130. },
  76131. visitCssComment$1(node) {
  76132. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76133. },
  76134. visitCssDeclaration$1(node) {
  76135. },
  76136. visitCssImport$1(node) {
  76137. var t2,
  76138. _s13_ = "_endOfImports",
  76139. t1 = this._async_evaluate$_visitor;
  76140. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76141. t1._async_evaluate$_addChild$1(node);
  76142. 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)) {
  76143. t1._async_evaluate$_addChild$1(node);
  76144. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76145. } else {
  76146. t2 = t1._async_evaluate$_outOfOrderImports;
  76147. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76148. }
  76149. },
  76150. visitCssKeyframeBlock$1(node) {
  76151. },
  76152. visitCssMediaRule$1(node) {
  76153. var t1 = this._async_evaluate$_visitor,
  76154. mediaQueries = t1._async_evaluate$_mediaQueries;
  76155. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76156. },
  76157. visitCssStyleRule$1(node) {
  76158. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76159. },
  76160. visitCssStylesheet$1(node) {
  76161. var t1, t2, t3;
  76162. 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();) {
  76163. t3 = t1.__internal$_current;
  76164. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76165. }
  76166. },
  76167. visitCssSupportsRule$1(node) {
  76168. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76169. }
  76170. };
  76171. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76172. call$1(node) {
  76173. return node instanceof A.ModifiableCssStyleRule;
  76174. },
  76175. $signature: 7
  76176. };
  76177. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76178. call$1(node) {
  76179. var t1;
  76180. if (!(node instanceof A.ModifiableCssStyleRule))
  76181. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76182. else
  76183. t1 = true;
  76184. return t1;
  76185. },
  76186. $signature: 7
  76187. };
  76188. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76189. call$1(node) {
  76190. return node instanceof A.ModifiableCssStyleRule;
  76191. },
  76192. $signature: 7
  76193. };
  76194. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76195. call$1(node) {
  76196. return node instanceof A.ModifiableCssStyleRule;
  76197. },
  76198. $signature: 7
  76199. };
  76200. A._EvaluationContext0.prototype = {
  76201. get$currentCallableSpan() {
  76202. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76203. if (_0_0 != null)
  76204. return _0_0.get$span(_0_0);
  76205. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76206. },
  76207. warn$2(_, message, deprecation) {
  76208. var t1 = this._async_evaluate$_visitor,
  76209. t2 = t1._async_evaluate$_importSpan;
  76210. if (t2 == null) {
  76211. t2 = t1._async_evaluate$_callableNode;
  76212. t2 = t2 == null ? null : t2.get$span(t2);
  76213. }
  76214. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76215. },
  76216. $isEvaluationContext: 1
  76217. };
  76218. A._CloneCssVisitor.prototype = {
  76219. visitCssAtRule$1(node) {
  76220. var t1 = node.isChildless,
  76221. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76222. return t1 ? rule : this._visitChildren$2(rule, node);
  76223. },
  76224. visitCssComment$1(node) {
  76225. return new A.ModifiableCssComment(node.text, node.span);
  76226. },
  76227. visitCssDeclaration$1(node) {
  76228. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  76229. },
  76230. visitCssImport$1(node) {
  76231. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76232. },
  76233. visitCssKeyframeBlock$1(node) {
  76234. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76235. },
  76236. visitCssMediaRule$1(node) {
  76237. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76238. },
  76239. visitCssStyleRule$1(node) {
  76240. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76241. if (_0_0 != null)
  76242. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76243. else
  76244. throw A.wrapException(A.StateError$(string$.The_Ex));
  76245. },
  76246. visitCssStylesheet$1(node) {
  76247. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76248. },
  76249. visitCssSupportsRule$1(node) {
  76250. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76251. },
  76252. _visitChildren$1$2(newParent, oldParent) {
  76253. var t1, t2, newChild;
  76254. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76255. t2 = t1.get$current(t1);
  76256. newChild = t2.accept$1(this);
  76257. newChild.isGroupEnd = t2.get$isGroupEnd();
  76258. newParent.addChild$1(newChild);
  76259. }
  76260. return newParent;
  76261. },
  76262. _visitChildren$2(newParent, oldParent) {
  76263. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76264. }
  76265. };
  76266. A.Evaluator.prototype = {};
  76267. A._EvaluateVisitor.prototype = {
  76268. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76269. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76270. _s20_ = "$name, $module: null",
  76271. _s9_ = "sass:meta",
  76272. _s7_ = "$module",
  76273. t1 = type$.JSArray_BuiltInCallable,
  76274. 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),
  76275. 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);
  76276. t1 = type$.BuiltInCallable;
  76277. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  76278. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76279. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76280. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_Callable);
  76281. t1.push(metaModule);
  76282. t2 = t1.length;
  76283. t3 = _this._builtInModules;
  76284. _i = 0;
  76285. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76286. module = t1[_i];
  76287. t3.$indexSet(0, module.url, module);
  76288. }
  76289. t1 = type$.JSArray_Callable;
  76290. t2 = A._setArrayType([], t1);
  76291. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76292. t1 = A._setArrayType([], t1);
  76293. for (_i = 0; _i < 11; ++_i)
  76294. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76295. B.JSArray_methods.addAll$1(t2, t1);
  76296. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76297. $function = t2[_i];
  76298. t4 = $function.get$name($function);
  76299. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76300. }
  76301. },
  76302. run$2(_, importer, node) {
  76303. var error, stackTrace, t1, exception;
  76304. try {
  76305. t1 = type$.nullable_Object;
  76306. 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);
  76307. return t1;
  76308. } catch (exception) {
  76309. t1 = A.unwrapException(exception);
  76310. if (t1 instanceof A.SassException) {
  76311. error = t1;
  76312. stackTrace = A.getTraceFromException(exception);
  76313. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76314. } else
  76315. throw exception;
  76316. }
  76317. },
  76318. runExpression$2(importer, expression) {
  76319. var t1 = type$.nullable_Object;
  76320. 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);
  76321. },
  76322. runStatement$2(importer, statement) {
  76323. var t1 = type$.nullable_Object;
  76324. 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);
  76325. },
  76326. _assertInModule$1$2(value, $name) {
  76327. if (value != null)
  76328. return value;
  76329. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76330. },
  76331. _assertInModule$2(value, $name) {
  76332. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76333. },
  76334. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76335. var t1, _this = this,
  76336. oldImporter = _this._importer;
  76337. _this._importer = importer;
  76338. _this.__stylesheet = A.Stylesheet$(B.List_empty15, nodeWithSpan.get$span(nodeWithSpan));
  76339. try {
  76340. t1 = callback.call$0();
  76341. return t1;
  76342. } finally {
  76343. _this._importer = oldImporter;
  76344. _this.__stylesheet = null;
  76345. }
  76346. },
  76347. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76348. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76349. },
  76350. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76351. var t2, _this = this,
  76352. _0_0 = _this._builtInModules.$index(0, url),
  76353. t1 = {};
  76354. t1.builtInModule = null;
  76355. if (_0_0 != null) {
  76356. t1.builtInModule = _0_0;
  76357. if (configuration instanceof A.ExplicitConfiguration) {
  76358. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76359. t2 = configuration.nodeWithSpan;
  76360. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76361. }
  76362. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76363. return;
  76364. }
  76365. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76366. },
  76367. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76368. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76369. },
  76370. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76371. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76372. },
  76373. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76374. var currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76375. t1 = stylesheet.span,
  76376. url = t1.get$sourceUrl(t1);
  76377. t1 = configuration == null;
  76378. currentConfiguration = t1 ? _this._configuration : configuration;
  76379. t2 = _this._modules;
  76380. _0_0 = t2.$index(0, url);
  76381. if (_0_0 != null) {
  76382. t2 = _this._moduleConfigurations.$index(0, url);
  76383. t3 = t2.__originalConfiguration;
  76384. t2 = t3 == null ? t2 : t3;
  76385. t3 = currentConfiguration.__originalConfiguration;
  76386. 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))) {
  76387. if (namesInErrors) {
  76388. t2 = $.$get$context();
  76389. url.toString;
  76390. message = t2.prettyUri$1(url) + string$.x20was_a;
  76391. } else
  76392. message = string$.This_mw;
  76393. t2 = _this._moduleNodes.$index(0, url);
  76394. existingSpan = t2 == null ? null : t2.get$span(t2);
  76395. if (t1) {
  76396. t1 = currentConfiguration.nodeWithSpan;
  76397. configurationSpan = t1.get$span(t1);
  76398. } else
  76399. configurationSpan = null;
  76400. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76401. if (existingSpan != null)
  76402. t1.$indexSet(0, existingSpan, "original load");
  76403. if (configurationSpan != null)
  76404. t1.$indexSet(0, configurationSpan, "configuration");
  76405. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76406. }
  76407. return _0_0;
  76408. }
  76409. environment = A.Environment$();
  76410. css = A._Cell$();
  76411. preModuleComments = A._Cell$();
  76412. extensionStore = A.ExtensionStore$();
  76413. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76414. t1 = css._readLocal$0();
  76415. t3 = preModuleComments._readLocal$0();
  76416. module = environment.toModule$3(t1, t3 == null ? B.Map_empty : t3, extensionStore);
  76417. if (url != null) {
  76418. t2.$indexSet(0, url, module);
  76419. _this._moduleConfigurations.$indexSet(0, url, currentConfiguration);
  76420. if (nodeWithSpan != null)
  76421. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76422. }
  76423. return module;
  76424. },
  76425. _execute$2(importer, stylesheet) {
  76426. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76427. },
  76428. _addOutOfOrderImports$0() {
  76429. var t1, t2, _this = this, _s5_ = "_root",
  76430. _s13_ = "_endOfImports",
  76431. _0_0 = _this._outOfOrderImports;
  76432. $label0$0: {
  76433. if (_0_0 == null) {
  76434. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76435. break $label0$0;
  76436. }
  76437. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76438. 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);
  76439. B.JSArray_methods.addAll$1(t1, _0_0);
  76440. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76441. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76442. break $label0$0;
  76443. }
  76444. return t1;
  76445. },
  76446. _combineCss$2$clone(root, clone) {
  76447. var selectors, _0_0, t1, imports, css, sorted, t2;
  76448. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76449. selectors = root.get$extensionStore().get$simpleSelectors();
  76450. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76451. if (_0_0 != null)
  76452. this._throwForUnsatisfiedExtension$1(_0_0);
  76453. return root.get$css(root);
  76454. }
  76455. t1 = type$.JSArray_CssNode;
  76456. imports = A._setArrayType([], t1);
  76457. css = A._setArrayType([], t1);
  76458. t1 = type$.Module_Callable;
  76459. sorted = A.ListQueue$(t1);
  76460. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76461. if (root.get$transitivelyContainsExtensions())
  76462. this._extendModules$1(sorted);
  76463. t1 = B.JSArray_methods.$add(imports, css);
  76464. t2 = root.get$css(root);
  76465. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76466. },
  76467. _combineCss$1(root) {
  76468. return this._combineCss$2$clone(root, false);
  76469. },
  76470. _extendModules$1(sortedModules) {
  76471. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76472. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76473. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76474. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76475. t3 = t1._collection$_current;
  76476. if (t3 == null)
  76477. t3 = t2._as(t3);
  76478. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76479. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76480. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76481. t4 = t3.get$extensionStore().get$addExtensions();
  76482. if ($self != null)
  76483. t4.call$1($self);
  76484. t4 = t3.get$extensionStore();
  76485. if (t4.get$isEmpty(t4))
  76486. continue;
  76487. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76488. upstream = t4[_i];
  76489. _0_0 = upstream.get$url(upstream);
  76490. if (_0_0 != null)
  76491. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76492. }
  76493. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76494. }
  76495. if (unsatisfiedExtensions._collection$_length !== 0)
  76496. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  76497. },
  76498. _throwForUnsatisfiedExtension$1(extension) {
  76499. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  76500. },
  76501. _indexAfterImports$1(statements) {
  76502. var t1, lastImport, i, _0_0;
  76503. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  76504. $label0$0: {
  76505. _0_0 = t1.$index(statements, i);
  76506. if (_0_0 instanceof A.ModifiableCssImport)
  76507. break $label0$0;
  76508. if (_0_0 instanceof A.ModifiableCssComment)
  76509. continue;
  76510. break;
  76511. }
  76512. lastImport = i;
  76513. }
  76514. return lastImport + 1;
  76515. },
  76516. visitStylesheet$1(_, node) {
  76517. var t1, t2, warning, _i, $name, span;
  76518. 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();) {
  76519. warning = t1.__internal$_current;
  76520. if (warning == null)
  76521. warning = t2._as(warning);
  76522. this._warn$3(warning._1, warning._2, warning._0);
  76523. }
  76524. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76525. t1[_i].accept$1(this);
  76526. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  76527. t2 = t1.get$current(t1);
  76528. $name = t2._0;
  76529. span = t2._1;
  76530. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  76531. }
  76532. return null;
  76533. },
  76534. visitAtRootRule$1(_, node) {
  76535. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  76536. _s8_ = "__parent",
  76537. _0_0 = node.query,
  76538. 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,
  76539. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  76540. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  76541. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  76542. if (!query.excludes$1($parent))
  76543. included.push($parent);
  76544. _2_0 = $parent._parent;
  76545. if (_2_0 == null)
  76546. throw A.wrapException(A.StateError$(string$.CssNod));
  76547. }
  76548. root = _this._trimIncluded$1(included);
  76549. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  76550. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  76551. return _null;
  76552. }
  76553. if (included.length >= 1) {
  76554. first = included[0];
  76555. rest = B.JSArray_methods.sublist$1(included, 1);
  76556. innerCopy = first.copyWithoutChildren$0();
  76557. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  76558. copy = rest[_i].copyWithoutChildren$0();
  76559. copy.addChild$1(outerCopy);
  76560. }
  76561. root.addChild$1(outerCopy);
  76562. } else
  76563. innerCopy = root;
  76564. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  76565. return _null;
  76566. },
  76567. _trimIncluded$1(nodes) {
  76568. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  76569. _s22_ = " to be an ancestor of ";
  76570. if (nodes.length === 0)
  76571. return _this._assertInModule$2(_this.__root, _s5_);
  76572. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  76573. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  76574. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  76575. _0_0 = $parent._parent;
  76576. if (_0_0 == null)
  76577. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76578. }
  76579. if (innermostContiguous == null)
  76580. innermostContiguous = i;
  76581. _1_0 = $parent._parent;
  76582. if (_1_0 == null)
  76583. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76584. }
  76585. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  76586. return _this._assertInModule$2(_this.__root, _s5_);
  76587. innermostContiguous.toString;
  76588. root = nodes[innermostContiguous];
  76589. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  76590. return root;
  76591. },
  76592. _scopeForAtRoot$4(node, newParent, query, included) {
  76593. var _this = this,
  76594. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  76595. t1 = query._all || query._at_root_query$_rule;
  76596. if (t1 !== query.include)
  76597. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  76598. if (_this._mediaQueries != null && query.excludesName$1("media"))
  76599. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  76600. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  76601. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  76602. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  76603. },
  76604. visitContentBlock$1(_, node) {
  76605. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  76606. },
  76607. visitContentRule$1(_, node) {
  76608. var $content = this._environment._content;
  76609. if ($content == null)
  76610. return null;
  76611. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  76612. return null;
  76613. },
  76614. visitDebugRule$1(_, node) {
  76615. var value = node.expression.accept$1(this),
  76616. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  76617. this._logger.debug$2(0, t1, node.span);
  76618. return null;
  76619. },
  76620. visitDeclaration$1(_, node) {
  76621. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  76622. _s8_ = "__parent";
  76623. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  76624. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  76625. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  76626. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  76627. siblings = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  76628. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  76629. if (siblings.get$last(siblings) !== _this._assertInModule$2(_this.__parent, _s8_))
  76630. t1 = !(_this._quietDeps && _this._inDependency);
  76631. else
  76632. t1 = false;
  76633. if (t1)
  76634. 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();) {
  76635. t6 = t1.__internal$_current;
  76636. rule = t6 == null ? t2._as(t6) : t6;
  76637. $label0$1: {
  76638. if (rule instanceof A.ModifiableCssComment)
  76639. continue;
  76640. t6 = rule instanceof A.ModifiableCssStyleRule;
  76641. rule0 = t6 ? rule : _null;
  76642. if (t6) {
  76643. interleavedRules.push(rule0);
  76644. break $label0$1;
  76645. }
  76646. _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);
  76647. B.JSArray_methods.clear$0(interleavedRules);
  76648. break $label0$1;
  76649. }
  76650. }
  76651. t1 = node.name;
  76652. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  76653. _1_0 = _this._declarationName;
  76654. if (_1_0 != null)
  76655. $name = new A.CssValue(_1_0 + "-" + $name.value, $name.span, type$.CssValue_String);
  76656. _2_0 = node.value;
  76657. if (_2_0 != null) {
  76658. value = _2_0.accept$1(_this);
  76659. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  76660. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  76661. t3 = _2_0.get$span(_2_0);
  76662. t4 = node.span;
  76663. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  76664. t5 = interleavedRules.length === 0 ? _null : _this._evaluate$_stackTrace$1(t4);
  76665. if (_this._sourceMap) {
  76666. t6 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  76667. t6 = t6 == null ? _null : J.get$span$z(t6);
  76668. } else
  76669. t6 = _null;
  76670. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  76671. }
  76672. }
  76673. _3_0 = node.children;
  76674. t1 = {};
  76675. t1.children = null;
  76676. if (_3_0 != null) {
  76677. t1.children = _3_0;
  76678. oldDeclarationName = _this._declarationName;
  76679. _this._declarationName = $name.value;
  76680. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  76681. _this._declarationName = oldDeclarationName;
  76682. }
  76683. return _null;
  76684. },
  76685. visitEachRule$1(_, node) {
  76686. var _this = this,
  76687. t1 = node.list,
  76688. list = t1.accept$1(_this),
  76689. nodeWithSpan = _this._expressionNode$1(t1),
  76690. _0_0 = node.variables;
  76691. $label0$0: {
  76692. t1 = {};
  76693. t1.variable = null;
  76694. if (_0_0.length === 1) {
  76695. t1.variable = _0_0[0];
  76696. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  76697. break $label0$0;
  76698. }
  76699. t1 = {};
  76700. t1.variables = null;
  76701. t1.variables = _0_0;
  76702. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  76703. break $label0$0;
  76704. }
  76705. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  76706. },
  76707. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  76708. var i,
  76709. list = value.get$asList(),
  76710. t1 = variables.length,
  76711. minLength = Math.min(t1, list.length);
  76712. for (i = 0; i < minLength; ++i)
  76713. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  76714. for (i = minLength; i < t1; ++i)
  76715. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  76716. },
  76717. visitErrorRule$1(_, node) {
  76718. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  76719. },
  76720. visitExtendRule$1(_, node) {
  76721. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, simple, _this = this, _null = null,
  76722. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  76723. if (styleRule == null || _this._declarationName != null)
  76724. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  76725. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  76726. complex = t1[_i];
  76727. if (!complex.accept$1(B._IsBogusVisitor_true))
  76728. continue;
  76729. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  76730. complex.accept$1(visitor);
  76731. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  76732. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  76733. _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);
  76734. }
  76735. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  76736. 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) {
  76737. complex = t1[_i];
  76738. compound = complex.get$singleCompound();
  76739. if (compound == null)
  76740. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  76741. t4 = compound.components;
  76742. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  76743. if (simple == null)
  76744. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  76745. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, _this._mediaQueries);
  76746. }
  76747. return _null;
  76748. },
  76749. visitAtRule$1(_, node) {
  76750. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  76751. if (_this._declarationName != null)
  76752. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  76753. $name = _this._interpolationToValue$1(node.name);
  76754. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  76755. children = node.children;
  76756. if (children == null) {
  76757. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  76758. return null;
  76759. }
  76760. wasInKeyframes = _this._inKeyframes;
  76761. wasInUnknownAtRule = _this._inUnknownAtRule;
  76762. if (A.unvendor($name.value) === "keyframes")
  76763. _this._inKeyframes = true;
  76764. else
  76765. _this._inUnknownAtRule = true;
  76766. _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);
  76767. _this._inUnknownAtRule = wasInUnknownAtRule;
  76768. _this._inKeyframes = wasInKeyframes;
  76769. return null;
  76770. },
  76771. visitForRule$1(_, node) {
  76772. var _this = this, t1 = {},
  76773. t2 = node.from,
  76774. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  76775. t3 = node.to,
  76776. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  76777. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  76778. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  76779. direction = from > to ? -1 : 1;
  76780. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  76781. return null;
  76782. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  76783. },
  76784. visitForwardRule$1(_, node) {
  76785. var newConfiguration, t4, _i, variable, $name, _this = this,
  76786. _s8_ = "@forward",
  76787. oldConfiguration = _this._configuration,
  76788. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  76789. t1 = node.configuration,
  76790. t2 = t1.length,
  76791. t3 = node.url;
  76792. if (t2 !== 0) {
  76793. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  76794. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  76795. t3 = type$.String;
  76796. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76797. for (_i = 0; _i < t2; ++_i) {
  76798. variable = t1[_i];
  76799. if (!variable.isGuarded)
  76800. t4.add$1(0, variable.name);
  76801. }
  76802. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  76803. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76804. for (_i = 0; _i < t2; ++_i)
  76805. t3.add$1(0, t1[_i].name);
  76806. for (t1 = newConfiguration._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76807. $name = t2[_i];
  76808. if (!t3.contains$1(0, $name))
  76809. if (!t1.get$isEmpty(t1))
  76810. t1.remove$1(0, $name);
  76811. }
  76812. _this._assertConfigurationIsEmpty$1(newConfiguration);
  76813. } else {
  76814. _this._configuration = adjustedConfiguration;
  76815. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  76816. _this._configuration = oldConfiguration;
  76817. }
  76818. return null;
  76819. },
  76820. _addForwardConfiguration$2(configuration, node) {
  76821. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  76822. t1 = configuration._configuration$_values,
  76823. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76824. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76825. variable = t2[_i];
  76826. if (variable.isGuarded) {
  76827. t4 = variable.name;
  76828. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  76829. if (_0_0 != null) {
  76830. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  76831. oldValue = _0_0;
  76832. } else {
  76833. oldValue = _null;
  76834. t5 = false;
  76835. }
  76836. if (t5) {
  76837. newValues.$indexSet(0, t4, oldValue);
  76838. continue;
  76839. }
  76840. }
  76841. t4 = variable.expression;
  76842. variableNodeWithSpan = this._expressionNode$1(t4);
  76843. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  76844. }
  76845. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  76846. return new A.ExplicitConfiguration(node, newValues, _null);
  76847. else
  76848. return new A.Configuration(newValues, _null);
  76849. },
  76850. _registerCommentsForModule$1(module) {
  76851. var _this = this, _s5_ = "_root",
  76852. t1 = _this.__root;
  76853. if (t1 == null)
  76854. return;
  76855. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  76856. return;
  76857. t1 = _this._preModuleComments;
  76858. if (t1 == null)
  76859. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  76860. 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));
  76861. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  76862. _this.__endOfImports = 0;
  76863. },
  76864. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  76865. var t1, t2, t3, t4, _i, $name;
  76866. for (t1 = upstream._configuration$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76867. $name = t2[_i];
  76868. if (except.contains$1(0, $name))
  76869. continue;
  76870. if (!t4.containsKey$1($name))
  76871. if (!t1.get$isEmpty(t1))
  76872. t1.remove$1(0, $name);
  76873. }
  76874. },
  76875. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  76876. var t1, _0_0;
  76877. if (!(configuration instanceof A.ExplicitConfiguration))
  76878. return;
  76879. t1 = configuration._configuration$_values;
  76880. if (t1.get$isEmpty(t1))
  76881. return;
  76882. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76883. _0_0 = t1.get$first(t1);
  76884. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  76885. throw A.wrapException(this._evaluate$_exception$2(t1, _0_0._1.configurationSpan));
  76886. },
  76887. _assertConfigurationIsEmpty$1(configuration) {
  76888. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  76889. },
  76890. visitFunctionRule$1(_, node) {
  76891. var t1 = this._environment,
  76892. t2 = t1.closure$0(),
  76893. t3 = this._inDependency,
  76894. t4 = t1._functions,
  76895. index = t4.length - 1,
  76896. t5 = node.name;
  76897. t1._functionIndices.$indexSet(0, t5, index);
  76898. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76899. return null;
  76900. },
  76901. visitIfRule$1(_, node) {
  76902. var t1, t2, _i, clauseToCheck,
  76903. clause = node.lastClause;
  76904. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  76905. clauseToCheck = t1[_i];
  76906. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  76907. clause = clauseToCheck;
  76908. break;
  76909. }
  76910. }
  76911. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  76912. },
  76913. visitImportRule$1(_, node) {
  76914. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  76915. _s8_ = "__parent",
  76916. _s5_ = "_root",
  76917. _s13_ = "_endOfImports";
  76918. 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) {
  76919. $import = t1[_i];
  76920. if ($import instanceof A.DynamicImport)
  76921. _this._visitDynamicImport$1($import);
  76922. else {
  76923. t5._as($import);
  76924. t7 = $import.url;
  76925. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  76926. $self = $import.modifiers;
  76927. t8 = $self == null ? null : t4.call$1($self);
  76928. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  76929. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  76930. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  76931. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  76932. t7 = _this._assertInModule$2(_this.__root, _s5_);
  76933. node._parent = t7;
  76934. t7 = t7._children;
  76935. node._indexInParent = t7.length;
  76936. t7.push(node);
  76937. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  76938. } else {
  76939. t7 = _this._outOfOrderImports;
  76940. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  76941. }
  76942. }
  76943. }
  76944. return null;
  76945. },
  76946. _visitDynamicImport$1($import) {
  76947. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  76948. },
  76949. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  76950. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  76951. baseUrl = baseUrl;
  76952. try {
  76953. _this._importSpan = span;
  76954. _0_0 = _this._evaluate$_importCache;
  76955. importCache = null;
  76956. if (_0_0 != null) {
  76957. importCache = _0_0;
  76958. if (baseUrl == null) {
  76959. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  76960. baseUrl = t1.get$sourceUrl(t1);
  76961. }
  76962. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  76963. importer = null;
  76964. canonicalUrl = null;
  76965. originalUrl = null;
  76966. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  76967. importer = _1_0._0;
  76968. canonicalUrl = _1_0._1;
  76969. originalUrl = _1_0._2;
  76970. if (canonicalUrl.get$scheme() === "")
  76971. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  76972. _this._loadedUrls.add$1(0, canonicalUrl);
  76973. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  76974. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  76975. stylesheet = null;
  76976. if (_2_0 != null) {
  76977. stylesheet = _2_0;
  76978. t1 = stylesheet;
  76979. t2 = importer;
  76980. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  76981. }
  76982. }
  76983. }
  76984. t1 = B.JSString_methods.startsWith$1(url, "package:");
  76985. if (t1)
  76986. throw A.wrapException(string$.x22packa);
  76987. else
  76988. throw A.wrapException("Can't find stylesheet to import.");
  76989. } catch (exception) {
  76990. t1 = A.unwrapException(exception);
  76991. if (t1 instanceof A.SassException)
  76992. throw exception;
  76993. else if (t1 instanceof A.ArgumentError) {
  76994. error = t1;
  76995. stackTrace = A.getTraceFromException(exception);
  76996. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  76997. } else {
  76998. error0 = t1;
  76999. stackTrace0 = A.getTraceFromException(exception);
  77000. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  77001. }
  77002. } finally {
  77003. _this._importSpan = null;
  77004. }
  77005. },
  77006. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  77007. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  77008. },
  77009. _loadStylesheet$3$forImport(url, span, forImport) {
  77010. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  77011. },
  77012. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  77013. var t1, _0_0, t2, _1_8, t3, _this = this,
  77014. _s37_ = "Mixin doesn't accept a content block.",
  77015. _s10_ = "invocation";
  77016. $label0$0: {
  77017. if (mixin == null)
  77018. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  77019. t1 = mixin instanceof A.BuiltInCallable;
  77020. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  77021. t1 = _this._evaluateArguments$1($arguments)._values;
  77022. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  77023. 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));
  77024. }
  77025. if (t1) {
  77026. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  77027. break $label0$0;
  77028. }
  77029. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  77030. t2 = false;
  77031. if (t1) {
  77032. _1_8 = mixin.declaration;
  77033. t3 = _1_8;
  77034. if (t3 instanceof A.MixinRule)
  77035. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  77036. }
  77037. if (t2)
  77038. 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));
  77039. if (t1) {
  77040. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  77041. break $label0$0;
  77042. }
  77043. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  77044. }
  77045. },
  77046. visitIncludeRule$1(_, node) {
  77047. var _this = this,
  77048. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  77049. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  77050. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  77051. _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)));
  77052. return null;
  77053. },
  77054. visitMixinRule$1(_, node) {
  77055. var t1 = this._environment,
  77056. t2 = t1.closure$0(),
  77057. t3 = this._inDependency,
  77058. t4 = t1._mixins,
  77059. index = t4.length - 1,
  77060. t5 = node.name;
  77061. t1._mixinIndices.$indexSet(0, t5, index);
  77062. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  77063. return null;
  77064. },
  77065. visitLoudComment$1(_, node) {
  77066. var t1, text, _this = this,
  77067. _s8_ = "__parent",
  77068. _s13_ = "_endOfImports";
  77069. if (_this._inFunction)
  77070. return null;
  77071. 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))
  77072. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77073. t1 = node.text;
  77074. text = _this._performInterpolation$1(t1);
  77075. if (!B.JSString_methods.endsWith$1(text, "*/"))
  77076. text += " */";
  77077. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  77078. return null;
  77079. },
  77080. visitMediaRule$1(_, node) {
  77081. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  77082. if (_this._declarationName != null)
  77083. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  77084. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  77085. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  77086. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  77087. t1 = mergedQueries == null;
  77088. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  77089. return null;
  77090. if (t1)
  77091. mergedSources = B.Set_empty2;
  77092. else {
  77093. t2 = _this._mediaQuerySources;
  77094. t2.toString;
  77095. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  77096. t3 = _this._mediaQueries;
  77097. t3.toString;
  77098. t2.addAll$1(0, t3);
  77099. t2.addAll$1(0, queries);
  77100. mergedSources = t2;
  77101. }
  77102. t1 = t1 ? queries : mergedQueries;
  77103. _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);
  77104. return null;
  77105. },
  77106. _mergeMediaQueries$2(queries1, queries2) {
  77107. var t1, t2, t3, t4, _0_0, t5, result,
  77108. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  77109. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  77110. t3 = t1.get$current(t1);
  77111. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  77112. _0_0 = t3.merge$1(t4.get$current(t4));
  77113. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  77114. continue;
  77115. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  77116. return null;
  77117. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  77118. result = t5 ? _0_0 : null;
  77119. if (t5)
  77120. queries.push(result.query);
  77121. }
  77122. }
  77123. return queries;
  77124. },
  77125. visitReturnRule$1(_, node) {
  77126. var t1 = node.expression;
  77127. return this._withoutSlash$2(t1.accept$1(this), t1);
  77128. },
  77129. visitSilentComment$1(_, node) {
  77130. return null;
  77131. },
  77132. visitStyleRule$1(_, node) {
  77133. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  77134. _s8_ = "__parent",
  77135. _s11_ = "_stylesheet";
  77136. if (_this._declarationName != null)
  77137. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77138. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77139. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77140. t1 = node.selector;
  77141. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77142. selectorText = _0_0._0;
  77143. selectorMap = _0_0._1;
  77144. if (_this._inKeyframes) {
  77145. _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);
  77146. return _null;
  77147. }
  77148. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77149. _1_0 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77150. $label0$0: {
  77151. if (_1_0 == null) {
  77152. t1 = true;
  77153. break $label0$0;
  77154. }
  77155. if (_1_0.fromPlainCss) {
  77156. t1 = false;
  77157. break $label0$0;
  77158. }
  77159. t1 = !(_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  77160. break $label0$0;
  77161. }
  77162. if (t1) {
  77163. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77164. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77165. _2_0 = t2[_i].leadingCombinators;
  77166. if (_2_0.length >= 1) {
  77167. first = _2_0[0];
  77168. t4 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77169. } else {
  77170. first = _null;
  77171. t4 = false;
  77172. }
  77173. if (t4)
  77174. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77175. }
  77176. t2 = _this._styleRuleIgnoringAtRoot;
  77177. t2 = t2 == null ? _null : t2.originalSelector;
  77178. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77179. }
  77180. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77181. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77182. t2 = _this._atRootExcludingStyleRule = false;
  77183. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77184. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null);
  77185. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77186. _this._warnForBogusCombinators$1(rule);
  77187. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77188. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77189. t1 = !t1.get$isEmpty(t1);
  77190. } else
  77191. t1 = t2;
  77192. if (t1) {
  77193. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77194. t1.get$last(t1).isGroupEnd = true;
  77195. }
  77196. return _null;
  77197. },
  77198. _warnForBogusCombinators$1(rule) {
  77199. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77200. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77201. 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) {
  77202. complex = t1[_i];
  77203. if (!complex.accept$1(B._IsBogusVisitor_true))
  77204. continue;
  77205. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77206. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77207. complex.accept$1(visitor);
  77208. _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);
  77209. } else if (complex.leadingCombinators.length !== 0) {
  77210. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77211. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77212. complex.accept$1(visitor);
  77213. _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);
  77214. }
  77215. } else {
  77216. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77217. complex.accept$1(visitor);
  77218. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77219. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77220. t8 = A.SpanExtensions_trimRight(complex.span);
  77221. if (t5.get$length(0) === 0)
  77222. A.throwExpression(A.IterableElementError_noElement());
  77223. t9 = J.get$span$z(t5.$index(0, 0));
  77224. _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);
  77225. }
  77226. }
  77227. },
  77228. visitSupportsRule$1(_, node) {
  77229. var t1, _this = this;
  77230. if (_this._declarationName != null)
  77231. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77232. t1 = node.condition;
  77233. _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);
  77234. return null;
  77235. },
  77236. _visitSupportsCondition$1(condition) {
  77237. var t1, _this = this;
  77238. $label0$0: {
  77239. if (condition instanceof A.SupportsOperation) {
  77240. t1 = condition.operator;
  77241. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77242. break $label0$0;
  77243. }
  77244. if (condition instanceof A.SupportsNegation) {
  77245. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77246. break $label0$0;
  77247. }
  77248. if (condition instanceof A.SupportsInterpolation) {
  77249. t1 = condition.expression;
  77250. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77251. break $label0$0;
  77252. }
  77253. t1 = {};
  77254. t1.declaration = null;
  77255. if (condition instanceof A.SupportsDeclaration) {
  77256. t1.declaration = condition;
  77257. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77258. break $label0$0;
  77259. }
  77260. if (condition instanceof A.SupportsFunction) {
  77261. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77262. break $label0$0;
  77263. }
  77264. if (condition instanceof A.SupportsAnything) {
  77265. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77266. break $label0$0;
  77267. }
  77268. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77269. }
  77270. return t1;
  77271. },
  77272. _withSupportsDeclaration$1$1(callback) {
  77273. var t1,
  77274. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77275. this._inSupportsDeclaration = true;
  77276. try {
  77277. t1 = callback.call$0();
  77278. return t1;
  77279. } finally {
  77280. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77281. }
  77282. },
  77283. _withSupportsDeclaration$1(callback) {
  77284. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77285. },
  77286. _evaluate$_parenthesize$2(condition, operator) {
  77287. var t1;
  77288. if (!(condition instanceof A.SupportsNegation))
  77289. if (condition instanceof A.SupportsOperation)
  77290. t1 = operator == null || operator !== condition.operator;
  77291. else
  77292. t1 = false;
  77293. else
  77294. t1 = true;
  77295. if (t1)
  77296. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77297. return this._visitSupportsCondition$1(condition);
  77298. },
  77299. _evaluate$_parenthesize$1(condition) {
  77300. return this._evaluate$_parenthesize$2(condition, null);
  77301. },
  77302. visitVariableDeclaration$1(_, node) {
  77303. var t1, t2, _0_0, value, _this = this, _null = null;
  77304. if (node.isGuarded) {
  77305. if (node.namespace == null && _this._environment._variables.length === 1) {
  77306. t1 = node.name;
  77307. _this._environment._configurableVariables.add$1(0, t1);
  77308. t2 = _this._configuration._configuration$_values;
  77309. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  77310. t1 = {};
  77311. t1.override = null;
  77312. if (_0_0 != null) {
  77313. t1.override = _0_0;
  77314. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77315. } else
  77316. t2 = false;
  77317. if (t2) {
  77318. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77319. return _null;
  77320. }
  77321. }
  77322. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77323. if (value != null && !value.$eq(0, B.C__SassNull))
  77324. return _null;
  77325. }
  77326. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77327. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77328. _this._warn$3(t1, node.span, B.Deprecation_Rg0);
  77329. }
  77330. t1 = node.expression;
  77331. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77332. return _null;
  77333. },
  77334. visitUseRule$1(_, node) {
  77335. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77336. t1 = node.configuration,
  77337. t2 = t1.length;
  77338. if (t2 !== 0) {
  77339. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77340. for (_i = 0; _i < t2; ++_i) {
  77341. variable = t1[_i];
  77342. t3 = variable.expression;
  77343. variableNodeWithSpan = _this._expressionNode$1(t3);
  77344. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77345. }
  77346. configuration = new A.ExplicitConfiguration(node, values, null);
  77347. } else
  77348. configuration = B.Configuration_Map_empty_null;
  77349. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77350. _this._assertConfigurationIsEmpty$1(configuration);
  77351. return null;
  77352. },
  77353. visitWarnRule$1(_, node) {
  77354. var _this = this,
  77355. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77356. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77357. t2 = _this._evaluate$_stackTrace$1(node.span);
  77358. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77359. return null;
  77360. },
  77361. visitWhileRule$1(_, node) {
  77362. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77363. },
  77364. visitBinaryOperationExpression$1(_, node) {
  77365. var t1, _this = this;
  77366. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77367. t1 = node.operator;
  77368. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  77369. } else
  77370. t1 = false;
  77371. if (t1)
  77372. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77373. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77374. },
  77375. _slash$3(left, right, node) {
  77376. var left0, _1_2,
  77377. result = left.dividedBy$1(right),
  77378. _1_2_isSet = left instanceof A.SassNumber,
  77379. right0 = null,
  77380. t1 = false;
  77381. if (_1_2_isSet) {
  77382. if (right instanceof A.SassNumber) {
  77383. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77384. right0 = right;
  77385. }
  77386. left0 = left;
  77387. _1_2 = right;
  77388. } else {
  77389. _1_2 = null;
  77390. left0 = null;
  77391. }
  77392. if (t1)
  77393. return type$.SassNumber._as(result).withSlash$2(left0, right0);
  77394. if (left instanceof A.SassNumber)
  77395. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77396. else
  77397. t1 = false;
  77398. if (t1) {
  77399. 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);
  77400. return result;
  77401. }
  77402. return result;
  77403. },
  77404. _operandAllowsSlash$1(node) {
  77405. var t1;
  77406. if (node instanceof A.FunctionExpression)
  77407. if (node.namespace == null) {
  77408. t1 = node.name;
  77409. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77410. } else
  77411. t1 = false;
  77412. else
  77413. t1 = true;
  77414. return t1;
  77415. },
  77416. visitValueExpression$1(_, node) {
  77417. return node.value;
  77418. },
  77419. visitVariableExpression$1(_, node) {
  77420. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77421. if (result != null)
  77422. return result;
  77423. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77424. },
  77425. visitUnaryOperationExpression$1(_, node) {
  77426. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77427. },
  77428. visitBooleanExpression$1(_, node) {
  77429. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77430. },
  77431. visitIfExpression$1(_, node) {
  77432. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77433. _0_0 = _this._evaluateMacroArguments$1(node),
  77434. positional = _0_0._0,
  77435. named = _0_0._1;
  77436. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77437. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77438. if (condition == null) {
  77439. t1 = named.$index(0, "condition");
  77440. t1.toString;
  77441. condition = t1;
  77442. }
  77443. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77444. if (ifTrue == null) {
  77445. t1 = named.$index(0, "if-true");
  77446. t1.toString;
  77447. ifTrue = t1;
  77448. }
  77449. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77450. if (ifFalse == null) {
  77451. t1 = named.$index(0, "if-false");
  77452. t1.toString;
  77453. ifFalse = t1;
  77454. }
  77455. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77456. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77457. },
  77458. visitNullExpression$1(_, node) {
  77459. return B.C__SassNull;
  77460. },
  77461. visitNumberExpression$1(_, node) {
  77462. return A.SassNumber_SassNumber(node.value, node.unit);
  77463. },
  77464. visitParenthesizedExpression$1(_, node) {
  77465. var _this = this;
  77466. 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);
  77467. },
  77468. visitColorExpression$1(_, node) {
  77469. return node.value;
  77470. },
  77471. visitListExpression$1(_, node) {
  77472. var t1 = node.contents;
  77473. 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);
  77474. },
  77475. visitMapExpression$1(_, node) {
  77476. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77477. t1 = type$.Value,
  77478. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77479. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77480. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77481. t4 = t2[_i];
  77482. key = t4._0;
  77483. keyValue = key.accept$1(this);
  77484. valueValue = t4._1.accept$1(this);
  77485. if (map.containsKey$1(keyValue)) {
  77486. t1 = keyNodes.$index(0, keyValue);
  77487. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77488. t1 = key.get$span(key);
  77489. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77490. if (oldValueSpan != null)
  77491. t2.$indexSet(0, oldValueSpan, "first key");
  77492. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77493. }
  77494. map.$indexSet(0, keyValue, valueValue);
  77495. keyNodes.$indexSet(0, keyValue, key);
  77496. }
  77497. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77498. },
  77499. visitFunctionExpression$1(_, node) {
  77500. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77501. _s11_ = "_stylesheet",
  77502. t1 = {},
  77503. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77504. t1.$function = $function;
  77505. if ($function == null) {
  77506. if (node.namespace != null)
  77507. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77508. t2 = node.name;
  77509. _0_0 = t2.toLowerCase();
  77510. t3 = false;
  77511. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77512. t3 = node.$arguments;
  77513. t4 = t3.named;
  77514. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77515. $name = _0_0;
  77516. } else
  77517. $name = null;
  77518. if (t3)
  77519. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  77520. 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)
  77521. return _this._visitCalculation$1(node);
  77522. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  77523. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  77524. } else
  77525. t2 = $function;
  77526. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  77527. _this._warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  77528. oldInFunction = _this._inFunction;
  77529. _this._inFunction = true;
  77530. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  77531. _this._inFunction = oldInFunction;
  77532. return result;
  77533. },
  77534. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  77535. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  77536. t2 = node.$arguments,
  77537. t3 = t2.named;
  77538. if (t3.get$isNotEmpty(t3))
  77539. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  77540. else if (t2.rest != null)
  77541. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  77542. _this._checkCalculationArguments$1(node);
  77543. t3 = A._setArrayType([], type$.JSArray_Object);
  77544. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  77545. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77546. $arguments = t3;
  77547. if (_this._inSupportsDeclaration)
  77548. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  77549. oldCallableNode = _this._callableNode;
  77550. _this._callableNode = node;
  77551. try {
  77552. t1 = null;
  77553. t3 = node.name;
  77554. _0_0 = t3.toLowerCase();
  77555. $label0$0: {
  77556. if ("calc" === _0_0) {
  77557. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  77558. break $label0$0;
  77559. }
  77560. if ("sqrt" === _0_0) {
  77561. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  77562. break $label0$0;
  77563. }
  77564. if ("sin" === _0_0) {
  77565. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  77566. break $label0$0;
  77567. }
  77568. if ("cos" === _0_0) {
  77569. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  77570. break $label0$0;
  77571. }
  77572. if ("tan" === _0_0) {
  77573. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  77574. break $label0$0;
  77575. }
  77576. if ("asin" === _0_0) {
  77577. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  77578. break $label0$0;
  77579. }
  77580. if ("acos" === _0_0) {
  77581. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  77582. break $label0$0;
  77583. }
  77584. if ("atan" === _0_0) {
  77585. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  77586. break $label0$0;
  77587. }
  77588. if ("abs" === _0_0) {
  77589. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  77590. break $label0$0;
  77591. }
  77592. if ("exp" === _0_0) {
  77593. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  77594. break $label0$0;
  77595. }
  77596. if ("sign" === _0_0) {
  77597. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  77598. break $label0$0;
  77599. }
  77600. if ("min" === _0_0) {
  77601. t1 = A.SassCalculation_min($arguments);
  77602. break $label0$0;
  77603. }
  77604. if ("max" === _0_0) {
  77605. t1 = A.SassCalculation_max($arguments);
  77606. break $label0$0;
  77607. }
  77608. if ("hypot" === _0_0) {
  77609. t1 = A.SassCalculation_hypot($arguments);
  77610. break $label0$0;
  77611. }
  77612. if ("pow" === _0_0) {
  77613. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77614. break $label0$0;
  77615. }
  77616. if ("atan2" === _0_0) {
  77617. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77618. break $label0$0;
  77619. }
  77620. if ("log" === _0_0) {
  77621. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77622. break $label0$0;
  77623. }
  77624. if ("mod" === _0_0) {
  77625. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77626. break $label0$0;
  77627. }
  77628. if ("rem" === _0_0) {
  77629. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77630. break $label0$0;
  77631. }
  77632. if ("round" === _0_0) {
  77633. 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));
  77634. break $label0$0;
  77635. }
  77636. if ("clamp" === _0_0) {
  77637. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  77638. break $label0$0;
  77639. }
  77640. if ("calc-size" === _0_0) {
  77641. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77642. break $label0$0;
  77643. }
  77644. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  77645. t1 = A.throwExpression(t3);
  77646. }
  77647. t1 = t1;
  77648. return t1;
  77649. } catch (exception) {
  77650. t1 = A.unwrapException(exception);
  77651. if (t1 instanceof A.SassScriptException) {
  77652. error = t1;
  77653. stackTrace = A.getTraceFromException(exception);
  77654. if (B.JSString_methods.contains$1(error.message, "compatible"))
  77655. _this._verifyCompatibleNumbers$2($arguments, t2);
  77656. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  77657. } else
  77658. throw exception;
  77659. } finally {
  77660. _this._callableNode = oldCallableNode;
  77661. }
  77662. },
  77663. _visitCalculation$1(node) {
  77664. return this._visitCalculation$2$inLegacySassFunction(node, null);
  77665. },
  77666. _checkCalculationArguments$1(node) {
  77667. var t1, _0_0,
  77668. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  77669. $label0$0: {
  77670. t1 = node.name;
  77671. _0_0 = t1.toLowerCase();
  77672. 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) {
  77673. check.call$1(1);
  77674. break $label0$0;
  77675. }
  77676. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  77677. check.call$0();
  77678. break $label0$0;
  77679. }
  77680. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  77681. check.call$1(2);
  77682. break $label0$0;
  77683. }
  77684. if ("round" === _0_0 || "clamp" === _0_0) {
  77685. check.call$1(3);
  77686. break $label0$0;
  77687. }
  77688. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  77689. }
  77690. },
  77691. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  77692. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  77693. for (i = 0; t1 = args.length, i < t1; ++i) {
  77694. _0_0 = args[i];
  77695. if (_0_0 instanceof A.SassNumber) {
  77696. t1 = _0_0.get$hasComplexUnits();
  77697. arg = _0_0;
  77698. } else {
  77699. arg = null;
  77700. t1 = false;
  77701. }
  77702. if (t1) {
  77703. t1 = A.S(arg);
  77704. t2 = nodesWithSpans[i];
  77705. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  77706. }
  77707. }
  77708. for (i = 0; i < t1 - 1; ++i) {
  77709. number1 = args[i];
  77710. if (!(number1 instanceof A.SassNumber))
  77711. continue;
  77712. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  77713. number2 = args[j];
  77714. if (!(number2 instanceof A.SassNumber))
  77715. continue;
  77716. if (number1.hasPossiblyCompatibleUnits$1(number2))
  77717. continue;
  77718. t1 = number1.toString$0(0);
  77719. t2 = number2.toString$0(0);
  77720. t3 = nodesWithSpans[i];
  77721. t3 = t3.get$span(t3);
  77722. t4 = number1.toString$0(0);
  77723. t5 = nodesWithSpans[j];
  77724. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  77725. t6 = nodesWithSpans[i];
  77726. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  77727. }
  77728. }
  77729. },
  77730. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  77731. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  77732. t1 = node instanceof A.ParenthesizedExpression,
  77733. inner = t1 ? node.expression : _null;
  77734. if (t1) {
  77735. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  77736. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  77737. }
  77738. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  77739. t1 = node.text;
  77740. t2 = t1.get$asPlain();
  77741. _0_0 = t2 == null ? _null : t2.toLowerCase();
  77742. $label0$0: {
  77743. if ("pi" === _0_0) {
  77744. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  77745. break $label0$0;
  77746. }
  77747. if ("e" === _0_0) {
  77748. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  77749. break $label0$0;
  77750. }
  77751. if ("infinity" === _0_0) {
  77752. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  77753. break $label0$0;
  77754. }
  77755. if ("-infinity" === _0_0) {
  77756. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  77757. break $label0$0;
  77758. }
  77759. if ("nan" === _0_0) {
  77760. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  77761. break $label0$0;
  77762. }
  77763. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  77764. break $label0$0;
  77765. }
  77766. return t1;
  77767. }
  77768. _box_0 = {};
  77769. _box_0.right = _box_0.left = _box_0.operator = null;
  77770. t1 = node instanceof A.BinaryOperationExpression;
  77771. if (t1) {
  77772. _box_0.operator = node.operator;
  77773. _box_0.left = node.left;
  77774. _box_0.right = node.right;
  77775. }
  77776. if (t1) {
  77777. _this._checkWhitespaceAroundCalculationOperator$1(node);
  77778. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  77779. }
  77780. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  77781. _1_0 = node.accept$1(_this);
  77782. $label1$1: {
  77783. if (_1_0 instanceof A.SassNumber) {
  77784. t1 = _1_0;
  77785. break $label1$1;
  77786. }
  77787. if (_1_0 instanceof A.SassCalculation) {
  77788. t1 = _1_0;
  77789. break $label1$1;
  77790. }
  77791. if (_1_0 instanceof A.SassString) {
  77792. t1 = !_1_0._hasQuotes;
  77793. result = _1_0;
  77794. } else {
  77795. result = _null;
  77796. t1 = false;
  77797. }
  77798. if (t1) {
  77799. t1 = result;
  77800. break $label1$1;
  77801. }
  77802. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  77803. }
  77804. return t1;
  77805. }
  77806. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2) {
  77807. t1 = A._setArrayType([], type$.JSArray_Object);
  77808. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77809. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77810. _this._checkAdjacentCalculationValues$2(t1, node);
  77811. for (i = 0; i < t1.length; ++i) {
  77812. t3 = t1[i];
  77813. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  77814. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  77815. }
  77816. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  77817. }
  77818. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  77819. },
  77820. _checkWhitespaceAroundCalculationOperator$1(node) {
  77821. var t2, t3, t4, textBetweenOperands, first, last,
  77822. t1 = node.operator;
  77823. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  77824. return;
  77825. t1 = node.left;
  77826. t2 = t1.get$span(t1);
  77827. t2 = t2.get$file(t2);
  77828. t3 = node.right;
  77829. t4 = t3.get$span(t3);
  77830. if (t2 !== t4.get$file(t4))
  77831. return;
  77832. t2 = t1.get$span(t1);
  77833. t2 = t2.get$end(t2);
  77834. t4 = t3.get$span(t3);
  77835. if (t2.offset >= t4.get$start(t4).offset)
  77836. return;
  77837. t2 = t1.get$span(t1);
  77838. t2 = t2.get$file(t2);
  77839. t1 = t1.get$span(t1);
  77840. t1 = t1.get$end(t1);
  77841. t3 = t3.get$span(t3);
  77842. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  77843. first = textBetweenOperands.charCodeAt(0);
  77844. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  77845. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  77846. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  77847. else
  77848. t1 = true;
  77849. if (t1)
  77850. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  77851. },
  77852. _binaryOperatorToCalculationOperator$2(operator, node) {
  77853. var t1;
  77854. $label0$0: {
  77855. if (B.BinaryOperator_Swh === operator) {
  77856. t1 = B.CalculationOperator_F7i;
  77857. break $label0$0;
  77858. }
  77859. if (B.BinaryOperator_QG1 === operator) {
  77860. t1 = B.CalculationOperator_oum;
  77861. break $label0$0;
  77862. }
  77863. if (B.BinaryOperator_tht === operator) {
  77864. t1 = B.CalculationOperator_kkN;
  77865. break $label0$0;
  77866. }
  77867. if (B.BinaryOperator_Mh5 === operator) {
  77868. t1 = B.CalculationOperator_bo5;
  77869. break $label0$0;
  77870. }
  77871. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  77872. }
  77873. return t1;
  77874. },
  77875. _checkAdjacentCalculationValues$2(elements, node) {
  77876. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  77877. for (t1 = elements.length, i = 1; i < t1; ++i) {
  77878. t2 = i - 1;
  77879. previous = elements[t2];
  77880. current = elements[i];
  77881. if (previous instanceof A.SassString || current instanceof A.SassString)
  77882. continue;
  77883. t1 = node.contents;
  77884. previousNode = t1[t2];
  77885. currentNode = t1[i];
  77886. if (currentNode instanceof A.UnaryOperationExpression) {
  77887. _0_2 = currentNode.operator;
  77888. if (B.UnaryOperator_UCP !== _0_2)
  77889. t1 = B.UnaryOperator_Rbl === _0_2;
  77890. else
  77891. t1 = true;
  77892. } else
  77893. t1 = false;
  77894. if (!t1)
  77895. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  77896. else
  77897. t1 = true;
  77898. if (t1)
  77899. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  77900. else
  77901. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  77902. }
  77903. },
  77904. visitInterpolatedFunctionExpression$1(_, node) {
  77905. var result, _this = this,
  77906. t1 = _this._performInterpolation$1(node.name),
  77907. oldInFunction = _this._inFunction;
  77908. _this._inFunction = true;
  77909. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  77910. _this._inFunction = oldInFunction;
  77911. return result;
  77912. },
  77913. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  77914. var oldInDependency, result, _this = this,
  77915. evaluated = _this._evaluateArguments$1($arguments),
  77916. $name = callable.declaration.name;
  77917. if ($name !== "@content")
  77918. $name += "()";
  77919. oldInDependency = _this._inDependency;
  77920. _this._inDependency = callable.inDependency;
  77921. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  77922. _this._inDependency = oldInDependency;
  77923. return result;
  77924. },
  77925. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  77926. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  77927. if (callable instanceof A.BuiltInCallable)
  77928. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  77929. else if (type$.UserDefinedCallable_Environment._is(callable))
  77930. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  77931. else if (callable instanceof A.PlainCssCallable) {
  77932. t1 = $arguments.named;
  77933. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  77934. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  77935. buffer = new A.StringBuffer(callable.name + "(");
  77936. try {
  77937. first = true;
  77938. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77939. argument = t1[_i];
  77940. if (first)
  77941. first = false;
  77942. else
  77943. buffer._contents += ", ";
  77944. t3 = buffer;
  77945. t4 = argument;
  77946. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  77947. t3._contents += t4;
  77948. }
  77949. restArg = $arguments.rest;
  77950. if (restArg != null) {
  77951. rest = restArg.accept$1(_this);
  77952. if (!first)
  77953. buffer._contents += ", ";
  77954. t1 = buffer;
  77955. t2 = _this._evaluate$_serialize$2(rest, restArg);
  77956. t1._contents += t2;
  77957. }
  77958. } catch (exception) {
  77959. t1 = A.unwrapException(exception);
  77960. if (type$.SassRuntimeException._is(t1)) {
  77961. error = t1;
  77962. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  77963. throw exception;
  77964. 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));
  77965. } else
  77966. throw exception;
  77967. }
  77968. t1 = buffer;
  77969. t2 = A.Primitives_stringFromCharCode(41);
  77970. t1._contents += t2;
  77971. t2 = buffer._contents;
  77972. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  77973. } else
  77974. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  77975. },
  77976. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  77977. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  77978. evaluated = _this._evaluateArguments$1($arguments),
  77979. oldCallableNode = _this._callableNode;
  77980. _this._callableNode = nodeWithSpan;
  77981. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  77982. _box_0.callback = _box_0.overload = null;
  77983. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  77984. _box_0.overload = _0_0._0;
  77985. _box_0.callback = _0_0._1;
  77986. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  77987. parameters = _box_0.overload.parameters;
  77988. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  77989. parameter = parameters[i];
  77990. t2 = evaluated._values[2];
  77991. t3 = evaluated._values[0].remove$1(0, parameter.name);
  77992. if (t3 == null) {
  77993. t3 = parameter.defaultValue;
  77994. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  77995. }
  77996. t2.push(t3);
  77997. }
  77998. if (_box_0.overload.restParameter != null) {
  77999. if (evaluated._values[2].length > t1) {
  78000. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  78001. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  78002. } else
  78003. rest = B.List_empty8;
  78004. t1 = evaluated._values[0];
  78005. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  78006. evaluated._values[2].push(argumentList);
  78007. } else
  78008. argumentList = null;
  78009. result = null;
  78010. try {
  78011. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  78012. } catch (exception) {
  78013. t1 = A.unwrapException(exception);
  78014. if (t1 instanceof A.SassException)
  78015. throw exception;
  78016. else {
  78017. error = t1;
  78018. stackTrace = A.getTraceFromException(exception);
  78019. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  78020. }
  78021. }
  78022. _this._callableNode = oldCallableNode;
  78023. if (argumentList == null)
  78024. return result;
  78025. if (evaluated._values[0].__js_helper$_length === 0)
  78026. return result;
  78027. if (argumentList._wereKeywordsAccessed)
  78028. return result;
  78029. 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));
  78030. },
  78031. _evaluateArguments$1($arguments) {
  78032. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  78033. positional = A._setArrayType([], type$.JSArray_Value),
  78034. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  78035. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  78036. expression = t1[_i];
  78037. nodeForSpan = _this._expressionNode$1(expression);
  78038. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  78039. positionalNodes.push(nodeForSpan);
  78040. }
  78041. t1 = type$.String;
  78042. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  78043. t2 = type$.AstNode;
  78044. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78045. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78046. t4 = t3.get$current(t3);
  78047. $name = t4._0;
  78048. value = t4._1;
  78049. nodeForSpan = _this._expressionNode$1(value);
  78050. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  78051. namedNodes.$indexSet(0, $name, nodeForSpan);
  78052. }
  78053. restArgs = $arguments.rest;
  78054. if (restArgs == null)
  78055. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  78056. rest = restArgs.accept$1(_this);
  78057. restNodeForSpan = _this._expressionNode$1(restArgs);
  78058. if (rest instanceof A.SassMap) {
  78059. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  78060. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78061. for (t4 = rest._map$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString; t4.moveNext$0();)
  78062. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  78063. namedNodes.addAll$1(0, t3);
  78064. separator = B.ListSeparator_undecided_null_undecided;
  78065. } else if (rest instanceof A.SassList) {
  78066. t3 = rest._list$_contents;
  78067. 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>")));
  78068. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  78069. separator = rest._separator;
  78070. if (rest instanceof A.SassArgumentList) {
  78071. rest._wereKeywordsAccessed = true;
  78072. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  78073. }
  78074. } else {
  78075. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  78076. positionalNodes.push(restNodeForSpan);
  78077. separator = B.ListSeparator_undecided_null_undecided;
  78078. }
  78079. keywordRestArgs = $arguments.keywordRest;
  78080. if (keywordRestArgs == null)
  78081. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78082. keywordRest = keywordRestArgs.accept$1(_this);
  78083. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  78084. if (keywordRest instanceof A.SassMap) {
  78085. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  78086. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78087. for (t2 = keywordRest._map$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString; t2.moveNext$0();)
  78088. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  78089. namedNodes.addAll$1(0, t1);
  78090. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78091. } else
  78092. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  78093. },
  78094. _evaluateMacroArguments$1(invocation) {
  78095. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  78096. t1 = invocation.$arguments,
  78097. restArgs_ = t1.rest;
  78098. if (restArgs_ == null)
  78099. return new A._Record_2(t1.positional, t1.named);
  78100. t2 = t1.positional;
  78101. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  78102. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  78103. rest = restArgs_.accept$1(_this);
  78104. restNodeForSpan = _this._expressionNode$1(restArgs_);
  78105. if (rest instanceof A.SassMap)
  78106. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  78107. else if (rest instanceof A.SassList) {
  78108. t2 = rest._list$_contents;
  78109. 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>")));
  78110. if (rest instanceof A.SassArgumentList) {
  78111. rest._wereKeywordsAccessed = true;
  78112. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  78113. }
  78114. } else
  78115. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  78116. keywordRestArgs_ = t1.keywordRest;
  78117. if (keywordRestArgs_ == null)
  78118. return new A._Record_2(positional, named);
  78119. keywordRest = keywordRestArgs_.accept$1(_this);
  78120. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  78121. if (keywordRest instanceof A.SassMap) {
  78122. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  78123. return new A._Record_2(positional, named);
  78124. } else
  78125. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  78126. },
  78127. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  78128. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  78129. },
  78130. _addRestMap$4(values, map, nodeWithSpan, convert) {
  78131. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  78132. },
  78133. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  78134. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  78135. },
  78136. visitSelectorExpression$1(_, node) {
  78137. var t1 = this._styleRuleIgnoringAtRoot;
  78138. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  78139. return t1 == null ? B.C__SassNull : t1;
  78140. },
  78141. visitStringExpression$1(_, node) {
  78142. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  78143. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78144. _this._inSupportsDeclaration = false;
  78145. t1 = A._setArrayType([], type$.JSArray_String);
  78146. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78147. value = t2[_i];
  78148. $label0$0: {
  78149. if (typeof value == "string") {
  78150. t4 = value;
  78151. break $label0$0;
  78152. }
  78153. if (value instanceof A.Expression) {
  78154. _0_0 = value.accept$1(_this);
  78155. $label1$1: {
  78156. if (_0_0 instanceof A.SassString) {
  78157. text = _0_0._string$_text;
  78158. t4 = text;
  78159. break $label1$1;
  78160. }
  78161. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78162. break $label1$1;
  78163. }
  78164. break $label0$0;
  78165. }
  78166. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78167. }
  78168. t1.push(t4);
  78169. }
  78170. t1 = B.JSArray_methods.join$0(t1);
  78171. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78172. return new A.SassString(t1, node.hasQuotes);
  78173. },
  78174. visitSupportsExpression$1(_, expression) {
  78175. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78176. },
  78177. visitCssAtRule$1(node) {
  78178. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78179. if (_this._declarationName != null)
  78180. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78181. if (node.isChildless) {
  78182. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78183. return;
  78184. }
  78185. wasInKeyframes = _this._inKeyframes;
  78186. wasInUnknownAtRule = _this._inUnknownAtRule;
  78187. t1 = node.name;
  78188. if (A.unvendor(t1.value) === "keyframes")
  78189. _this._inKeyframes = true;
  78190. else
  78191. _this._inUnknownAtRule = true;
  78192. _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);
  78193. _this._inUnknownAtRule = wasInUnknownAtRule;
  78194. _this._inKeyframes = wasInKeyframes;
  78195. },
  78196. visitCssComment$1(node) {
  78197. var _this = this,
  78198. _s8_ = "__parent",
  78199. _s13_ = "_endOfImports";
  78200. 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))
  78201. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78202. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78203. },
  78204. visitCssDeclaration$1(node) {
  78205. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  78206. },
  78207. visitCssImport$1(node) {
  78208. var t1, _this = this,
  78209. _s8_ = "__parent",
  78210. _s5_ = "_root",
  78211. _s13_ = "_endOfImports",
  78212. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78213. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  78214. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78215. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78216. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78217. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78218. } else {
  78219. t1 = _this._outOfOrderImports;
  78220. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78221. }
  78222. },
  78223. visitCssKeyframeBlock$1(node) {
  78224. 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);
  78225. },
  78226. visitCssMediaRule$1(node) {
  78227. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78228. if (_this._declarationName != null)
  78229. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78230. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78231. t1 = mergedQueries == null;
  78232. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78233. return;
  78234. if (t1)
  78235. mergedSources = B.Set_empty2;
  78236. else {
  78237. t2 = _this._mediaQuerySources;
  78238. t2.toString;
  78239. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78240. t3 = _this._mediaQueries;
  78241. t3.toString;
  78242. t2.addAll$1(0, t3);
  78243. t2.addAll$1(0, node.queries);
  78244. mergedSources = t2;
  78245. }
  78246. t1 = t1 ? node.queries : mergedQueries;
  78247. _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);
  78248. },
  78249. visitCssStyleRule$1(node) {
  78250. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  78251. _s8_ = "__parent";
  78252. if (_this._declarationName != null)
  78253. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78254. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78255. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78256. t1 = _this._atRootExcludingStyleRule;
  78257. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78258. _0_0 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78259. $label0$0: {
  78260. if (_0_0 == null) {
  78261. t1 = true;
  78262. break $label0$0;
  78263. }
  78264. if (_0_0.fromPlainCss) {
  78265. t1 = false;
  78266. break $label0$0;
  78267. }
  78268. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  78269. break $label0$0;
  78270. }
  78271. t2 = node._style_rule$_selector._box$_inner;
  78272. if (t1) {
  78273. t2 = t2.value;
  78274. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78275. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._atRootExcludingStyleRule, node.fromPlainCss);
  78276. } else
  78277. originalSelector = t2.value;
  78278. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78279. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78280. _this._atRootExcludingStyleRule = false;
  78281. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78282. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78283. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78284. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78285. t2 = J.getInterceptor$asx(t1);
  78286. _1_1 = t2.get$length(t1);
  78287. if (_1_1 >= 1) {
  78288. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  78289. t1 = styleRule == null;
  78290. } else {
  78291. lastChild = _null;
  78292. t1 = false;
  78293. }
  78294. if (t1)
  78295. lastChild.isGroupEnd = true;
  78296. },
  78297. visitCssStylesheet$1(node) {
  78298. var t1;
  78299. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78300. t1.get$current(t1).accept$1(this);
  78301. },
  78302. visitCssSupportsRule$1(node) {
  78303. var _this = this;
  78304. if (_this._declarationName != null)
  78305. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78306. _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);
  78307. },
  78308. _handleReturn$1$2(list, callback) {
  78309. var t1, _i, _0_0;
  78310. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78311. _0_0 = callback.call$1(list[_i]);
  78312. if (_0_0 != null)
  78313. return _0_0;
  78314. }
  78315. return null;
  78316. },
  78317. _handleReturn$2(list, callback) {
  78318. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78319. },
  78320. _withEnvironment$1$2(environment, callback) {
  78321. var result,
  78322. oldEnvironment = this._environment;
  78323. this._environment = environment;
  78324. result = callback.call$0();
  78325. this._environment = oldEnvironment;
  78326. return result;
  78327. },
  78328. _withEnvironment$2(environment, callback) {
  78329. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78330. },
  78331. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78332. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78333. t1 = trim ? A.trimAscii(result, true) : result;
  78334. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78335. },
  78336. _interpolationToValue$1(interpolation) {
  78337. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78338. },
  78339. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78340. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78341. },
  78342. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78343. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78344. },
  78345. _performInterpolation$1(interpolation) {
  78346. return this._performInterpolation$2$warnForColor(interpolation, false);
  78347. },
  78348. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78349. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78350. map = _0_0._1;
  78351. map.toString;
  78352. return new A._Record_2(_0_0._0, map);
  78353. },
  78354. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78355. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  78356. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  78357. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78358. _this._inSupportsDeclaration = false;
  78359. 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) {
  78360. value = t1[_i];
  78361. if (!first)
  78362. if (!t4)
  78363. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  78364. if (typeof value == "string") {
  78365. t7 += value;
  78366. continue;
  78367. }
  78368. t3._as(value);
  78369. result = value.accept$1(_this);
  78370. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78371. result0 = A.List_List$from([""], false, t6);
  78372. result0.$flags = 3;
  78373. t8 = $.$get$namesByColor();
  78374. _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));
  78375. }
  78376. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78377. }
  78378. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78379. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78380. },
  78381. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78382. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78383. },
  78384. _evaluate$_serialize$2(value, nodeWithSpan) {
  78385. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78386. },
  78387. _expressionNode$1(expression) {
  78388. var t1;
  78389. if (expression instanceof A.VariableExpression) {
  78390. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78391. return t1 == null ? expression : t1;
  78392. } else
  78393. return expression;
  78394. },
  78395. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78396. var oldParent, result, _this = this;
  78397. _this._addChild$2$through(node, through);
  78398. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78399. _this.__parent = node;
  78400. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78401. _this.__parent = oldParent;
  78402. return result;
  78403. },
  78404. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78405. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78406. },
  78407. _withParent$2$2(node, callback, $S, $T) {
  78408. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78409. },
  78410. _addChild$2$through(node, through) {
  78411. var _0_0, grandparent, t1,
  78412. $parent = this._assertInModule$2(this.__parent, "__parent");
  78413. if (through != null) {
  78414. for (; through.call$1($parent); $parent = _0_0) {
  78415. _0_0 = $parent._parent;
  78416. if (_0_0 == null)
  78417. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78418. }
  78419. if ($parent.get$hasFollowingSibling()) {
  78420. grandparent = $parent._parent;
  78421. t1 = grandparent.children;
  78422. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78423. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78424. else {
  78425. $parent = $parent.copyWithoutChildren$0();
  78426. grandparent.addChild$1($parent);
  78427. }
  78428. }
  78429. }
  78430. $parent.addChild$1(node);
  78431. },
  78432. _addChild$1(node) {
  78433. return this._addChild$2$through(node, null);
  78434. },
  78435. _withStyleRule$1$2(rule, callback) {
  78436. var result,
  78437. oldRule = this._styleRuleIgnoringAtRoot;
  78438. this._styleRuleIgnoringAtRoot = rule;
  78439. result = callback.call$0();
  78440. this._styleRuleIgnoringAtRoot = oldRule;
  78441. return result;
  78442. },
  78443. _withStyleRule$2(rule, callback) {
  78444. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78445. },
  78446. _withMediaQueries$1$3(queries, sources, callback) {
  78447. var result, _this = this,
  78448. oldMediaQueries = _this._mediaQueries,
  78449. oldSources = _this._mediaQuerySources;
  78450. _this._mediaQueries = queries;
  78451. _this._mediaQuerySources = sources;
  78452. result = callback.call$0();
  78453. _this._mediaQueries = oldMediaQueries;
  78454. _this._mediaQuerySources = oldSources;
  78455. return result;
  78456. },
  78457. _withMediaQueries$3(queries, sources, callback) {
  78458. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78459. },
  78460. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78461. var oldMember, result, _this = this,
  78462. t1 = _this._stack;
  78463. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78464. oldMember = _this._member;
  78465. _this._member = member;
  78466. result = callback.call$0();
  78467. _this._member = oldMember;
  78468. t1.pop();
  78469. return result;
  78470. },
  78471. _withStackFrame$3(member, nodeWithSpan, callback) {
  78472. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78473. },
  78474. _withoutSlash$2(value, nodeForSpan) {
  78475. var t1;
  78476. if (value instanceof A.SassNumber)
  78477. t1 = value.asSlash != null;
  78478. else
  78479. t1 = false;
  78480. if (t1)
  78481. 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);
  78482. return value.withoutSlash$0();
  78483. },
  78484. _stackFrame$2(member, span) {
  78485. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78486. },
  78487. _evaluate$_stackTrace$1(span) {
  78488. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78489. t1 = A._setArrayType([], type$.JSArray_Frame);
  78490. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78491. t4 = t2[_i];
  78492. nodeWithSpan = t4._1;
  78493. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78494. }
  78495. if (span != null)
  78496. t1.push(_this._stackFrame$2(_this._member, span));
  78497. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  78498. },
  78499. _evaluate$_stackTrace$0() {
  78500. return this._evaluate$_stackTrace$1(null);
  78501. },
  78502. _warn$3(message, span, deprecation) {
  78503. var trace, t1, _this = this;
  78504. if (_this._quietDeps && _this._inDependency)
  78505. return;
  78506. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  78507. return;
  78508. trace = _this._evaluate$_stackTrace$1(span);
  78509. t1 = _this._logger;
  78510. if (deprecation == null)
  78511. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  78512. else
  78513. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  78514. },
  78515. _warn$2(message, span) {
  78516. return this._warn$3(message, span, null);
  78517. },
  78518. _evaluate$_exception$2(message, span) {
  78519. var t1, t2;
  78520. if (span == null) {
  78521. t1 = B.JSArray_methods.get$last(this._stack)._1;
  78522. t1 = t1.get$span(t1);
  78523. } else
  78524. t1 = span;
  78525. t2 = this._evaluate$_stackTrace$1(span);
  78526. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  78527. },
  78528. _evaluate$_exception$1(message) {
  78529. return this._evaluate$_exception$2(message, null);
  78530. },
  78531. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  78532. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  78533. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  78534. },
  78535. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78536. var error, stackTrace, t1, exception;
  78537. try {
  78538. t1 = callback.call$0();
  78539. return t1;
  78540. } catch (exception) {
  78541. t1 = A.unwrapException(exception);
  78542. if (t1 instanceof A.SassScriptException) {
  78543. error = t1;
  78544. stackTrace = A.getTraceFromException(exception);
  78545. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  78546. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  78547. } else
  78548. throw exception;
  78549. }
  78550. },
  78551. _addExceptionSpan$2(nodeWithSpan, callback) {
  78552. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  78553. },
  78554. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78555. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  78556. },
  78557. _addExceptionTrace$1$1(callback) {
  78558. var error, stackTrace, t1, exception, t2;
  78559. try {
  78560. t1 = callback.call$0();
  78561. return t1;
  78562. } catch (exception) {
  78563. t1 = A.unwrapException(exception);
  78564. if (type$.SassRuntimeException._is(t1))
  78565. throw exception;
  78566. else if (t1 instanceof A.SassException) {
  78567. error = t1;
  78568. stackTrace = A.getTraceFromException(exception);
  78569. t1 = error;
  78570. t2 = J.getInterceptor$z(t1);
  78571. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  78572. } else
  78573. throw exception;
  78574. }
  78575. },
  78576. _addExceptionTrace$1(callback) {
  78577. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  78578. },
  78579. _addErrorSpan$1$2(nodeWithSpan, callback) {
  78580. var error, stackTrace, t1, exception, t2, t3;
  78581. try {
  78582. t1 = callback.call$0();
  78583. return t1;
  78584. } catch (exception) {
  78585. t1 = A.unwrapException(exception);
  78586. if (type$.SassRuntimeException._is(t1)) {
  78587. error = t1;
  78588. stackTrace = A.getTraceFromException(exception);
  78589. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  78590. throw exception;
  78591. t1 = error._span_exception$_message;
  78592. t2 = nodeWithSpan.get$span(nodeWithSpan);
  78593. t3 = this._evaluate$_stackTrace$0();
  78594. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  78595. } else
  78596. throw exception;
  78597. }
  78598. },
  78599. _addErrorSpan$2(nodeWithSpan, callback) {
  78600. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  78601. },
  78602. _getErrorMessage$1(error) {
  78603. var t1, exception;
  78604. if (type$.Error._is(error))
  78605. return error.toString$0(0);
  78606. try {
  78607. t1 = A._asString(J.get$message$x(error));
  78608. return t1;
  78609. } catch (exception) {
  78610. t1 = J.toString$0$(error);
  78611. return t1;
  78612. }
  78613. }
  78614. };
  78615. A._EvaluateVisitor_closure.prototype = {
  78616. call$1($arguments) {
  78617. var module, t2,
  78618. t1 = J.getInterceptor$asx($arguments),
  78619. variable = t1.$index($arguments, 0).assertString$1("name");
  78620. t1 = t1.$index($arguments, 1).get$realNull();
  78621. module = t1 == null ? null : t1.assertString$1("module");
  78622. t1 = this.$this._environment;
  78623. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78624. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  78625. },
  78626. $signature: 12
  78627. };
  78628. A._EvaluateVisitor_closure0.prototype = {
  78629. call$1($arguments) {
  78630. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  78631. t1 = this.$this._environment;
  78632. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78633. },
  78634. $signature: 12
  78635. };
  78636. A._EvaluateVisitor_closure1.prototype = {
  78637. call$1($arguments) {
  78638. var module, t2, t3, t4,
  78639. t1 = J.getInterceptor$asx($arguments),
  78640. variable = t1.$index($arguments, 0).assertString$1("name");
  78641. t1 = t1.$index($arguments, 1).get$realNull();
  78642. module = t1 == null ? null : t1.assertString$1("module");
  78643. t1 = this.$this;
  78644. t2 = t1._environment;
  78645. t3 = variable._string$_text;
  78646. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  78647. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  78648. },
  78649. $signature: 12
  78650. };
  78651. A._EvaluateVisitor_closure2.prototype = {
  78652. call$1($arguments) {
  78653. var module, t2,
  78654. t1 = J.getInterceptor$asx($arguments),
  78655. variable = t1.$index($arguments, 0).assertString$1("name");
  78656. t1 = t1.$index($arguments, 1).get$realNull();
  78657. module = t1 == null ? null : t1.assertString$1("module");
  78658. t1 = this.$this._environment;
  78659. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78660. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78661. },
  78662. $signature: 12
  78663. };
  78664. A._EvaluateVisitor_closure3.prototype = {
  78665. call$1($arguments) {
  78666. var t1 = this.$this._environment;
  78667. if (!t1._inMixin)
  78668. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  78669. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  78670. },
  78671. $signature: 12
  78672. };
  78673. A._EvaluateVisitor_closure4.prototype = {
  78674. call$1($arguments) {
  78675. var t2, t3, t4,
  78676. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78677. module = this.$this._environment._environment$_modules.$index(0, t1);
  78678. if (module == null)
  78679. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78680. t1 = type$.Value;
  78681. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78682. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78683. t4 = t3.get$current(t3);
  78684. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  78685. }
  78686. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78687. },
  78688. $signature: 33
  78689. };
  78690. A._EvaluateVisitor_closure5.prototype = {
  78691. call$1($arguments) {
  78692. var t3, t4, t5,
  78693. t1 = this.$this,
  78694. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78695. module = t1._environment._environment$_modules.$index(0, t2);
  78696. if (module == null)
  78697. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78698. t2 = type$.Value;
  78699. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78700. 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();) {
  78701. t5 = t4.get$current(t4);
  78702. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  78703. }
  78704. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78705. },
  78706. $signature: 33
  78707. };
  78708. A._EvaluateVisitor_closure6.prototype = {
  78709. call$1($arguments) {
  78710. var t3, t4, t5,
  78711. t1 = this.$this,
  78712. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78713. module = t1._environment._environment$_modules.$index(0, t2);
  78714. if (module == null)
  78715. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78716. t2 = type$.Value;
  78717. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78718. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  78719. t5 = t4.get$current(t4);
  78720. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  78721. }
  78722. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78723. },
  78724. $signature: 33
  78725. };
  78726. A._EvaluateVisitor_closure7.prototype = {
  78727. call$1($arguments) {
  78728. var module, t2, callable,
  78729. t1 = J.getInterceptor$asx($arguments),
  78730. $name = t1.$index($arguments, 0).assertString$1("name"),
  78731. css = t1.$index($arguments, 1).get$isTruthy();
  78732. t1 = t1.$index($arguments, 2).get$realNull();
  78733. module = t1 == null ? null : t1.assertString$1("module");
  78734. if (css) {
  78735. if (module != null)
  78736. throw A.wrapException(string$.x24css_a);
  78737. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._compileContext);
  78738. }
  78739. t1 = this.$this;
  78740. t2 = t1._callableNode;
  78741. t2.toString;
  78742. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  78743. if (callable == null)
  78744. throw A.wrapException("Function not found: " + $name.toString$0(0));
  78745. return new A.SassFunction(callable, t1._compileContext);
  78746. },
  78747. $signature: 167
  78748. };
  78749. A._EvaluateVisitor__closure2.prototype = {
  78750. call$0() {
  78751. var local,
  78752. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78753. t1 = this.module,
  78754. namespace = t1 == null ? null : t1._string$_text;
  78755. t1 = this.$this;
  78756. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  78757. if (local != null || namespace != null)
  78758. return local;
  78759. return t1._builtInFunctions.$index(0, normalizedName);
  78760. },
  78761. $signature: 81
  78762. };
  78763. A._EvaluateVisitor_closure8.prototype = {
  78764. call$1($arguments) {
  78765. var module, t2, callable,
  78766. t1 = J.getInterceptor$asx($arguments),
  78767. $name = t1.$index($arguments, 0).assertString$1("name");
  78768. t1 = t1.$index($arguments, 1).get$realNull();
  78769. module = t1 == null ? null : t1.assertString$1("module");
  78770. t1 = this.$this;
  78771. t2 = t1._callableNode;
  78772. t2.toString;
  78773. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  78774. if (callable == null)
  78775. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  78776. return new A.SassMixin(callable, t1._compileContext);
  78777. },
  78778. $signature: 168
  78779. };
  78780. A._EvaluateVisitor__closure1.prototype = {
  78781. call$0() {
  78782. var t1 = this.$this._environment,
  78783. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78784. t3 = this.module;
  78785. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  78786. },
  78787. $signature: 81
  78788. };
  78789. A._EvaluateVisitor_closure9.prototype = {
  78790. call$1($arguments) {
  78791. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  78792. t1 = J.getInterceptor$asx($arguments),
  78793. $function = t1.$index($arguments, 0),
  78794. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78795. t1 = this.$this;
  78796. t2 = t1._callableNode;
  78797. t2.toString;
  78798. t3 = A._setArrayType([], type$.JSArray_Expression);
  78799. t4 = type$.String;
  78800. t5 = type$.Expression;
  78801. t6 = t2.get$span(t2);
  78802. t7 = t2.get$span(t2);
  78803. args._wereKeywordsAccessed = true;
  78804. t8 = args._keywords;
  78805. if (t8.get$isEmpty(t8))
  78806. t2 = null;
  78807. else {
  78808. t9 = type$.Value;
  78809. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  78810. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  78811. t11 = t8.get$current(t8);
  78812. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  78813. }
  78814. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  78815. }
  78816. 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);
  78817. if ($function instanceof A.SassString) {
  78818. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  78819. callableNode = t1._callableNode;
  78820. t2 = $function._string$_text;
  78821. t3 = callableNode.get$span(callableNode);
  78822. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  78823. }
  78824. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._compileContext).callable;
  78825. if (type$.Callable._is(callable)) {
  78826. t2 = t1._callableNode;
  78827. t2.toString;
  78828. return t1._runFunctionCallable$3(invocation, callable, t2);
  78829. } else
  78830. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  78831. },
  78832. $signature: 4
  78833. };
  78834. A._EvaluateVisitor_closure10.prototype = {
  78835. call$1($arguments) {
  78836. var withMap, t2, values, configuration, t3,
  78837. t1 = J.getInterceptor$asx($arguments),
  78838. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  78839. t1 = t1.$index($arguments, 1).get$realNull();
  78840. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  78841. t1 = this.$this;
  78842. t2 = t1._callableNode;
  78843. t2.toString;
  78844. if (withMap != null) {
  78845. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  78846. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  78847. configuration = new A.ExplicitConfiguration(t2, values, null);
  78848. } else
  78849. configuration = B.Configuration_Map_empty_null;
  78850. t3 = t2.get$span(t2);
  78851. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  78852. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  78853. },
  78854. $signature: 188
  78855. };
  78856. A._EvaluateVisitor__closure.prototype = {
  78857. call$2(variable, value) {
  78858. var t1 = variable.assertString$1("with key"),
  78859. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  78860. t1 = this.values;
  78861. if (t1.containsKey$1($name))
  78862. throw A.wrapException("The variable $" + $name + " was configured twice.");
  78863. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  78864. },
  78865. $signature: 95
  78866. };
  78867. A._EvaluateVisitor__closure0.prototype = {
  78868. call$2(module, _) {
  78869. var t1 = this.$this;
  78870. return t1._combineCss$2$clone(module, true).accept$1(t1);
  78871. },
  78872. $signature: 82
  78873. };
  78874. A._EvaluateVisitor_closure11.prototype = {
  78875. call$1($arguments) {
  78876. var callableNode, t2, t3, t4, t5, callable, $content,
  78877. t1 = J.getInterceptor$asx($arguments),
  78878. mixin = t1.$index($arguments, 0),
  78879. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78880. t1 = this.$this;
  78881. callableNode = t1._callableNode;
  78882. t2 = callableNode.get$span(callableNode);
  78883. t3 = callableNode.get$span(callableNode);
  78884. t4 = type$.Expression;
  78885. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  78886. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  78887. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._compileContext).callable;
  78888. $content = t1._environment._content;
  78889. if (type$.Callable._is(callable))
  78890. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  78891. else
  78892. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  78893. },
  78894. $signature: 188
  78895. };
  78896. A._EvaluateVisitor_run_closure.prototype = {
  78897. call$0() {
  78898. var module, _this = this,
  78899. t1 = _this.node,
  78900. t2 = t1.span,
  78901. _0_0 = t2.get$sourceUrl(t2),
  78902. url = null;
  78903. if (_0_0 != null) {
  78904. url = _0_0;
  78905. t2 = _this.$this;
  78906. t2._activeModules.$indexSet(0, url, null);
  78907. t2._loadedUrls.add$1(0, url);
  78908. }
  78909. t2 = _this.$this;
  78910. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  78911. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  78912. },
  78913. $signature: 569
  78914. };
  78915. A._EvaluateVisitor_run__closure.prototype = {
  78916. call$0() {
  78917. return this.$this._execute$2(this.importer, this.node);
  78918. },
  78919. $signature: 570
  78920. };
  78921. A._EvaluateVisitor_runExpression_closure.prototype = {
  78922. call$0() {
  78923. var t1 = this.$this,
  78924. t2 = this.expression;
  78925. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  78926. },
  78927. $signature: 34
  78928. };
  78929. A._EvaluateVisitor_runExpression__closure.prototype = {
  78930. call$0() {
  78931. var t1 = this.$this;
  78932. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  78933. },
  78934. $signature: 34
  78935. };
  78936. A._EvaluateVisitor_runExpression___closure.prototype = {
  78937. call$0() {
  78938. return this.expression.accept$1(this.$this);
  78939. },
  78940. $signature: 34
  78941. };
  78942. A._EvaluateVisitor_runStatement_closure.prototype = {
  78943. call$0() {
  78944. var t1 = this.$this,
  78945. t2 = this.statement;
  78946. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  78947. },
  78948. $signature: 0
  78949. };
  78950. A._EvaluateVisitor_runStatement__closure.prototype = {
  78951. call$0() {
  78952. var t1 = this.$this;
  78953. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  78954. },
  78955. $signature: 0
  78956. };
  78957. A._EvaluateVisitor_runStatement___closure.prototype = {
  78958. call$0() {
  78959. return this.statement.accept$1(this.$this);
  78960. },
  78961. $signature: 0
  78962. };
  78963. A._EvaluateVisitor__loadModule_closure.prototype = {
  78964. call$0() {
  78965. return this.callback.call$2(this._box_0.builtInModule, false);
  78966. },
  78967. $signature: 0
  78968. };
  78969. A._EvaluateVisitor__loadModule_closure0.prototype = {
  78970. call$0() {
  78971. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  78972. t2 = _this.$this,
  78973. t3 = _this.nodeWithSpan,
  78974. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  78975. stylesheet = _1_0._0;
  78976. importer = _1_0._1;
  78977. t4 = stylesheet.span;
  78978. canonicalUrl = t4.get$sourceUrl(t4);
  78979. if (canonicalUrl != null) {
  78980. t4 = t2._activeModules;
  78981. if (t4.containsKey$1(canonicalUrl)) {
  78982. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  78983. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  78984. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  78985. } else
  78986. t4.$indexSet(0, canonicalUrl, t3);
  78987. }
  78988. t4 = t2._modules.containsKey$1(canonicalUrl);
  78989. oldInDependency = t2._inDependency;
  78990. t2._inDependency = _1_0._2;
  78991. t1.module = null;
  78992. try {
  78993. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  78994. } finally {
  78995. t2._activeModules.remove$1(0, canonicalUrl);
  78996. t2._inDependency = oldInDependency;
  78997. }
  78998. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  78999. },
  79000. $signature: 1
  79001. };
  79002. A._EvaluateVisitor__loadModule__closure.prototype = {
  79003. call$1(previousLoad) {
  79004. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  79005. },
  79006. $signature: 105
  79007. };
  79008. A._EvaluateVisitor__loadModule__closure0.prototype = {
  79009. call$0() {
  79010. return this.callback.call$2(this._box_1.module, this.firstLoad);
  79011. },
  79012. $signature: 0
  79013. };
  79014. A._EvaluateVisitor__execute_closure.prototype = {
  79015. call$0() {
  79016. var t3, t4, t5, t6, _this = this,
  79017. t1 = _this.$this,
  79018. oldImporter = t1._importer,
  79019. oldStylesheet = t1.__stylesheet,
  79020. oldRoot = t1.__root,
  79021. oldPreModuleComments = t1._preModuleComments,
  79022. oldParent = t1.__parent,
  79023. oldEndOfImports = t1.__endOfImports,
  79024. oldOutOfOrderImports = t1._outOfOrderImports,
  79025. oldExtensionStore = t1.__extensionStore,
  79026. t2 = t1._atRootExcludingStyleRule,
  79027. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  79028. oldMediaQueries = t1._mediaQueries,
  79029. oldDeclarationName = t1._declarationName,
  79030. oldInUnknownAtRule = t1._inUnknownAtRule,
  79031. oldInKeyframes = t1._inKeyframes,
  79032. oldConfiguration = t1._configuration;
  79033. t1._importer = _this.importer;
  79034. t3 = t1.__stylesheet = _this.stylesheet;
  79035. t4 = t3.span;
  79036. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  79037. t1.__endOfImports = 0;
  79038. t1._outOfOrderImports = null;
  79039. t1.__extensionStore = _this.extensionStore;
  79040. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  79041. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  79042. t6 = _this.configuration;
  79043. if (t6 != null)
  79044. t1._configuration = t6;
  79045. t1.visitStylesheet$1(0, t3);
  79046. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  79047. _this.css.__late_helper$_value = t3;
  79048. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  79049. t1._importer = oldImporter;
  79050. t1.__stylesheet = oldStylesheet;
  79051. t1.__root = oldRoot;
  79052. t1._preModuleComments = oldPreModuleComments;
  79053. t1.__parent = oldParent;
  79054. t1.__endOfImports = oldEndOfImports;
  79055. t1._outOfOrderImports = oldOutOfOrderImports;
  79056. t1.__extensionStore = oldExtensionStore;
  79057. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  79058. t1._mediaQueries = oldMediaQueries;
  79059. t1._declarationName = oldDeclarationName;
  79060. t1._inUnknownAtRule = oldInUnknownAtRule;
  79061. t1._atRootExcludingStyleRule = t2;
  79062. t1._inKeyframes = oldInKeyframes;
  79063. t1._configuration = oldConfiguration;
  79064. },
  79065. $signature: 1
  79066. };
  79067. A._EvaluateVisitor__combineCss_closure.prototype = {
  79068. call$1(module) {
  79069. return module.get$transitivelyContainsCss();
  79070. },
  79071. $signature: 88
  79072. };
  79073. A._EvaluateVisitor__combineCss_closure0.prototype = {
  79074. call$1(target) {
  79075. return !this.selectors.contains$1(0, target);
  79076. },
  79077. $signature: 14
  79078. };
  79079. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  79080. call$1(module) {
  79081. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  79082. if (!_this.seen.add$1(0, module))
  79083. return;
  79084. if (_this.clone)
  79085. module = module.cloneCss$0();
  79086. 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) {
  79087. upstream = t1[_i];
  79088. if (upstream.get$transitivelyContainsCss()) {
  79089. _1_0 = module.get$preModuleComments().$index(0, upstream);
  79090. if (_1_0 != null)
  79091. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  79092. _this.call$1(upstream);
  79093. }
  79094. }
  79095. _this.sorted.addFirst$1(module);
  79096. t1 = module.get$css(module);
  79097. statements = t1.get$children(t1);
  79098. index = _this.$this._indexAfterImports$1(statements);
  79099. t1 = J.getInterceptor$ax(statements);
  79100. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  79101. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  79102. },
  79103. $signature: 579
  79104. };
  79105. A._EvaluateVisitor__extendModules_closure.prototype = {
  79106. call$1(target) {
  79107. return !this.originalSelectors.contains$1(0, target);
  79108. },
  79109. $signature: 14
  79110. };
  79111. A._EvaluateVisitor__extendModules_closure0.prototype = {
  79112. call$0() {
  79113. return A._setArrayType([], type$.JSArray_ExtensionStore);
  79114. },
  79115. $signature: 141
  79116. };
  79117. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  79118. call$0() {
  79119. var t1, t2, t3, _i;
  79120. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79121. t1[_i].accept$1(t3);
  79122. },
  79123. $signature: 1
  79124. };
  79125. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  79126. call$0() {
  79127. var t1, t2, t3, _i;
  79128. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79129. t1[_i].accept$1(t3);
  79130. },
  79131. $signature: 0
  79132. };
  79133. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  79134. call$1(callback) {
  79135. var t1 = this.$this,
  79136. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  79137. t1.__parent = this.newParent;
  79138. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  79139. t1.__parent = oldParent;
  79140. },
  79141. $signature: 37
  79142. };
  79143. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  79144. call$1(callback) {
  79145. var t1 = this.$this,
  79146. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79147. t1._atRootExcludingStyleRule = true;
  79148. this.innerScope.call$1(callback);
  79149. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79150. },
  79151. $signature: 37
  79152. };
  79153. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79154. call$1(callback) {
  79155. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79156. },
  79157. $signature: 37
  79158. };
  79159. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79160. call$0() {
  79161. return this.innerScope.call$1(this.callback);
  79162. },
  79163. $signature: 1
  79164. };
  79165. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79166. call$1(callback) {
  79167. var t1 = this.$this,
  79168. wasInKeyframes = t1._inKeyframes;
  79169. t1._inKeyframes = false;
  79170. this.innerScope.call$1(callback);
  79171. t1._inKeyframes = wasInKeyframes;
  79172. },
  79173. $signature: 37
  79174. };
  79175. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79176. call$1($parent) {
  79177. return $parent instanceof A.ModifiableCssAtRule;
  79178. },
  79179. $signature: 172
  79180. };
  79181. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79182. call$1(callback) {
  79183. var t1 = this.$this,
  79184. wasInUnknownAtRule = t1._inUnknownAtRule;
  79185. t1._inUnknownAtRule = false;
  79186. this.innerScope.call$1(callback);
  79187. t1._inUnknownAtRule = wasInUnknownAtRule;
  79188. },
  79189. $signature: 37
  79190. };
  79191. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79192. call$0() {
  79193. var t1, t2, t3, _i;
  79194. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79195. t1[_i].accept$1(t3);
  79196. return null;
  79197. },
  79198. $signature: 1
  79199. };
  79200. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79201. call$0() {
  79202. var t1, t2, t3, _i;
  79203. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79204. t1[_i].accept$1(t3);
  79205. },
  79206. $signature: 1
  79207. };
  79208. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79209. call$1(value) {
  79210. var t1 = this.$this,
  79211. t2 = this.nodeWithSpan;
  79212. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79213. },
  79214. $signature: 62
  79215. };
  79216. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79217. call$1(value) {
  79218. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79219. },
  79220. $signature: 62
  79221. };
  79222. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79223. call$0() {
  79224. var _this = this,
  79225. t1 = _this.$this;
  79226. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79227. },
  79228. $signature: 42
  79229. };
  79230. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79231. call$1(element) {
  79232. var t1;
  79233. this.setVariables.call$1(element);
  79234. t1 = this.$this;
  79235. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79236. },
  79237. $signature: 581
  79238. };
  79239. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79240. call$1(child) {
  79241. return child.accept$1(this.$this);
  79242. },
  79243. $signature: 83
  79244. };
  79245. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79246. call$1(value) {
  79247. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79248. },
  79249. $signature: 583
  79250. };
  79251. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79252. call$0() {
  79253. var t2, t3, _i, _this = this,
  79254. t1 = _this.$this,
  79255. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79256. if (styleRule == null || t1._inKeyframes || _this.name.value === "font-face")
  79257. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79258. t2[_i].accept$1(t1);
  79259. else
  79260. 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);
  79261. },
  79262. $signature: 1
  79263. };
  79264. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79265. call$0() {
  79266. var t1, t2, t3, _i;
  79267. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79268. t1[_i].accept$1(t3);
  79269. },
  79270. $signature: 1
  79271. };
  79272. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  79273. call$1(node) {
  79274. return node instanceof A.ModifiableCssStyleRule;
  79275. },
  79276. $signature: 7
  79277. };
  79278. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79279. call$0() {
  79280. return this.node.from.accept$1(this.$this).assertNumber$0();
  79281. },
  79282. $signature: 189
  79283. };
  79284. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79285. call$0() {
  79286. return this.node.to.accept$1(this.$this).assertNumber$0();
  79287. },
  79288. $signature: 189
  79289. };
  79290. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79291. call$0() {
  79292. return this.fromNumber.assertInt$0();
  79293. },
  79294. $signature: 10
  79295. };
  79296. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79297. call$0() {
  79298. var t1 = this.fromNumber;
  79299. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79300. },
  79301. $signature: 10
  79302. };
  79303. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79304. call$0() {
  79305. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79306. t1 = _this.$this,
  79307. t2 = _this.node,
  79308. nodeWithSpan = t1._expressionNode$1(t2.from);
  79309. 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) {
  79310. t7 = t1._environment;
  79311. t8 = t6.get$numeratorUnits(t6);
  79312. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79313. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79314. if (_0_0 != null)
  79315. return _0_0;
  79316. }
  79317. return null;
  79318. },
  79319. $signature: 42
  79320. };
  79321. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79322. call$1(child) {
  79323. return child.accept$1(this.$this);
  79324. },
  79325. $signature: 83
  79326. };
  79327. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79328. call$2(module, firstLoad) {
  79329. if (firstLoad)
  79330. this.$this._registerCommentsForModule$1(module);
  79331. this.$this._environment.forwardModule$2(module, this.node);
  79332. },
  79333. $signature: 82
  79334. };
  79335. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79336. call$2(module, firstLoad) {
  79337. if (firstLoad)
  79338. this.$this._registerCommentsForModule$1(module);
  79339. this.$this._environment.forwardModule$2(module, this.node);
  79340. },
  79341. $signature: 82
  79342. };
  79343. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79344. call$0() {
  79345. return A._setArrayType([], type$.JSArray_CssComment);
  79346. },
  79347. $signature: 177
  79348. };
  79349. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79350. call$1(clause) {
  79351. var t1 = this.$this;
  79352. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79353. },
  79354. $signature: 611
  79355. };
  79356. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79357. call$0() {
  79358. var t1 = this.$this;
  79359. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79360. },
  79361. $signature: 42
  79362. };
  79363. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79364. call$1(child) {
  79365. return child.accept$1(this.$this);
  79366. },
  79367. $signature: 83
  79368. };
  79369. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79370. call$0() {
  79371. 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 = {};
  79372. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79373. t1 = this.$this;
  79374. t2 = this.$import;
  79375. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79376. stylesheet = _box_0.stylesheet = _0_0._0;
  79377. importer = _0_0._1;
  79378. _box_0.importer = importer;
  79379. isDependency = _0_0._2;
  79380. _box_0.isDependency = isDependency;
  79381. t3 = stylesheet.span;
  79382. url = t3.get$sourceUrl(t3);
  79383. if (url != null) {
  79384. t3 = t1._activeModules;
  79385. if (t3.containsKey$1(url)) {
  79386. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79387. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79388. }
  79389. t3.$indexSet(0, url, t2);
  79390. }
  79391. t2 = stylesheet._uses;
  79392. t3 = type$.UnmodifiableListView_UseRule;
  79393. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79394. oldImporter = t1._importer;
  79395. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79396. oldInDependency = t1._inDependency;
  79397. t1._importer = importer;
  79398. t1.__stylesheet = stylesheet;
  79399. t1._inDependency = isDependency;
  79400. t1.visitStylesheet$1(0, stylesheet);
  79401. t1._importer = oldImporter;
  79402. t1.__stylesheet = oldStylesheet;
  79403. t1._inDependency = oldInDependency;
  79404. t1._activeModules.remove$1(0, url);
  79405. return;
  79406. }
  79407. t2 = new A.UnmodifiableListView(t2, t3);
  79408. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79409. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79410. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79411. } else
  79412. loadsUserDefinedModules = true;
  79413. children = A._Cell$();
  79414. t2 = t1._environment;
  79415. t3 = type$.String;
  79416. t4 = type$.Module_Callable;
  79417. t5 = type$.AstNode;
  79418. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79419. t7 = t2._variables;
  79420. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79421. t8 = t2._variableNodes;
  79422. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79423. t9 = t2._functions;
  79424. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79425. t10 = t2._mixins;
  79426. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79427. 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);
  79428. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79429. module = environment.toDummyModule$0();
  79430. t1._environment.importForwards$1(module);
  79431. if (loadsUserDefinedModules) {
  79432. if (module.transitivelyContainsCss)
  79433. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79434. visitor = new A._ImportedCssVisitor(t1);
  79435. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79436. t2.get$current(t2).accept$1(visitor);
  79437. }
  79438. t1._activeModules.remove$1(0, url);
  79439. },
  79440. $signature: 0
  79441. };
  79442. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79443. call$1(previousLoad) {
  79444. 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));
  79445. },
  79446. $signature: 105
  79447. };
  79448. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79449. call$1(rule) {
  79450. return rule.url.get$scheme() !== "sass";
  79451. },
  79452. $signature: 178
  79453. };
  79454. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79455. call$1(rule) {
  79456. return rule.url.get$scheme() !== "sass";
  79457. },
  79458. $signature: 179
  79459. };
  79460. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79461. call$0() {
  79462. var t3, t4, _this = this,
  79463. t1 = _this.$this,
  79464. oldImporter = t1._importer,
  79465. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79466. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79467. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79468. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79469. oldOutOfOrderImports = t1._outOfOrderImports,
  79470. oldConfiguration = t1._configuration,
  79471. oldInDependency = t1._inDependency,
  79472. t2 = _this._box_0;
  79473. t1._importer = t2.importer;
  79474. t3 = t2.stylesheet;
  79475. t1.__stylesheet = t3;
  79476. t4 = _this.loadsUserDefinedModules;
  79477. if (t4) {
  79478. t3 = A.ModifiableCssStylesheet$(t3.span);
  79479. t1.__root = t3;
  79480. t1.__parent = t1._assertInModule$2(t3, "_root");
  79481. t1.__endOfImports = 0;
  79482. t1._outOfOrderImports = null;
  79483. }
  79484. t1._inDependency = t2.isDependency;
  79485. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79486. if (!t3.get$isEmpty(t3))
  79487. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79488. t1.visitStylesheet$1(0, t2.stylesheet);
  79489. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  79490. _this.children.__late_helper$_value = t2;
  79491. t1._importer = oldImporter;
  79492. t1.__stylesheet = oldStylesheet;
  79493. if (t4) {
  79494. t1.__root = oldRoot;
  79495. t1.__parent = oldParent;
  79496. t1.__endOfImports = oldEndOfImports;
  79497. t1._outOfOrderImports = oldOutOfOrderImports;
  79498. }
  79499. t1._configuration = oldConfiguration;
  79500. t1._inDependency = oldInDependency;
  79501. },
  79502. $signature: 1
  79503. };
  79504. A._EvaluateVisitor__applyMixin_closure.prototype = {
  79505. call$0() {
  79506. var _this = this,
  79507. t1 = _this.$this;
  79508. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  79509. },
  79510. $signature: 0
  79511. };
  79512. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  79513. call$0() {
  79514. var _this = this;
  79515. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  79516. },
  79517. $signature: 0
  79518. };
  79519. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  79520. call$0() {
  79521. var _this = this,
  79522. t1 = _this.$this;
  79523. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  79524. },
  79525. $signature: 1
  79526. };
  79527. A._EvaluateVisitor__applyMixin__closure.prototype = {
  79528. call$0() {
  79529. var t1 = this.$this;
  79530. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  79531. },
  79532. $signature: 0
  79533. };
  79534. A._EvaluateVisitor__applyMixin___closure.prototype = {
  79535. call$0() {
  79536. var t1, t2, t3, t4, _i;
  79537. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  79538. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  79539. },
  79540. $signature: 0
  79541. };
  79542. A._EvaluateVisitor__applyMixin____closure.prototype = {
  79543. call$0() {
  79544. return this.statement.accept$1(this.$this);
  79545. },
  79546. $signature: 42
  79547. };
  79548. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  79549. call$0() {
  79550. var t1 = this.node;
  79551. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  79552. },
  79553. $signature: 81
  79554. };
  79555. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  79556. call$1($content) {
  79557. var t1 = this.$this;
  79558. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  79559. },
  79560. $signature: 632
  79561. };
  79562. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  79563. call$0() {
  79564. return this.node.get$spanWithoutContent();
  79565. },
  79566. $signature: 28
  79567. };
  79568. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  79569. call$1(mediaQueries) {
  79570. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  79571. },
  79572. $signature: 101
  79573. };
  79574. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  79575. call$0() {
  79576. var _this = this,
  79577. t1 = _this.$this,
  79578. t2 = _this.mergedQueries;
  79579. if (t2 == null)
  79580. t2 = _this.queries;
  79581. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  79582. },
  79583. $signature: 1
  79584. };
  79585. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  79586. call$0() {
  79587. var t2, t3, _i,
  79588. t1 = this.$this,
  79589. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79590. if (_0_0 != null)
  79591. 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);
  79592. else
  79593. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79594. t2[_i].accept$1(t1);
  79595. },
  79596. $signature: 1
  79597. };
  79598. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  79599. call$0() {
  79600. var t1, t2, t3, _i;
  79601. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79602. t1[_i].accept$1(t3);
  79603. },
  79604. $signature: 1
  79605. };
  79606. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  79607. call$1(node) {
  79608. var t1;
  79609. if (!(node instanceof A.ModifiableCssStyleRule)) {
  79610. t1 = this.mergedSources;
  79611. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  79612. } else
  79613. t1 = true;
  79614. return t1;
  79615. },
  79616. $signature: 7
  79617. };
  79618. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  79619. call$0() {
  79620. var t1, t2, t3, _i;
  79621. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79622. t1[_i].accept$1(t3);
  79623. },
  79624. $signature: 1
  79625. };
  79626. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  79627. call$1(node) {
  79628. return node instanceof A.ModifiableCssStyleRule;
  79629. },
  79630. $signature: 7
  79631. };
  79632. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  79633. call$0() {
  79634. var t1 = this.$this;
  79635. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  79636. },
  79637. $signature: 1
  79638. };
  79639. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  79640. call$0() {
  79641. var t1, t2, t3, _i;
  79642. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79643. t1[_i].accept$1(t3);
  79644. },
  79645. $signature: 1
  79646. };
  79647. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  79648. call$1(node) {
  79649. return node instanceof A.ModifiableCssStyleRule;
  79650. },
  79651. $signature: 7
  79652. };
  79653. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  79654. call$1(child) {
  79655. return child instanceof A.ModifiableCssComment;
  79656. },
  79657. $signature: 7
  79658. };
  79659. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  79660. call$0() {
  79661. var t2, t3, _i,
  79662. t1 = this.$this,
  79663. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79664. if (_0_0 != null)
  79665. 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);
  79666. else
  79667. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79668. t2[_i].accept$1(t1);
  79669. },
  79670. $signature: 1
  79671. };
  79672. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  79673. call$0() {
  79674. var t1, t2, t3, _i;
  79675. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79676. t1[_i].accept$1(t3);
  79677. },
  79678. $signature: 1
  79679. };
  79680. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  79681. call$1(node) {
  79682. return node instanceof A.ModifiableCssStyleRule;
  79683. },
  79684. $signature: 7
  79685. };
  79686. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  79687. call$0() {
  79688. var t4,
  79689. t1 = this.$this,
  79690. t2 = this._box_0,
  79691. t3 = t2.declaration.name;
  79692. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  79693. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  79694. t2 = t2.declaration.value;
  79695. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  79696. },
  79697. $signature: 27
  79698. };
  79699. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  79700. call$0() {
  79701. var t1 = this.$this._environment,
  79702. t2 = this._box_0.override;
  79703. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  79704. },
  79705. $signature: 1
  79706. };
  79707. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  79708. call$0() {
  79709. var t1 = this.node;
  79710. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79711. },
  79712. $signature: 42
  79713. };
  79714. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  79715. call$0() {
  79716. var t1 = this.$this,
  79717. t2 = this.node;
  79718. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  79719. },
  79720. $signature: 1
  79721. };
  79722. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  79723. call$2(module, firstLoad) {
  79724. var t1, t2, t3, _0_0, t4, t5, span;
  79725. if (firstLoad)
  79726. this.$this._registerCommentsForModule$1(module);
  79727. t1 = this.$this._environment;
  79728. t2 = this.node;
  79729. t3 = t2.namespace;
  79730. if (t3 == null) {
  79731. t1._globalModules.$indexSet(0, module, t2);
  79732. t1._allModules.push(module);
  79733. t1 = B.JSArray_methods.get$first(t1._variables);
  79734. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  79735. if (_0_0 != null)
  79736. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  79737. } else {
  79738. t4 = t1._environment$_modules;
  79739. if (t4.containsKey$1(t3)) {
  79740. t5 = t1._namespaceNodes.$index(0, t3);
  79741. span = t5 == null ? null : t5.span;
  79742. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79743. if (span != null)
  79744. t5.$indexSet(0, span, "original @use");
  79745. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  79746. }
  79747. t4.$indexSet(0, t3, module);
  79748. t1._namespaceNodes.$indexSet(0, t3, t2);
  79749. t1._allModules.push(module);
  79750. }
  79751. },
  79752. $signature: 82
  79753. };
  79754. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  79755. call$0() {
  79756. return this.node.expression.accept$1(this.$this);
  79757. },
  79758. $signature: 34
  79759. };
  79760. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  79761. call$0() {
  79762. var t1, t2, t3, _0_0;
  79763. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  79764. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  79765. if (_0_0 != null)
  79766. return _0_0;
  79767. }
  79768. return null;
  79769. },
  79770. $signature: 42
  79771. };
  79772. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  79773. call$1(child) {
  79774. return child.accept$1(this.$this);
  79775. },
  79776. $signature: 83
  79777. };
  79778. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  79779. call$0() {
  79780. var t1 = this.node,
  79781. t2 = this.$this,
  79782. left = t1.left.accept$1(t2);
  79783. switch (t1.operator) {
  79784. case B.BinaryOperator_Kyq:
  79785. t1 = t1.right.accept$1(t2);
  79786. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  79787. break;
  79788. case B.BinaryOperator_tKu:
  79789. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  79790. break;
  79791. case B.BinaryOperator_uke:
  79792. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  79793. break;
  79794. case B.BinaryOperator_r84:
  79795. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79796. break;
  79797. case B.BinaryOperator_qGq:
  79798. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79799. break;
  79800. case B.BinaryOperator_o8O:
  79801. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  79802. break;
  79803. case B.BinaryOperator_JiR:
  79804. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  79805. break;
  79806. case B.BinaryOperator_qHy:
  79807. t1 = left.lessThan$1(t1.right.accept$1(t2));
  79808. break;
  79809. case B.BinaryOperator_FPG:
  79810. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  79811. break;
  79812. case B.BinaryOperator_Swh:
  79813. t1 = left.plus$1(t1.right.accept$1(t2));
  79814. break;
  79815. case B.BinaryOperator_QG1:
  79816. t1 = left.minus$1(t1.right.accept$1(t2));
  79817. break;
  79818. case B.BinaryOperator_tht:
  79819. t1 = left.times$1(t1.right.accept$1(t2));
  79820. break;
  79821. case B.BinaryOperator_Mh5:
  79822. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  79823. break;
  79824. case B.BinaryOperator_s7T:
  79825. t1 = left.modulo$1(t1.right.accept$1(t2));
  79826. break;
  79827. default:
  79828. t1 = null;
  79829. }
  79830. return t1;
  79831. },
  79832. $signature: 34
  79833. };
  79834. A._EvaluateVisitor__slash_recommendation.prototype = {
  79835. call$1(expression) {
  79836. var t1;
  79837. $label0$0: {
  79838. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  79839. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  79840. break $label0$0;
  79841. }
  79842. if (expression instanceof A.ParenthesizedExpression) {
  79843. t1 = expression.expression.toString$0(0);
  79844. break $label0$0;
  79845. }
  79846. t1 = expression.toString$0(0);
  79847. break $label0$0;
  79848. }
  79849. return t1;
  79850. },
  79851. $signature: 133
  79852. };
  79853. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  79854. call$0() {
  79855. var t1 = this.node;
  79856. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79857. },
  79858. $signature: 42
  79859. };
  79860. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  79861. call$0() {
  79862. var t1, _this = this;
  79863. switch (_this.node.operator) {
  79864. case B.UnaryOperator_Rbl:
  79865. t1 = _this.operand.unaryPlus$0();
  79866. break;
  79867. case B.UnaryOperator_UCP:
  79868. t1 = _this.operand.unaryMinus$0();
  79869. break;
  79870. case B.UnaryOperator_lZV:
  79871. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  79872. break;
  79873. case B.UnaryOperator_not_not_not:
  79874. t1 = _this.operand.unaryNot$0();
  79875. break;
  79876. default:
  79877. t1 = null;
  79878. }
  79879. return t1;
  79880. },
  79881. $signature: 34
  79882. };
  79883. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  79884. call$1(expression) {
  79885. return expression.accept$1(this.$this);
  79886. },
  79887. $signature: 647
  79888. };
  79889. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  79890. call$0() {
  79891. var t1 = this.node;
  79892. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  79893. },
  79894. $signature: 81
  79895. };
  79896. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  79897. call$1(argument) {
  79898. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  79899. },
  79900. $signature: 121
  79901. };
  79902. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  79903. call$0() {
  79904. var t1 = this.node;
  79905. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  79906. },
  79907. $signature: 34
  79908. };
  79909. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  79910. call$2(message, deprecation) {
  79911. return this.$this._warn$3(message, this.node.span, deprecation);
  79912. },
  79913. call$1(message) {
  79914. return this.call$2(message, null);
  79915. },
  79916. $signature: 87
  79917. };
  79918. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  79919. call$1(maxArgs) {
  79920. var t1 = this.node,
  79921. t2 = t1.$arguments.positional.length;
  79922. if (t2 === 0)
  79923. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  79924. else if (maxArgs != null && t2 > maxArgs)
  79925. 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));
  79926. },
  79927. call$0() {
  79928. return this.call$1(null);
  79929. },
  79930. $signature: 85
  79931. };
  79932. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  79933. call$0() {
  79934. var _this = this,
  79935. t1 = _this.$this,
  79936. t2 = _this._box_0,
  79937. t3 = _this.node,
  79938. t4 = _this.inLegacySassFunction;
  79939. 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));
  79940. },
  79941. $signature: 91
  79942. };
  79943. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  79944. call$2(message, deprecation) {
  79945. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  79946. },
  79947. call$1(message) {
  79948. return this.call$2(message, null);
  79949. },
  79950. $signature: 87
  79951. };
  79952. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  79953. call$0() {
  79954. var t1 = this.node;
  79955. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  79956. },
  79957. $signature: 34
  79958. };
  79959. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  79960. call$0() {
  79961. var _this = this,
  79962. t1 = _this.$this,
  79963. t2 = _this.callable;
  79964. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  79965. },
  79966. $signature() {
  79967. return this.V._eval$1("0()");
  79968. }
  79969. };
  79970. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  79971. call$0() {
  79972. var _this = this,
  79973. t1 = _this.$this,
  79974. t2 = _this.V;
  79975. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  79976. },
  79977. $signature() {
  79978. return this.V._eval$1("0()");
  79979. }
  79980. };
  79981. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  79982. call$0() {
  79983. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  79984. t1 = _this.$this,
  79985. t2 = _this.evaluated._values,
  79986. t3 = _this.callable.declaration.parameters,
  79987. t4 = _this.nodeWithSpan;
  79988. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  79989. parameters = t3.parameters;
  79990. t5 = parameters.length;
  79991. minLength = Math.min(t2[2].length, t5);
  79992. for (i = 0; i < minLength; ++i)
  79993. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  79994. for (i = t2[2].length; i < t5; ++i) {
  79995. parameter = parameters[i];
  79996. t6 = parameter.name;
  79997. value = t2[0].remove$1(0, t6);
  79998. if (value == null) {
  79999. t7 = parameter.defaultValue;
  80000. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  80001. }
  80002. t7 = t1._environment;
  80003. t8 = t2[1].$index(0, t6);
  80004. if (t8 == null) {
  80005. t8 = parameter.defaultValue;
  80006. t8.toString;
  80007. t8 = t1._expressionNode$1(t8);
  80008. }
  80009. t7.setLocalVariable$3(t6, value, t8);
  80010. }
  80011. restParameter = t3.restParameter;
  80012. if (restParameter != null) {
  80013. t6 = t2[2];
  80014. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  80015. t5 = t2[0];
  80016. t6 = t2[4];
  80017. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  80018. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  80019. } else
  80020. argumentList = null;
  80021. result = _this.run.call$0();
  80022. if (argumentList == null)
  80023. return result;
  80024. t5 = t2[0].__js_helper$_length;
  80025. if (t5 === 0)
  80026. return result;
  80027. if (argumentList._wereKeywordsAccessed)
  80028. return result;
  80029. parameterWord = A.pluralize("parameter", t5, null);
  80030. t2 = t2[0];
  80031. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  80032. 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));
  80033. },
  80034. $signature() {
  80035. return this.V._eval$1("0()");
  80036. }
  80037. };
  80038. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  80039. call$1($name) {
  80040. return "$" + $name;
  80041. },
  80042. $signature: 6
  80043. };
  80044. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  80045. call$0() {
  80046. var t1, t2, t3, t4, _i, $returnValue;
  80047. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  80048. $returnValue = t2[_i].accept$1(t4);
  80049. if ($returnValue instanceof A.Value)
  80050. return $returnValue;
  80051. }
  80052. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  80053. },
  80054. $signature: 34
  80055. };
  80056. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  80057. call$0() {
  80058. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  80059. },
  80060. $signature: 0
  80061. };
  80062. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  80063. call$0() {
  80064. return this._box_0.callback.call$1(this.evaluated._values[2]);
  80065. },
  80066. $signature: 34
  80067. };
  80068. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  80069. call$1($name) {
  80070. return "$" + $name;
  80071. },
  80072. $signature: 6
  80073. };
  80074. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  80075. call$1(value) {
  80076. return value;
  80077. },
  80078. $signature: 41
  80079. };
  80080. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  80081. call$1(value) {
  80082. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  80083. },
  80084. $signature: 41
  80085. };
  80086. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  80087. call$2(key, value) {
  80088. var _this = this,
  80089. t1 = _this.restNodeForSpan;
  80090. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  80091. _this.namedNodes.$indexSet(0, key, t1);
  80092. },
  80093. $signature: 84
  80094. };
  80095. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  80096. call$1(value) {
  80097. return value;
  80098. },
  80099. $signature: 41
  80100. };
  80101. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  80102. call$1(value) {
  80103. var t1 = this.restArgs;
  80104. return new A.ValueExpression(value, t1.get$span(t1));
  80105. },
  80106. $signature: 63
  80107. };
  80108. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  80109. call$1(value) {
  80110. var t1 = this.restArgs;
  80111. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  80112. },
  80113. $signature: 63
  80114. };
  80115. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  80116. call$2(key, value) {
  80117. var _this = this,
  80118. t1 = _this.restArgs;
  80119. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  80120. },
  80121. $signature: 84
  80122. };
  80123. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  80124. call$1(value) {
  80125. var t1 = this.keywordRestArgs;
  80126. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  80127. },
  80128. $signature: 63
  80129. };
  80130. A._EvaluateVisitor__addRestMap_closure.prototype = {
  80131. call$2(key, value) {
  80132. var t2, _this = this,
  80133. t1 = _this.$this;
  80134. if (key instanceof A.SassString)
  80135. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  80136. else {
  80137. t2 = _this.nodeWithSpan;
  80138. 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)));
  80139. }
  80140. },
  80141. $signature: 95
  80142. };
  80143. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  80144. call$0() {
  80145. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  80146. },
  80147. $signature: 0
  80148. };
  80149. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80150. call$0() {
  80151. var t1, t2, t3, t4;
  80152. 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();) {
  80153. t4 = t1.__internal$_current;
  80154. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80155. }
  80156. },
  80157. $signature: 1
  80158. };
  80159. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80160. call$1(node) {
  80161. return node instanceof A.ModifiableCssStyleRule;
  80162. },
  80163. $signature: 7
  80164. };
  80165. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80166. call$0() {
  80167. var t1, t2, t3, t4;
  80168. 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();) {
  80169. t4 = t1.__internal$_current;
  80170. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80171. }
  80172. },
  80173. $signature: 1
  80174. };
  80175. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80176. call$1(node) {
  80177. return node instanceof A.ModifiableCssStyleRule;
  80178. },
  80179. $signature: 7
  80180. };
  80181. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80182. call$1(mediaQueries) {
  80183. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80184. },
  80185. $signature: 101
  80186. };
  80187. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80188. call$0() {
  80189. var _this = this,
  80190. t1 = _this.$this,
  80191. t2 = _this.mergedQueries;
  80192. if (t2 == null)
  80193. t2 = _this.node.queries;
  80194. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80195. },
  80196. $signature: 1
  80197. };
  80198. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80199. call$0() {
  80200. var t2, t3, t4,
  80201. t1 = this.$this,
  80202. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80203. if (_0_0 != null)
  80204. 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);
  80205. else
  80206. 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();) {
  80207. t4 = t2.__internal$_current;
  80208. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80209. }
  80210. },
  80211. $signature: 1
  80212. };
  80213. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80214. call$0() {
  80215. var t1, t2, t3, t4;
  80216. 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();) {
  80217. t4 = t1.__internal$_current;
  80218. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80219. }
  80220. },
  80221. $signature: 1
  80222. };
  80223. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80224. call$1(node) {
  80225. var t1;
  80226. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80227. t1 = this.mergedSources;
  80228. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80229. } else
  80230. t1 = true;
  80231. return t1;
  80232. },
  80233. $signature: 7
  80234. };
  80235. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80236. call$0() {
  80237. var t1 = this.$this;
  80238. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80239. },
  80240. $signature: 1
  80241. };
  80242. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80243. call$0() {
  80244. var t1, t2, t3, t4;
  80245. 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();) {
  80246. t4 = t1.__internal$_current;
  80247. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80248. }
  80249. },
  80250. $signature: 1
  80251. };
  80252. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80253. call$1(node) {
  80254. return node instanceof A.ModifiableCssStyleRule;
  80255. },
  80256. $signature: 7
  80257. };
  80258. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80259. call$0() {
  80260. var t2, t3, t4,
  80261. t1 = this.$this,
  80262. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80263. if (_0_0 != null)
  80264. 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);
  80265. else
  80266. 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();) {
  80267. t4 = t2.__internal$_current;
  80268. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80269. }
  80270. },
  80271. $signature: 1
  80272. };
  80273. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80274. call$0() {
  80275. var t1, t2, t3, t4;
  80276. 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();) {
  80277. t4 = t1.__internal$_current;
  80278. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80279. }
  80280. },
  80281. $signature: 1
  80282. };
  80283. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80284. call$1(node) {
  80285. return node instanceof A.ModifiableCssStyleRule;
  80286. },
  80287. $signature: 7
  80288. };
  80289. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80290. call$1(targetLocations) {
  80291. return A.InterpolationMap$(this.interpolation, targetLocations);
  80292. },
  80293. $signature: 184
  80294. };
  80295. A._EvaluateVisitor__serialize_closure.prototype = {
  80296. call$0() {
  80297. return A.serializeValue(this.value, false, this.quote);
  80298. },
  80299. $signature: 27
  80300. };
  80301. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80302. call$0() {
  80303. var t1 = this.expression;
  80304. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80305. },
  80306. $signature: 142
  80307. };
  80308. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80309. call$1(number) {
  80310. var before, after, t1,
  80311. _1_0 = number.asSlash;
  80312. $label0$0: {
  80313. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80314. before = _1_0._0;
  80315. after = _1_0._1;
  80316. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80317. break $label0$0;
  80318. }
  80319. t1 = A.serializeValue(number, true, true);
  80320. break $label0$0;
  80321. }
  80322. return t1;
  80323. },
  80324. $signature: 186
  80325. };
  80326. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80327. call$1(url) {
  80328. var t1 = this.$this._evaluate$_importCache;
  80329. t1 = t1 == null ? null : t1.humanize$1(url);
  80330. return t1 == null ? url : t1;
  80331. },
  80332. $signature: 48
  80333. };
  80334. A._ImportedCssVisitor.prototype = {
  80335. visitCssAtRule$1(node) {
  80336. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80337. this._visitor._addChild$2$through(node, t1);
  80338. },
  80339. visitCssComment$1(node) {
  80340. return this._visitor._addChild$1(node);
  80341. },
  80342. visitCssDeclaration$1(node) {
  80343. },
  80344. visitCssImport$1(node) {
  80345. var t2,
  80346. _s13_ = "_endOfImports",
  80347. t1 = this._visitor;
  80348. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80349. t1._addChild$1(node);
  80350. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80351. t1._addChild$1(node);
  80352. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80353. } else {
  80354. t2 = t1._outOfOrderImports;
  80355. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80356. }
  80357. },
  80358. visitCssKeyframeBlock$1(node) {
  80359. },
  80360. visitCssMediaRule$1(node) {
  80361. var t1 = this._visitor,
  80362. mediaQueries = t1._mediaQueries;
  80363. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80364. },
  80365. visitCssStyleRule$1(node) {
  80366. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80367. },
  80368. visitCssStylesheet$1(node) {
  80369. var t1, t2, t3;
  80370. 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();) {
  80371. t3 = t1.__internal$_current;
  80372. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80373. }
  80374. },
  80375. visitCssSupportsRule$1(node) {
  80376. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80377. }
  80378. };
  80379. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80380. call$1(node) {
  80381. return node instanceof A.ModifiableCssStyleRule;
  80382. },
  80383. $signature: 7
  80384. };
  80385. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80386. call$1(node) {
  80387. var t1;
  80388. if (!(node instanceof A.ModifiableCssStyleRule))
  80389. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80390. else
  80391. t1 = true;
  80392. return t1;
  80393. },
  80394. $signature: 7
  80395. };
  80396. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80397. call$1(node) {
  80398. return node instanceof A.ModifiableCssStyleRule;
  80399. },
  80400. $signature: 7
  80401. };
  80402. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80403. call$1(node) {
  80404. return node instanceof A.ModifiableCssStyleRule;
  80405. },
  80406. $signature: 7
  80407. };
  80408. A._EvaluationContext.prototype = {
  80409. get$currentCallableSpan() {
  80410. var _0_0 = this._visitor._callableNode;
  80411. if (_0_0 != null)
  80412. return _0_0.get$span(_0_0);
  80413. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80414. },
  80415. warn$2(_, message, deprecation) {
  80416. var t1 = this._visitor,
  80417. t2 = t1._importSpan;
  80418. if (t2 == null) {
  80419. t2 = t1._callableNode;
  80420. t2 = t2 == null ? null : t2.get$span(t2);
  80421. }
  80422. if (t2 == null) {
  80423. t2 = this._defaultWarnNodeWithSpan;
  80424. t2 = t2.get$span(t2);
  80425. }
  80426. t1._warn$3(message, t2, deprecation);
  80427. },
  80428. $isEvaluationContext: 1
  80429. };
  80430. A.EveryCssVisitor.prototype = {
  80431. visitCssAtRule$1(node) {
  80432. var t1 = node.children;
  80433. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80434. },
  80435. visitCssComment$1(node) {
  80436. return false;
  80437. },
  80438. visitCssDeclaration$1(node) {
  80439. return false;
  80440. },
  80441. visitCssImport$1(node) {
  80442. return false;
  80443. },
  80444. visitCssKeyframeBlock$1(node) {
  80445. var t1 = node.children;
  80446. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80447. },
  80448. visitCssMediaRule$1(node) {
  80449. var t1 = node.children;
  80450. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80451. },
  80452. visitCssStyleRule$1(node) {
  80453. var t1 = node.children;
  80454. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80455. },
  80456. visitCssStylesheet$1(node) {
  80457. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80458. },
  80459. visitCssSupportsRule$1(node) {
  80460. var t1 = node.children;
  80461. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80462. }
  80463. };
  80464. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80465. call$1(child) {
  80466. return child.accept$1(this.$this);
  80467. },
  80468. $signature: 7
  80469. };
  80470. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80471. call$1(child) {
  80472. return child.accept$1(this.$this);
  80473. },
  80474. $signature: 7
  80475. };
  80476. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80477. call$1(child) {
  80478. return child.accept$1(this.$this);
  80479. },
  80480. $signature: 7
  80481. };
  80482. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80483. call$1(child) {
  80484. return child.accept$1(this.$this);
  80485. },
  80486. $signature: 7
  80487. };
  80488. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  80489. call$1(child) {
  80490. return child.accept$1(this.$this);
  80491. },
  80492. $signature: 7
  80493. };
  80494. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  80495. call$1(child) {
  80496. return child.accept$1(this.$this);
  80497. },
  80498. $signature: 7
  80499. };
  80500. A._MakeExpressionCalculationSafe.prototype = {
  80501. visitBinaryOperationExpression$1(_, node) {
  80502. var t1, t2, t3, t4;
  80503. if (node.operator === B.BinaryOperator_s7T) {
  80504. t1 = A._setArrayType([node], type$.JSArray_Expression);
  80505. t2 = node.get$span(0);
  80506. t3 = type$.Expression;
  80507. t1 = A.List_List$unmodifiable(t1, t3);
  80508. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  80509. t4 = node.get$span(0);
  80510. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  80511. } else
  80512. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  80513. return t1;
  80514. },
  80515. visitInterpolatedFunctionExpression$1(_, node) {
  80516. return node;
  80517. },
  80518. visitUnaryOperationExpression$1(_, node) {
  80519. var t1,
  80520. _0_0 = node.operator;
  80521. $label0$0: {
  80522. if (B.UnaryOperator_Rbl === _0_0) {
  80523. t1 = node.operand;
  80524. break $label0$0;
  80525. }
  80526. if (B.UnaryOperator_UCP === _0_0) {
  80527. t1 = new A.BinaryOperationExpression(B.BinaryOperator_tht, new A.NumberExpression(-1, null, node.span), node.operand, false);
  80528. break $label0$0;
  80529. }
  80530. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  80531. break $label0$0;
  80532. }
  80533. return t1;
  80534. }
  80535. };
  80536. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  80537. A._FindDependenciesVisitor.prototype = {
  80538. visitEachRule$1(_, node) {
  80539. },
  80540. visitForRule$1(_, node) {
  80541. },
  80542. visitIfRule$1(_, node) {
  80543. },
  80544. visitWhileRule$1(_, node) {
  80545. },
  80546. visitUseRule$1(_, node) {
  80547. var t1 = node.url;
  80548. if (t1.get$scheme() !== "sass")
  80549. this._find_dependencies$_uses.add$1(0, t1);
  80550. else if (t1.toString$0(0) === "sass:meta")
  80551. this._metaNamespaces.add$1(0, node.namespace);
  80552. },
  80553. visitForwardRule$1(_, node) {
  80554. var t1 = node.url;
  80555. if (t1.get$scheme() !== "sass")
  80556. this._find_dependencies$_forwards.add$1(0, t1);
  80557. },
  80558. visitImportRule$1(_, node) {
  80559. var t1, t2, t3, _i, $import;
  80560. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  80561. $import = t1[_i];
  80562. if ($import instanceof A.DynamicImport)
  80563. t3.add$1(0, A.Uri_parse($import.urlString));
  80564. }
  80565. },
  80566. visitIncludeRule$1(_, node) {
  80567. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  80568. if (node.name !== "load-css")
  80569. return;
  80570. if (!this._metaNamespaces.contains$1(0, node.namespace))
  80571. return;
  80572. _0_0 = node.$arguments.positional;
  80573. url = null;
  80574. _0_4_isSet = _0_0.length === 1;
  80575. _0_7 = null;
  80576. t1 = false;
  80577. if (_0_4_isSet) {
  80578. _0_4 = _0_0[0];
  80579. _0_7_isSet = _0_4 instanceof A.StringExpression;
  80580. if (_0_7_isSet) {
  80581. type$.StringExpression._as(_0_4);
  80582. _0_7 = _0_4.text.get$asPlain();
  80583. t1 = _0_7;
  80584. t1 = t1 != null;
  80585. }
  80586. } else {
  80587. _0_4 = null;
  80588. _0_7_isSet = false;
  80589. }
  80590. if (t1) {
  80591. if (_0_7_isSet)
  80592. url0 = _0_7;
  80593. else {
  80594. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  80595. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  80596. url0 = _0_7;
  80597. }
  80598. url = url0 == null ? A._asString(url0) : url0;
  80599. try {
  80600. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  80601. } catch (exception) {
  80602. if (!type$.FormatException._is(A.unwrapException(exception)))
  80603. throw exception;
  80604. }
  80605. }
  80606. }
  80607. };
  80608. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  80609. A.IsCalculationSafeVisitor.prototype = {
  80610. visitBinaryOperationExpression$1(_, node) {
  80611. return B.Set_oQTdo.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  80612. },
  80613. visitBooleanExpression$1(_, node) {
  80614. return false;
  80615. },
  80616. visitColorExpression$1(_, node) {
  80617. return false;
  80618. },
  80619. visitFunctionExpression$1(_, node) {
  80620. return true;
  80621. },
  80622. visitInterpolatedFunctionExpression$1(_, node) {
  80623. return true;
  80624. },
  80625. visitIfExpression$1(_, node) {
  80626. return true;
  80627. },
  80628. visitListExpression$1(_, node) {
  80629. var t1 = false;
  80630. if (node.separator === B.ListSeparator_qSL)
  80631. if (!node.hasBrackets) {
  80632. t1 = node.contents;
  80633. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  80634. }
  80635. return t1;
  80636. },
  80637. visitMapExpression$1(_, node) {
  80638. return false;
  80639. },
  80640. visitNullExpression$1(_, node) {
  80641. return false;
  80642. },
  80643. visitNumberExpression$1(_, node) {
  80644. return true;
  80645. },
  80646. visitParenthesizedExpression$1(_, node) {
  80647. return node.expression.accept$1(this);
  80648. },
  80649. visitSelectorExpression$1(_, node) {
  80650. return false;
  80651. },
  80652. visitStringExpression$1(_, node) {
  80653. var text, t1, t2;
  80654. if (node.hasQuotes)
  80655. return false;
  80656. text = node.text.get$initialPlain();
  80657. t1 = false;
  80658. if (!B.JSString_methods.startsWith$1(text, "!"))
  80659. if (!B.JSString_methods.startsWith$1(text, "#")) {
  80660. t2 = text.length;
  80661. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  80662. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  80663. }
  80664. return t1;
  80665. },
  80666. visitSupportsExpression$1(_, node) {
  80667. return false;
  80668. },
  80669. visitUnaryOperationExpression$1(_, node) {
  80670. return false;
  80671. },
  80672. visitValueExpression$1(_, node) {
  80673. return false;
  80674. },
  80675. visitVariableExpression$1(_, node) {
  80676. return true;
  80677. }
  80678. };
  80679. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  80680. call$1(expression) {
  80681. return expression.accept$1(this.$this);
  80682. },
  80683. $signature: 121
  80684. };
  80685. A.RecursiveStatementVisitor.prototype = {
  80686. visitAtRootRule$1(_, node) {
  80687. this.visitChildren$1(node.children);
  80688. },
  80689. visitAtRule$1(_, node) {
  80690. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80691. },
  80692. visitContentBlock$1(_, node) {
  80693. return null;
  80694. },
  80695. visitContentRule$1(_, node) {
  80696. },
  80697. visitDebugRule$1(_, node) {
  80698. },
  80699. visitDeclaration$1(_, node) {
  80700. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80701. },
  80702. visitEachRule$1(_, node) {
  80703. return this.visitChildren$1(node.children);
  80704. },
  80705. visitErrorRule$1(_, node) {
  80706. },
  80707. visitExtendRule$1(_, node) {
  80708. },
  80709. visitForRule$1(_, node) {
  80710. return this.visitChildren$1(node.children);
  80711. },
  80712. visitForwardRule$1(_, node) {
  80713. },
  80714. visitFunctionRule$1(_, node) {
  80715. return null;
  80716. },
  80717. visitIfRule$1(_, node) {
  80718. var t1, t2, _i, t3, t4, _i0, _0_0;
  80719. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80720. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  80721. t3[_i0].accept$1(this);
  80722. _0_0 = node.lastClause;
  80723. if (_0_0 != null)
  80724. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80725. t1[_i].accept$1(this);
  80726. },
  80727. visitImportRule$1(_, node) {
  80728. },
  80729. visitIncludeRule$1(_, node) {
  80730. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  80731. },
  80732. visitLoudComment$1(_, node) {
  80733. },
  80734. visitMediaRule$1(_, node) {
  80735. return this.visitChildren$1(node.children);
  80736. },
  80737. visitMixinRule$1(_, node) {
  80738. return null;
  80739. },
  80740. visitReturnRule$1(_, node) {
  80741. },
  80742. visitSilentComment$1(_, node) {
  80743. },
  80744. visitStyleRule$1(_, node) {
  80745. return this.visitChildren$1(node.children);
  80746. },
  80747. visitStylesheet$1(_, node) {
  80748. return this.visitChildren$1(node.children);
  80749. },
  80750. visitSupportsRule$1(_, node) {
  80751. return this.visitChildren$1(node.children);
  80752. },
  80753. visitUseRule$1(_, node) {
  80754. },
  80755. visitVariableDeclaration$1(_, node) {
  80756. },
  80757. visitWarnRule$1(_, node) {
  80758. },
  80759. visitWhileRule$1(_, node) {
  80760. return this.visitChildren$1(node.children);
  80761. },
  80762. visitChildren$1(children) {
  80763. var t1;
  80764. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  80765. t1.get$current(t1).accept$1(this);
  80766. }
  80767. };
  80768. A.ReplaceExpressionVisitor.prototype = {
  80769. visitBinaryOperationExpression$1(_, node) {
  80770. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  80771. },
  80772. visitBooleanExpression$1(_, node) {
  80773. return node;
  80774. },
  80775. visitColorExpression$1(_, node) {
  80776. return node;
  80777. },
  80778. visitFunctionExpression$1(_, node) {
  80779. var t1 = node.originalName,
  80780. t2 = this.visitArgumentList$1(node.$arguments);
  80781. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  80782. },
  80783. visitInterpolatedFunctionExpression$1(_, node) {
  80784. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  80785. },
  80786. visitIfExpression$1(_, node) {
  80787. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  80788. },
  80789. visitListExpression$1(_, node) {
  80790. var t1 = node.contents;
  80791. 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);
  80792. },
  80793. visitMapExpression$1(_, node) {
  80794. var t2, t3, _i, t4,
  80795. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  80796. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80797. t4 = t2[_i];
  80798. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  80799. }
  80800. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  80801. },
  80802. visitNullExpression$1(_, node) {
  80803. return node;
  80804. },
  80805. visitNumberExpression$1(_, node) {
  80806. return node;
  80807. },
  80808. visitParenthesizedExpression$1(_, node) {
  80809. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  80810. },
  80811. visitSelectorExpression$1(_, node) {
  80812. return node;
  80813. },
  80814. visitStringExpression$1(_, node) {
  80815. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  80816. },
  80817. visitSupportsExpression$1(_, node) {
  80818. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  80819. },
  80820. visitUnaryOperationExpression$1(_, node) {
  80821. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  80822. },
  80823. visitValueExpression$1(_, node) {
  80824. return node;
  80825. },
  80826. visitVariableExpression$1(_, node) {
  80827. return node;
  80828. },
  80829. visitArgumentList$1(invocation) {
  80830. var t5, t6, _this = this,
  80831. t1 = invocation.positional,
  80832. t2 = type$.String,
  80833. t3 = type$.Expression,
  80834. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  80835. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80836. t6 = t5.get$current(t5);
  80837. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  80838. }
  80839. t5 = invocation.rest;
  80840. t5 = t5 == null ? null : t5.accept$1(_this);
  80841. t6 = invocation.keywordRest;
  80842. t6 = t6 == null ? null : t6.accept$1(_this);
  80843. 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);
  80844. },
  80845. visitSupportsCondition$1(condition) {
  80846. var _this = this;
  80847. if (condition instanceof A.SupportsOperation)
  80848. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  80849. else if (condition instanceof A.SupportsNegation)
  80850. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  80851. else if (condition instanceof A.SupportsInterpolation)
  80852. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  80853. else if (condition instanceof A.SupportsDeclaration)
  80854. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  80855. else
  80856. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  80857. },
  80858. visitInterpolation$1(interpolation) {
  80859. var t1 = interpolation.contents;
  80860. 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);
  80861. }
  80862. };
  80863. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  80864. call$1(item) {
  80865. return item.accept$1(this.$this);
  80866. },
  80867. $signature: 190
  80868. };
  80869. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  80870. call$1(expression) {
  80871. return expression.accept$1(this.$this);
  80872. },
  80873. $signature: 190
  80874. };
  80875. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  80876. call$1(node) {
  80877. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  80878. },
  80879. $signature: 78
  80880. };
  80881. A.SelectorSearchVisitor.prototype = {
  80882. visitAttributeSelector$1(attribute) {
  80883. return null;
  80884. },
  80885. visitClassSelector$1(klass) {
  80886. return null;
  80887. },
  80888. visitIDSelector$1(id) {
  80889. return null;
  80890. },
  80891. visitParentSelector$1(placeholder) {
  80892. return null;
  80893. },
  80894. visitPlaceholderSelector$1(placeholder) {
  80895. return null;
  80896. },
  80897. visitTypeSelector$1(type) {
  80898. return null;
  80899. },
  80900. visitUniversalSelector$1(universal) {
  80901. return null;
  80902. },
  80903. visitComplexSelector$1(complex) {
  80904. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  80905. },
  80906. visitCompoundSelector$1(compound) {
  80907. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  80908. },
  80909. visitPseudoSelector$1(pseudo) {
  80910. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  80911. },
  80912. visitSelectorList$1(list) {
  80913. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  80914. }
  80915. };
  80916. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  80917. call$1(component) {
  80918. return this.$this.visitCompoundSelector$1(component.selector);
  80919. },
  80920. $signature() {
  80921. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  80922. }
  80923. };
  80924. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  80925. call$1(simple) {
  80926. return simple.accept$1(this.$this);
  80927. },
  80928. $signature() {
  80929. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  80930. }
  80931. };
  80932. A.serialize_closure.prototype = {
  80933. call$1(codeUnit) {
  80934. return codeUnit > 127;
  80935. },
  80936. $signature: 47
  80937. };
  80938. A._SerializeVisitor.prototype = {
  80939. visitCssStylesheet$1(node) {
  80940. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  80941. 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();) {
  80942. previous0 = t1.get$current(t1);
  80943. if (t2)
  80944. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  80945. else
  80946. t7 = false;
  80947. if (t7)
  80948. continue;
  80949. if (previous != null) {
  80950. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  80951. t6.writeCharCode$1(59);
  80952. if (_this._isTrailingComment$2(previous0, previous)) {
  80953. if (t4)
  80954. t6.writeCharCode$1(32);
  80955. } else {
  80956. if (t4)
  80957. t6.write$1(0, "\n");
  80958. if (previous.get$isGroupEnd())
  80959. if (t4)
  80960. t6.write$1(0, "\n");
  80961. }
  80962. }
  80963. previous0.accept$1(_this);
  80964. previous = previous0;
  80965. }
  80966. if (previous != null)
  80967. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  80968. else
  80969. t1 = false;
  80970. if (t1)
  80971. t6.writeCharCode$1(59);
  80972. },
  80973. visitCssComment$1(node) {
  80974. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  80975. },
  80976. visitCssAtRule$1(node) {
  80977. var t1, _this = this;
  80978. _this._writeIndentation$0();
  80979. t1 = _this._serialize$_buffer;
  80980. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  80981. if (!node.isChildless) {
  80982. if (_this._style !== B.OutputStyle_1)
  80983. t1.writeCharCode$1(32);
  80984. _this._serialize$_visitChildren$1(node);
  80985. }
  80986. },
  80987. visitCssMediaRule$1(node) {
  80988. var t1, _this = this;
  80989. _this._writeIndentation$0();
  80990. t1 = _this._serialize$_buffer;
  80991. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  80992. if (_this._style !== B.OutputStyle_1)
  80993. t1.writeCharCode$1(32);
  80994. _this._serialize$_visitChildren$1(node);
  80995. },
  80996. visitCssImport$1(node) {
  80997. this._writeIndentation$0();
  80998. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  80999. },
  81000. _writeImportUrl$1(url) {
  81001. var urlContents, maybeQuote, _this = this;
  81002. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  81003. _this._serialize$_buffer.write$1(0, url);
  81004. return;
  81005. }
  81006. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  81007. maybeQuote = urlContents.charCodeAt(0);
  81008. if (maybeQuote === 39 || maybeQuote === 34)
  81009. _this._serialize$_buffer.write$1(0, urlContents);
  81010. else
  81011. _this._visitQuotedString$1(urlContents);
  81012. },
  81013. visitCssKeyframeBlock$1(node) {
  81014. var t1, _this = this;
  81015. _this._writeIndentation$0();
  81016. t1 = _this._serialize$_buffer;
  81017. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  81018. if (_this._style !== B.OutputStyle_1)
  81019. t1.writeCharCode$1(32);
  81020. _this._serialize$_visitChildren$1(node);
  81021. },
  81022. _visitMediaQuery$1(query) {
  81023. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  81024. _0_0 = query.modifier;
  81025. if (_0_0 != null) {
  81026. t1 = _this._serialize$_buffer;
  81027. t1.write$1(0, _0_0);
  81028. t1.writeCharCode$1(32);
  81029. }
  81030. _1_0 = query.type;
  81031. if (_1_0 != null) {
  81032. t1 = _this._serialize$_buffer;
  81033. t1.write$1(0, _1_0);
  81034. if (query.conditions.length !== 0)
  81035. t1.write$1(0, " and ");
  81036. }
  81037. _2_0 = query.conditions;
  81038. if (_2_0.length === 1)
  81039. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  81040. else
  81041. t1 = false;
  81042. if (t1) {
  81043. t1 = _this._serialize$_buffer;
  81044. t1.write$1(0, "not ");
  81045. condition = B.JSArray_methods.get$first(_2_0);
  81046. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  81047. } else {
  81048. operator = query.conjunction ? "and" : "or";
  81049. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  81050. t2 = _this._serialize$_buffer;
  81051. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  81052. }
  81053. },
  81054. visitCssStyleRule$1(node) {
  81055. var t1, _this = this;
  81056. _this._writeIndentation$0();
  81057. t1 = _this._serialize$_buffer;
  81058. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  81059. if (_this._style !== B.OutputStyle_1)
  81060. t1.writeCharCode$1(32);
  81061. _this._serialize$_visitChildren$1(node);
  81062. },
  81063. visitCssSupportsRule$1(node) {
  81064. var t1, _this = this;
  81065. _this._writeIndentation$0();
  81066. t1 = _this._serialize$_buffer;
  81067. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  81068. if (_this._style !== B.OutputStyle_1)
  81069. t1.writeCharCode$1(32);
  81070. _this._serialize$_visitChildren$1(node);
  81071. },
  81072. visitCssDeclaration$1(node) {
  81073. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  81074. t1 = node.interleavedRules,
  81075. t2 = t1.length;
  81076. if (t2 !== 0) {
  81077. t3 = node._parent;
  81078. t3.toString;
  81079. declSpecificities = _this._specificities$1(t3);
  81080. for (t3 = _this._serialize$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  81081. rule = t1[_i];
  81082. ruleSpecificities = _this._specificities$1(rule);
  81083. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  81084. continue;
  81085. 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);
  81086. }
  81087. }
  81088. _this._writeIndentation$0();
  81089. t1 = node.name;
  81090. _this._serialize$_write$1(t1);
  81091. t2 = _this._serialize$_buffer;
  81092. t2.writeCharCode$1(58);
  81093. if (B.JSString_methods.startsWith$1(t1.value, "--") && node.parsedAsCustomProperty)
  81094. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  81095. else {
  81096. if (_this._style !== B.OutputStyle_1)
  81097. t2.writeCharCode$1(32);
  81098. try {
  81099. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  81100. } catch (exception) {
  81101. t1 = A.unwrapException(exception);
  81102. if (t1 instanceof A.MultiSpanSassScriptException) {
  81103. error = t1;
  81104. stackTrace = A.getTraceFromException(exception);
  81105. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  81106. } else if (t1 instanceof A.SassScriptException) {
  81107. error0 = t1;
  81108. stackTrace0 = A.getTraceFromException(exception);
  81109. t1 = error0.message;
  81110. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  81111. } else
  81112. throw exception;
  81113. }
  81114. }
  81115. },
  81116. _specificities$1(node) {
  81117. var $parent, t2, t3, _i,
  81118. t1 = this.get$_specificities();
  81119. if (node instanceof A.ModifiableCssStyleRule) {
  81120. t1 = A.NullableExtension_andThen(node._parent, t1);
  81121. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  81122. if ($parent == null)
  81123. $parent = 0;
  81124. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  81125. for (t2 = node._style_rule$_selector._box$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  81126. t1.add$1(0, $parent + t2[_i].get$specificity());
  81127. return t1;
  81128. } else {
  81129. t1 = A.NullableExtension_andThen(node.get$parent(node), t1);
  81130. return t1 == null ? B.Set_WDSXk : t1;
  81131. }
  81132. },
  81133. _writeFoldedValue$1(node) {
  81134. var t1, t2, next, t3,
  81135. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  81136. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  81137. next = scanner.readChar$0();
  81138. if (next !== 10) {
  81139. t2.writeCharCode$1(next);
  81140. continue;
  81141. }
  81142. t2.writeCharCode$1(32);
  81143. while (true) {
  81144. t3 = scanner.peekChar$0();
  81145. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81146. break;
  81147. scanner.readChar$0();
  81148. }
  81149. }
  81150. },
  81151. _writeReindentedValue$1(node) {
  81152. var _0_0, t1, _this = this,
  81153. value = type$.SassString._as(node.value.value)._string$_text;
  81154. $label0$0: {
  81155. _0_0 = _this._minimumIndentation$1(value);
  81156. if (_0_0 == null) {
  81157. _this._serialize$_buffer.write$1(0, value);
  81158. break $label0$0;
  81159. }
  81160. if (-1 === _0_0) {
  81161. t1 = _this._serialize$_buffer;
  81162. t1.write$1(0, A.trimAsciiRight(value, true));
  81163. t1.writeCharCode$1(32);
  81164. break $label0$0;
  81165. }
  81166. t1 = node.name.span;
  81167. t1 = t1.get$start(t1);
  81168. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81169. }
  81170. },
  81171. _minimumIndentation$1(text) {
  81172. var character, t2, min, next, min0,
  81173. scanner = A.LineScanner$(text),
  81174. t1 = scanner.string.length;
  81175. while (true) {
  81176. if (scanner._string_scanner$_position !== t1) {
  81177. character = scanner.super$StringScanner$readChar();
  81178. scanner._adjustLineAndColumn$1(character);
  81179. t2 = character !== 10;
  81180. } else
  81181. t2 = false;
  81182. if (!t2)
  81183. break;
  81184. }
  81185. if (scanner._string_scanner$_position === t1)
  81186. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81187. for (min = null; scanner._string_scanner$_position !== t1;) {
  81188. for (; scanner._string_scanner$_position !== t1;) {
  81189. next = scanner.peekChar$0();
  81190. if (next !== 32 && next !== 9)
  81191. break;
  81192. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81193. }
  81194. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81195. continue;
  81196. min0 = scanner._line_scanner$_column;
  81197. min = min == null ? min0 : Math.min(min, min0);
  81198. while (true) {
  81199. if (scanner._string_scanner$_position !== t1) {
  81200. character = scanner.super$StringScanner$readChar();
  81201. scanner._adjustLineAndColumn$1(character);
  81202. t2 = character !== 10;
  81203. } else
  81204. t2 = false;
  81205. if (!t2)
  81206. break;
  81207. }
  81208. }
  81209. return min == null ? -1 : min;
  81210. },
  81211. _writeWithIndent$2(text, minimumIndentation) {
  81212. var t1, t2, t3, character, lineStart, newlines, end,
  81213. scanner = A.LineScanner$(text);
  81214. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81215. character = scanner.super$StringScanner$readChar();
  81216. scanner._adjustLineAndColumn$1(character);
  81217. if (character === 10)
  81218. break;
  81219. t3.writeCharCode$1(character);
  81220. }
  81221. for (; true;) {
  81222. lineStart = scanner._string_scanner$_position;
  81223. for (newlines = 1; true;) {
  81224. if (scanner._string_scanner$_position === t2) {
  81225. t3.writeCharCode$1(32);
  81226. return;
  81227. }
  81228. $label0$2: {
  81229. character = scanner.super$StringScanner$readChar();
  81230. scanner._adjustLineAndColumn$1(character);
  81231. if (32 === character || 9 === character)
  81232. continue;
  81233. if (10 === character) {
  81234. lineStart = scanner._string_scanner$_position;
  81235. ++newlines;
  81236. break $label0$2;
  81237. }
  81238. break;
  81239. }
  81240. }
  81241. this._writeTimes$2(10, newlines);
  81242. this._writeIndentation$0();
  81243. end = scanner._string_scanner$_position;
  81244. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81245. for (; true;) {
  81246. if (scanner._string_scanner$_position === t2)
  81247. return;
  81248. character = scanner.super$StringScanner$readChar();
  81249. scanner._adjustLineAndColumn$1(character);
  81250. if (character === 10)
  81251. break;
  81252. t3.writeCharCode$1(character);
  81253. }
  81254. }
  81255. },
  81256. visitCalculation$1(value) {
  81257. var t2, _this = this,
  81258. t1 = _this._serialize$_buffer;
  81259. t1.write$1(0, value.name);
  81260. t1.writeCharCode$1(40);
  81261. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81262. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81263. t1.writeCharCode$1(41);
  81264. },
  81265. _writeCalculationValue$1(value) {
  81266. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81267. $label1$1: {
  81268. _2_4_isSet = value instanceof A.SassNumber;
  81269. if (_2_4_isSet) {
  81270. _2_4 = value.get$hasComplexUnits();
  81271. t1 = _2_4;
  81272. t1 = t1 && !_this._inspect;
  81273. } else {
  81274. _2_4 = _null;
  81275. t1 = false;
  81276. }
  81277. if (t1)
  81278. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", _null));
  81279. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81280. $label0$0: {
  81281. _0_0 = value._number$_value;
  81282. if (1 / 0 === _0_0) {
  81283. _this._serialize$_buffer.write$1(0, "infinity");
  81284. break $label0$0;
  81285. }
  81286. if (-1 / 0 === _0_0) {
  81287. _this._serialize$_buffer.write$1(0, "-infinity");
  81288. break $label0$0;
  81289. }
  81290. if (isNaN(_0_0))
  81291. _this._serialize$_buffer.write$1(0, "NaN");
  81292. }
  81293. _this._writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  81294. break $label1$1;
  81295. }
  81296. if (_2_4_isSet)
  81297. t1 = _2_4;
  81298. else
  81299. t1 = false;
  81300. if (t1) {
  81301. _this._writeNumber$1(value._number$_value);
  81302. _1_0 = value.get$numeratorUnits(value);
  81303. if (_1_0.length >= 1) {
  81304. first = _1_0[0];
  81305. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81306. _this._serialize$_buffer.write$1(0, first);
  81307. _this._writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  81308. } else
  81309. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  81310. break $label1$1;
  81311. }
  81312. if (value instanceof A.Value) {
  81313. value.accept$1(_this);
  81314. break $label1$1;
  81315. }
  81316. t1 = value instanceof A.CalculationOperation;
  81317. left = _null;
  81318. right = _null;
  81319. if (t1) {
  81320. operator = value._operator;
  81321. left = value._left;
  81322. right = value._right;
  81323. } else
  81324. operator = _null;
  81325. if (t1) {
  81326. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81327. if (parenthesizeLeft)
  81328. _this._serialize$_buffer.writeCharCode$1(40);
  81329. _this._writeCalculationValue$1(left);
  81330. if (parenthesizeLeft)
  81331. _this._serialize$_buffer.writeCharCode$1(41);
  81332. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81333. if (operatorWhitespace)
  81334. _this._serialize$_buffer.writeCharCode$1(32);
  81335. t1 = _this._serialize$_buffer;
  81336. t1.write$1(0, operator.operator);
  81337. if (operatorWhitespace)
  81338. t1.writeCharCode$1(32);
  81339. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81340. parenthesizeRight = false;
  81341. if (operator === B.CalculationOperator_bo5) {
  81342. if (right instanceof A.SassNumber)
  81343. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81344. else
  81345. t2 = parenthesizeRight;
  81346. parenthesizeRight = t2;
  81347. }
  81348. } else
  81349. parenthesizeRight = true;
  81350. if (parenthesizeRight)
  81351. t1.writeCharCode$1(40);
  81352. _this._writeCalculationValue$1(right);
  81353. if (parenthesizeRight)
  81354. t1.writeCharCode$1(41);
  81355. }
  81356. }
  81357. },
  81358. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81359. var t1, t2, t3, t4;
  81360. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81361. t4 = t1.get$current(t1);
  81362. if (t3)
  81363. t2.writeCharCode$1(32);
  81364. t2.writeCharCode$1(42);
  81365. if (t3)
  81366. t2.writeCharCode$1(32);
  81367. t2.writeCharCode$1(49);
  81368. t2.write$1(0, t4);
  81369. }
  81370. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81371. t4 = t1.get$current(t1);
  81372. if (t3)
  81373. t2.writeCharCode$1(32);
  81374. t2.writeCharCode$1(47);
  81375. if (t3)
  81376. t2.writeCharCode$1(32);
  81377. t2.writeCharCode$1(49);
  81378. t2.write$1(0, t4);
  81379. }
  81380. },
  81381. _parenthesizeCalculationRhs$2(outer, right) {
  81382. var t1;
  81383. $label0$0: {
  81384. if (B.CalculationOperator_bo5 === outer) {
  81385. t1 = true;
  81386. break $label0$0;
  81387. }
  81388. if (B.CalculationOperator_F7i === outer) {
  81389. t1 = false;
  81390. break $label0$0;
  81391. }
  81392. t1 = right === B.CalculationOperator_F7i || right === B.CalculationOperator_oum;
  81393. break $label0$0;
  81394. }
  81395. return t1;
  81396. },
  81397. visitColor$1(value) {
  81398. 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;
  81399. $label0$0: {
  81400. _0_0 = value._space;
  81401. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81402. _0_6 = _null;
  81403. t1 = true;
  81404. if (!_0_2) {
  81405. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81406. _0_6_isSet = !_0_4;
  81407. if (_0_6_isSet) {
  81408. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81409. t1 = _0_6;
  81410. }
  81411. } else {
  81412. _0_4 = _null;
  81413. _0_6_isSet = false;
  81414. }
  81415. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81416. _this._writeLegacyColor$1(value);
  81417. break $label0$0;
  81418. }
  81419. if (_0_2) {
  81420. t1 = _this._serialize$_buffer;
  81421. t1.write$1(0, "rgb(");
  81422. _this._writeChannel$1(value.channel0OrNull);
  81423. t1.writeCharCode$1(32);
  81424. _this._writeChannel$1(value.channel1OrNull);
  81425. t1.writeCharCode$1(32);
  81426. _this._writeChannel$1(value.channel2OrNull);
  81427. _this._maybeWriteSlashAlpha$1(value);
  81428. t1.writeCharCode$1(41);
  81429. break $label0$0;
  81430. }
  81431. if (!_0_4)
  81432. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81433. else
  81434. t1 = true;
  81435. if (t1) {
  81436. t1 = _this._serialize$_buffer;
  81437. t1.write$1(0, _0_0);
  81438. t1.writeCharCode$1(40);
  81439. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81440. _this._writeChannel$2(value.channel0OrNull, t2);
  81441. t1.writeCharCode$1(32);
  81442. _this._writeChannel$2(value.channel1OrNull, "%");
  81443. t1.writeCharCode$1(32);
  81444. _this._writeChannel$2(value.channel2OrNull, "%");
  81445. _this._maybeWriteSlashAlpha$1(value);
  81446. t1.writeCharCode$1(41);
  81447. break $label0$0;
  81448. }
  81449. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81450. if (_0_10_isSet) {
  81451. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81452. t1 = _0_10;
  81453. } else {
  81454. _0_10 = _null;
  81455. t1 = true;
  81456. }
  81457. t2 = false;
  81458. if (t1)
  81459. if (!_this._inspect) {
  81460. t1 = value.channel0OrNull;
  81461. if (t1 == null)
  81462. t1 = 0;
  81463. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81464. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81465. else
  81466. t1 = false;
  81467. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81468. } else
  81469. t1 = t2;
  81470. else
  81471. t1 = t2;
  81472. _0_12_isSet = !t1;
  81473. _0_14 = _null;
  81474. if (_0_12_isSet) {
  81475. _0_12 = B.OklabColorSpace_540 === _0_0;
  81476. t1 = false;
  81477. _0_14_isSet = !_0_12;
  81478. if (_0_14_isSet) {
  81479. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81480. t2 = _0_14;
  81481. } else
  81482. t2 = true;
  81483. t3 = false;
  81484. if (t2)
  81485. if (!_this._inspect) {
  81486. t2 = value.channel0OrNull;
  81487. if (t2 == null)
  81488. t2 = 0;
  81489. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81490. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81491. else
  81492. t2 = false;
  81493. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81494. } else
  81495. t2 = t3;
  81496. else
  81497. t2 = t3;
  81498. if (!t2) {
  81499. if (_0_10_isSet) {
  81500. t2 = _0_10;
  81501. _0_10_isSet0 = _0_10_isSet;
  81502. } else {
  81503. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81504. t2 = _0_10;
  81505. _0_10_isSet0 = true;
  81506. }
  81507. if (!t2)
  81508. if (_0_14_isSet)
  81509. t2 = _0_14;
  81510. else {
  81511. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81512. t2 = _0_14;
  81513. _0_14_isSet = true;
  81514. }
  81515. else
  81516. t2 = true;
  81517. if (t2)
  81518. if (!_this._inspect) {
  81519. t1 = value.channel1OrNull;
  81520. t2 = t1 == null;
  81521. if (t2)
  81522. t1 = 0;
  81523. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  81524. }
  81525. } else {
  81526. _0_10_isSet0 = _0_10_isSet;
  81527. t1 = true;
  81528. }
  81529. } else {
  81530. _0_12 = _null;
  81531. _0_10_isSet0 = _0_10_isSet;
  81532. _0_14_isSet = false;
  81533. t1 = true;
  81534. }
  81535. if (t1) {
  81536. t1 = _this._serialize$_buffer;
  81537. t1.write$1(0, "color-mix(in ");
  81538. t1.write$1(0, _0_0);
  81539. t2 = _this._style === B.OutputStyle_1;
  81540. t1.write$1(0, t2 ? "," : ", ");
  81541. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  81542. if (!t2)
  81543. t1.writeCharCode$1(32);
  81544. t1.write$1(0, "100%");
  81545. t1.write$1(0, t2 ? "," : ", ");
  81546. t1.write$1(0, t2 ? "red" : "black");
  81547. t1.writeCharCode$1(41);
  81548. break $label0$0;
  81549. }
  81550. t1 = true;
  81551. if (_0_10_isSet)
  81552. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  81553. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  81554. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  81555. if (t1) {
  81556. t1 = _this._serialize$_buffer;
  81557. t1.write$1(0, _0_0);
  81558. t1.writeCharCode$1(40);
  81559. t2 = _0_0._channels;
  81560. polar = t2[2].isPolarAngle;
  81561. t3 = false;
  81562. if (!_this._inspect) {
  81563. t4 = value.channel0OrNull;
  81564. if (t4 == null)
  81565. t4 = 0;
  81566. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  81567. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  81568. else
  81569. t4 = false;
  81570. if (t4) {
  81571. if (polar) {
  81572. t3 = value.channel1OrNull;
  81573. if (t3 == null)
  81574. t3 = 0;
  81575. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  81576. }
  81577. } else
  81578. t3 = true;
  81579. }
  81580. if (t3) {
  81581. t1.write$1(0, "from ");
  81582. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  81583. t1.writeCharCode$1(32);
  81584. }
  81585. t3 = _this._style !== B.OutputStyle_1;
  81586. t4 = t3 && value.channel0OrNull != null;
  81587. t5 = value.channel0OrNull;
  81588. if (t4) {
  81589. t2 = type$.LinearChannel._as(t2[0]);
  81590. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  81591. t1.writeCharCode$1(37);
  81592. } else
  81593. _this._writeChannel$1(t5);
  81594. t1.writeCharCode$1(32);
  81595. _this._writeChannel$1(value.channel1OrNull);
  81596. t1.writeCharCode$1(32);
  81597. t2 = polar && t3 ? "deg" : _null;
  81598. _this._writeChannel$2(value.channel2OrNull, t2);
  81599. _this._maybeWriteSlashAlpha$1(value);
  81600. t1.writeCharCode$1(41);
  81601. break $label0$0;
  81602. }
  81603. _this._writeColorFunction$1(value);
  81604. }
  81605. },
  81606. _writeChannel$2(channel, unit) {
  81607. var _this = this;
  81608. if (channel == null)
  81609. _this._serialize$_buffer.write$1(0, "none");
  81610. else if (isFinite(channel)) {
  81611. _this._writeNumber$1(channel);
  81612. if (unit != null)
  81613. _this._serialize$_buffer.write$1(0, unit);
  81614. } else
  81615. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  81616. },
  81617. _writeChannel$1(channel) {
  81618. return this._writeChannel$2(channel, null);
  81619. },
  81620. _writeLegacyColor$1(color) {
  81621. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  81622. t1 = color.alphaOrNull,
  81623. t2 = t1 == null,
  81624. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  81625. if (!color.get$isInGamut() && !_this._inspect) {
  81626. _this._writeHsl$1(color);
  81627. return;
  81628. }
  81629. if (_this._style === B.OutputStyle_1) {
  81630. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81631. if (opaque && _this._tryIntegerRgb$1(rgb))
  81632. return;
  81633. t3 = rgb.channel0OrNull;
  81634. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81635. t3 = rgb.channel1OrNull;
  81636. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81637. t3 = rgb.channel2OrNull;
  81638. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81639. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  81640. t3 = hsl.channel0OrNull;
  81641. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81642. t3 = hsl.channel1OrNull;
  81643. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81644. t3 = hsl.channel2OrNull;
  81645. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81646. t3 = _this._serialize$_buffer;
  81647. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  81648. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81649. t3.write$1(0, red);
  81650. t3.writeCharCode$1(44);
  81651. t3.write$1(0, green);
  81652. t3.writeCharCode$1(44);
  81653. t3.write$1(0, blue);
  81654. } else {
  81655. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81656. t3.write$1(0, hue);
  81657. t3.writeCharCode$1(44);
  81658. t3.write$1(0, saturation);
  81659. t3.write$1(0, "%,");
  81660. t3.write$1(0, lightness);
  81661. t3.writeCharCode$1(37);
  81662. }
  81663. if (!opaque) {
  81664. t3.writeCharCode$1(44);
  81665. _this._writeNumber$1(t2 ? 0 : t1);
  81666. }
  81667. t3.writeCharCode$1(41);
  81668. return;
  81669. }
  81670. t3 = color._space;
  81671. if (t3 === B.HslColorSpace_JQ2) {
  81672. _this._writeHsl$1(color);
  81673. return;
  81674. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  81675. t3 = _this._serialize$_buffer;
  81676. t3.write$1(0, "hwb(");
  81677. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  81678. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  81679. t3.writeCharCode$1(32);
  81680. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  81681. t3.writeCharCode$1(37);
  81682. t3.writeCharCode$1(32);
  81683. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  81684. t3.writeCharCode$1(37);
  81685. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  81686. t3.write$1(0, " / ");
  81687. _this._writeNumber$1(t2 ? 0 : t1);
  81688. }
  81689. t3.writeCharCode$1(41);
  81690. return;
  81691. }
  81692. _0_0 = color.format;
  81693. if (B.C__ColorFormatEnum === _0_0) {
  81694. _this._writeRgb$1(color);
  81695. return;
  81696. }
  81697. t1 = _0_0 instanceof A.SpanColorFormat;
  81698. format = t1 ? _0_0 : null;
  81699. if (t1) {
  81700. t1 = format._color$_span;
  81701. _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));
  81702. return;
  81703. }
  81704. if (opaque) {
  81705. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81706. _1_0 = $.$get$namesByColor().$index(0, rgb);
  81707. if (_1_0 != null) {
  81708. _this._serialize$_buffer.write$1(0, _1_0);
  81709. return;
  81710. }
  81711. if (_this._canUseHex$1(rgb)) {
  81712. _this._serialize$_buffer.writeCharCode$1(35);
  81713. t1 = rgb.channel0OrNull;
  81714. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81715. t1 = rgb.channel1OrNull;
  81716. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81717. t1 = rgb.channel2OrNull;
  81718. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81719. return;
  81720. }
  81721. }
  81722. if (t3 === B.HwbColorSpace_guQ)
  81723. _this._writeHsl$1(color);
  81724. else
  81725. _this._writeRgb$1(color);
  81726. },
  81727. _tryIntegerRgb$1(rgb) {
  81728. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  81729. if (!_this._canUseHex$1(rgb))
  81730. return false;
  81731. t1 = rgb.channel0OrNull;
  81732. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81733. t1 = rgb.channel1OrNull;
  81734. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81735. t1 = rgb.channel2OrNull;
  81736. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81737. t1 = redInt & 15;
  81738. 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);
  81739. _0_0 = $.$get$namesByColor().$index(0, rgb);
  81740. t2 = false;
  81741. if (_0_0 != null) {
  81742. t3 = _0_0.length;
  81743. t2 = t3 <= (shortHex ? 4 : 7);
  81744. $name = _0_0;
  81745. } else
  81746. $name = null;
  81747. if (t2)
  81748. _this._serialize$_buffer.write$1(0, $name);
  81749. else {
  81750. t2 = _this._serialize$_buffer;
  81751. if (shortHex) {
  81752. t2.writeCharCode$1(35);
  81753. t2.writeCharCode$1(A.hexCharFor(t1));
  81754. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  81755. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  81756. } else {
  81757. t2.writeCharCode$1(35);
  81758. _this._writeHexComponent$1(redInt);
  81759. _this._writeHexComponent$1(greenInt);
  81760. _this._writeHexComponent$1(blueInt);
  81761. }
  81762. }
  81763. return true;
  81764. },
  81765. _canUseHex$1(rgb) {
  81766. var t2,
  81767. t1 = rgb.channel0OrNull;
  81768. if (t1 == null)
  81769. t1 = 0;
  81770. if (A.fuzzyIsInt(t1))
  81771. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81772. else
  81773. t1 = false;
  81774. t2 = false;
  81775. if (t1) {
  81776. t1 = rgb.channel1OrNull;
  81777. if (t1 == null)
  81778. t1 = 0;
  81779. if (A.fuzzyIsInt(t1))
  81780. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81781. else
  81782. t1 = false;
  81783. if (t1) {
  81784. t1 = rgb.channel2OrNull;
  81785. if (t1 == null)
  81786. t1 = 0;
  81787. if (A.fuzzyIsInt(t1))
  81788. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81789. else
  81790. t1 = t2;
  81791. } else
  81792. t1 = t2;
  81793. } else
  81794. t1 = t2;
  81795. return t1;
  81796. },
  81797. _writeRgb$1(color) {
  81798. var t4, _this = this,
  81799. t1 = color.alphaOrNull,
  81800. t2 = t1 == null,
  81801. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81802. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  81803. t3 = _this._serialize$_buffer;
  81804. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81805. _this._writeNumber$1(rgb.channel$1(0, "red"));
  81806. t4 = _this._style === B.OutputStyle_1;
  81807. t3.write$1(0, t4 ? "," : ", ");
  81808. _this._writeNumber$1(rgb.channel$1(0, "green"));
  81809. t3.write$1(0, t4 ? "," : ", ");
  81810. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  81811. if (!opaque) {
  81812. t3.write$1(0, t4 ? "," : ", ");
  81813. _this._writeNumber$1(t2 ? 0 : t1);
  81814. }
  81815. t3.writeCharCode$1(41);
  81816. },
  81817. _writeHsl$1(color) {
  81818. var t4, _this = this,
  81819. t1 = color.alphaOrNull,
  81820. t2 = t1 == null,
  81821. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81822. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  81823. t3 = _this._serialize$_buffer;
  81824. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81825. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  81826. t4 = _this._style === B.OutputStyle_1;
  81827. t3.write$1(0, t4 ? "," : ", ");
  81828. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  81829. t3.write$1(0, t4 ? "," : ", ");
  81830. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  81831. if (!opaque) {
  81832. t3.write$1(0, t4 ? "," : ", ");
  81833. _this._writeNumber$1(t2 ? 0 : t1);
  81834. }
  81835. t3.writeCharCode$1(41);
  81836. },
  81837. _writeColorFunction$1(color) {
  81838. var _this = this,
  81839. t1 = _this._serialize$_buffer;
  81840. t1.write$1(0, "color(");
  81841. t1.write$1(0, color._space);
  81842. t1.writeCharCode$1(32);
  81843. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  81844. _this._maybeWriteSlashAlpha$1(color);
  81845. t1.writeCharCode$1(41);
  81846. },
  81847. _writeHexComponent$1(color) {
  81848. var t1 = this._serialize$_buffer;
  81849. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  81850. t1.writeCharCode$1(A.hexCharFor(color & 15));
  81851. },
  81852. _maybeWriteSlashAlpha$1(color) {
  81853. var t2, t3, _this = this,
  81854. t1 = color.alphaOrNull;
  81855. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  81856. return;
  81857. t2 = _this._style !== B.OutputStyle_1;
  81858. if (t2)
  81859. _this._serialize$_buffer.writeCharCode$1(32);
  81860. t3 = _this._serialize$_buffer;
  81861. t3.writeCharCode$1(47);
  81862. if (t2)
  81863. t3.writeCharCode$1(32);
  81864. _this._writeChannel$1(t1);
  81865. },
  81866. visitList$1(value) {
  81867. var t2, singleton, t3, t4, t5, _this = this,
  81868. t1 = value._hasBrackets;
  81869. if (t1)
  81870. _this._serialize$_buffer.writeCharCode$1(91);
  81871. else if (value._list$_contents.length === 0) {
  81872. if (!_this._inspect)
  81873. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  81874. _this._serialize$_buffer.write$1(0, "()");
  81875. return;
  81876. }
  81877. t2 = _this._inspect;
  81878. singleton = false;
  81879. if (t2)
  81880. if (value._list$_contents.length === 1) {
  81881. t3 = value._separator;
  81882. t3 = t3 === B.ListSeparator_qVN || t3 === B.ListSeparator_bRz;
  81883. singleton = t3;
  81884. }
  81885. if (singleton && !t1)
  81886. _this._serialize$_buffer.writeCharCode$1(40);
  81887. t3 = value._list$_contents;
  81888. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  81889. t4 = value._separator;
  81890. t5 = _this._separatorString$1(t4);
  81891. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  81892. if (singleton) {
  81893. t2 = _this._serialize$_buffer;
  81894. t2.write$1(0, t4.separator);
  81895. if (!t1)
  81896. t2.writeCharCode$1(41);
  81897. }
  81898. if (t1)
  81899. _this._serialize$_buffer.writeCharCode$1(93);
  81900. },
  81901. _separatorString$1(separator) {
  81902. var t1;
  81903. $label0$0: {
  81904. if (B.ListSeparator_qVN === separator) {
  81905. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  81906. break $label0$0;
  81907. }
  81908. if (B.ListSeparator_bRz === separator) {
  81909. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  81910. break $label0$0;
  81911. }
  81912. if (B.ListSeparator_qSL === separator) {
  81913. t1 = " ";
  81914. break $label0$0;
  81915. }
  81916. t1 = "";
  81917. break $label0$0;
  81918. }
  81919. return t1;
  81920. },
  81921. _elementNeedsParens$2(separator, value) {
  81922. var t1;
  81923. $label1$1: {
  81924. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  81925. $label0$0: {
  81926. if (B.ListSeparator_qVN === separator) {
  81927. t1 = value._separator === B.ListSeparator_qVN;
  81928. break $label0$0;
  81929. }
  81930. if (B.ListSeparator_bRz === separator) {
  81931. t1 = value._separator;
  81932. t1 = t1 === B.ListSeparator_qVN || t1 === B.ListSeparator_bRz;
  81933. break $label0$0;
  81934. }
  81935. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  81936. break $label0$0;
  81937. }
  81938. break $label1$1;
  81939. }
  81940. t1 = false;
  81941. break $label1$1;
  81942. }
  81943. return t1;
  81944. },
  81945. visitMap$1(map) {
  81946. var t1, t2, _this = this;
  81947. if (!_this._inspect)
  81948. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  81949. t1 = _this._serialize$_buffer;
  81950. t1.writeCharCode$1(40);
  81951. t2 = map._map$_contents;
  81952. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  81953. t1.writeCharCode$1(41);
  81954. },
  81955. _writeMapElement$1(value) {
  81956. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_qVN && !value._hasBrackets;
  81957. if (needsParens)
  81958. this._serialize$_buffer.writeCharCode$1(40);
  81959. value.accept$1(this);
  81960. if (needsParens)
  81961. this._serialize$_buffer.writeCharCode$1(41);
  81962. },
  81963. visitNumber$1(value) {
  81964. var before, after, t1, _1_0, _this = this,
  81965. _0_0 = value.asSlash;
  81966. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  81967. before = _0_0._0;
  81968. after = _0_0._1;
  81969. _this.visitNumber$1(before);
  81970. _this._serialize$_buffer.writeCharCode$1(47);
  81971. _this.visitNumber$1(after);
  81972. return;
  81973. }
  81974. t1 = value._number$_value;
  81975. if (!isFinite(t1)) {
  81976. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81977. return;
  81978. }
  81979. if (value.get$hasComplexUnits()) {
  81980. if (!_this._inspect)
  81981. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  81982. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  81983. } else {
  81984. _this._writeNumber$1(t1);
  81985. _1_0 = value.get$numeratorUnits(value);
  81986. if (_1_0.length === 1)
  81987. _this._serialize$_buffer.write$1(0, _1_0[0]);
  81988. }
  81989. },
  81990. _writeNumberToString$1(number) {
  81991. var t1 = new A.StringBuffer("");
  81992. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  81993. t1 = t1._contents;
  81994. return t1.charCodeAt(0) == 0 ? t1 : t1;
  81995. },
  81996. _writeNumber$2(number, buffer) {
  81997. var _0_0, t1, integer, text, _this = this;
  81998. if (buffer == null)
  81999. buffer = _this._serialize$_buffer;
  82000. _0_0 = A.fuzzyAsInt(number);
  82001. t1 = false;
  82002. if (_0_0 != null) {
  82003. t1 = !_this._inspect || number === _0_0;
  82004. integer = _0_0;
  82005. } else
  82006. integer = null;
  82007. if (t1) {
  82008. buffer.write$1(0, _this._removeExponent$1(J.toString$0$(integer)));
  82009. return;
  82010. }
  82011. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  82012. if (_this._inspect) {
  82013. buffer.write$1(0, text);
  82014. return;
  82015. }
  82016. if (text.length < 12) {
  82017. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  82018. return;
  82019. }
  82020. _this._writeRounded$2(text, buffer);
  82021. },
  82022. _writeNumber$1(number) {
  82023. return this._writeNumber$2(number, null);
  82024. },
  82025. _removeExponent$1(text) {
  82026. var buffer, t2, t3, additionalZeroes,
  82027. negative = text.charCodeAt(0) === 45,
  82028. exponent = A._Cell$(),
  82029. t1 = text.length,
  82030. i = 0;
  82031. while (true) {
  82032. if (!(i < t1)) {
  82033. buffer = null;
  82034. break;
  82035. }
  82036. c$0: {
  82037. if (text.charCodeAt(i) !== 101)
  82038. break c$0;
  82039. buffer = new A.StringBuffer("");
  82040. t2 = buffer._contents = A.Primitives_stringFromCharCode(text.charCodeAt(0));
  82041. if (negative) {
  82042. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  82043. buffer._contents = t2;
  82044. if (i > 3)
  82045. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  82046. } else if (i > 2)
  82047. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  82048. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  82049. break;
  82050. }
  82051. ++i;
  82052. }
  82053. if (buffer == null)
  82054. return text;
  82055. if (exponent._readLocal$0() > 0) {
  82056. t1 = exponent._readLocal$0();
  82057. t2 = buffer._contents;
  82058. t3 = negative ? 1 : 0;
  82059. additionalZeroes = t1 - (t2.length - 1 - t3);
  82060. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  82061. t1 = A.Primitives_stringFromCharCode(48);
  82062. t1 = buffer._contents += t1;
  82063. }
  82064. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82065. } else {
  82066. negative = text.charCodeAt(0) === 45;
  82067. t1 = (negative ? A.Primitives_stringFromCharCode(45) : "") + "0.";
  82068. i = -1;
  82069. while (true) {
  82070. t2 = exponent.__late_helper$_value;
  82071. if (t2 === exponent)
  82072. A.throwExpression(A.LateError$localNI(""));
  82073. if (!(i > t2))
  82074. break;
  82075. t1 += A.Primitives_stringFromCharCode(48);
  82076. --i;
  82077. }
  82078. if (negative) {
  82079. t2 = buffer._contents;
  82080. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  82081. } else
  82082. t2 = buffer;
  82083. t2 = t1 + A.S(t2);
  82084. return t2.charCodeAt(0) == 0 ? t2 : t2;
  82085. }
  82086. },
  82087. _writeRounded$2(text, buffer) {
  82088. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  82089. if (B.JSString_methods.endsWith$1(text, ".0")) {
  82090. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  82091. return;
  82092. }
  82093. t1 = text.length;
  82094. digits = new Uint8Array(t1 + 1);
  82095. negative = text.charCodeAt(0) === 45;
  82096. textIndex = negative ? 1 : 0;
  82097. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  82098. if (textIndex === t1) {
  82099. buffer.write$1(0, text);
  82100. return;
  82101. }
  82102. textIndex0 = textIndex + 1;
  82103. codeUnit = text.charCodeAt(textIndex);
  82104. if (codeUnit === 46) {
  82105. textIndex = textIndex0;
  82106. break;
  82107. }
  82108. digitsIndex0 = digitsIndex + 1;
  82109. digits[digitsIndex] = codeUnit - 48;
  82110. }
  82111. indexAfterPrecision = textIndex + 10;
  82112. if (indexAfterPrecision >= t1) {
  82113. buffer.write$1(0, text);
  82114. return;
  82115. }
  82116. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  82117. digitsIndex1 = digitsIndex0 + 1;
  82118. textIndex0 = textIndex + 1;
  82119. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  82120. }
  82121. if (text.charCodeAt(textIndex) - 48 >= 5)
  82122. for (; true; digitsIndex0 = digitsIndex1) {
  82123. digitsIndex1 = digitsIndex0 - 1;
  82124. newDigit = digits[digitsIndex1] + 1;
  82125. digits[digitsIndex1] = newDigit;
  82126. if (newDigit !== 10)
  82127. break;
  82128. }
  82129. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  82130. digits[digitsIndex0] = 0;
  82131. while (true) {
  82132. t1 = digitsIndex0 > digitsIndex;
  82133. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  82134. break;
  82135. --digitsIndex0;
  82136. }
  82137. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  82138. buffer.writeCharCode$1(48);
  82139. return;
  82140. }
  82141. if (negative)
  82142. buffer.writeCharCode$1(45);
  82143. if (digits[0] === 0)
  82144. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  82145. else
  82146. writtenIndex = 0;
  82147. for (; writtenIndex < digitsIndex; ++writtenIndex)
  82148. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82149. if (t1) {
  82150. buffer.writeCharCode$1(46);
  82151. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82152. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82153. }
  82154. },
  82155. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82156. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82157. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82158. if (forceDoubleQuote)
  82159. buffer.writeCharCode$1(34);
  82160. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82161. char = string.charCodeAt(i);
  82162. _1_2 = 39 === char;
  82163. if (_1_2 && forceDoubleQuote) {
  82164. buffer.writeCharCode$1(39);
  82165. continue;
  82166. }
  82167. if (_1_2 && includesDoubleQuote) {
  82168. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82169. return;
  82170. }
  82171. if (_1_2) {
  82172. buffer.writeCharCode$1(39);
  82173. includesSingleQuote = true;
  82174. continue;
  82175. }
  82176. _1_4 = 34 === char;
  82177. if (_1_4 && forceDoubleQuote) {
  82178. buffer.writeCharCode$1(92);
  82179. buffer.writeCharCode$1(34);
  82180. continue;
  82181. }
  82182. if (_1_4 && includesSingleQuote) {
  82183. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82184. return;
  82185. }
  82186. if (_1_4) {
  82187. buffer.writeCharCode$1(34);
  82188. includesDoubleQuote = true;
  82189. continue;
  82190. }
  82191. 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) {
  82192. _this._writeEscape$4(buffer, char, string, i);
  82193. continue;
  82194. }
  82195. if (92 === char) {
  82196. buffer.writeCharCode$1(92);
  82197. buffer.writeCharCode$1(92);
  82198. continue;
  82199. }
  82200. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82201. if (_0_0 != null)
  82202. i = _0_0;
  82203. else
  82204. buffer.writeCharCode$1(char);
  82205. }
  82206. if (forceDoubleQuote)
  82207. buffer.writeCharCode$1(34);
  82208. else {
  82209. quote = includesDoubleQuote ? 39 : 34;
  82210. t1 = _this._serialize$_buffer;
  82211. t1.writeCharCode$1(quote);
  82212. t1.write$1(0, buffer);
  82213. t1.writeCharCode$1(quote);
  82214. }
  82215. },
  82216. _visitQuotedString$1(string) {
  82217. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82218. },
  82219. _visitUnquotedString$1(string) {
  82220. var t1, t2, afterNewline, i, _1_0, _0_0;
  82221. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82222. _1_0 = string.charCodeAt(i);
  82223. if (10 === _1_0) {
  82224. t2.writeCharCode$1(32);
  82225. afterNewline = true;
  82226. continue;
  82227. }
  82228. if (32 === _1_0) {
  82229. if (!afterNewline)
  82230. t2.writeCharCode$1(32);
  82231. continue;
  82232. }
  82233. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82234. if (_0_0 != null)
  82235. i = _0_0;
  82236. else
  82237. t2.writeCharCode$1(_1_0);
  82238. afterNewline = false;
  82239. }
  82240. },
  82241. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82242. var t1;
  82243. if (this._style === B.OutputStyle_1)
  82244. return null;
  82245. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82246. this._writeEscape$4(buffer, codeUnit, string, i);
  82247. return i;
  82248. }
  82249. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82250. t1 = i + 1;
  82251. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82252. return t1;
  82253. }
  82254. return null;
  82255. },
  82256. _writeEscape$4(buffer, character, string, i) {
  82257. var t1, next;
  82258. buffer.writeCharCode$1(92);
  82259. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82260. t1 = i + 1;
  82261. if (string.length === t1)
  82262. return;
  82263. next = string.charCodeAt(t1);
  82264. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82265. buffer.writeCharCode$1(32);
  82266. },
  82267. visitAttributeSelector$1(attribute) {
  82268. var _0_0, t2,
  82269. t1 = this._serialize$_buffer;
  82270. t1.writeCharCode$1(91);
  82271. t1.write$1(0, attribute.name);
  82272. _0_0 = attribute.value;
  82273. if (_0_0 != null) {
  82274. t1.write$1(0, attribute.op);
  82275. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82276. t1.write$1(0, _0_0);
  82277. t2 = attribute.modifier;
  82278. if (t2 != null)
  82279. t1.writeCharCode$1(32);
  82280. } else {
  82281. this._visitQuotedString$1(_0_0);
  82282. t2 = attribute.modifier;
  82283. if (t2 != null)
  82284. if (this._style !== B.OutputStyle_1)
  82285. t1.writeCharCode$1(32);
  82286. }
  82287. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82288. }
  82289. t1.writeCharCode$1(93);
  82290. },
  82291. visitClassSelector$1(klass) {
  82292. var t1 = this._serialize$_buffer;
  82293. t1.writeCharCode$1(46);
  82294. t1.write$1(0, klass.name);
  82295. },
  82296. visitComplexSelector$1(complex) {
  82297. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82298. t1 = complex.leadingCombinators;
  82299. _this._writeCombinators$1(t1);
  82300. if (t1.length >= 1 && complex.components.length >= 1)
  82301. if (_this._style !== B.OutputStyle_1)
  82302. _this._serialize$_buffer.writeCharCode$1(32);
  82303. 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) {
  82304. component = t1[i];
  82305. _this.visitCompoundSelector$1(component.selector);
  82306. t7 = component.combinators;
  82307. t8 = t7.length === 0;
  82308. if (!t8)
  82309. if (t6)
  82310. t4.writeCharCode$1(32);
  82311. t9 = t5 ? "" : " ";
  82312. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82313. if (i !== t3)
  82314. t7 = !t5 || t8;
  82315. else
  82316. t7 = false;
  82317. if (t7)
  82318. t4.writeCharCode$1(32);
  82319. }
  82320. },
  82321. _writeCombinators$1(combinators) {
  82322. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82323. t2 = this._serialize$_buffer;
  82324. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82325. },
  82326. visitCompoundSelector$1(compound) {
  82327. var t2, t3, _i,
  82328. t1 = this._serialize$_buffer,
  82329. start = t1.get$length(t1);
  82330. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82331. t2[_i].accept$1(this);
  82332. if (t1.get$length(t1) === start)
  82333. t1.writeCharCode$1(42);
  82334. },
  82335. visitIDSelector$1(id) {
  82336. var t1 = this._serialize$_buffer;
  82337. t1.writeCharCode$1(35);
  82338. t1.write$1(0, id.name);
  82339. },
  82340. visitSelectorList$1(list) {
  82341. var t1, t2, t3, first, t4, _this = this,
  82342. complexes = list.components;
  82343. 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();) {
  82344. t4 = t1.get$current(t1);
  82345. if (first)
  82346. first = false;
  82347. else {
  82348. t3.writeCharCode$1(44);
  82349. if (t4.lineBreak) {
  82350. if (t2)
  82351. t3.write$1(0, "\n");
  82352. _this._writeIndentation$0();
  82353. } else if (t2)
  82354. t3.writeCharCode$1(32);
  82355. }
  82356. _this.visitComplexSelector$1(t4);
  82357. }
  82358. },
  82359. visitParentSelector$1($parent) {
  82360. var t1 = this._serialize$_buffer;
  82361. t1.writeCharCode$1(38);
  82362. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82363. },
  82364. visitPlaceholderSelector$1(placeholder) {
  82365. var t1 = this._serialize$_buffer;
  82366. t1.writeCharCode$1(37);
  82367. t1.write$1(0, placeholder.name);
  82368. },
  82369. visitPseudoSelector$1(pseudo) {
  82370. var _0_4, t3,
  82371. t1 = pseudo.name,
  82372. t2 = false;
  82373. if ("not" === t1) {
  82374. _0_4 = pseudo.selector;
  82375. if (_0_4 instanceof A.SelectorList)
  82376. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82377. }
  82378. if (t2)
  82379. return;
  82380. t2 = this._serialize$_buffer;
  82381. t2.writeCharCode$1(58);
  82382. if (!pseudo.isSyntacticClass)
  82383. t2.writeCharCode$1(58);
  82384. t2.write$1(0, t1);
  82385. t1 = pseudo.argument;
  82386. t3 = t1 == null;
  82387. if (t3 && pseudo.selector == null)
  82388. return;
  82389. t2.writeCharCode$1(40);
  82390. if (!t3) {
  82391. t2.write$1(0, t1);
  82392. if (pseudo.selector != null)
  82393. t2.writeCharCode$1(32);
  82394. }
  82395. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82396. t2.writeCharCode$1(41);
  82397. },
  82398. visitTypeSelector$1(type) {
  82399. this._serialize$_buffer.write$1(0, type.name);
  82400. },
  82401. visitUniversalSelector$1(universal) {
  82402. var t2,
  82403. t1 = universal.namespace;
  82404. if (t1 != null) {
  82405. t2 = this._serialize$_buffer;
  82406. t2.write$1(0, t1);
  82407. t2.writeCharCode$1(124);
  82408. }
  82409. this._serialize$_buffer.writeCharCode$1(42);
  82410. },
  82411. _serialize$_write$1(value) {
  82412. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82413. },
  82414. _serialize$_visitChildren$1($parent) {
  82415. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82416. t1 = _this._serialize$_buffer;
  82417. t1.writeCharCode$1(123);
  82418. 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();) {
  82419. t8 = t2.__internal$_current;
  82420. previous0 = t8 == null ? t3._as(t8) : t8;
  82421. if (t7)
  82422. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82423. else
  82424. t8 = false;
  82425. if (t8)
  82426. continue;
  82427. t8 = previous == null;
  82428. t9 = t8 ? null : t6.call$1(previous);
  82429. if (t9 == null ? false : t9)
  82430. t1.writeCharCode$1(59);
  82431. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82432. if (t5)
  82433. t1.writeCharCode$1(32);
  82434. savedIndentation = _this._indentation;
  82435. _this._indentation = 0;
  82436. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82437. _this._indentation = savedIndentation;
  82438. } else {
  82439. if (t5)
  82440. t1.write$1(0, "\n");
  82441. ++_this._indentation;
  82442. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82443. --_this._indentation;
  82444. }
  82445. prePrevious = previous;
  82446. previous = previous0;
  82447. }
  82448. if (previous != null) {
  82449. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82450. t1.writeCharCode$1(59);
  82451. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82452. if (t5)
  82453. t1.writeCharCode$1(32);
  82454. } else {
  82455. _this._writeLineFeed$0();
  82456. _this._writeIndentation$0();
  82457. }
  82458. }
  82459. t1.writeCharCode$1(125);
  82460. },
  82461. _requiresSemicolon$1(node) {
  82462. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82463. },
  82464. _isTrailingComment$2(node, previous) {
  82465. var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
  82466. if (this._style === B.OutputStyle_1)
  82467. return false;
  82468. if (!(node instanceof A.ModifiableCssComment))
  82469. return false;
  82470. t1 = node.span;
  82471. t2 = t1.file;
  82472. t3 = t2.url;
  82473. t4 = previous.get$span(previous);
  82474. if (!J.$eq$(t3, t4.get$sourceUrl(t4)))
  82475. return false;
  82476. t4 = previous.get$span(previous);
  82477. 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)) {
  82478. t1 = A.FileLocation$_(t2, t1._file$_start);
  82479. t1 = t1.file.getLine$1(t1.offset);
  82480. t2 = previous.get$span(previous);
  82481. t2 = t2.get$end(t2);
  82482. return t1 === t2.file.getLine$1(t2.offset);
  82483. }
  82484. t1 = t1._file$_start;
  82485. t3 = A.FileLocation$_(t2, t1);
  82486. t4 = previous.get$span(previous);
  82487. searchFrom = t3.offset - t4.get$start(t4).offset - 1;
  82488. if (searchFrom < 0)
  82489. return false;
  82490. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82491. t3 = previous.get$span(previous);
  82492. t3 = t3.get$file(t3);
  82493. t4 = previous.get$span(previous);
  82494. t4 = t4.get$start(t4);
  82495. t5 = previous.get$span(previous);
  82496. span = t3.span$2(0, t4.offset, t5.get$start(t5).offset + endOffset);
  82497. t1 = A.FileLocation$_(t2, t1);
  82498. t1 = t1.file.getLine$1(t1.offset);
  82499. t2 = A.FileLocation$_(span.file, span._end);
  82500. return t1 === t2.file.getLine$1(t2.offset);
  82501. },
  82502. _writeLineFeed$0() {
  82503. if (this._style !== B.OutputStyle_1)
  82504. this._serialize$_buffer.write$1(0, "\n");
  82505. },
  82506. _writeIndentation$0() {
  82507. var _this = this;
  82508. if (_this._style === B.OutputStyle_1)
  82509. return;
  82510. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82511. },
  82512. _writeTimes$2(char, times) {
  82513. var t1, i;
  82514. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82515. t1.writeCharCode$1(char);
  82516. },
  82517. _writeBetween$1$3(iterable, text, callback) {
  82518. var t1, t2, first, value;
  82519. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82520. value = t1.get$current(t1);
  82521. if (first)
  82522. first = false;
  82523. else
  82524. t2.write$1(0, text);
  82525. callback.call$1(value);
  82526. }
  82527. },
  82528. _writeBetween$3(iterable, text, callback) {
  82529. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  82530. }
  82531. };
  82532. A._SerializeVisitor_visitCssComment_closure.prototype = {
  82533. call$0() {
  82534. var t2, t3, _0_0, minimumIndentation,
  82535. t1 = this.$this;
  82536. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  82537. return;
  82538. t2 = this.node;
  82539. t3 = t2.text;
  82540. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  82541. return;
  82542. _0_0 = t1._minimumIndentation$1(t3);
  82543. if (_0_0 != null) {
  82544. t2 = t2.span;
  82545. t2 = A.FileLocation$_(t2.file, t2._file$_start);
  82546. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  82547. t1._writeIndentation$0();
  82548. t1._writeWithIndent$2(t3, minimumIndentation);
  82549. } else {
  82550. t1._writeIndentation$0();
  82551. t1._serialize$_buffer.write$1(0, t3);
  82552. }
  82553. },
  82554. $signature: 1
  82555. };
  82556. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  82557. call$0() {
  82558. var t3, _0_0,
  82559. t1 = this.$this,
  82560. t2 = t1._serialize$_buffer;
  82561. t2.writeCharCode$1(64);
  82562. t3 = this.node;
  82563. t1._serialize$_write$1(t3.name);
  82564. _0_0 = t3.value;
  82565. if (_0_0 != null) {
  82566. t2.writeCharCode$1(32);
  82567. t1._serialize$_write$1(_0_0);
  82568. }
  82569. },
  82570. $signature: 1
  82571. };
  82572. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  82573. call$0() {
  82574. var t3, firstQuery, t4, t5,
  82575. t1 = this.$this,
  82576. t2 = t1._serialize$_buffer;
  82577. t2.write$1(0, "@media");
  82578. t3 = this.node.queries;
  82579. firstQuery = B.JSArray_methods.get$first(t3);
  82580. t4 = t1._style === B.OutputStyle_1;
  82581. t5 = true;
  82582. if (t4)
  82583. if (firstQuery.modifier == null)
  82584. if (firstQuery.type == null) {
  82585. t5 = firstQuery.conditions;
  82586. t5 = t5.length === 1 && B.JSString_methods.startsWith$1(B.JSArray_methods.get$first(t5), "(not ");
  82587. }
  82588. if (t5)
  82589. t2.writeCharCode$1(32);
  82590. t2 = t4 ? "," : ", ";
  82591. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  82592. },
  82593. $signature: 1
  82594. };
  82595. A._SerializeVisitor_visitCssImport_closure.prototype = {
  82596. call$0() {
  82597. var t3, t4, _0_0,
  82598. t1 = this.$this,
  82599. t2 = t1._serialize$_buffer;
  82600. t2.write$1(0, "@import");
  82601. t3 = t1._style !== B.OutputStyle_1;
  82602. if (t3)
  82603. t2.writeCharCode$1(32);
  82604. t4 = this.node;
  82605. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  82606. _0_0 = t4.modifiers;
  82607. if (_0_0 != null) {
  82608. if (t3)
  82609. t2.writeCharCode$1(32);
  82610. t2.write$1(0, _0_0);
  82611. }
  82612. },
  82613. $signature: 1
  82614. };
  82615. A._SerializeVisitor_visitCssImport__closure.prototype = {
  82616. call$0() {
  82617. return this.$this._writeImportUrl$1(this.node.url.value);
  82618. },
  82619. $signature: 0
  82620. };
  82621. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  82622. call$0() {
  82623. var t1 = this.$this,
  82624. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  82625. t3 = t1._serialize$_buffer;
  82626. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  82627. },
  82628. $signature: 0
  82629. };
  82630. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  82631. call$0() {
  82632. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  82633. },
  82634. $signature: 0
  82635. };
  82636. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  82637. call$0() {
  82638. var t1 = this.$this,
  82639. t2 = t1._serialize$_buffer;
  82640. t2.write$1(0, "@supports");
  82641. if (!(t1._style === B.OutputStyle_1 && this.node.condition.value.charCodeAt(0) === 40))
  82642. t2.writeCharCode$1(32);
  82643. t1._serialize$_write$1(this.node.condition);
  82644. },
  82645. $signature: 1
  82646. };
  82647. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  82648. call$0() {
  82649. var t1 = this.$this,
  82650. t2 = this.node;
  82651. if (t1._style === B.OutputStyle_1)
  82652. t1._writeFoldedValue$1(t2);
  82653. else
  82654. t1._writeReindentedValue$1(t2);
  82655. },
  82656. $signature: 1
  82657. };
  82658. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  82659. call$0() {
  82660. return this.node.value.value.accept$1(this.$this);
  82661. },
  82662. $signature: 0
  82663. };
  82664. A._SerializeVisitor_visitList_closure.prototype = {
  82665. call$1(element) {
  82666. return !element.get$isBlank();
  82667. },
  82668. $signature: 67
  82669. };
  82670. A._SerializeVisitor_visitList_closure0.prototype = {
  82671. call$1(element) {
  82672. var t1 = this.$this,
  82673. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  82674. if (needsParens)
  82675. t1._serialize$_buffer.writeCharCode$1(40);
  82676. element.accept$1(t1);
  82677. if (needsParens)
  82678. t1._serialize$_buffer.writeCharCode$1(41);
  82679. },
  82680. $signature: 62
  82681. };
  82682. A._SerializeVisitor_visitList_closure1.prototype = {
  82683. call$1(element) {
  82684. element.accept$1(this.$this);
  82685. },
  82686. $signature: 62
  82687. };
  82688. A._SerializeVisitor_visitMap_closure.prototype = {
  82689. call$1(entry) {
  82690. var t1 = this.$this;
  82691. t1._writeMapElement$1(entry.key);
  82692. t1._serialize$_buffer.write$1(0, ": ");
  82693. t1._writeMapElement$1(entry.value);
  82694. },
  82695. $signature: 280
  82696. };
  82697. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  82698. call$1(complex) {
  82699. return !complex.accept$1(B._IsInvisibleVisitor_true);
  82700. },
  82701. $signature: 19
  82702. };
  82703. A._SerializeVisitor__write_closure.prototype = {
  82704. call$0() {
  82705. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  82706. },
  82707. $signature: 0
  82708. };
  82709. A._SerializeVisitor__visitChildren_closure.prototype = {
  82710. call$0() {
  82711. return this.child.accept$1(this.$this);
  82712. },
  82713. $signature: 0
  82714. };
  82715. A._SerializeVisitor__visitChildren_closure0.prototype = {
  82716. call$0() {
  82717. this.child.accept$1(this.$this);
  82718. },
  82719. $signature: 0
  82720. };
  82721. A.OutputStyle.prototype = {
  82722. _enumToString$0() {
  82723. return "OutputStyle." + this._name;
  82724. }
  82725. };
  82726. A.LineFeed.prototype = {
  82727. _enumToString$0() {
  82728. return "LineFeed." + this._name;
  82729. },
  82730. toString$0(_) {
  82731. return "lf";
  82732. }
  82733. };
  82734. A.StatementSearchVisitor.prototype = {
  82735. visitAtRootRule$1(_, node) {
  82736. return this.visitChildren$1(node.children);
  82737. },
  82738. visitAtRule$1(_, node) {
  82739. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82740. },
  82741. visitContentBlock$1(_, node) {
  82742. return this.visitChildren$1(node.children);
  82743. },
  82744. visitContentRule$1(_, node) {
  82745. return null;
  82746. },
  82747. visitDebugRule$1(_, node) {
  82748. return null;
  82749. },
  82750. visitDeclaration$1(_, node) {
  82751. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82752. },
  82753. visitEachRule$1(_, node) {
  82754. return this.visitChildren$1(node.children);
  82755. },
  82756. visitErrorRule$1(_, node) {
  82757. return null;
  82758. },
  82759. visitExtendRule$1(_, node) {
  82760. return null;
  82761. },
  82762. visitForRule$1(_, node) {
  82763. return this.visitChildren$1(node.children);
  82764. },
  82765. visitForwardRule$1(_, node) {
  82766. return null;
  82767. },
  82768. visitFunctionRule$1(_, node) {
  82769. return this.visitChildren$1(node.children);
  82770. },
  82771. visitIfRule$1(_, node) {
  82772. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  82773. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  82774. },
  82775. visitImportRule$1(_, node) {
  82776. return null;
  82777. },
  82778. visitIncludeRule$1(_, node) {
  82779. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  82780. },
  82781. visitLoudComment$1(_, node) {
  82782. return null;
  82783. },
  82784. visitMediaRule$1(_, node) {
  82785. return this.visitChildren$1(node.children);
  82786. },
  82787. visitMixinRule$1(_, node) {
  82788. return this.visitChildren$1(node.children);
  82789. },
  82790. visitReturnRule$1(_, node) {
  82791. return null;
  82792. },
  82793. visitSilentComment$1(_, node) {
  82794. return null;
  82795. },
  82796. visitStyleRule$1(_, node) {
  82797. return this.visitChildren$1(node.children);
  82798. },
  82799. visitStylesheet$1(_, node) {
  82800. return this.visitChildren$1(node.children);
  82801. },
  82802. visitSupportsRule$1(_, node) {
  82803. return this.visitChildren$1(node.children);
  82804. },
  82805. visitUseRule$1(_, node) {
  82806. return null;
  82807. },
  82808. visitVariableDeclaration$1(_, node) {
  82809. return null;
  82810. },
  82811. visitWarnRule$1(_, node) {
  82812. return null;
  82813. },
  82814. visitWhileRule$1(_, node) {
  82815. return this.visitChildren$1(node.children);
  82816. },
  82817. visitChildren$1(children) {
  82818. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  82819. }
  82820. };
  82821. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  82822. call$1(clause) {
  82823. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  82824. },
  82825. $signature() {
  82826. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  82827. }
  82828. };
  82829. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  82830. call$1(child) {
  82831. return child.accept$1(this.$this);
  82832. },
  82833. $signature() {
  82834. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82835. }
  82836. };
  82837. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  82838. call$1(lastClause) {
  82839. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  82840. },
  82841. $signature() {
  82842. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  82843. }
  82844. };
  82845. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  82846. call$1(child) {
  82847. return child.accept$1(this.$this);
  82848. },
  82849. $signature() {
  82850. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82851. }
  82852. };
  82853. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  82854. call$1(child) {
  82855. return child.accept$1(this.$this);
  82856. },
  82857. $signature() {
  82858. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82859. }
  82860. };
  82861. A.Entry.prototype = {
  82862. compareTo$1(_, other) {
  82863. var t1, t2,
  82864. res = this.target.compareTo$1(0, other.target);
  82865. if (res !== 0)
  82866. return res;
  82867. t1 = this.source;
  82868. t2 = other.source;
  82869. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  82870. if (res !== 0)
  82871. return res;
  82872. return t1.compareTo$1(0, t2);
  82873. },
  82874. $isComparable: 1
  82875. };
  82876. A.Mapping.prototype = {};
  82877. A.SingleMapping.prototype = {
  82878. toJson$1$includeSourceContents(includeSourceContents) {
  82879. 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,
  82880. buff = new A.StringBuffer("");
  82881. 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) {
  82882. entry = t1[_i];
  82883. nextLine = entry.line;
  82884. if (nextLine > line) {
  82885. for (i = line; i < nextLine; ++i)
  82886. buff._contents += ";";
  82887. line = nextLine;
  82888. column = 0;
  82889. first = true;
  82890. }
  82891. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  82892. t4 = t3.get$current(t3);
  82893. if (!first)
  82894. buff._contents += ",";
  82895. column0 = t4.column;
  82896. t5 = A.encodeVlq(column0 - column);
  82897. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  82898. buff._contents = t5;
  82899. newUrlId = t4.sourceUrlId;
  82900. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  82901. buff._contents = t5;
  82902. srcLine0 = t4.sourceLine;
  82903. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  82904. buff._contents = t5;
  82905. srcColumn0 = t4.sourceColumn;
  82906. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  82907. buff._contents = t5;
  82908. srcNameId0 = t4.sourceNameId;
  82909. if (srcNameId0 == null) {
  82910. srcUrlId = newUrlId;
  82911. srcColumn = srcColumn0;
  82912. srcLine = srcLine0;
  82913. continue;
  82914. }
  82915. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  82916. srcNameId = srcNameId0;
  82917. srcUrlId = newUrlId;
  82918. srcColumn = srcColumn0;
  82919. srcLine = srcLine0;
  82920. }
  82921. }
  82922. t1 = _this.sourceRoot;
  82923. if (t1 == null)
  82924. t1 = "";
  82925. t2 = buff._contents;
  82926. 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);
  82927. t1 = _this.targetUrl;
  82928. if (t1 != null)
  82929. result.$indexSet(0, "file", t1);
  82930. if (includeSourceContents) {
  82931. t1 = _this.files;
  82932. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  82933. t1 = A.List_List$_of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), t2._eval$1("ListIterable.E"));
  82934. result.$indexSet(0, "sourcesContent", t1);
  82935. }
  82936. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  82937. return result;
  82938. },
  82939. toJson$0() {
  82940. return this.toJson$1$includeSourceContents(false);
  82941. },
  82942. toString$0(_) {
  82943. var _this = this,
  82944. 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) + "]";
  82945. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82946. }
  82947. };
  82948. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  82949. call$0() {
  82950. return this.urls.__js_helper$_length;
  82951. },
  82952. $signature: 10
  82953. };
  82954. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  82955. call$0() {
  82956. return this.sourceEntry.source.file;
  82957. },
  82958. $signature: 281
  82959. };
  82960. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  82961. call$1(i) {
  82962. return this.files.$index(0, i);
  82963. },
  82964. $signature: 282
  82965. };
  82966. A.SingleMapping_toJson_closure.prototype = {
  82967. call$1(file) {
  82968. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  82969. },
  82970. $signature: 283
  82971. };
  82972. A.SingleMapping_toJson_closure0.prototype = {
  82973. call$2($name, value) {
  82974. this.result.$indexSet(0, $name, value);
  82975. return value;
  82976. },
  82977. $signature: 139
  82978. };
  82979. A.TargetLineEntry.prototype = {
  82980. toString$0(_) {
  82981. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  82982. }
  82983. };
  82984. A.TargetEntry.prototype = {
  82985. toString$0(_) {
  82986. var _this = this;
  82987. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  82988. }
  82989. };
  82990. A.SourceFile.prototype = {
  82991. get$length(_) {
  82992. return this._decodedChars.length;
  82993. },
  82994. get$lines() {
  82995. return this._lineStarts.length;
  82996. },
  82997. SourceFile$decoded$2$url(decodedChars, url) {
  82998. var t1, t2, t3, i, c, j;
  82999. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  83000. c = t1[i];
  83001. if (c === 13) {
  83002. j = i + 1;
  83003. if (j >= t2 || t1[j] !== 10)
  83004. c = 10;
  83005. }
  83006. if (c === 10)
  83007. t3.push(i + 1);
  83008. }
  83009. },
  83010. span$2(_, start, end) {
  83011. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  83012. },
  83013. span$1(_, start) {
  83014. return this.span$2(0, start, null);
  83015. },
  83016. getLine$1(offset) {
  83017. var t1, _this = this;
  83018. if (offset < 0)
  83019. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83020. else if (offset > _this._decodedChars.length)
  83021. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  83022. t1 = _this._lineStarts;
  83023. if (offset < B.JSArray_methods.get$first(t1))
  83024. return -1;
  83025. if (offset >= B.JSArray_methods.get$last(t1))
  83026. return t1.length - 1;
  83027. if (_this._isNearCachedLine$1(offset)) {
  83028. t1 = _this._cachedLine;
  83029. t1.toString;
  83030. return t1;
  83031. }
  83032. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  83033. },
  83034. _isNearCachedLine$1(offset) {
  83035. var t2, t3,
  83036. t1 = this._cachedLine;
  83037. if (t1 == null)
  83038. return false;
  83039. t2 = this._lineStarts;
  83040. if (offset < t2[t1])
  83041. return false;
  83042. t3 = t2.length;
  83043. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  83044. return true;
  83045. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  83046. this._cachedLine = t1 + 1;
  83047. return true;
  83048. }
  83049. return false;
  83050. },
  83051. _binarySearch$1(offset) {
  83052. var min, half,
  83053. t1 = this._lineStarts,
  83054. max = t1.length - 1;
  83055. for (min = 0; min < max;) {
  83056. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  83057. if (t1[half] > offset)
  83058. max = half;
  83059. else
  83060. min = half + 1;
  83061. }
  83062. return max;
  83063. },
  83064. getColumn$1(offset) {
  83065. var line, lineStart, _this = this;
  83066. if (offset < 0)
  83067. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83068. else if (offset > _this._decodedChars.length)
  83069. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  83070. line = _this.getLine$1(offset);
  83071. lineStart = _this._lineStarts[line];
  83072. if (lineStart > offset)
  83073. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  83074. return offset - lineStart;
  83075. },
  83076. getOffset$1(line) {
  83077. var t1, t2, result, t3;
  83078. if (line < 0)
  83079. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  83080. else {
  83081. t1 = this._lineStarts;
  83082. t2 = t1.length;
  83083. if (line >= t2)
  83084. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  83085. }
  83086. result = t1[line];
  83087. if (result <= this._decodedChars.length) {
  83088. t3 = line + 1;
  83089. t1 = t3 < t2 && result >= t1[t3];
  83090. } else
  83091. t1 = true;
  83092. if (t1)
  83093. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  83094. return result;
  83095. }
  83096. };
  83097. A.FileLocation.prototype = {
  83098. get$sourceUrl(_) {
  83099. return this.file.url;
  83100. },
  83101. get$line() {
  83102. return this.file.getLine$1(this.offset);
  83103. },
  83104. get$column() {
  83105. return this.file.getColumn$1(this.offset);
  83106. },
  83107. FileLocation$_$2(file, offset) {
  83108. var t2,
  83109. t1 = this.offset;
  83110. if (t1 < 0)
  83111. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  83112. else {
  83113. t2 = this.file;
  83114. if (t1 > t2._decodedChars.length)
  83115. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  83116. }
  83117. },
  83118. pointSpan$0() {
  83119. var t1 = this.offset;
  83120. return A._FileSpan$(this.file, t1, t1);
  83121. },
  83122. get$offset() {
  83123. return this.offset;
  83124. }
  83125. };
  83126. A._FileSpan.prototype = {
  83127. get$sourceUrl(_) {
  83128. return this.file.url;
  83129. },
  83130. get$length(_) {
  83131. return this._end - this._file$_start;
  83132. },
  83133. get$start(_) {
  83134. return A.FileLocation$_(this.file, this._file$_start);
  83135. },
  83136. get$end(_) {
  83137. return A.FileLocation$_(this.file, this._end);
  83138. },
  83139. get$text() {
  83140. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  83141. },
  83142. get$context(_) {
  83143. var _this = this,
  83144. t1 = _this.file,
  83145. endOffset = _this._end,
  83146. endLine = t1.getLine$1(endOffset);
  83147. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  83148. if (endOffset - _this._file$_start === 0)
  83149. 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);
  83150. } else
  83151. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83152. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83153. },
  83154. _FileSpan$3(file, _start, _end) {
  83155. var t3,
  83156. t1 = this._end,
  83157. t2 = this._file$_start;
  83158. if (t1 < t2)
  83159. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83160. else {
  83161. t3 = this.file;
  83162. if (t1 > t3._decodedChars.length)
  83163. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83164. else if (t2 < 0)
  83165. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83166. }
  83167. },
  83168. compareTo$1(_, other) {
  83169. var result;
  83170. if (!(other instanceof A._FileSpan))
  83171. return this.super$SourceSpanMixin$compareTo(0, other);
  83172. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83173. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83174. },
  83175. $eq(_, other) {
  83176. var _this = this;
  83177. if (other == null)
  83178. return false;
  83179. if (!type$.FileSpan._is(other))
  83180. return _this.super$SourceSpanMixin$$eq(0, other);
  83181. if (!(other instanceof A._FileSpan))
  83182. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83183. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83184. },
  83185. get$hashCode(_) {
  83186. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83187. },
  83188. expand$1(_, other) {
  83189. var t2, t3, _this = this,
  83190. t1 = _this.file;
  83191. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83192. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83193. t2 = _this._file$_start;
  83194. t3 = _this._end;
  83195. if (other instanceof A._FileSpan)
  83196. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83197. else
  83198. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83199. },
  83200. $isFileSpan: 1,
  83201. $isSourceSpanWithContext: 1,
  83202. get$file(receiver) {
  83203. return this.file;
  83204. }
  83205. };
  83206. A.Highlighter.prototype = {
  83207. highlight$0() {
  83208. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83209. t1 = _this._lines;
  83210. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83211. t2 = _this._maxMultilineSpans;
  83212. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83213. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83214. line = t1[i];
  83215. if (i > 0) {
  83216. lastLine = t1[i - 1];
  83217. t5 = line.url;
  83218. if (!J.$eq$(lastLine.url, t5)) {
  83219. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83220. t3._contents += "\n";
  83221. _this._writeFileStart$1(t5);
  83222. } else if (lastLine.number + 1 !== line.number) {
  83223. _this._writeSidebar$1$text("...");
  83224. t3._contents += "\n";
  83225. }
  83226. }
  83227. 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();) {
  83228. t10 = t7.__internal$_current;
  83229. if (t10 == null)
  83230. t10 = t6._as(t10);
  83231. t11 = t10.span;
  83232. 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()))) {
  83233. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83234. if (index < 0)
  83235. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83236. highlightsByColumn[index] = t10;
  83237. }
  83238. }
  83239. _this._writeSidebar$1$line(t8);
  83240. t3._contents += " ";
  83241. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83242. if (t2)
  83243. t3._contents += " ";
  83244. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83245. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83246. t6 = primary != null;
  83247. if (t6) {
  83248. t7 = primary.span;
  83249. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83250. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83251. } else
  83252. _this._writeText$1(t9);
  83253. t3._contents += "\n";
  83254. if (t6)
  83255. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83256. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83257. highlight = t5[_i];
  83258. if (highlight.isPrimary)
  83259. continue;
  83260. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83261. }
  83262. }
  83263. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83264. t1 = t3._contents;
  83265. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83266. },
  83267. _writeFileStart$1(url) {
  83268. var _this = this,
  83269. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83270. t2 = $._glyphs;
  83271. if (t1)
  83272. _this._writeSidebar$1$end(t2.get$downEnd());
  83273. else {
  83274. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83275. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83276. t1 = _this._highlighter$_buffer;
  83277. t2 = " " + $.$get$context().prettyUri$1(url);
  83278. t1._contents += t2;
  83279. }
  83280. _this._highlighter$_buffer._contents += "\n";
  83281. },
  83282. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83283. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83284. _box_0.openedOnThisLine = false;
  83285. _box_0.openedOnThisLineColor = null;
  83286. t1 = current == null;
  83287. if (t1)
  83288. currentColor = null;
  83289. else
  83290. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83291. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83292. highlight = highlightsByColumn[_i];
  83293. t6 = highlight == null;
  83294. if (t6)
  83295. startLine = null;
  83296. else {
  83297. t7 = highlight.span;
  83298. startLine = t7.get$start(t7).get$line();
  83299. }
  83300. if (t6)
  83301. endLine = null;
  83302. else {
  83303. t7 = highlight.span;
  83304. endLine = t7.get$end(t7).get$line();
  83305. }
  83306. if (t1 && highlight === current) {
  83307. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83308. foundCurrent = true;
  83309. } else if (foundCurrent)
  83310. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83311. else if (t6)
  83312. if (_box_0.openedOnThisLine)
  83313. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83314. else
  83315. t5._contents += " ";
  83316. else {
  83317. t6 = highlight.isPrimary ? t4 : t3;
  83318. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83319. }
  83320. }
  83321. },
  83322. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83323. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83324. },
  83325. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83326. var _this = this;
  83327. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83328. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83329. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83330. },
  83331. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83332. var t2, coversWholeLine, _this = this,
  83333. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83334. t1 = highlight.span;
  83335. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83336. _this._writeSidebar$0();
  83337. t1 = _this._highlighter$_buffer;
  83338. t1._contents += " ";
  83339. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83340. if (highlightsByColumn.length !== 0)
  83341. t1._contents += " ";
  83342. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83343. } else {
  83344. t2 = line.number;
  83345. if (t1.get$start(t1).get$line() === t2) {
  83346. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83347. return;
  83348. A.replaceFirstNull(highlightsByColumn, highlight);
  83349. _this._writeSidebar$0();
  83350. t1 = _this._highlighter$_buffer;
  83351. t1._contents += " ";
  83352. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83353. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83354. t1._contents += "\n";
  83355. } else if (t1.get$end(t1).get$line() === t2) {
  83356. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83357. if (coversWholeLine && highlight.label == null) {
  83358. A.replaceWithNull(highlightsByColumn, highlight);
  83359. return;
  83360. }
  83361. _this._writeSidebar$0();
  83362. _this._highlighter$_buffer._contents += " ";
  83363. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83364. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83365. A.replaceWithNull(highlightsByColumn, highlight);
  83366. }
  83367. }
  83368. },
  83369. _writeArrow$3$beginning(line, column, beginning) {
  83370. var t2,
  83371. t1 = beginning ? 0 : 1,
  83372. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83373. t1 = this._highlighter$_buffer;
  83374. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83375. t1._contents = (t1._contents += t2) + "^";
  83376. },
  83377. _writeArrow$2(line, column) {
  83378. return this._writeArrow$3$beginning(line, column, true);
  83379. },
  83380. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83381. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83382. label = highlight.label;
  83383. if (label == null) {
  83384. _this._highlighter$_buffer._contents += "\n";
  83385. return;
  83386. }
  83387. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83388. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83389. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83390. t1 = _this._highlighter$_buffer;
  83391. t1._contents += "\n";
  83392. 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();) {
  83393. t5 = t2.__internal$_current;
  83394. if (t5 == null)
  83395. t5 = t3._as(t5);
  83396. _this._writeSidebar$0();
  83397. t6 = t1._contents += " ";
  83398. for (_i = 0; _i < t4; ++_i) {
  83399. columnHighlight = highlightsByColumn[_i];
  83400. if (columnHighlight == null || columnHighlight === highlight) {
  83401. t6 += " ";
  83402. t1._contents = t6;
  83403. } else {
  83404. t6 = $._glyphs.get$verticalLine();
  83405. t6 = t1._contents += t6;
  83406. }
  83407. }
  83408. t1._contents = t6 + B.JSString_methods.$mul(" ", underlineLength);
  83409. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83410. t1._contents += "\n";
  83411. }
  83412. },
  83413. _writeText$1(text) {
  83414. var t1, t2, t3, t4;
  83415. 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();) {
  83416. t4 = t1.__internal$_current;
  83417. if (t4 == null)
  83418. t4 = t2._as(t4);
  83419. if (t4 === 9)
  83420. t3._contents += B.JSString_methods.$mul(" ", 4);
  83421. else {
  83422. t4 = A.Primitives_stringFromCharCode(t4);
  83423. t3._contents += t4;
  83424. }
  83425. }
  83426. },
  83427. _writeSidebar$3$end$line$text(end, line, text) {
  83428. var t1 = {};
  83429. t1.text = text;
  83430. if (line != null)
  83431. t1.text = B.JSInt_methods.toString$0(line + 1);
  83432. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83433. },
  83434. _writeSidebar$1$end(end) {
  83435. return this._writeSidebar$3$end$line$text(end, null, null);
  83436. },
  83437. _writeSidebar$1$text(text) {
  83438. return this._writeSidebar$3$end$line$text(null, null, text);
  83439. },
  83440. _writeSidebar$1$line(line) {
  83441. return this._writeSidebar$3$end$line$text(null, line, null);
  83442. },
  83443. _writeSidebar$0() {
  83444. return this._writeSidebar$3$end$line$text(null, null, null);
  83445. },
  83446. _countTabs$1(text) {
  83447. var t1, t2, count, t3;
  83448. 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();) {
  83449. t3 = t1.__internal$_current;
  83450. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83451. ++count;
  83452. }
  83453. return count;
  83454. },
  83455. _isOnlyWhitespace$1(text) {
  83456. var t1, t2, t3;
  83457. 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();) {
  83458. t3 = t1.__internal$_current;
  83459. if (t3 == null)
  83460. t3 = t2._as(t3);
  83461. if (t3 !== 32 && t3 !== 9)
  83462. return false;
  83463. }
  83464. return true;
  83465. },
  83466. _colorize$1$2$color(callback, color) {
  83467. var result,
  83468. t1 = this._primaryColor != null;
  83469. if (t1 && color != null)
  83470. this._highlighter$_buffer._contents += color;
  83471. result = callback.call$0();
  83472. if (t1 && color != null)
  83473. this._highlighter$_buffer._contents += "\x1b[0m";
  83474. return result;
  83475. },
  83476. _colorize$2$color(callback, color) {
  83477. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83478. }
  83479. };
  83480. A.Highlighter_closure.prototype = {
  83481. call$0() {
  83482. var t1 = this.color,
  83483. t2 = J.getInterceptor$(t1);
  83484. if (t2.$eq(t1, true))
  83485. return "\x1b[31m";
  83486. if (t2.$eq(t1, false))
  83487. return null;
  83488. return A._asStringQ(t1);
  83489. },
  83490. $signature: 45
  83491. };
  83492. A.Highlighter$__closure.prototype = {
  83493. call$1(line) {
  83494. var t1 = line.highlights;
  83495. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83496. },
  83497. $signature: 284
  83498. };
  83499. A.Highlighter$___closure.prototype = {
  83500. call$1(highlight) {
  83501. var t1 = highlight.span;
  83502. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83503. },
  83504. $signature: 120
  83505. };
  83506. A.Highlighter$__closure0.prototype = {
  83507. call$1(line) {
  83508. return line.url;
  83509. },
  83510. $signature: 286
  83511. };
  83512. A.Highlighter__collateLines_closure.prototype = {
  83513. call$1(highlight) {
  83514. var t1 = highlight.span;
  83515. t1 = t1.get$sourceUrl(t1);
  83516. return t1 == null ? new A.Object() : t1;
  83517. },
  83518. $signature: 287
  83519. };
  83520. A.Highlighter__collateLines_closure0.prototype = {
  83521. call$2(highlight1, highlight2) {
  83522. return highlight1.span.compareTo$1(0, highlight2.span);
  83523. },
  83524. $signature: 288
  83525. };
  83526. A.Highlighter__collateLines_closure1.prototype = {
  83527. call$1(entry) {
  83528. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  83529. url = entry.key,
  83530. highlightsForFile = entry.value,
  83531. lines = A._setArrayType([], type$.JSArray__Line);
  83532. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  83533. t4 = t2.get$current(t2).span;
  83534. context = t4.get$context(t4);
  83535. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  83536. t5.toString;
  83537. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  83538. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  83539. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  83540. line = t4[_i];
  83541. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  83542. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  83543. ++lineNumber;
  83544. }
  83545. }
  83546. activeHighlights = A._setArrayType([], t3);
  83547. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  83548. line = lines[_i];
  83549. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  83550. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  83551. oldHighlightLength = activeHighlights.length;
  83552. 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();) {
  83553. t6 = t3.__internal$_current;
  83554. if (t6 == null)
  83555. t6 = t4._as(t6);
  83556. t7 = t6.span;
  83557. if (t7.get$start(t7).get$line() > t5)
  83558. break;
  83559. activeHighlights.push(t6);
  83560. }
  83561. highlightIndex += activeHighlights.length - oldHighlightLength;
  83562. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  83563. }
  83564. return lines;
  83565. },
  83566. $signature: 289
  83567. };
  83568. A.Highlighter__collateLines__closure.prototype = {
  83569. call$1(highlight) {
  83570. var t1 = highlight.span;
  83571. return t1.get$end(t1).get$line() < this.line.number;
  83572. },
  83573. $signature: 120
  83574. };
  83575. A.Highlighter_highlight_closure.prototype = {
  83576. call$1(highlight) {
  83577. return highlight.isPrimary;
  83578. },
  83579. $signature: 120
  83580. };
  83581. A.Highlighter__writeFileStart_closure.prototype = {
  83582. call$0() {
  83583. var t1 = this.$this._highlighter$_buffer,
  83584. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  83585. t1._contents += t2;
  83586. return null;
  83587. },
  83588. $signature: 0
  83589. };
  83590. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  83591. call$0() {
  83592. var t1 = this.$this._highlighter$_buffer,
  83593. t2 = $._glyphs;
  83594. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  83595. t1._contents += t2;
  83596. },
  83597. $signature: 1
  83598. };
  83599. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  83600. call$0() {
  83601. var t1 = this.$this._highlighter$_buffer,
  83602. t2 = $._glyphs;
  83603. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  83604. t1._contents += t2;
  83605. },
  83606. $signature: 1
  83607. };
  83608. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  83609. call$0() {
  83610. var t1 = this.$this._highlighter$_buffer,
  83611. t2 = $._glyphs.get$horizontalLine();
  83612. t1._contents += t2;
  83613. return null;
  83614. },
  83615. $signature: 0
  83616. };
  83617. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  83618. call$0() {
  83619. var _this = this,
  83620. t1 = _this._box_0,
  83621. t2 = t1.openedOnThisLine,
  83622. t3 = $._glyphs,
  83623. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  83624. if (_this.current != null)
  83625. _this.$this._highlighter$_buffer._contents += vertical;
  83626. else {
  83627. t2 = _this.line;
  83628. t3 = t2.number;
  83629. if (_this.startLine === t3) {
  83630. t2 = _this.$this;
  83631. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  83632. t1.openedOnThisLine = true;
  83633. if (t1.openedOnThisLineColor == null)
  83634. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  83635. } else {
  83636. if (_this.endLine === t3) {
  83637. t3 = _this.highlight.span;
  83638. t2 = t3.get$end(t3).get$column() === t2.text.length;
  83639. } else
  83640. t2 = false;
  83641. t3 = _this.$this;
  83642. if (t2) {
  83643. t1 = t3._highlighter$_buffer;
  83644. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  83645. t1._contents += t2;
  83646. } else
  83647. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  83648. }
  83649. }
  83650. },
  83651. $signature: 1
  83652. };
  83653. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  83654. call$0() {
  83655. var t1 = this.$this._highlighter$_buffer,
  83656. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  83657. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  83658. t1._contents += t2;
  83659. },
  83660. $signature: 1
  83661. };
  83662. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  83663. call$0() {
  83664. this.$this._highlighter$_buffer._contents += this.vertical;
  83665. },
  83666. $signature: 1
  83667. };
  83668. A.Highlighter__writeHighlightedText_closure.prototype = {
  83669. call$0() {
  83670. var _this = this;
  83671. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  83672. },
  83673. $signature: 0
  83674. };
  83675. A.Highlighter__writeIndicator_closure.prototype = {
  83676. call$0() {
  83677. var startColumn, endColumn, tabsBefore, tabsInside,
  83678. t1 = this.$this,
  83679. t2 = t1._highlighter$_buffer,
  83680. t3 = t2._contents,
  83681. t4 = this.highlight,
  83682. t5 = t4.span;
  83683. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  83684. startColumn = t5.get$start(t5).get$column();
  83685. endColumn = t5.get$end(t5).get$column();
  83686. t5 = this.line.text;
  83687. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  83688. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  83689. startColumn += tabsBefore * 3;
  83690. t4 = (t2._contents += B.JSString_methods.$mul(" ", startColumn)) + B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  83691. t2._contents = t4;
  83692. return t4.length - t3.length;
  83693. },
  83694. $signature: 10
  83695. };
  83696. A.Highlighter__writeIndicator_closure0.prototype = {
  83697. call$0() {
  83698. var t1 = this.highlight.span;
  83699. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  83700. },
  83701. $signature: 0
  83702. };
  83703. A.Highlighter__writeIndicator_closure1.prototype = {
  83704. call$0() {
  83705. var t4, _this = this,
  83706. t1 = _this.$this,
  83707. t2 = t1._highlighter$_buffer,
  83708. t3 = t2._contents;
  83709. if (_this.coversWholeLine) {
  83710. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  83711. t2._contents += t1;
  83712. } else {
  83713. t4 = _this.highlight.span;
  83714. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  83715. }
  83716. return t2._contents.length - t3.length;
  83717. },
  83718. $signature: 10
  83719. };
  83720. A.Highlighter__writeLabel_closure.prototype = {
  83721. call$0() {
  83722. var t1 = this.$this._highlighter$_buffer,
  83723. t2 = " " + B.JSArray_methods.get$first(this.lines);
  83724. t1._contents += t2;
  83725. return null;
  83726. },
  83727. $signature: 0
  83728. };
  83729. A.Highlighter__writeLabel_closure0.prototype = {
  83730. call$0() {
  83731. this.$this._highlighter$_buffer._contents += " " + this.text;
  83732. return null;
  83733. },
  83734. $signature: 0
  83735. };
  83736. A.Highlighter__writeSidebar_closure.prototype = {
  83737. call$0() {
  83738. var t1 = this.$this,
  83739. t2 = t1._highlighter$_buffer,
  83740. t3 = this._box_0.text;
  83741. if (t3 == null)
  83742. t3 = "";
  83743. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  83744. t2._contents += t1;
  83745. t1 = this.end;
  83746. if (t1 == null)
  83747. t1 = $._glyphs.get$verticalLine();
  83748. t2._contents += t1;
  83749. },
  83750. $signature: 1
  83751. };
  83752. A._Highlight.prototype = {
  83753. toString$0(_) {
  83754. var t1 = this.isPrimary ? "primary " : "",
  83755. t2 = this.span;
  83756. 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());
  83757. t1 = this.label;
  83758. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  83759. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83760. }
  83761. };
  83762. A._Highlight_closure.prototype = {
  83763. call$0() {
  83764. var t1, t2, t3, t4,
  83765. newSpan = this.span;
  83766. if (!(type$.SourceSpanWithContext._is(newSpan) && A.findLineStart(newSpan.get$context(newSpan), newSpan.get$text(), newSpan.get$start(newSpan).get$column()) != null)) {
  83767. t1 = A.SourceLocation$(newSpan.get$start(newSpan).get$offset(), 0, 0, newSpan.get$sourceUrl(newSpan));
  83768. t2 = newSpan.get$end(newSpan).get$offset();
  83769. t3 = newSpan.get$sourceUrl(newSpan);
  83770. t4 = A.countCodeUnits(newSpan.get$text(), 10);
  83771. newSpan = A.SourceSpanWithContext$(t1, A.SourceLocation$(t2, A._Highlight__lastLineLength(newSpan.get$text()), t4, t3), newSpan.get$text(), newSpan.get$text());
  83772. }
  83773. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(newSpan)));
  83774. },
  83775. $signature: 290
  83776. };
  83777. A._Line.prototype = {
  83778. toString$0(_) {
  83779. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  83780. }
  83781. };
  83782. A.SourceLocation.prototype = {
  83783. distance$1(other) {
  83784. var t1 = this.sourceUrl;
  83785. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83786. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83787. return Math.abs(this.offset - other.get$offset());
  83788. },
  83789. compareTo$1(_, other) {
  83790. var t1 = this.sourceUrl;
  83791. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83792. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83793. return this.offset - other.get$offset();
  83794. },
  83795. $eq(_, other) {
  83796. if (other == null)
  83797. return false;
  83798. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83799. },
  83800. get$hashCode(_) {
  83801. var t1 = this.sourceUrl;
  83802. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83803. if (t1 == null)
  83804. t1 = 0;
  83805. return t1 + this.offset;
  83806. },
  83807. toString$0(_) {
  83808. var _this = this,
  83809. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  83810. source = _this.sourceUrl;
  83811. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  83812. },
  83813. $isComparable: 1,
  83814. get$sourceUrl(receiver) {
  83815. return this.sourceUrl;
  83816. },
  83817. get$offset() {
  83818. return this.offset;
  83819. },
  83820. get$line() {
  83821. return this.line;
  83822. },
  83823. get$column() {
  83824. return this.column;
  83825. }
  83826. };
  83827. A.SourceLocationMixin.prototype = {
  83828. distance$1(other) {
  83829. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83830. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83831. return Math.abs(this.offset - other.get$offset());
  83832. },
  83833. compareTo$1(_, other) {
  83834. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83835. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83836. return this.offset - other.get$offset();
  83837. },
  83838. $eq(_, other) {
  83839. if (other == null)
  83840. return false;
  83841. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83842. },
  83843. get$hashCode(_) {
  83844. var t1 = this.file.url;
  83845. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83846. if (t1 == null)
  83847. t1 = 0;
  83848. return t1 + this.offset;
  83849. },
  83850. toString$0(_) {
  83851. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  83852. t2 = this.offset,
  83853. t3 = this.file,
  83854. source = t3.url;
  83855. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  83856. },
  83857. $isComparable: 1,
  83858. $isSourceLocation: 1
  83859. };
  83860. A.SourceSpanBase.prototype = {
  83861. SourceSpanBase$3(start, end, text) {
  83862. var t3,
  83863. t1 = this.end,
  83864. t2 = this.start;
  83865. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  83866. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  83867. else if (t1.get$offset() < t2.get$offset())
  83868. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  83869. else {
  83870. t3 = this.text;
  83871. if (t3.length !== t2.distance$1(t1))
  83872. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  83873. }
  83874. },
  83875. get$start(receiver) {
  83876. return this.start;
  83877. },
  83878. get$end(receiver) {
  83879. return this.end;
  83880. },
  83881. get$text() {
  83882. return this.text;
  83883. }
  83884. };
  83885. A.SourceSpanException.prototype = {
  83886. get$message(_) {
  83887. return this._span_exception$_message;
  83888. },
  83889. get$span(_) {
  83890. return this._span;
  83891. },
  83892. toString$1$color(_, color) {
  83893. var _this = this;
  83894. _this.get$span(_this);
  83895. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  83896. },
  83897. toString$0(_) {
  83898. return this.toString$1$color(0, null);
  83899. },
  83900. $isException: 1
  83901. };
  83902. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  83903. get$source() {
  83904. return this.source;
  83905. }
  83906. };
  83907. A.MultiSourceSpanException.prototype = {
  83908. toString$0(_) {
  83909. var _this = this;
  83910. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  83911. },
  83912. get$primaryLabel() {
  83913. return this.primaryLabel;
  83914. },
  83915. get$secondarySpans() {
  83916. return this.secondarySpans;
  83917. }
  83918. };
  83919. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  83920. A.SourceSpanMixin.prototype = {
  83921. get$sourceUrl(_) {
  83922. var t1 = this.get$start(this);
  83923. return t1.get$sourceUrl(t1);
  83924. },
  83925. get$length(_) {
  83926. var _this = this;
  83927. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  83928. },
  83929. compareTo$1(_, other) {
  83930. var _this = this,
  83931. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  83932. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  83933. },
  83934. message$2$color(_, message, color) {
  83935. var t2, t3, highlight, _this = this,
  83936. t1 = "line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1);
  83937. if (_this.get$sourceUrl(_this) != null) {
  83938. t2 = _this.get$sourceUrl(_this);
  83939. t3 = $.$get$context();
  83940. t2.toString;
  83941. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  83942. t1 = t2;
  83943. }
  83944. t1 += ": " + message;
  83945. highlight = _this.highlight$1$color(color);
  83946. if (highlight.length !== 0)
  83947. t1 = t1 + "\n" + highlight;
  83948. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83949. },
  83950. message$1(_, message) {
  83951. return this.message$2$color(0, message, null);
  83952. },
  83953. highlight$1$color(color) {
  83954. var _this = this;
  83955. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  83956. return "";
  83957. return A.Highlighter$(_this, color).highlight$0();
  83958. },
  83959. $eq(_, other) {
  83960. var _this = this;
  83961. if (other == null)
  83962. return false;
  83963. 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));
  83964. },
  83965. get$hashCode(_) {
  83966. var _this = this;
  83967. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  83968. },
  83969. toString$0(_) {
  83970. var _this = this;
  83971. 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() + '">';
  83972. },
  83973. $isComparable: 1,
  83974. $isSourceSpan: 1
  83975. };
  83976. A.SourceSpanWithContext.prototype = {
  83977. get$context(_) {
  83978. return this._context;
  83979. }
  83980. };
  83981. A.Chain.prototype = {
  83982. toTrace$0() {
  83983. var t1 = this.traces;
  83984. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  83985. },
  83986. toString$0(_) {
  83987. var t1 = this.traces,
  83988. t2 = A._arrayInstanceType(t1);
  83989. 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_____);
  83990. },
  83991. $isStackTrace: 1
  83992. };
  83993. A.Chain_Chain$parse_closure.prototype = {
  83994. call$1(line) {
  83995. return line.length !== 0;
  83996. },
  83997. $signature: 5
  83998. };
  83999. A.Chain_toTrace_closure.prototype = {
  84000. call$1(trace) {
  84001. return trace.get$frames();
  84002. },
  84003. $signature: 291
  84004. };
  84005. A.Chain_toString_closure0.prototype = {
  84006. call$1(trace) {
  84007. var t1 = trace.get$frames();
  84008. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  84009. },
  84010. $signature: 292
  84011. };
  84012. A.Chain_toString__closure0.prototype = {
  84013. call$1(frame) {
  84014. return frame.get$location().length;
  84015. },
  84016. $signature: 192
  84017. };
  84018. A.Chain_toString_closure.prototype = {
  84019. call$1(trace) {
  84020. var t1 = trace.get$frames();
  84021. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  84022. },
  84023. $signature: 294
  84024. };
  84025. A.Chain_toString__closure.prototype = {
  84026. call$1(frame) {
  84027. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84028. },
  84029. $signature: 193
  84030. };
  84031. A.Frame.prototype = {
  84032. get$isCore() {
  84033. return this.uri.get$scheme() === "dart";
  84034. },
  84035. get$library() {
  84036. var t1 = this.uri;
  84037. if (t1.get$scheme() === "data")
  84038. return "data:...";
  84039. return $.$get$context().prettyUri$1(t1);
  84040. },
  84041. get$$package() {
  84042. var t1 = this.uri;
  84043. if (t1.get$scheme() !== "package")
  84044. return null;
  84045. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  84046. },
  84047. get$location() {
  84048. var t2, _this = this,
  84049. t1 = _this.line;
  84050. if (t1 == null)
  84051. return _this.get$library();
  84052. t2 = _this.column;
  84053. if (t2 == null)
  84054. return _this.get$library() + " " + A.S(t1);
  84055. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  84056. },
  84057. toString$0(_) {
  84058. return this.get$location() + " in " + A.S(this.member);
  84059. },
  84060. get$uri() {
  84061. return this.uri;
  84062. },
  84063. get$line() {
  84064. return this.line;
  84065. },
  84066. get$column() {
  84067. return this.column;
  84068. },
  84069. get$member() {
  84070. return this.member;
  84071. }
  84072. };
  84073. A.Frame_Frame$parseVM_closure.prototype = {
  84074. call$0() {
  84075. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  84076. t1 = this.frame;
  84077. if (t1 === "...")
  84078. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  84079. match = $.$get$_vmFrame().firstMatch$1(t1);
  84080. if (match == null)
  84081. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84082. t1 = match._match;
  84083. t2 = t1[1];
  84084. t2.toString;
  84085. t3 = $.$get$_asyncBody();
  84086. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  84087. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  84088. t2 = t1[2];
  84089. t3 = t2;
  84090. t3.toString;
  84091. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  84092. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84093. else {
  84094. t2 = t2;
  84095. t2.toString;
  84096. uri = A.Uri_parse(t2);
  84097. }
  84098. lineAndColumn = t1[3].split(":");
  84099. t1 = lineAndColumn.length;
  84100. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  84101. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  84102. },
  84103. $signature: 77
  84104. };
  84105. A.Frame_Frame$parseV8_closure.prototype = {
  84106. call$0() {
  84107. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  84108. t1 = this.frame,
  84109. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  84110. if (match != null) {
  84111. member = match.namedGroup$1("member");
  84112. t1 = match.namedGroup$1("uri");
  84113. t1.toString;
  84114. uri = A.Frame__uriOrPathToUri(t1);
  84115. t1 = match.namedGroup$1("index");
  84116. t1.toString;
  84117. t2 = match.namedGroup$1("offset");
  84118. t2.toString;
  84119. functionOffset = A.int_parse(t2, 16);
  84120. if (!(member == null))
  84121. t1 = member;
  84122. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84123. }
  84124. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  84125. if (match != null) {
  84126. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  84127. t2 = match._match;
  84128. t3 = t2[2];
  84129. if (t3 != null) {
  84130. t3 = t3;
  84131. t3.toString;
  84132. t2 = t2[1];
  84133. t2.toString;
  84134. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  84135. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  84136. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  84137. } else {
  84138. t2 = t2[3];
  84139. t2.toString;
  84140. return t1.call$2(t2, _s4_);
  84141. }
  84142. }
  84143. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  84144. },
  84145. $signature: 77
  84146. };
  84147. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84148. call$2($location, member) {
  84149. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84150. t1 = $.$get$_v8EvalLocation(),
  84151. evalMatch = t1.firstMatch$1($location);
  84152. for (; evalMatch != null; $location = t2) {
  84153. t2 = evalMatch._match[1];
  84154. t2.toString;
  84155. evalMatch = t1.firstMatch$1(t2);
  84156. }
  84157. if ($location === "native")
  84158. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84159. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84160. if (urlMatch == null)
  84161. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84162. t1 = urlMatch._match;
  84163. t2 = t1[1];
  84164. t2.toString;
  84165. uri = A.Frame__uriOrPathToUri(t2);
  84166. t2 = t1[2];
  84167. t2.toString;
  84168. line = A.int_parse(t2, _null);
  84169. columnMatch = t1[3];
  84170. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84171. },
  84172. $signature: 297
  84173. };
  84174. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84175. call$0() {
  84176. var t2, member, uri, line, _null = null,
  84177. t1 = this.frame,
  84178. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84179. if (match == null)
  84180. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84181. t1 = match._match;
  84182. t2 = t1[1];
  84183. t2.toString;
  84184. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84185. t2 = t1[2];
  84186. t2.toString;
  84187. uri = A.Frame__uriOrPathToUri(t2);
  84188. t1 = t1[3];
  84189. t1.toString;
  84190. line = A.int_parse(t1, _null);
  84191. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84192. },
  84193. $signature: 77
  84194. };
  84195. A.Frame_Frame$parseFirefox_closure.prototype = {
  84196. call$0() {
  84197. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84198. t1 = this.frame,
  84199. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84200. if (match != null) {
  84201. t2 = match._match;
  84202. t3 = t2[3];
  84203. t4 = t3;
  84204. t4.toString;
  84205. if (B.JSString_methods.contains$1(t4, " line "))
  84206. return A.Frame_Frame$_parseFirefoxEval(t1);
  84207. t1 = t3;
  84208. t1.toString;
  84209. uri = A.Frame__uriOrPathToUri(t1);
  84210. member = t2[1];
  84211. if (member != null) {
  84212. t1 = t2[2];
  84213. t1.toString;
  84214. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84215. if (member === "")
  84216. member = "<fn>";
  84217. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84218. } else
  84219. member = "<fn>";
  84220. t1 = t2[4];
  84221. if (t1 === "")
  84222. line = _null;
  84223. else {
  84224. t1 = t1;
  84225. t1.toString;
  84226. line = A.int_parse(t1, _null);
  84227. }
  84228. t1 = t2[5];
  84229. if (t1 == null || t1 === "")
  84230. column = _null;
  84231. else {
  84232. t1 = t1;
  84233. t1.toString;
  84234. column = A.int_parse(t1, _null);
  84235. }
  84236. return new A.Frame(uri, line, column, member);
  84237. }
  84238. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84239. if (match != null) {
  84240. t1 = match.namedGroup$1("member");
  84241. t1.toString;
  84242. t2 = match.namedGroup$1("uri");
  84243. t2.toString;
  84244. uri = A.Frame__uriOrPathToUri(t2);
  84245. t2 = match.namedGroup$1("index");
  84246. t2.toString;
  84247. t3 = match.namedGroup$1("offset");
  84248. t3.toString;
  84249. functionOffset = A.int_parse(t3, 16);
  84250. if (!(t1.length !== 0))
  84251. t1 = t2;
  84252. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84253. }
  84254. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84255. if (match != null) {
  84256. t1 = match.namedGroup$1("member");
  84257. t1.toString;
  84258. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84259. }
  84260. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84261. },
  84262. $signature: 77
  84263. };
  84264. A.Frame_Frame$parseFriendly_closure.prototype = {
  84265. call$0() {
  84266. var t2, uri, line, column, _null = null,
  84267. t1 = this.frame,
  84268. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84269. if (match == null)
  84270. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84271. t1 = match._match;
  84272. t2 = t1[1];
  84273. if (t2 === "data:...")
  84274. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84275. else {
  84276. t2 = t2;
  84277. t2.toString;
  84278. uri = A.Uri_parse(t2);
  84279. }
  84280. if (uri.get$scheme() === "") {
  84281. t2 = $.$get$context();
  84282. 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));
  84283. }
  84284. t2 = t1[2];
  84285. if (t2 == null)
  84286. line = _null;
  84287. else {
  84288. t2 = t2;
  84289. t2.toString;
  84290. line = A.int_parse(t2, _null);
  84291. }
  84292. t2 = t1[3];
  84293. if (t2 == null)
  84294. column = _null;
  84295. else {
  84296. t2 = t2;
  84297. t2.toString;
  84298. column = A.int_parse(t2, _null);
  84299. }
  84300. return new A.Frame(uri, line, column, t1[4]);
  84301. },
  84302. $signature: 77
  84303. };
  84304. A.LazyTrace.prototype = {
  84305. get$_lazy_trace$_trace() {
  84306. var result, _this = this,
  84307. value = _this.__LazyTrace__trace_FI;
  84308. if (value === $) {
  84309. result = _this._thunk.call$0();
  84310. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84311. _this.__LazyTrace__trace_FI = result;
  84312. value = result;
  84313. }
  84314. return value;
  84315. },
  84316. get$frames() {
  84317. return this.get$_lazy_trace$_trace().get$frames();
  84318. },
  84319. get$terse() {
  84320. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84321. },
  84322. toString$0(_) {
  84323. return this.get$_lazy_trace$_trace().toString$0(0);
  84324. },
  84325. $isStackTrace: 1,
  84326. $isTrace: 1
  84327. };
  84328. A.LazyTrace_terse_closure.prototype = {
  84329. call$0() {
  84330. return this.$this.get$_lazy_trace$_trace().get$terse();
  84331. },
  84332. $signature: 195
  84333. };
  84334. A.Trace.prototype = {
  84335. get$terse() {
  84336. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84337. },
  84338. foldFrames$2$terse(predicate, terse) {
  84339. var newFrames, t1, t2, t3, _box_0 = {};
  84340. _box_0.predicate = predicate;
  84341. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84342. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84343. 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();) {
  84344. t3 = t1.__internal$_current;
  84345. if (t3 == null)
  84346. t3 = t2._as(t3);
  84347. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84348. newFrames.push(t3);
  84349. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84350. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84351. }
  84352. t1 = type$.MappedListIterable_Frame_Frame;
  84353. newFrames = A.List_List$_of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), t1._eval$1("ListIterable.E"));
  84354. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84355. B.JSArray_methods.removeAt$1(newFrames, 0);
  84356. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84357. },
  84358. toString$0(_) {
  84359. var t1 = this.frames,
  84360. t2 = A._arrayInstanceType(t1);
  84361. 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);
  84362. },
  84363. $isStackTrace: 1,
  84364. get$frames() {
  84365. return this.frames;
  84366. }
  84367. };
  84368. A.Trace_Trace$from_closure.prototype = {
  84369. call$0() {
  84370. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84371. },
  84372. $signature: 195
  84373. };
  84374. A.Trace__parseVM_closure.prototype = {
  84375. call$1(line) {
  84376. return line.length !== 0;
  84377. },
  84378. $signature: 5
  84379. };
  84380. A.Trace$parseV8_closure.prototype = {
  84381. call$1(line) {
  84382. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84383. },
  84384. $signature: 5
  84385. };
  84386. A.Trace$parseJSCore_closure.prototype = {
  84387. call$1(line) {
  84388. return line !== "\tat ";
  84389. },
  84390. $signature: 5
  84391. };
  84392. A.Trace$parseFirefox_closure.prototype = {
  84393. call$1(line) {
  84394. return line.length !== 0 && line !== "[native code]";
  84395. },
  84396. $signature: 5
  84397. };
  84398. A.Trace$parseFriendly_closure.prototype = {
  84399. call$1(line) {
  84400. return !B.JSString_methods.startsWith$1(line, "=====");
  84401. },
  84402. $signature: 5
  84403. };
  84404. A.Trace_terse_closure.prototype = {
  84405. call$1(_) {
  84406. return false;
  84407. },
  84408. $signature: 196
  84409. };
  84410. A.Trace_foldFrames_closure.prototype = {
  84411. call$1(frame) {
  84412. var t1;
  84413. if (this.oldPredicate.call$1(frame))
  84414. return true;
  84415. if (frame.get$isCore())
  84416. return true;
  84417. if (frame.get$$package() === "stack_trace")
  84418. return true;
  84419. t1 = frame.get$member();
  84420. t1.toString;
  84421. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84422. return false;
  84423. return frame.get$line() == null;
  84424. },
  84425. $signature: 196
  84426. };
  84427. A.Trace_foldFrames_closure0.prototype = {
  84428. call$1(frame) {
  84429. var t1, t2;
  84430. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84431. return frame;
  84432. t1 = frame.get$library();
  84433. t2 = $.$get$_terseRegExp();
  84434. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84435. },
  84436. $signature: 300
  84437. };
  84438. A.Trace_toString_closure0.prototype = {
  84439. call$1(frame) {
  84440. return frame.get$location().length;
  84441. },
  84442. $signature: 192
  84443. };
  84444. A.Trace_toString_closure.prototype = {
  84445. call$1(frame) {
  84446. if (frame instanceof A.UnparsedFrame)
  84447. return frame.toString$0(0) + "\n";
  84448. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84449. },
  84450. $signature: 193
  84451. };
  84452. A.UnparsedFrame.prototype = {
  84453. toString$0(_) {
  84454. return this.member;
  84455. },
  84456. $isFrame: 1,
  84457. get$uri() {
  84458. return this.uri;
  84459. },
  84460. get$line() {
  84461. return null;
  84462. },
  84463. get$column() {
  84464. return null;
  84465. },
  84466. get$isCore() {
  84467. return false;
  84468. },
  84469. get$library() {
  84470. return "unparsed";
  84471. },
  84472. get$$package() {
  84473. return null;
  84474. },
  84475. get$location() {
  84476. return "unparsed";
  84477. },
  84478. get$member() {
  84479. return this.member;
  84480. }
  84481. };
  84482. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84483. call$0() {
  84484. var t2, subscription, t3, t4, _this = this, t1 = {};
  84485. t1.valuesDone = false;
  84486. t2 = _this.controller;
  84487. 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));
  84488. t3 = _this._box_1;
  84489. t3.subscription = subscription;
  84490. t2.set$onPause(subscription.get$pause(subscription));
  84491. t4 = t3.subscription;
  84492. t2.set$onResume(t4.get$resume(t4));
  84493. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84494. },
  84495. $signature: 0
  84496. };
  84497. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84498. call$1(value) {
  84499. return this.onData.call$2(value, this.controller);
  84500. },
  84501. $signature() {
  84502. return this.S._eval$1("~(0)");
  84503. }
  84504. };
  84505. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84506. call$2(error, stackTrace) {
  84507. this.handleError.call$3(error, stackTrace, this.controller);
  84508. },
  84509. $signature: 51
  84510. };
  84511. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84512. call$0() {
  84513. this._box_0.valuesDone = true;
  84514. this.handleDone.call$1(this.controller);
  84515. },
  84516. $signature: 0
  84517. };
  84518. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84519. call$0() {
  84520. var t1 = this._box_1,
  84521. toCancel = t1.subscription;
  84522. t1.subscription = null;
  84523. if (!this._box_0.valuesDone)
  84524. return toCancel.cancel$0();
  84525. return null;
  84526. },
  84527. $signature: 224
  84528. };
  84529. A.RateLimit__debounceAggregate_closure.prototype = {
  84530. call$2(value, sink) {
  84531. var _this = this,
  84532. t1 = _this._box_0,
  84533. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  84534. t3 = t1.timer;
  84535. if (t3 != null)
  84536. t3.cancel$0();
  84537. t1.soFar = _this.collect.call$2(value, t1.soFar);
  84538. t1.hasPending = true;
  84539. if (t1.timer == null && _this.leading) {
  84540. t1.emittedLatestAsLeading = true;
  84541. t2.call$0();
  84542. } else
  84543. t1.emittedLatestAsLeading = false;
  84544. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  84545. },
  84546. $signature() {
  84547. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  84548. }
  84549. };
  84550. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  84551. call$0() {
  84552. var t1 = this._box_0,
  84553. t2 = t1.soFar;
  84554. if (t2 == null)
  84555. t2 = this.S._as(t2);
  84556. this.sink.add$1(0, t2);
  84557. t1.soFar = null;
  84558. t1.hasPending = false;
  84559. },
  84560. $signature: 0
  84561. };
  84562. A.RateLimit__debounceAggregate__closure.prototype = {
  84563. call$0() {
  84564. var t1 = this._box_0,
  84565. t2 = t1.emittedLatestAsLeading;
  84566. if (!t2)
  84567. this.emit.call$0();
  84568. if (t1.shouldClose)
  84569. this.sink.close$0(0);
  84570. t1.timer = null;
  84571. },
  84572. $signature: 0
  84573. };
  84574. A.RateLimit__debounceAggregate_closure0.prototype = {
  84575. call$1(sink) {
  84576. var t1 = this._box_0;
  84577. if (t1.hasPending && this.trailing)
  84578. t1.shouldClose = true;
  84579. else {
  84580. t1 = t1.timer;
  84581. if (t1 != null)
  84582. t1.cancel$0();
  84583. sink.close$0(0);
  84584. }
  84585. },
  84586. $signature() {
  84587. return this.S._eval$1("~(EventSink<0>)");
  84588. }
  84589. };
  84590. A.StringScannerException.prototype = {
  84591. get$source() {
  84592. return A._asString(this.source);
  84593. }
  84594. };
  84595. A.LineScanner.prototype = {
  84596. scanChar$1(character) {
  84597. if (!this.super$StringScanner$scanChar(character))
  84598. return false;
  84599. this._adjustLineAndColumn$1(character);
  84600. return true;
  84601. },
  84602. readChar$0() {
  84603. var character = this.super$StringScanner$readChar();
  84604. this._adjustLineAndColumn$1(character);
  84605. return character;
  84606. },
  84607. _adjustLineAndColumn$1(character) {
  84608. var t1, _this = this;
  84609. if (character !== 10)
  84610. t1 = character === 13 && _this.peekChar$0() !== 10;
  84611. else
  84612. t1 = true;
  84613. if (t1) {
  84614. ++_this._line_scanner$_line;
  84615. _this._line_scanner$_column = 0;
  84616. } else {
  84617. t1 = _this._line_scanner$_column;
  84618. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  84619. }
  84620. },
  84621. scan$1(pattern) {
  84622. var t1, newlines, t2, _this = this;
  84623. if (!_this.super$StringScanner$scan(pattern))
  84624. return false;
  84625. t1 = _this.get$lastMatch();
  84626. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  84627. t1 = _this._line_scanner$_line;
  84628. t2 = newlines.length;
  84629. _this._line_scanner$_line = t1 + t2;
  84630. if (t2 === 0) {
  84631. t1 = _this._line_scanner$_column;
  84632. t2 = _this.get$lastMatch();
  84633. _this._line_scanner$_column = t1 + t2.pattern.length;
  84634. } else {
  84635. t1 = _this.get$lastMatch();
  84636. t1 = t1.pattern;
  84637. t2 = B.JSArray_methods.get$last(newlines);
  84638. _this._line_scanner$_column = t1.length - t2.get$end(t2);
  84639. }
  84640. return true;
  84641. },
  84642. _newlinesIn$2$endPosition(text, endPosition) {
  84643. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  84644. newlines = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  84645. t1 = this.string;
  84646. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  84647. newlines.pop();
  84648. return newlines;
  84649. }
  84650. };
  84651. A.SpanScanner.prototype = {
  84652. set$state(state) {
  84653. if (state._scanner !== this)
  84654. throw A.wrapException(A.ArgumentError$("The given LineScannerState was not returned by this LineScanner.", null));
  84655. this.set$position(state.position);
  84656. },
  84657. spanFrom$2(startState, endState) {
  84658. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  84659. return this._sourceFile.span$2(0, startState.position, endPosition);
  84660. },
  84661. spanFrom$1(startState) {
  84662. return this.spanFrom$2(startState, null);
  84663. },
  84664. spanFromPosition$1(startPosition) {
  84665. var t1 = this._string_scanner$_position;
  84666. return this._sourceFile.span$2(0, startPosition, t1);
  84667. },
  84668. matches$1(pattern) {
  84669. var t1, t2, _this = this;
  84670. if (!_this.super$StringScanner$matches(pattern))
  84671. return false;
  84672. t1 = _this._string_scanner$_position;
  84673. t2 = _this.get$lastMatch();
  84674. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  84675. return true;
  84676. },
  84677. error$3$length$position(_, message, $length, position) {
  84678. var match, t2, _this = this,
  84679. t1 = _this.string;
  84680. A.validateErrorArgs(t1, null, position, $length);
  84681. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84682. if (position == null)
  84683. position = match == null ? _this._string_scanner$_position : match.start;
  84684. if ($length == null)
  84685. if (match == null)
  84686. $length = 0;
  84687. else {
  84688. t2 = match.start;
  84689. $length = t2 + match.pattern.length - t2;
  84690. }
  84691. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  84692. },
  84693. error$1(_, message) {
  84694. return this.error$3$length$position(0, message, null, null);
  84695. },
  84696. error$2$position(_, message, position) {
  84697. return this.error$3$length$position(0, message, null, position);
  84698. },
  84699. error$2$length(_, message, $length) {
  84700. return this.error$3$length$position(0, message, $length, null);
  84701. }
  84702. };
  84703. A._SpanScannerState.prototype = {};
  84704. A.StringScanner.prototype = {
  84705. set$position(position) {
  84706. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  84707. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  84708. this._string_scanner$_position = position;
  84709. this._lastMatch = null;
  84710. },
  84711. get$lastMatch() {
  84712. var _this = this;
  84713. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  84714. _this._lastMatch = null;
  84715. return _this._lastMatch;
  84716. },
  84717. readChar$0() {
  84718. var _this = this,
  84719. t1 = _this.string;
  84720. if (_this._string_scanner$_position === t1.length)
  84721. _this._fail$1("more input");
  84722. return t1.charCodeAt(_this._string_scanner$_position++);
  84723. },
  84724. peekChar$1(offset) {
  84725. var index;
  84726. if (offset == null)
  84727. offset = 0;
  84728. index = this._string_scanner$_position + offset;
  84729. if (index < 0 || index >= this.string.length)
  84730. return null;
  84731. return this.string.charCodeAt(index);
  84732. },
  84733. peekChar$0() {
  84734. return this.peekChar$1(null);
  84735. },
  84736. scanChar$1(character) {
  84737. var t1, t2, t3, t4, _this = this;
  84738. if (character >= 65536 && character <= 1114111) {
  84739. t1 = _this._string_scanner$_position;
  84740. t2 = t1 + 1;
  84741. t3 = _this.string;
  84742. if (t2 < t3.length) {
  84743. t4 = character - 65536;
  84744. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  84745. } else
  84746. t2 = true;
  84747. if (t2)
  84748. return false;
  84749. else {
  84750. _this._string_scanner$_position = t1 + 2;
  84751. return true;
  84752. }
  84753. } else {
  84754. t1 = _this._string_scanner$_position;
  84755. t2 = _this.string;
  84756. if (t1 === t2.length)
  84757. return false;
  84758. if (t2.charCodeAt(t1) !== character)
  84759. return false;
  84760. _this._string_scanner$_position = t1 + 1;
  84761. return true;
  84762. }
  84763. },
  84764. expectChar$2$name(character, $name) {
  84765. if (this.scanChar$1(character))
  84766. return;
  84767. if ($name == null)
  84768. if (character === 92)
  84769. $name = '"\\"';
  84770. else
  84771. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  84772. this._fail$1($name);
  84773. },
  84774. expectChar$1(character) {
  84775. return this.expectChar$2$name(character, null);
  84776. },
  84777. scan$1(pattern) {
  84778. var t1, _this = this,
  84779. success = _this.matches$1(pattern);
  84780. if (success) {
  84781. t1 = _this._lastMatch;
  84782. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  84783. }
  84784. return success;
  84785. },
  84786. expect$1(pattern) {
  84787. var t1, $name;
  84788. if (this.scan$1(pattern))
  84789. return;
  84790. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  84791. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  84792. this._fail$1($name);
  84793. },
  84794. expectDone$0() {
  84795. if (this._string_scanner$_position === this.string.length)
  84796. return;
  84797. this._fail$1("no more input");
  84798. },
  84799. matches$1(pattern) {
  84800. var _this = this,
  84801. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  84802. _this._lastMatch = t1;
  84803. _this._lastMatchPosition = _this._string_scanner$_position;
  84804. return t1 != null;
  84805. },
  84806. substring$1(_, start) {
  84807. var end = this._string_scanner$_position;
  84808. return B.JSString_methods.substring$2(this.string, start, end);
  84809. },
  84810. error$3$length$position(_, message, $length, position) {
  84811. var match, t2, _this = this,
  84812. t1 = _this.string;
  84813. A.validateErrorArgs(t1, null, position, $length);
  84814. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84815. if (position == null)
  84816. position = match == null ? _this._string_scanner$_position : match.start;
  84817. if ($length == null)
  84818. if (match == null)
  84819. $length = 0;
  84820. else {
  84821. t2 = match.start;
  84822. $length = t2 + match.pattern.length - t2;
  84823. }
  84824. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  84825. },
  84826. error$1(_, message) {
  84827. return this.error$3$length$position(0, message, null, null);
  84828. },
  84829. _fail$1($name) {
  84830. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  84831. }
  84832. };
  84833. A.AsciiGlyphSet.prototype = {
  84834. glyphOrAscii$2(glyph, alternative) {
  84835. return alternative;
  84836. },
  84837. get$horizontalLine() {
  84838. return "-";
  84839. },
  84840. get$verticalLine() {
  84841. return "|";
  84842. },
  84843. get$topLeftCorner() {
  84844. return ",";
  84845. },
  84846. get$bottomLeftCorner() {
  84847. return "'";
  84848. },
  84849. get$cross() {
  84850. return "+";
  84851. },
  84852. get$upEnd() {
  84853. return "'";
  84854. },
  84855. get$downEnd() {
  84856. return ",";
  84857. },
  84858. get$horizontalLineBold() {
  84859. return "=";
  84860. }
  84861. };
  84862. A.UnicodeGlyphSet.prototype = {
  84863. glyphOrAscii$2(glyph, alternative) {
  84864. return glyph;
  84865. },
  84866. get$horizontalLine() {
  84867. return "\u2500";
  84868. },
  84869. get$verticalLine() {
  84870. return "\u2502";
  84871. },
  84872. get$topLeftCorner() {
  84873. return "\u250c";
  84874. },
  84875. get$bottomLeftCorner() {
  84876. return "\u2514";
  84877. },
  84878. get$cross() {
  84879. return "\u253c";
  84880. },
  84881. get$upEnd() {
  84882. return "\u2575";
  84883. },
  84884. get$downEnd() {
  84885. return "\u2577";
  84886. },
  84887. get$horizontalLineBold() {
  84888. return "\u2501";
  84889. }
  84890. };
  84891. A.WatchEvent.prototype = {
  84892. toString$0(_) {
  84893. return this.type.toString$0(0) + " " + this.path;
  84894. }
  84895. };
  84896. A.ChangeType.prototype = {
  84897. toString$0(_) {
  84898. return this._watch_event$_name;
  84899. }
  84900. };
  84901. A.A98RgbColorSpace0.prototype = {
  84902. get$isBoundedInternal() {
  84903. return true;
  84904. },
  84905. toLinear$1(channel) {
  84906. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  84907. },
  84908. fromLinear$1(channel) {
  84909. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  84910. },
  84911. transformationMatrix$1(dest) {
  84912. var t1;
  84913. $label0$0: {
  84914. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  84915. t1 = $.$get$linearA98RgbToLinearSrgb0();
  84916. break $label0$0;
  84917. }
  84918. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  84919. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  84920. break $label0$0;
  84921. }
  84922. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  84923. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  84924. break $label0$0;
  84925. }
  84926. if (B.Rec2020ColorSpace_6oo0 === dest) {
  84927. t1 = $.$get$linearA98RgbToLinearRec20200();
  84928. break $label0$0;
  84929. }
  84930. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  84931. t1 = $.$get$linearA98RgbToXyzD650();
  84932. break $label0$0;
  84933. }
  84934. if (B.XyzD50ColorSpace_2OB0 === dest) {
  84935. t1 = $.$get$linearA98RgbToXyzD500();
  84936. break $label0$0;
  84937. }
  84938. if (B.LmsColorSpace_Os30 === dest) {
  84939. t1 = $.$get$linearA98RgbToLms0();
  84940. break $label0$0;
  84941. }
  84942. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  84943. break $label0$0;
  84944. }
  84945. return t1;
  84946. }
  84947. };
  84948. A.AnySelectorVisitor0.prototype = {
  84949. visitComplexSelector$1(complex) {
  84950. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  84951. },
  84952. visitCompoundSelector$1(compound) {
  84953. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  84954. },
  84955. visitPseudoSelector$1(pseudo) {
  84956. var selector = pseudo.selector;
  84957. return selector == null ? false : this.visitSelectorList$1(selector);
  84958. },
  84959. visitSelectorList$1(list) {
  84960. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  84961. },
  84962. visitAttributeSelector$1(attribute) {
  84963. return false;
  84964. },
  84965. visitClassSelector$1(klass) {
  84966. return false;
  84967. },
  84968. visitIDSelector$1(id) {
  84969. return false;
  84970. },
  84971. visitParentSelector$1($parent) {
  84972. return false;
  84973. },
  84974. visitPlaceholderSelector$1(placeholder) {
  84975. return false;
  84976. },
  84977. visitTypeSelector$1(type) {
  84978. return false;
  84979. },
  84980. visitUniversalSelector$1(universal) {
  84981. return false;
  84982. }
  84983. };
  84984. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  84985. call$1(component) {
  84986. return this.$this.visitCompoundSelector$1(component.selector);
  84987. },
  84988. $signature: 54
  84989. };
  84990. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  84991. call$1(simple) {
  84992. return simple.accept$1(this.$this);
  84993. },
  84994. $signature: 13
  84995. };
  84996. A.SupportsAnything0.prototype = {
  84997. toInterpolation$0() {
  84998. var t1 = new A.StringBuffer(""),
  84999. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  85000. t3 = this.span,
  85001. t4 = this.contents,
  85002. t5 = t4.span,
  85003. t6 = A.SpanExtensions_before(t3, t5);
  85004. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  85005. t1._contents += t6;
  85006. t2.addInterpolation$1(t4);
  85007. t5 = A.SpanExtensions_after(t3, t5);
  85008. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  85009. t1._contents += t5;
  85010. return t2.interpolation$1(t3);
  85011. },
  85012. withSpan$1(span) {
  85013. return new A.SupportsAnything0(this.contents, span);
  85014. },
  85015. toString$0(_) {
  85016. return "(" + this.contents.toString$0(0) + ")";
  85017. },
  85018. $isAstNode0: 1,
  85019. $isSassNode: 1,
  85020. $isSupportsCondition: 1,
  85021. get$span(receiver) {
  85022. return this.span;
  85023. }
  85024. };
  85025. A.ArgumentList0.prototype = {
  85026. get$isEmpty(_) {
  85027. var t1;
  85028. if (this.positional.length === 0) {
  85029. t1 = this.named;
  85030. t1 = t1.get$isEmpty(t1) && this.rest == null;
  85031. } else
  85032. t1 = false;
  85033. return t1;
  85034. },
  85035. toString$0(_) {
  85036. var t2, t3, _i, _1_0, _2_0, _this = this,
  85037. t1 = A._setArrayType([], type$.JSArray_String);
  85038. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85039. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  85040. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  85041. t3 = t2.get$current(t2);
  85042. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  85043. }
  85044. _1_0 = _this.rest;
  85045. if (_1_0 != null)
  85046. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  85047. _2_0 = _this.keywordRest;
  85048. if (_2_0 != null)
  85049. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  85050. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  85051. },
  85052. _argument_list0$_parenthesizeArgument$1(argument) {
  85053. var t1;
  85054. $label0$0: {
  85055. if (argument instanceof A.ListExpression0 && B.ListSeparator_qVN0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  85056. t1 = "(" + argument.toString$0(0) + ")";
  85057. break $label0$0;
  85058. }
  85059. t1 = argument.toString$0(0);
  85060. break $label0$0;
  85061. }
  85062. return t1;
  85063. },
  85064. $isAstNode0: 1,
  85065. $isSassNode: 1,
  85066. get$span(receiver) {
  85067. return this.span;
  85068. }
  85069. };
  85070. A.argumentListClass_closure.prototype = {
  85071. call$0() {
  85072. var t1 = type$.JSClass,
  85073. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  85074. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  85075. 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);
  85076. return jsClass;
  85077. },
  85078. $signature: 15
  85079. };
  85080. A.argumentListClass__closure.prototype = {
  85081. call$4($self, contents, keywords, separator) {
  85082. var t3,
  85083. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  85084. t2 = type$.Value_2;
  85085. t1 = J.cast$1$0$ax(t1, t2);
  85086. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  85087. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  85088. },
  85089. call$3($self, contents, keywords) {
  85090. return this.call$4($self, contents, keywords, ",");
  85091. },
  85092. "call*": "call$4",
  85093. $requiredArgCount: 3,
  85094. $defaultValues() {
  85095. return [","];
  85096. },
  85097. $signature: 305
  85098. };
  85099. A.argumentListClass__closure0.prototype = {
  85100. call$1($self) {
  85101. $self._argument_list$_wereKeywordsAccessed = true;
  85102. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  85103. },
  85104. $signature: 306
  85105. };
  85106. A.SassArgumentList0.prototype = {};
  85107. A.JSArray1.prototype = {};
  85108. A.AsyncImporter0.prototype = {
  85109. isNonCanonicalScheme$1(scheme) {
  85110. return false;
  85111. }
  85112. };
  85113. A.JSToDartAsyncImporter.prototype = {
  85114. canonicalize$1(_, url) {
  85115. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  85116. },
  85117. canonicalize$body$JSToDartAsyncImporter(_, url) {
  85118. var $async$goto = 0,
  85119. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  85120. $async$returnValue, $async$self = this, t1, result;
  85121. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85122. if ($async$errorCode === 1)
  85123. return A._asyncRethrow($async$result, $async$completer);
  85124. while (true)
  85125. switch ($async$goto) {
  85126. case 0:
  85127. // Function start
  85128. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  85129. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85130. break;
  85131. case 3:
  85132. // then
  85133. $async$goto = 5;
  85134. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  85135. case 5:
  85136. // returning from await.
  85137. result = $async$result;
  85138. case 4:
  85139. // join
  85140. if (result == null) {
  85141. $async$returnValue = null;
  85142. // goto return
  85143. $async$goto = 1;
  85144. break;
  85145. }
  85146. t1 = self.URL;
  85147. if (result instanceof t1) {
  85148. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85149. // goto return
  85150. $async$goto = 1;
  85151. break;
  85152. }
  85153. A.jsThrow(new self.Error(string$.The_ca));
  85154. case 1:
  85155. // return
  85156. return A._asyncReturn($async$returnValue, $async$completer);
  85157. }
  85158. });
  85159. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85160. },
  85161. load$1(_, url) {
  85162. return this.load$body$JSToDartAsyncImporter(0, url);
  85163. },
  85164. load$body$JSToDartAsyncImporter(_, url) {
  85165. var $async$goto = 0,
  85166. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85167. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85168. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85169. if ($async$errorCode === 1)
  85170. return A._asyncRethrow($async$result, $async$completer);
  85171. while (true)
  85172. switch ($async$goto) {
  85173. case 0:
  85174. // Function start
  85175. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85176. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85177. break;
  85178. case 3:
  85179. // then
  85180. $async$goto = 5;
  85181. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85182. case 5:
  85183. // returning from await.
  85184. result = $async$result;
  85185. case 4:
  85186. // join
  85187. if (result == null) {
  85188. $async$returnValue = null;
  85189. // goto return
  85190. $async$goto = 1;
  85191. break;
  85192. }
  85193. type$.JSImporterResult._as(result);
  85194. t1 = J.getInterceptor$x(result);
  85195. contents = t1.get$contents(result);
  85196. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85197. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85198. syntax = t1.get$syntax(result);
  85199. if (contents == null || syntax == null)
  85200. A.jsThrow(new self.Error(string$.The_lo));
  85201. t2 = A.parseSyntax(syntax);
  85202. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85203. // goto return
  85204. $async$goto = 1;
  85205. break;
  85206. case 1:
  85207. // return
  85208. return A._asyncReturn($async$returnValue, $async$completer);
  85209. }
  85210. });
  85211. return A._asyncStartSync($async$load$1, $async$completer);
  85212. },
  85213. isNonCanonicalScheme$1(scheme) {
  85214. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85215. }
  85216. };
  85217. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85218. call$0() {
  85219. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85220. },
  85221. $signature: 36
  85222. };
  85223. A.JSToDartAsyncImporter_load_closure.prototype = {
  85224. call$0() {
  85225. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85226. },
  85227. $signature: 36
  85228. };
  85229. A.AsyncBuiltInCallable0.prototype = {
  85230. callbackFor$2(positional, names) {
  85231. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85232. },
  85233. withDeprecationWarning$1(module) {
  85234. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85235. },
  85236. $isAsyncCallable0: 1,
  85237. get$name(receiver) {
  85238. return this.name;
  85239. },
  85240. get$acceptsContent() {
  85241. return this.acceptsContent;
  85242. }
  85243. };
  85244. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85245. call$1($arguments) {
  85246. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85247. },
  85248. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85249. var $async$goto = 0,
  85250. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85251. $async$returnValue, $async$self = this, t1;
  85252. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85253. if ($async$errorCode === 1)
  85254. return A._asyncRethrow($async$result, $async$completer);
  85255. while (true)
  85256. switch ($async$goto) {
  85257. case 0:
  85258. // Function start
  85259. t1 = $async$self.callback.call$1($arguments);
  85260. $async$goto = 3;
  85261. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85262. case 3:
  85263. // returning from await.
  85264. $async$returnValue = B.C__SassNull0;
  85265. // goto return
  85266. $async$goto = 1;
  85267. break;
  85268. case 1:
  85269. // return
  85270. return A._asyncReturn($async$returnValue, $async$completer);
  85271. }
  85272. });
  85273. return A._asyncStartSync($async$call$1, $async$completer);
  85274. },
  85275. $signature: 109
  85276. };
  85277. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85278. call$1(args) {
  85279. var t1 = this.$this;
  85280. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_ZDV);
  85281. return t1._async_built_in0$_callback.call$1(args);
  85282. },
  85283. $signature: 309
  85284. };
  85285. A._compileStylesheet_closure2.prototype = {
  85286. call$1(url) {
  85287. 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);
  85288. },
  85289. $signature: 6
  85290. };
  85291. A.AsyncEnvironment0.prototype = {
  85292. closure$0() {
  85293. var t4, t5, t6, _this = this,
  85294. t1 = _this._async_environment0$_forwardedModules,
  85295. t2 = _this._async_environment0$_nestedForwardedModules,
  85296. t3 = _this._async_environment0$_variables;
  85297. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85298. t4 = _this._async_environment0$_variableNodes;
  85299. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85300. t5 = _this._async_environment0$_functions;
  85301. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85302. t6 = _this._async_environment0$_mixins;
  85303. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85304. 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);
  85305. },
  85306. forwardModule$2(module, rule) {
  85307. var view, t1, t2, _this = this,
  85308. forwardedModules = _this._async_environment0$_forwardedModules;
  85309. if (forwardedModules == null)
  85310. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85311. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85312. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  85313. t2 = t1.__js_helper$_current;
  85314. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85315. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85316. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85317. }
  85318. _this._async_environment0$_allModules.push(module);
  85319. forwardedModules.$indexSet(0, view, rule);
  85320. },
  85321. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85322. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85323. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85324. larger = oldMembers;
  85325. smaller = newMembers;
  85326. } else {
  85327. larger = newMembers;
  85328. smaller = oldMembers;
  85329. }
  85330. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85331. t4 = t2.get$current(t2);
  85332. $name = t4._0;
  85333. small = t4._1;
  85334. large = larger.$index(0, $name);
  85335. if (large == null)
  85336. continue;
  85337. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85338. continue;
  85339. if (t3)
  85340. $name = "$" + $name;
  85341. t2 = this._async_environment0$_forwardedModules;
  85342. if (t2 == null)
  85343. span = null;
  85344. else {
  85345. t2 = t2.$index(0, oldModule);
  85346. span = t2 == null ? null : t2.get$span(t2);
  85347. }
  85348. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85349. if (span != null)
  85350. t2.$indexSet(0, span, "original @forward");
  85351. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85352. }
  85353. },
  85354. importForwards$1(module) {
  85355. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85356. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85357. if (forwarded == null)
  85358. return;
  85359. forwardedModules = _this._async_environment0$_forwardedModules;
  85360. if (forwardedModules != null) {
  85361. t1 = type$.Module_AsyncCallable_2;
  85362. t2 = type$.AstNode_2;
  85363. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85364. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85365. t4 = t1.get$current(t1);
  85366. module = t4._0;
  85367. node = t4._1;
  85368. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85369. t3.$indexSet(0, module, node);
  85370. }
  85371. forwarded = t3;
  85372. } else
  85373. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85374. t1 = type$.String;
  85375. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85376. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  85377. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  85378. t2.add$1(0, t4.get$current(t4));
  85379. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85380. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  85381. t5 = t4.__js_helper$_current;
  85382. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  85383. t3.add$1(0, t5.get$current(t5));
  85384. }
  85385. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85386. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  85387. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  85388. t1.add$1(0, t5.get$current(t5));
  85389. t4 = _this._async_environment0$_variables;
  85390. t5 = t4.length;
  85391. if (t5 === 1) {
  85392. 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) {
  85393. t11 = t8[_i];
  85394. module = t11._0;
  85395. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85396. if (shadowed != null) {
  85397. t5.remove$1(0, module);
  85398. t12 = shadowed.variables;
  85399. t13 = false;
  85400. if (t12.get$isEmpty(t12)) {
  85401. t12 = shadowed.functions;
  85402. if (t12.get$isEmpty(t12)) {
  85403. t12 = shadowed.mixins;
  85404. if (t12.get$isEmpty(t12)) {
  85405. t12 = shadowed._shadowed_view0$_inner;
  85406. t12 = t12.get$css(t12);
  85407. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85408. } else
  85409. t12 = t13;
  85410. } else
  85411. t12 = t13;
  85412. } else
  85413. t12 = t13;
  85414. if (!t12)
  85415. t5.$indexSet(0, shadowed, t11._1);
  85416. }
  85417. }
  85418. 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) {
  85419. t8 = t6[_i];
  85420. module = t8._0;
  85421. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85422. if (shadowed != null) {
  85423. forwardedModules.remove$1(0, module);
  85424. t9 = shadowed.variables;
  85425. t11 = false;
  85426. if (t9.get$isEmpty(t9)) {
  85427. t9 = shadowed.functions;
  85428. if (t9.get$isEmpty(t9)) {
  85429. t9 = shadowed.mixins;
  85430. if (t9.get$isEmpty(t9)) {
  85431. t9 = shadowed._shadowed_view0$_inner;
  85432. t9 = t9.get$css(t9);
  85433. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85434. } else
  85435. t9 = t11;
  85436. } else
  85437. t9 = t11;
  85438. } else
  85439. t9 = t11;
  85440. if (!t9)
  85441. forwardedModules.$indexSet(0, shadowed, t8._1);
  85442. }
  85443. }
  85444. t5.addAll$1(0, forwarded);
  85445. forwardedModules.addAll$1(0, forwarded);
  85446. } else {
  85447. t6 = _this._async_environment0$_nestedForwardedModules;
  85448. if (t6 == null) {
  85449. _length = t5 - 1;
  85450. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85451. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85452. _list[_i] = A._setArrayType([], t5);
  85453. _this._async_environment0$_nestedForwardedModules = _list;
  85454. t5 = _list;
  85455. } else
  85456. t5 = t6;
  85457. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85458. }
  85459. 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();) {
  85460. t8 = t2._collection$_current;
  85461. if (t8 == null)
  85462. t8 = t7._as(t8);
  85463. t5.remove$1(0, t8);
  85464. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  85465. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  85466. }
  85467. 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();) {
  85468. t6 = t2._collection$_current;
  85469. if (t6 == null)
  85470. t6 = t5._as(t6);
  85471. t3.remove$1(0, t6);
  85472. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  85473. }
  85474. 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();) {
  85475. t5 = t1._collection$_current;
  85476. if (t5 == null)
  85477. t5 = t4._as(t5);
  85478. t2.remove$1(0, t5);
  85479. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  85480. }
  85481. },
  85482. getVariable$2$namespace($name, namespace) {
  85483. var t1, _0_0, _1_0, _this = this;
  85484. if (namespace != null)
  85485. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85486. if (_this._async_environment0$_lastVariableName === $name) {
  85487. t1 = _this._async_environment0$_lastVariableIndex;
  85488. t1.toString;
  85489. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85490. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85491. }
  85492. t1 = _this._async_environment0$_variableIndices;
  85493. _0_0 = t1.$index(0, $name);
  85494. if (_0_0 != null) {
  85495. _this._async_environment0$_lastVariableName = $name;
  85496. _this._async_environment0$_lastVariableIndex = _0_0;
  85497. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85498. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85499. } else {
  85500. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85501. if (_1_0 != null) {
  85502. _this._async_environment0$_lastVariableName = $name;
  85503. _this._async_environment0$_lastVariableIndex = _1_0;
  85504. t1.$indexSet(0, $name, _1_0);
  85505. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85506. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85507. } else
  85508. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85509. }
  85510. },
  85511. getVariable$1($name) {
  85512. return this.getVariable$2$namespace($name, null);
  85513. },
  85514. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85515. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85516. },
  85517. getVariableNode$2$namespace($name, namespace) {
  85518. var t1, _0_0, _1_0, _this = this;
  85519. if (namespace != null)
  85520. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  85521. if (_this._async_environment0$_lastVariableName === $name) {
  85522. t1 = _this._async_environment0$_lastVariableIndex;
  85523. t1.toString;
  85524. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  85525. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85526. }
  85527. t1 = _this._async_environment0$_variableIndices;
  85528. _0_0 = t1.$index(0, $name);
  85529. if (_0_0 != null) {
  85530. _this._async_environment0$_lastVariableName = $name;
  85531. _this._async_environment0$_lastVariableIndex = _0_0;
  85532. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  85533. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85534. } else {
  85535. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85536. if (_1_0 != null) {
  85537. _this._async_environment0$_lastVariableName = $name;
  85538. _this._async_environment0$_lastVariableIndex = _1_0;
  85539. t1.$indexSet(0, $name, _1_0);
  85540. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  85541. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85542. } else
  85543. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  85544. }
  85545. },
  85546. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  85547. var t1, t2, _0_0;
  85548. 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();) {
  85549. t1 = t2._currentIterator;
  85550. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  85551. if (_0_0 != null)
  85552. return _0_0;
  85553. }
  85554. return null;
  85555. },
  85556. globalVariableExists$2$namespace($name, namespace) {
  85557. if (namespace != null)
  85558. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  85559. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  85560. return true;
  85561. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  85562. },
  85563. globalVariableExists$1($name) {
  85564. return this.globalVariableExists$2$namespace($name, null);
  85565. },
  85566. _async_environment0$_variableIndex$1($name) {
  85567. var t1, i;
  85568. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  85569. if (t1[i].containsKey$1($name))
  85570. return i;
  85571. return null;
  85572. },
  85573. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  85574. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  85575. if (namespace != null) {
  85576. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  85577. return;
  85578. }
  85579. if (global || _this._async_environment0$_variables.length === 1) {
  85580. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  85581. t1 = _this._async_environment0$_variables;
  85582. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  85583. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  85584. if (moduleWithName != null) {
  85585. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  85586. return;
  85587. }
  85588. }
  85589. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  85590. B.JSArray_methods.get$first(_this._async_environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  85591. return;
  85592. }
  85593. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  85594. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  85595. 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();) {
  85596. t3 = t2.__internal$_current;
  85597. 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();) {
  85598. t5 = t3.__internal$_current;
  85599. if (t5 == null)
  85600. t5 = t4._as(t5);
  85601. if (t5.get$variables().containsKey$1($name)) {
  85602. t5.setVariable$3($name, value, nodeWithSpan);
  85603. return;
  85604. }
  85605. }
  85606. }
  85607. if (_this._async_environment0$_lastVariableName === $name) {
  85608. t1 = _this._async_environment0$_lastVariableIndex;
  85609. t1.toString;
  85610. index = t1;
  85611. } else
  85612. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  85613. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  85614. index = _this._async_environment0$_variables.length - 1;
  85615. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85616. }
  85617. _this._async_environment0$_lastVariableName = $name;
  85618. _this._async_environment0$_lastVariableIndex = index;
  85619. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  85620. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85621. },
  85622. setVariable$4$global($name, value, nodeWithSpan, global) {
  85623. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  85624. },
  85625. setLocalVariable$3($name, value, nodeWithSpan) {
  85626. var index, _this = this,
  85627. t1 = _this._async_environment0$_variables,
  85628. t2 = t1.length;
  85629. _this._async_environment0$_lastVariableName = $name;
  85630. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  85631. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85632. t1[index].$indexSet(0, $name, value);
  85633. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85634. },
  85635. getFunction$2$namespace($name, namespace) {
  85636. var t1, _0_0, _1_0, _this = this;
  85637. if (namespace != null) {
  85638. t1 = _this._async_environment0$_getModule$1(namespace);
  85639. return t1.get$functions(t1).$index(0, $name);
  85640. }
  85641. t1 = _this._async_environment0$_functionIndices;
  85642. _0_0 = t1.$index(0, $name);
  85643. if (_0_0 != null) {
  85644. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  85645. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85646. } else {
  85647. _1_0 = _this._async_environment0$_functionIndex$1($name);
  85648. if (_1_0 != null) {
  85649. t1.$indexSet(0, $name, _1_0);
  85650. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  85651. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85652. } else
  85653. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  85654. }
  85655. },
  85656. getFunction$1($name) {
  85657. return this.getFunction$2$namespace($name, null);
  85658. },
  85659. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  85660. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  85661. },
  85662. _async_environment0$_functionIndex$1($name) {
  85663. var t1, i;
  85664. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  85665. if (t1[i].containsKey$1($name))
  85666. return i;
  85667. return null;
  85668. },
  85669. getMixin$2$namespace($name, namespace) {
  85670. var t1, _0_0, _1_0, _this = this;
  85671. if (namespace != null)
  85672. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  85673. t1 = _this._async_environment0$_mixinIndices;
  85674. _0_0 = t1.$index(0, $name);
  85675. if (_0_0 != null) {
  85676. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  85677. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85678. } else {
  85679. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  85680. if (_1_0 != null) {
  85681. t1.$indexSet(0, $name, _1_0);
  85682. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  85683. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85684. } else
  85685. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  85686. }
  85687. },
  85688. _async_environment0$_getMixinFromGlobalModule$1($name) {
  85689. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  85690. },
  85691. _async_environment0$_mixinIndex$1($name) {
  85692. var t1, i;
  85693. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  85694. if (t1[i].containsKey$1($name))
  85695. return i;
  85696. return null;
  85697. },
  85698. withContent$2($content, callback) {
  85699. return this.withContent$body$AsyncEnvironment0($content, callback);
  85700. },
  85701. withContent$body$AsyncEnvironment0($content, callback) {
  85702. var $async$goto = 0,
  85703. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85704. $async$self = this, oldContent;
  85705. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85706. if ($async$errorCode === 1)
  85707. return A._asyncRethrow($async$result, $async$completer);
  85708. while (true)
  85709. switch ($async$goto) {
  85710. case 0:
  85711. // Function start
  85712. oldContent = $async$self._async_environment0$_content;
  85713. $async$self._async_environment0$_content = $content;
  85714. $async$goto = 2;
  85715. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  85716. case 2:
  85717. // returning from await.
  85718. $async$self._async_environment0$_content = oldContent;
  85719. // implicit return
  85720. return A._asyncReturn(null, $async$completer);
  85721. }
  85722. });
  85723. return A._asyncStartSync($async$withContent$2, $async$completer);
  85724. },
  85725. asMixin$1(callback) {
  85726. var $async$goto = 0,
  85727. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85728. $async$self = this, oldInMixin;
  85729. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85730. if ($async$errorCode === 1)
  85731. return A._asyncRethrow($async$result, $async$completer);
  85732. while (true)
  85733. switch ($async$goto) {
  85734. case 0:
  85735. // Function start
  85736. oldInMixin = $async$self._async_environment0$_inMixin;
  85737. $async$self._async_environment0$_inMixin = true;
  85738. $async$goto = 2;
  85739. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  85740. case 2:
  85741. // returning from await.
  85742. $async$self._async_environment0$_inMixin = oldInMixin;
  85743. // implicit return
  85744. return A._asyncReturn(null, $async$completer);
  85745. }
  85746. });
  85747. return A._asyncStartSync($async$asMixin$1, $async$completer);
  85748. },
  85749. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  85750. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  85751. },
  85752. scope$1$1(callback, $T) {
  85753. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  85754. },
  85755. scope$1$2$when(callback, when, $T) {
  85756. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  85757. },
  85758. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  85759. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  85760. },
  85761. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  85762. var $async$goto = 0,
  85763. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85764. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  85765. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85766. if ($async$errorCode === 1) {
  85767. $async$errorStack.push($async$result);
  85768. $async$goto = $async$handler;
  85769. }
  85770. while (true)
  85771. switch ($async$goto) {
  85772. case 0:
  85773. // Function start
  85774. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  85775. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  85776. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  85777. $async$goto = !when ? 3 : 4;
  85778. break;
  85779. case 3:
  85780. // then
  85781. $async$handler = 5;
  85782. $async$goto = 8;
  85783. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85784. case 8:
  85785. // returning from await.
  85786. t1 = $async$result;
  85787. $async$returnValue = t1;
  85788. $async$next = [1];
  85789. // goto finally
  85790. $async$goto = 6;
  85791. break;
  85792. $async$next.push(7);
  85793. // goto finally
  85794. $async$goto = 6;
  85795. break;
  85796. case 5:
  85797. // uncaught
  85798. $async$next = [2];
  85799. case 6:
  85800. // finally
  85801. $async$handler = 2;
  85802. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85803. // goto the next finally handler
  85804. $async$goto = $async$next.pop();
  85805. break;
  85806. case 7:
  85807. // after finally
  85808. case 4:
  85809. // join
  85810. t1 = $async$self._async_environment0$_variables;
  85811. t2 = type$.String;
  85812. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  85813. t3 = $async$self._async_environment0$_variableNodes;
  85814. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  85815. t4 = $async$self._async_environment0$_functions;
  85816. t5 = type$.AsyncCallable_2;
  85817. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85818. t6 = $async$self._async_environment0$_mixins;
  85819. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85820. t5 = $async$self._async_environment0$_nestedForwardedModules;
  85821. if (t5 != null)
  85822. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  85823. $async$handler = 9;
  85824. $async$goto = 12;
  85825. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85826. case 12:
  85827. // returning from await.
  85828. t2 = $async$result;
  85829. $async$returnValue = t2;
  85830. $async$next = [1];
  85831. // goto finally
  85832. $async$goto = 10;
  85833. break;
  85834. $async$next.push(11);
  85835. // goto finally
  85836. $async$goto = 10;
  85837. break;
  85838. case 9:
  85839. // uncaught
  85840. $async$next = [2];
  85841. case 10:
  85842. // finally
  85843. $async$handler = 2;
  85844. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85845. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  85846. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_variableIndices; t1.moveNext$0();) {
  85847. $name = t1.get$current(t1);
  85848. t2.remove$1(0, $name);
  85849. }
  85850. B.JSArray_methods.removeLast$0(t3);
  85851. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_functionIndices; t1.moveNext$0();) {
  85852. name0 = t1.get$current(t1);
  85853. t2.remove$1(0, name0);
  85854. }
  85855. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = $async$self._async_environment0$_mixinIndices; t1.moveNext$0();) {
  85856. name1 = t1.get$current(t1);
  85857. t2.remove$1(0, name1);
  85858. }
  85859. t1 = $async$self._async_environment0$_nestedForwardedModules;
  85860. if (t1 != null)
  85861. t1.pop();
  85862. // goto the next finally handler
  85863. $async$goto = $async$next.pop();
  85864. break;
  85865. case 11:
  85866. // after finally
  85867. case 1:
  85868. // return
  85869. return A._asyncReturn($async$returnValue, $async$completer);
  85870. case 2:
  85871. // rethrow
  85872. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  85873. }
  85874. });
  85875. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  85876. },
  85877. toImplicitConfiguration$0() {
  85878. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  85879. t1 = type$.String,
  85880. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  85881. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  85882. values = t2[i];
  85883. nodes = t4[i];
  85884. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  85885. t6 = t5.get$current(t5);
  85886. $name = t6._0;
  85887. value = t6._1;
  85888. t6 = nodes.$index(0, $name);
  85889. t6.toString;
  85890. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  85891. }
  85892. }
  85893. return new A.Configuration0(configuration, null);
  85894. },
  85895. toModule$3(css, preModuleComments, extensionStore) {
  85896. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  85897. },
  85898. toDummyModule$0() {
  85899. 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()));
  85900. },
  85901. _async_environment0$_getModule$1(namespace) {
  85902. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  85903. if (_0_0 != null)
  85904. return _0_0;
  85905. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  85906. },
  85907. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  85908. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  85909. _0_0 = this._async_environment0$_nestedForwardedModules;
  85910. if (_0_0 != null)
  85911. 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();) {
  85912. t3 = t2.__internal$_current;
  85913. 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();) {
  85914. t5 = t3.__internal$_current;
  85915. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  85916. if (_1_0 != null)
  85917. return _1_0;
  85918. }
  85919. }
  85920. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  85921. _2_0 = callback.call$1(t1.__js_helper$_current);
  85922. if (_2_0 != null)
  85923. return _2_0;
  85924. }
  85925. 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();) {
  85926. t4 = t2.__js_helper$_current;
  85927. valueInModule = callback.call$1(t4);
  85928. if (valueInModule == null)
  85929. continue;
  85930. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  85931. if (identityFromModule.$eq(0, identity))
  85932. continue;
  85933. if (value != null) {
  85934. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  85935. 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();) {
  85936. t1 = t3.get$current(t3);
  85937. module = t1._0;
  85938. node = t1._1;
  85939. if (callback.call$1(module) != null)
  85940. t2.$indexSet(0, node.get$span(node), t4);
  85941. }
  85942. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  85943. }
  85944. identity = identityFromModule;
  85945. value = valueInModule;
  85946. }
  85947. return value;
  85948. },
  85949. _async_environment0$_fromOneModule$3($name, type, callback) {
  85950. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  85951. }
  85952. };
  85953. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  85954. call$1(module) {
  85955. return module.get$variables().$index(0, this.name);
  85956. },
  85957. $signature: 310
  85958. };
  85959. A.AsyncEnvironment_setVariable_closure2.prototype = {
  85960. call$0() {
  85961. var t1 = this.$this;
  85962. t1._async_environment0$_lastVariableName = this.name;
  85963. return t1._async_environment0$_lastVariableIndex = 0;
  85964. },
  85965. $signature: 10
  85966. };
  85967. A.AsyncEnvironment_setVariable_closure3.prototype = {
  85968. call$1(module) {
  85969. return module.get$variables().containsKey$1(this.name) ? module : null;
  85970. },
  85971. $signature: 311
  85972. };
  85973. A.AsyncEnvironment_setVariable_closure4.prototype = {
  85974. call$0() {
  85975. var t1 = this.$this,
  85976. t2 = t1._async_environment0$_variableIndex$1(this.name);
  85977. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  85978. },
  85979. $signature: 10
  85980. };
  85981. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  85982. call$1(module) {
  85983. return module.get$functions(module).$index(0, this.name);
  85984. },
  85985. $signature: 200
  85986. };
  85987. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  85988. call$1(module) {
  85989. return module.get$mixins().$index(0, this.name);
  85990. },
  85991. $signature: 200
  85992. };
  85993. A.AsyncEnvironment_toModule_closure0.prototype = {
  85994. call$1(modules) {
  85995. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  85996. },
  85997. $signature: 201
  85998. };
  85999. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  86000. call$1(modules) {
  86001. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  86002. },
  86003. $signature: 201
  86004. };
  86005. A._EnvironmentModule2.prototype = {
  86006. get$url(_) {
  86007. var t1 = this.css;
  86008. return t1.get$span(t1).file.url;
  86009. },
  86010. setVariable$3($name, value, nodeWithSpan) {
  86011. var t1, t2,
  86012. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  86013. if (_0_0 != null) {
  86014. _0_0.setVariable$3($name, value, nodeWithSpan);
  86015. return;
  86016. }
  86017. t1 = this._async_environment0$_environment;
  86018. t2 = t1._async_environment0$_variables;
  86019. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  86020. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  86021. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  86022. B.JSArray_methods.get$first(t1._async_environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  86023. return;
  86024. },
  86025. variableIdentity$1($name) {
  86026. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  86027. return module == null ? this : module.variableIdentity$1($name);
  86028. },
  86029. couldHaveBeenConfigured$1(variables) {
  86030. var t2, t3, _0_0, variable, module,
  86031. t1 = this._async_environment0$_environment._async_environment0$_configurableVariables;
  86032. 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)))) {
  86033. t1 = this._async_environment0$_modulesByVariable;
  86034. t2 = type$.Module_AsyncCallable_2;
  86035. if (variables.get$length(variables) < t1.get$length(t1)) {
  86036. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86037. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  86038. _0_0 = t1.$index(0, t3.get$current(t3));
  86039. if (_0_0 != null)
  86040. t2.add$1(0, _0_0);
  86041. }
  86042. t1 = t2;
  86043. } else {
  86044. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86045. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86046. t2 = t1.get$current(t1);
  86047. variable = t2._0;
  86048. module = t2._1;
  86049. if (variables.contains$1(0, variable))
  86050. t3.add$1(0, module);
  86051. }
  86052. t1 = t3;
  86053. }
  86054. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure2(variables));
  86055. } else
  86056. t1 = true;
  86057. return t1;
  86058. },
  86059. cloneCss$0() {
  86060. var _0_0, _this = this;
  86061. if (!_this.transitivelyContainsCss)
  86062. return _this;
  86063. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  86064. 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);
  86065. },
  86066. toString$0(_) {
  86067. var t2,
  86068. t1 = this.css;
  86069. if (t1.get$span(t1).file.url == null)
  86070. t1 = "<unknown url>";
  86071. else {
  86072. t1 = t1.get$span(t1).file.url;
  86073. t2 = $.$get$context();
  86074. t1.toString;
  86075. t1 = t2.prettyUri$1(t1);
  86076. }
  86077. return t1;
  86078. },
  86079. $isModule1: 1,
  86080. get$upstream() {
  86081. return this.upstream;
  86082. },
  86083. get$variables() {
  86084. return this.variables;
  86085. },
  86086. get$variableNodes() {
  86087. return this.variableNodes;
  86088. },
  86089. get$functions(receiver) {
  86090. return this.functions;
  86091. },
  86092. get$mixins() {
  86093. return this.mixins;
  86094. },
  86095. get$extensionStore() {
  86096. return this.extensionStore;
  86097. },
  86098. get$css(receiver) {
  86099. return this.css;
  86100. },
  86101. get$preModuleComments() {
  86102. return this.preModuleComments;
  86103. },
  86104. get$transitivelyContainsCss() {
  86105. return this.transitivelyContainsCss;
  86106. },
  86107. get$transitivelyContainsExtensions() {
  86108. return this.transitivelyContainsExtensions;
  86109. }
  86110. };
  86111. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  86112. call$1(module) {
  86113. return module.get$variables();
  86114. },
  86115. $signature: 314
  86116. };
  86117. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  86118. call$1(module) {
  86119. return module.get$variableNodes();
  86120. },
  86121. $signature: 315
  86122. };
  86123. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  86124. call$1(module) {
  86125. return module.get$functions(module);
  86126. },
  86127. $signature: 202
  86128. };
  86129. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  86130. call$1(module) {
  86131. return module.get$mixins();
  86132. },
  86133. $signature: 202
  86134. };
  86135. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  86136. call$1(module) {
  86137. return module.get$transitivelyContainsCss();
  86138. },
  86139. $signature: 94
  86140. };
  86141. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  86142. call$1(module) {
  86143. return module.get$transitivelyContainsExtensions();
  86144. },
  86145. $signature: 94
  86146. };
  86147. A._EnvironmentModule_couldHaveBeenConfigured_closure2.prototype = {
  86148. call$1(module) {
  86149. return module.couldHaveBeenConfigured$1(this.variables);
  86150. },
  86151. $signature: 94
  86152. };
  86153. A._EvaluateVisitor2.prototype = {
  86154. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  86155. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  86156. _s20_ = "$name, $module: null",
  86157. _s9_ = "sass:meta",
  86158. _s7_ = "$module",
  86159. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  86160. 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),
  86161. 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);
  86162. t1 = type$.AsyncBuiltInCallable_2;
  86163. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  86164. B.JSArray_methods.addAll$1(t2, metaFunctions);
  86165. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  86166. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_AsyncCallable_2);
  86167. t1.push(metaModule);
  86168. t2 = t1.length;
  86169. t3 = _this._async_evaluate0$_builtInModules;
  86170. _i = 0;
  86171. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86172. module = t1[_i];
  86173. t3.$indexSet(0, module.url, module);
  86174. }
  86175. t1 = type$.JSArray_AsyncCallable_2;
  86176. t2 = A._setArrayType([], t1);
  86177. B.JSArray_methods.addAll$1(t2, functions);
  86178. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  86179. t1 = A._setArrayType([], t1);
  86180. for (_i = 0; _i < 11; ++_i)
  86181. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  86182. B.JSArray_methods.addAll$1(t2, t1);
  86183. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86184. $function = t2[_i];
  86185. t4 = $function.get$name($function);
  86186. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  86187. }
  86188. },
  86189. run$2(_, importer, node) {
  86190. return this.run$body$_EvaluateVisitor0(0, importer, node);
  86191. },
  86192. run$body$_EvaluateVisitor0(_, importer, node) {
  86193. var $async$goto = 0,
  86194. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86195. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86196. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86197. if ($async$errorCode === 1) {
  86198. $async$errorStack.push($async$result);
  86199. $async$goto = $async$handler;
  86200. }
  86201. while (true)
  86202. switch ($async$goto) {
  86203. case 0:
  86204. // Function start
  86205. $async$handler = 4;
  86206. t1 = type$.nullable_Object;
  86207. 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);
  86208. $async$goto = 7;
  86209. 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);
  86210. case 7:
  86211. // returning from await.
  86212. t1 = $async$result;
  86213. $async$returnValue = t1;
  86214. // goto return
  86215. $async$goto = 1;
  86216. break;
  86217. $async$handler = 2;
  86218. // goto after finally
  86219. $async$goto = 6;
  86220. break;
  86221. case 4:
  86222. // catch
  86223. $async$handler = 3;
  86224. $async$exception = $async$errorStack.pop();
  86225. t1 = A.unwrapException($async$exception);
  86226. if (t1 instanceof A.SassException0) {
  86227. error = t1;
  86228. stackTrace = A.getTraceFromException($async$exception);
  86229. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86230. } else
  86231. throw $async$exception;
  86232. // goto after finally
  86233. $async$goto = 6;
  86234. break;
  86235. case 3:
  86236. // uncaught
  86237. // goto rethrow
  86238. $async$goto = 2;
  86239. break;
  86240. case 6:
  86241. // after finally
  86242. case 1:
  86243. // return
  86244. return A._asyncReturn($async$returnValue, $async$completer);
  86245. case 2:
  86246. // rethrow
  86247. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86248. }
  86249. });
  86250. return A._asyncStartSync($async$run$2, $async$completer);
  86251. },
  86252. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86253. if (value != null)
  86254. return value;
  86255. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86256. },
  86257. _async_evaluate0$_assertInModule$2(value, $name) {
  86258. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86259. },
  86260. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86261. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86262. },
  86263. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86264. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86265. },
  86266. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86267. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86268. },
  86269. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86270. var $async$goto = 0,
  86271. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86272. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86273. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86274. if ($async$errorCode === 1)
  86275. return A._asyncRethrow($async$result, $async$completer);
  86276. while (true)
  86277. switch ($async$goto) {
  86278. case 0:
  86279. // Function start
  86280. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86281. t1 = {};
  86282. t1.builtInModule = null;
  86283. $async$goto = _0_0 != null ? 3 : 4;
  86284. break;
  86285. case 3:
  86286. // then
  86287. t1.builtInModule = _0_0;
  86288. if (configuration instanceof A.ExplicitConfiguration0) {
  86289. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86290. t2 = configuration.nodeWithSpan;
  86291. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86292. }
  86293. $async$goto = 5;
  86294. 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);
  86295. case 5:
  86296. // returning from await.
  86297. // goto return
  86298. $async$goto = 1;
  86299. break;
  86300. case 4:
  86301. // join
  86302. $async$goto = 6;
  86303. 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);
  86304. case 6:
  86305. // returning from await.
  86306. case 1:
  86307. // return
  86308. return A._asyncReturn($async$returnValue, $async$completer);
  86309. }
  86310. });
  86311. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86312. },
  86313. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86314. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86315. },
  86316. _async_evaluate0$_execute$2(importer, stylesheet) {
  86317. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86318. },
  86319. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86320. var $async$goto = 0,
  86321. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86322. $async$returnValue, $async$self = this, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, currentConfiguration, t2, _0_0;
  86323. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86324. if ($async$errorCode === 1)
  86325. return A._asyncRethrow($async$result, $async$completer);
  86326. while (true)
  86327. switch ($async$goto) {
  86328. case 0:
  86329. // Function start
  86330. url = stylesheet.span.file.url;
  86331. t1 = configuration == null;
  86332. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86333. t2 = $async$self._async_evaluate0$_modules;
  86334. _0_0 = t2.$index(0, url);
  86335. if (_0_0 != null) {
  86336. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86337. t3 = t2._configuration0$__originalConfiguration;
  86338. t2 = t3 == null ? t2 : t3;
  86339. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86340. 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))) {
  86341. if (namesInErrors) {
  86342. t2 = $.$get$context();
  86343. url.toString;
  86344. message = t2.prettyUri$1(url) + string$.x20was_a;
  86345. } else
  86346. message = string$.This_mw;
  86347. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86348. existingSpan = t2 == null ? null : t2.get$span(t2);
  86349. if (t1) {
  86350. t1 = currentConfiguration.nodeWithSpan;
  86351. configurationSpan = t1.get$span(t1);
  86352. } else
  86353. configurationSpan = null;
  86354. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86355. if (existingSpan != null)
  86356. t1.$indexSet(0, existingSpan, "original load");
  86357. if (configurationSpan != null)
  86358. t1.$indexSet(0, configurationSpan, "configuration");
  86359. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86360. }
  86361. $async$returnValue = _0_0;
  86362. // goto return
  86363. $async$goto = 1;
  86364. break;
  86365. }
  86366. environment = A.AsyncEnvironment$0();
  86367. css = A._Cell$();
  86368. preModuleComments = A._Cell$();
  86369. extensionStore = A.ExtensionStore$0();
  86370. $async$goto = 3;
  86371. 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);
  86372. case 3:
  86373. // returning from await.
  86374. t1 = css._readLocal$0();
  86375. t3 = preModuleComments._readLocal$0();
  86376. module = environment.toModule$3(t1, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86377. if (url != null) {
  86378. t2.$indexSet(0, url, module);
  86379. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  86380. if (nodeWithSpan != null)
  86381. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86382. }
  86383. $async$returnValue = module;
  86384. // goto return
  86385. $async$goto = 1;
  86386. break;
  86387. case 1:
  86388. // return
  86389. return A._asyncReturn($async$returnValue, $async$completer);
  86390. }
  86391. });
  86392. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86393. },
  86394. _async_evaluate0$_addOutOfOrderImports$0() {
  86395. var t1, t2, _this = this, _s5_ = "_root",
  86396. _s13_ = "_endOfImports",
  86397. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86398. $label0$0: {
  86399. if (_0_0 == null) {
  86400. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86401. break $label0$0;
  86402. }
  86403. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86404. 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);
  86405. B.JSArray_methods.addAll$1(t1, _0_0);
  86406. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86407. 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")));
  86408. break $label0$0;
  86409. }
  86410. return t1;
  86411. },
  86412. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86413. var selectors, _0_0, t1, imports, css, sorted, t2;
  86414. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86415. selectors = root.get$extensionStore().get$simpleSelectors();
  86416. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86417. if (_0_0 != null)
  86418. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86419. return root.get$css(root);
  86420. }
  86421. t1 = type$.JSArray_CssNode_2;
  86422. imports = A._setArrayType([], t1);
  86423. css = A._setArrayType([], t1);
  86424. t1 = type$.Module_AsyncCallable_2;
  86425. sorted = A.ListQueue$(t1);
  86426. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86427. if (root.get$transitivelyContainsExtensions())
  86428. this._async_evaluate0$_extendModules$1(sorted);
  86429. t1 = B.JSArray_methods.$add(imports, css);
  86430. t2 = root.get$css(root);
  86431. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86432. },
  86433. _async_evaluate0$_combineCss$1(root) {
  86434. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86435. },
  86436. _async_evaluate0$_extendModules$1(sortedModules) {
  86437. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86438. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86439. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86440. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86441. t3 = t1._collection$_current;
  86442. if (t3 == null)
  86443. t3 = t2._as(t3);
  86444. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86445. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86446. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86447. t4 = t3.get$extensionStore().get$addExtensions();
  86448. if ($self != null)
  86449. t4.call$1($self);
  86450. t4 = t3.get$extensionStore();
  86451. if (t4.get$isEmpty(t4))
  86452. continue;
  86453. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86454. upstream = t4[_i];
  86455. _0_0 = upstream.get$url(upstream);
  86456. if (_0_0 != null)
  86457. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86458. }
  86459. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86460. }
  86461. if (unsatisfiedExtensions._collection$_length !== 0)
  86462. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86463. },
  86464. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86465. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86466. },
  86467. _async_evaluate0$_indexAfterImports$1(statements) {
  86468. var t1, lastImport, i, _0_0;
  86469. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86470. $label0$0: {
  86471. _0_0 = t1.$index(statements, i);
  86472. if (_0_0 instanceof A.ModifiableCssImport0)
  86473. break $label0$0;
  86474. if (_0_0 instanceof A.ModifiableCssComment0)
  86475. continue;
  86476. break;
  86477. }
  86478. lastImport = i;
  86479. }
  86480. return lastImport + 1;
  86481. },
  86482. visitStylesheet$1(_, node) {
  86483. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86484. },
  86485. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86486. var $async$goto = 0,
  86487. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86488. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86489. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86490. if ($async$errorCode === 1)
  86491. return A._asyncRethrow($async$result, $async$completer);
  86492. while (true)
  86493. switch ($async$goto) {
  86494. case 0:
  86495. // Function start
  86496. 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();) {
  86497. warning = t1.__internal$_current;
  86498. if (warning == null)
  86499. warning = t2._as(warning);
  86500. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86501. }
  86502. t1 = node.children, t2 = t1.length, _i = 0;
  86503. case 3:
  86504. // for condition
  86505. if (!(_i < t2)) {
  86506. // goto after for
  86507. $async$goto = 5;
  86508. break;
  86509. }
  86510. $async$goto = 6;
  86511. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  86512. case 6:
  86513. // returning from await.
  86514. case 4:
  86515. // for update
  86516. ++_i;
  86517. // goto for condition
  86518. $async$goto = 3;
  86519. break;
  86520. case 5:
  86521. // after for
  86522. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86523. t2 = t1.get$current(t1);
  86524. $name = t2._0;
  86525. span = t2._1;
  86526. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  86527. }
  86528. $async$returnValue = null;
  86529. // goto return
  86530. $async$goto = 1;
  86531. break;
  86532. case 1:
  86533. // return
  86534. return A._asyncReturn($async$returnValue, $async$completer);
  86535. }
  86536. });
  86537. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  86538. },
  86539. visitAtRootRule$1(_, node) {
  86540. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  86541. },
  86542. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  86543. var $async$goto = 0,
  86544. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86545. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  86546. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86547. if ($async$errorCode === 1)
  86548. return A._asyncRethrow($async$result, $async$completer);
  86549. while (true)
  86550. switch ($async$goto) {
  86551. case 0:
  86552. // Function start
  86553. _0_0 = node.query;
  86554. $async$goto = _0_0 != null ? 3 : 5;
  86555. break;
  86556. case 3:
  86557. // then
  86558. $async$goto = 6;
  86559. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  86560. case 6:
  86561. // returning from await.
  86562. _1_0 = $async$result;
  86563. resolved = _1_0._0;
  86564. _1_0._1;
  86565. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  86566. // goto join
  86567. $async$goto = 4;
  86568. break;
  86569. case 5:
  86570. // else
  86571. query = B.AtRootQuery_bfj0;
  86572. case 4:
  86573. // join
  86574. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86575. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  86576. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  86577. if (!query.excludes$1($parent))
  86578. included.push($parent);
  86579. _2_0 = $parent._node$_parent;
  86580. if (_2_0 == null)
  86581. throw A.wrapException(A.StateError$(string$.CssNod));
  86582. }
  86583. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  86584. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  86585. break;
  86586. case 7:
  86587. // then
  86588. $async$goto = 9;
  86589. 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);
  86590. case 9:
  86591. // returning from await.
  86592. $async$returnValue = null;
  86593. // goto return
  86594. $async$goto = 1;
  86595. break;
  86596. case 8:
  86597. // join
  86598. if (included.length >= 1) {
  86599. first = included[0];
  86600. rest = B.JSArray_methods.sublist$1(included, 1);
  86601. innerCopy = first.copyWithoutChildren$0();
  86602. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  86603. copy = rest[_i].copyWithoutChildren$0();
  86604. copy.addChild$1(outerCopy);
  86605. }
  86606. root.addChild$1(outerCopy);
  86607. } else
  86608. innerCopy = root;
  86609. $async$goto = 10;
  86610. 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);
  86611. case 10:
  86612. // returning from await.
  86613. $async$returnValue = null;
  86614. // goto return
  86615. $async$goto = 1;
  86616. break;
  86617. case 1:
  86618. // return
  86619. return A._asyncReturn($async$returnValue, $async$completer);
  86620. }
  86621. });
  86622. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  86623. },
  86624. _async_evaluate0$_trimIncluded$1(nodes) {
  86625. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  86626. _s22_ = " to be an ancestor of ";
  86627. if (nodes.length === 0)
  86628. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86629. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  86630. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  86631. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  86632. _0_0 = $parent._node$_parent;
  86633. if (_0_0 == null)
  86634. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86635. }
  86636. if (innermostContiguous == null)
  86637. innermostContiguous = i;
  86638. _1_0 = $parent._node$_parent;
  86639. if (_1_0 == null)
  86640. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86641. }
  86642. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  86643. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86644. innermostContiguous.toString;
  86645. root = nodes[innermostContiguous];
  86646. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  86647. return root;
  86648. },
  86649. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  86650. var _this = this,
  86651. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  86652. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  86653. if (t1 !== query.include)
  86654. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  86655. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  86656. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  86657. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  86658. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  86659. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  86660. },
  86661. visitContentBlock$1(_, node) {
  86662. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  86663. },
  86664. visitContentRule$1(_, node) {
  86665. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  86666. },
  86667. visitContentRule$body$_EvaluateVisitor0(_, node) {
  86668. var $async$goto = 0,
  86669. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86670. $async$returnValue, $async$self = this, $content;
  86671. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86672. if ($async$errorCode === 1)
  86673. return A._asyncRethrow($async$result, $async$completer);
  86674. while (true)
  86675. switch ($async$goto) {
  86676. case 0:
  86677. // Function start
  86678. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  86679. if ($content == null) {
  86680. $async$returnValue = null;
  86681. // goto return
  86682. $async$goto = 1;
  86683. break;
  86684. }
  86685. $async$goto = 3;
  86686. 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);
  86687. case 3:
  86688. // returning from await.
  86689. $async$returnValue = null;
  86690. // goto return
  86691. $async$goto = 1;
  86692. break;
  86693. case 1:
  86694. // return
  86695. return A._asyncReturn($async$returnValue, $async$completer);
  86696. }
  86697. });
  86698. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  86699. },
  86700. visitDebugRule$1(_, node) {
  86701. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  86702. },
  86703. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  86704. var $async$goto = 0,
  86705. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86706. $async$returnValue, $async$self = this, value, t1;
  86707. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86708. if ($async$errorCode === 1)
  86709. return A._asyncRethrow($async$result, $async$completer);
  86710. while (true)
  86711. switch ($async$goto) {
  86712. case 0:
  86713. // Function start
  86714. $async$goto = 3;
  86715. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  86716. case 3:
  86717. // returning from await.
  86718. value = $async$result;
  86719. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  86720. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  86721. $async$returnValue = null;
  86722. // goto return
  86723. $async$goto = 1;
  86724. break;
  86725. case 1:
  86726. // return
  86727. return A._asyncReturn($async$returnValue, $async$completer);
  86728. }
  86729. });
  86730. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  86731. },
  86732. visitDeclaration$1(_, node) {
  86733. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  86734. },
  86735. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  86736. var $async$goto = 0,
  86737. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86738. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  86739. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86740. if ($async$errorCode === 1)
  86741. return A._asyncRethrow($async$result, $async$completer);
  86742. while (true)
  86743. switch ($async$goto) {
  86744. case 0:
  86745. // Function start
  86746. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  86747. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  86748. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  86749. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  86750. siblings = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  86751. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  86752. if (siblings.get$last(siblings) !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent"))
  86753. t1 = !($async$self._async_evaluate0$_quietDeps && $async$self._async_evaluate0$_inDependency);
  86754. else
  86755. t1 = false;
  86756. if (t1)
  86757. 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();) {
  86758. t6 = t1.__internal$_current;
  86759. rule = t6 == null ? t2._as(t6) : t6;
  86760. $label0$1: {
  86761. if (rule instanceof A.ModifiableCssComment0)
  86762. continue;
  86763. t6 = rule instanceof A.ModifiableCssStyleRule0;
  86764. rule0 = t6 ? rule : null;
  86765. if (t6) {
  86766. interleavedRules.push(rule0);
  86767. break $label0$1;
  86768. }
  86769. $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);
  86770. B.JSArray_methods.clear$0(interleavedRules);
  86771. break $label0$1;
  86772. }
  86773. }
  86774. t1 = node.name;
  86775. $async$goto = 3;
  86776. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  86777. case 3:
  86778. // returning from await.
  86779. $name = $async$result;
  86780. _1_0 = $async$self._async_evaluate0$_declarationName;
  86781. if (_1_0 != null)
  86782. $name = new A.CssValue0(_1_0 + "-" + $name.value, $name.span, type$.CssValue_String_2);
  86783. _2_0 = node.value;
  86784. $async$goto = _2_0 != null ? 4 : 5;
  86785. break;
  86786. case 4:
  86787. // then
  86788. $async$goto = 6;
  86789. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  86790. case 6:
  86791. // returning from await.
  86792. value = $async$result;
  86793. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  86794. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86795. t3 = _2_0.get$span(_2_0);
  86796. t4 = node.span;
  86797. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  86798. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate0$_stackTrace$1(t4);
  86799. if ($async$self._async_evaluate0$_sourceMap) {
  86800. t6 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  86801. t6 = t6 == null ? null : J.get$span$z(t6);
  86802. } else
  86803. t6 = null;
  86804. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  86805. }
  86806. case 5:
  86807. // join
  86808. _3_0 = node.children;
  86809. t1 = {};
  86810. t1.children = null;
  86811. $async$goto = _3_0 != null ? 7 : 8;
  86812. break;
  86813. case 7:
  86814. // then
  86815. t1.children = _3_0;
  86816. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  86817. $async$self._async_evaluate0$_declarationName = $name.value;
  86818. $async$goto = 9;
  86819. 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);
  86820. case 9:
  86821. // returning from await.
  86822. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  86823. case 8:
  86824. // join
  86825. $async$returnValue = null;
  86826. // goto return
  86827. $async$goto = 1;
  86828. break;
  86829. case 1:
  86830. // return
  86831. return A._asyncReturn($async$returnValue, $async$completer);
  86832. }
  86833. });
  86834. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  86835. },
  86836. visitEachRule$1(_, node) {
  86837. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  86838. },
  86839. visitEachRule$body$_EvaluateVisitor0(_, node) {
  86840. var $async$goto = 0,
  86841. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86842. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  86843. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86844. if ($async$errorCode === 1)
  86845. return A._asyncRethrow($async$result, $async$completer);
  86846. while (true)
  86847. switch ($async$goto) {
  86848. case 0:
  86849. // Function start
  86850. t1 = node.list;
  86851. $async$goto = 3;
  86852. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  86853. case 3:
  86854. // returning from await.
  86855. list = $async$result;
  86856. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  86857. _0_0 = node.variables;
  86858. $label0$0: {
  86859. t1 = {};
  86860. t1.variable = null;
  86861. if (_0_0.length === 1) {
  86862. t1.variable = _0_0[0];
  86863. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  86864. break $label0$0;
  86865. }
  86866. t1 = {};
  86867. t1.variables = null;
  86868. t1.variables = _0_0;
  86869. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  86870. break $label0$0;
  86871. }
  86872. $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);
  86873. // goto return
  86874. $async$goto = 1;
  86875. break;
  86876. case 1:
  86877. // return
  86878. return A._asyncReturn($async$returnValue, $async$completer);
  86879. }
  86880. });
  86881. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  86882. },
  86883. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  86884. var i,
  86885. list = value.get$asList(),
  86886. t1 = variables.length,
  86887. minLength = Math.min(t1, list.length);
  86888. for (i = 0; i < minLength; ++i)
  86889. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  86890. for (i = minLength; i < t1; ++i)
  86891. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  86892. },
  86893. visitErrorRule$1(_, node) {
  86894. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  86895. },
  86896. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  86897. var $async$goto = 0,
  86898. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86899. $async$self = this, $async$temp1, $async$temp2;
  86900. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86901. if ($async$errorCode === 1)
  86902. return A._asyncRethrow($async$result, $async$completer);
  86903. while (true)
  86904. switch ($async$goto) {
  86905. case 0:
  86906. // Function start
  86907. $async$temp1 = A;
  86908. $async$temp2 = J;
  86909. $async$goto = 2;
  86910. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  86911. case 2:
  86912. // returning from await.
  86913. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  86914. // implicit return
  86915. return A._asyncReturn(null, $async$completer);
  86916. }
  86917. });
  86918. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  86919. },
  86920. visitExtendRule$1(_, node) {
  86921. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  86922. },
  86923. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  86924. var $async$goto = 0,
  86925. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86926. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, simple, styleRule;
  86927. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86928. if ($async$errorCode === 1)
  86929. return A._asyncRethrow($async$result, $async$completer);
  86930. while (true)
  86931. switch ($async$goto) {
  86932. case 0:
  86933. // Function start
  86934. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  86935. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  86936. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  86937. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  86938. complex = t1[_i];
  86939. if (!complex.accept$1(B._IsBogusVisitor_true0))
  86940. continue;
  86941. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  86942. complex.accept$1(visitor);
  86943. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  86944. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  86945. $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);
  86946. }
  86947. $async$goto = 3;
  86948. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  86949. case 3:
  86950. // returning from await.
  86951. _0_0 = $async$result;
  86952. targetText = _0_0._0;
  86953. targetMap = _0_0._1;
  86954. 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) {
  86955. complex = t1[_i];
  86956. compound = complex.get$singleCompound();
  86957. if (compound == null)
  86958. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  86959. t4 = compound.components;
  86960. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  86961. if (simple == null)
  86962. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  86963. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, $async$self._async_evaluate0$_mediaQueries);
  86964. }
  86965. $async$returnValue = null;
  86966. // goto return
  86967. $async$goto = 1;
  86968. break;
  86969. case 1:
  86970. // return
  86971. return A._asyncReturn($async$returnValue, $async$completer);
  86972. }
  86973. });
  86974. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  86975. },
  86976. visitAtRule$1(_, node) {
  86977. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  86978. },
  86979. visitAtRule$body$_EvaluateVisitor0(_, node) {
  86980. var $async$goto = 0,
  86981. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86982. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  86983. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86984. if ($async$errorCode === 1)
  86985. return A._asyncRethrow($async$result, $async$completer);
  86986. while (true)
  86987. switch ($async$goto) {
  86988. case 0:
  86989. // Function start
  86990. if ($async$self._async_evaluate0$_declarationName != null)
  86991. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  86992. $async$goto = 3;
  86993. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  86994. case 3:
  86995. // returning from await.
  86996. $name = $async$result;
  86997. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  86998. $async$goto = 4;
  86999. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  87000. case 4:
  87001. // returning from await.
  87002. value = $async$result;
  87003. children = node.children;
  87004. if (children == null) {
  87005. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  87006. $async$returnValue = null;
  87007. // goto return
  87008. $async$goto = 1;
  87009. break;
  87010. }
  87011. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  87012. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  87013. if (A.unvendor0($name.value) === "keyframes")
  87014. $async$self._async_evaluate0$_inKeyframes = true;
  87015. else
  87016. $async$self._async_evaluate0$_inUnknownAtRule = true;
  87017. $async$goto = 5;
  87018. 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);
  87019. case 5:
  87020. // returning from await.
  87021. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  87022. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  87023. $async$returnValue = null;
  87024. // goto return
  87025. $async$goto = 1;
  87026. break;
  87027. case 1:
  87028. // return
  87029. return A._asyncReturn($async$returnValue, $async$completer);
  87030. }
  87031. });
  87032. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  87033. },
  87034. visitForRule$1(_, node) {
  87035. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  87036. },
  87037. visitForRule$body$_EvaluateVisitor0(_, node) {
  87038. var $async$goto = 0,
  87039. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87040. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  87041. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87042. if ($async$errorCode === 1)
  87043. return A._asyncRethrow($async$result, $async$completer);
  87044. while (true)
  87045. switch ($async$goto) {
  87046. case 0:
  87047. // Function start
  87048. t1 = {};
  87049. t2 = node.from;
  87050. t3 = type$.SassNumber_2;
  87051. $async$goto = 3;
  87052. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  87053. case 3:
  87054. // returning from await.
  87055. fromNumber = $async$result;
  87056. t4 = node.to;
  87057. $async$goto = 4;
  87058. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  87059. case 4:
  87060. // returning from await.
  87061. toNumber = $async$result;
  87062. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  87063. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  87064. direction = from > to ? -1 : 1;
  87065. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  87066. $async$returnValue = null;
  87067. // goto return
  87068. $async$goto = 1;
  87069. break;
  87070. }
  87071. $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);
  87072. // goto return
  87073. $async$goto = 1;
  87074. break;
  87075. case 1:
  87076. // return
  87077. return A._asyncReturn($async$returnValue, $async$completer);
  87078. }
  87079. });
  87080. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  87081. },
  87082. visitForwardRule$1(_, node) {
  87083. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  87084. },
  87085. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  87086. var $async$goto = 0,
  87087. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87088. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  87089. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87090. if ($async$errorCode === 1)
  87091. return A._asyncRethrow($async$result, $async$completer);
  87092. while (true)
  87093. switch ($async$goto) {
  87094. case 0:
  87095. // Function start
  87096. oldConfiguration = $async$self._async_evaluate0$_configuration;
  87097. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  87098. t1 = node.configuration;
  87099. t2 = t1.length;
  87100. t3 = node.url;
  87101. $async$goto = t2 !== 0 ? 3 : 5;
  87102. break;
  87103. case 3:
  87104. // then
  87105. $async$goto = 6;
  87106. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  87107. case 6:
  87108. // returning from await.
  87109. newConfiguration = $async$result;
  87110. $async$goto = 7;
  87111. 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);
  87112. case 7:
  87113. // returning from await.
  87114. t3 = type$.String;
  87115. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87116. for (_i = 0; _i < t2; ++_i) {
  87117. variable = t1[_i];
  87118. if (!variable.isGuarded)
  87119. t4.add$1(0, variable.name);
  87120. }
  87121. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  87122. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87123. for (_i = 0; _i < t2; ++_i)
  87124. t3.add$1(0, t1[_i].name);
  87125. for (t1 = newConfiguration._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87126. $name = t2[_i];
  87127. if (!t3.contains$1(0, $name))
  87128. if (!t1.get$isEmpty(t1))
  87129. t1.remove$1(0, $name);
  87130. }
  87131. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  87132. // goto join
  87133. $async$goto = 4;
  87134. break;
  87135. case 5:
  87136. // else
  87137. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  87138. $async$goto = 8;
  87139. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  87140. case 8:
  87141. // returning from await.
  87142. $async$self._async_evaluate0$_configuration = oldConfiguration;
  87143. case 4:
  87144. // join
  87145. $async$returnValue = null;
  87146. // goto return
  87147. $async$goto = 1;
  87148. break;
  87149. case 1:
  87150. // return
  87151. return A._asyncReturn($async$returnValue, $async$completer);
  87152. }
  87153. });
  87154. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  87155. },
  87156. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  87157. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  87158. },
  87159. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  87160. var $async$goto = 0,
  87161. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  87162. $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;
  87163. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87164. if ($async$errorCode === 1)
  87165. return A._asyncRethrow($async$result, $async$completer);
  87166. while (true)
  87167. switch ($async$goto) {
  87168. case 0:
  87169. // Function start
  87170. t1 = configuration._configuration0$_values;
  87171. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87172. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  87173. case 3:
  87174. // for condition
  87175. if (!(_i < t3)) {
  87176. // goto after for
  87177. $async$goto = 5;
  87178. break;
  87179. }
  87180. variable = t2[_i];
  87181. if (variable.isGuarded) {
  87182. t6 = variable.name;
  87183. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  87184. if (_0_0 != null) {
  87185. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  87186. oldValue = _0_0;
  87187. } else {
  87188. oldValue = null;
  87189. t7 = false;
  87190. }
  87191. if (t7) {
  87192. newValues.$indexSet(0, t6, oldValue);
  87193. // goto for update
  87194. $async$goto = 4;
  87195. break;
  87196. }
  87197. }
  87198. t6 = variable.expression;
  87199. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87200. t6 = t6.accept$1($async$self);
  87201. if (!t5._is(t6)) {
  87202. t7 = new A._Future($.Zone__current, t4);
  87203. t7._state = 8;
  87204. t7._resultOrListeners = t6;
  87205. t6 = t7;
  87206. }
  87207. $async$temp1 = newValues;
  87208. $async$temp2 = variable.name;
  87209. $async$temp3 = A;
  87210. $async$goto = 6;
  87211. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87212. case 6:
  87213. // returning from await.
  87214. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87215. case 4:
  87216. // for update
  87217. ++_i;
  87218. // goto for condition
  87219. $async$goto = 3;
  87220. break;
  87221. case 5:
  87222. // after for
  87223. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87224. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87225. // goto return
  87226. $async$goto = 1;
  87227. break;
  87228. } else {
  87229. $async$returnValue = new A.Configuration0(newValues, null);
  87230. // goto return
  87231. $async$goto = 1;
  87232. break;
  87233. }
  87234. case 1:
  87235. // return
  87236. return A._asyncReturn($async$returnValue, $async$completer);
  87237. }
  87238. });
  87239. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87240. },
  87241. _async_evaluate0$_registerCommentsForModule$1(module) {
  87242. var _this = this, _s5_ = "_root",
  87243. t1 = _this._async_evaluate0$__root;
  87244. if (t1 == null)
  87245. return;
  87246. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87247. return;
  87248. t1 = _this._async_evaluate0$_preModuleComments;
  87249. if (t1 == null)
  87250. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87251. 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));
  87252. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87253. _this._async_evaluate0$__endOfImports = 0;
  87254. },
  87255. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87256. var t1, t2, t3, t4, _i, $name;
  87257. for (t1 = upstream._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  87258. $name = t2[_i];
  87259. if (except.contains$1(0, $name))
  87260. continue;
  87261. if (!t4.containsKey$1($name))
  87262. if (!t1.get$isEmpty(t1))
  87263. t1.remove$1(0, $name);
  87264. }
  87265. },
  87266. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87267. var t1, _0_0;
  87268. if (!(configuration instanceof A.ExplicitConfiguration0))
  87269. return;
  87270. t1 = configuration._configuration0$_values;
  87271. if (t1.get$isEmpty(t1))
  87272. return;
  87273. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87274. _0_0 = t1.get$first(t1);
  87275. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  87276. throw A.wrapException(this._async_evaluate0$_exception$2(t1, _0_0._1.configurationSpan));
  87277. },
  87278. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87279. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87280. },
  87281. visitFunctionRule$1(_, node) {
  87282. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87283. },
  87284. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87285. var $async$goto = 0,
  87286. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87287. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87288. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87289. if ($async$errorCode === 1)
  87290. return A._asyncRethrow($async$result, $async$completer);
  87291. while (true)
  87292. switch ($async$goto) {
  87293. case 0:
  87294. // Function start
  87295. t1 = $async$self._async_evaluate0$_environment;
  87296. t2 = t1.closure$0();
  87297. t3 = $async$self._async_evaluate0$_inDependency;
  87298. t4 = t1._async_environment0$_functions;
  87299. index = t4.length - 1;
  87300. t5 = node.name;
  87301. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87302. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87303. $async$returnValue = null;
  87304. // goto return
  87305. $async$goto = 1;
  87306. break;
  87307. case 1:
  87308. // return
  87309. return A._asyncReturn($async$returnValue, $async$completer);
  87310. }
  87311. });
  87312. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87313. },
  87314. visitIfRule$1(_, node) {
  87315. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87316. },
  87317. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87318. var $async$goto = 0,
  87319. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87320. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87321. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87322. if ($async$errorCode === 1)
  87323. return A._asyncRethrow($async$result, $async$completer);
  87324. while (true)
  87325. switch ($async$goto) {
  87326. case 0:
  87327. // Function start
  87328. clause = node.lastClause;
  87329. t1 = node.clauses, t2 = t1.length, _i = 0;
  87330. case 3:
  87331. // for condition
  87332. if (!(_i < t2)) {
  87333. // goto after for
  87334. $async$goto = 5;
  87335. break;
  87336. }
  87337. clauseToCheck = t1[_i];
  87338. $async$goto = 6;
  87339. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87340. case 6:
  87341. // returning from await.
  87342. if ($async$result.get$isTruthy()) {
  87343. clause = clauseToCheck;
  87344. // goto after for
  87345. $async$goto = 5;
  87346. break;
  87347. }
  87348. case 4:
  87349. // for update
  87350. ++_i;
  87351. // goto for condition
  87352. $async$goto = 3;
  87353. break;
  87354. case 5:
  87355. // after for
  87356. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87357. $async$goto = 7;
  87358. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87359. case 7:
  87360. // returning from await.
  87361. $async$returnValue = $async$result;
  87362. // goto return
  87363. $async$goto = 1;
  87364. break;
  87365. case 1:
  87366. // return
  87367. return A._asyncReturn($async$returnValue, $async$completer);
  87368. }
  87369. });
  87370. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87371. },
  87372. visitImportRule$1(_, node) {
  87373. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87374. },
  87375. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87376. var $async$goto = 0,
  87377. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87378. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87379. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87380. if ($async$errorCode === 1)
  87381. return A._asyncRethrow($async$result, $async$completer);
  87382. while (true)
  87383. switch ($async$goto) {
  87384. case 0:
  87385. // Function start
  87386. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87387. case 3:
  87388. // for condition
  87389. if (!(_i < t2)) {
  87390. // goto after for
  87391. $async$goto = 5;
  87392. break;
  87393. }
  87394. $import = t1[_i];
  87395. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87396. break;
  87397. case 6:
  87398. // then
  87399. $async$goto = 9;
  87400. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87401. case 9:
  87402. // returning from await.
  87403. // goto join
  87404. $async$goto = 7;
  87405. break;
  87406. case 8:
  87407. // else
  87408. $async$goto = 10;
  87409. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87410. case 10:
  87411. // returning from await.
  87412. case 7:
  87413. // join
  87414. case 4:
  87415. // for update
  87416. ++_i;
  87417. // goto for condition
  87418. $async$goto = 3;
  87419. break;
  87420. case 5:
  87421. // after for
  87422. $async$returnValue = null;
  87423. // goto return
  87424. $async$goto = 1;
  87425. break;
  87426. case 1:
  87427. // return
  87428. return A._asyncReturn($async$returnValue, $async$completer);
  87429. }
  87430. });
  87431. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87432. },
  87433. _async_evaluate0$_visitDynamicImport$1($import) {
  87434. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87435. },
  87436. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87437. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87438. },
  87439. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87440. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87441. },
  87442. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87443. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87444. },
  87445. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87446. var $async$goto = 0,
  87447. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87448. $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;
  87449. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87450. if ($async$errorCode === 1) {
  87451. $async$errorStack.push($async$result);
  87452. $async$goto = $async$handler;
  87453. }
  87454. while (true)
  87455. switch ($async$goto) {
  87456. case 0:
  87457. // Function start
  87458. baseUrl = baseUrl;
  87459. $async$handler = 4;
  87460. $async$self._async_evaluate0$_importSpan = span;
  87461. _0_0 = $async$self._async_evaluate0$_importCache;
  87462. importCache = null;
  87463. $async$goto = _0_0 != null ? 7 : 8;
  87464. break;
  87465. case 7:
  87466. // then
  87467. importCache = _0_0;
  87468. if (baseUrl == null)
  87469. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  87470. $async$goto = 9;
  87471. 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);
  87472. case 9:
  87473. // returning from await.
  87474. _1_0 = $async$result;
  87475. importer = null;
  87476. canonicalUrl = null;
  87477. originalUrl = null;
  87478. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87479. break;
  87480. case 10:
  87481. // then
  87482. importer = _1_0._0;
  87483. canonicalUrl = _1_0._1;
  87484. originalUrl = _1_0._2;
  87485. if (canonicalUrl.get$scheme() === "")
  87486. 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);
  87487. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87488. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87489. $async$goto = 12;
  87490. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87491. case 12:
  87492. // returning from await.
  87493. _2_0 = $async$result;
  87494. stylesheet = null;
  87495. if (_2_0 != null) {
  87496. stylesheet = _2_0;
  87497. t1 = stylesheet;
  87498. t2 = importer;
  87499. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87500. $async$next = [1];
  87501. // goto finally
  87502. $async$goto = 5;
  87503. break;
  87504. }
  87505. case 11:
  87506. // join
  87507. case 8:
  87508. // join
  87509. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87510. break;
  87511. case 13:
  87512. // then
  87513. t1 = baseUrl;
  87514. $async$goto = 15;
  87515. 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);
  87516. case 15:
  87517. // returning from await.
  87518. _3_0 = $async$result;
  87519. result = null;
  87520. if (_3_0 != null) {
  87521. result = _3_0;
  87522. t1 = $async$self._async_evaluate0$_loadedUrls;
  87523. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  87524. t1 = result;
  87525. $async$returnValue = t1;
  87526. $async$next = [1];
  87527. // goto finally
  87528. $async$goto = 5;
  87529. break;
  87530. }
  87531. case 14:
  87532. // join
  87533. t1 = B.JSString_methods.startsWith$1(url, "package:");
  87534. if (t1)
  87535. throw A.wrapException(string$.x22packa);
  87536. else
  87537. throw A.wrapException("Can't find stylesheet to import.");
  87538. $async$next.push(6);
  87539. // goto finally
  87540. $async$goto = 5;
  87541. break;
  87542. case 4:
  87543. // catch
  87544. $async$handler = 3;
  87545. $async$exception = $async$errorStack.pop();
  87546. t1 = A.unwrapException($async$exception);
  87547. if (t1 instanceof A.SassException0)
  87548. throw $async$exception;
  87549. else if (t1 instanceof A.ArgumentError) {
  87550. error = t1;
  87551. stackTrace = A.getTraceFromException($async$exception);
  87552. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  87553. } else {
  87554. error0 = t1;
  87555. stackTrace0 = A.getTraceFromException($async$exception);
  87556. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  87557. }
  87558. $async$next.push(6);
  87559. // goto finally
  87560. $async$goto = 5;
  87561. break;
  87562. case 3:
  87563. // uncaught
  87564. $async$next = [2];
  87565. case 5:
  87566. // finally
  87567. $async$handler = 2;
  87568. $async$self._async_evaluate0$_importSpan = null;
  87569. // goto the next finally handler
  87570. $async$goto = $async$next.pop();
  87571. break;
  87572. case 6:
  87573. // after finally
  87574. case 1:
  87575. // return
  87576. return A._asyncReturn($async$returnValue, $async$completer);
  87577. case 2:
  87578. // rethrow
  87579. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  87580. }
  87581. });
  87582. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  87583. },
  87584. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  87585. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  87586. },
  87587. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  87588. var $async$goto = 0,
  87589. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  87590. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  87591. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87592. if ($async$errorCode === 1)
  87593. return A._asyncRethrow($async$result, $async$completer);
  87594. while (true)
  87595. switch ($async$goto) {
  87596. case 0:
  87597. // Function start
  87598. t1 = $async$self._async_evaluate0$_nodeImporter;
  87599. result = t1.loadRelative$3(originalUrl, previous, forImport);
  87600. $async$goto = result != null ? 3 : 5;
  87601. break;
  87602. case 3:
  87603. // then
  87604. isDependency = $async$self._async_evaluate0$_inDependency;
  87605. // goto join
  87606. $async$goto = 4;
  87607. break;
  87608. case 5:
  87609. // else
  87610. $async$goto = 6;
  87611. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  87612. case 6:
  87613. // returning from await.
  87614. result = $async$result;
  87615. if (result == null) {
  87616. $async$returnValue = null;
  87617. // goto return
  87618. $async$goto = 1;
  87619. break;
  87620. }
  87621. isDependency = true;
  87622. case 4:
  87623. // join
  87624. url = result._1;
  87625. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  87626. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  87627. // goto return
  87628. $async$goto = 1;
  87629. break;
  87630. case 1:
  87631. // return
  87632. return A._asyncReturn($async$returnValue, $async$completer);
  87633. }
  87634. });
  87635. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  87636. },
  87637. _async_evaluate0$_visitStaticImport$1($import) {
  87638. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  87639. },
  87640. _visitStaticImport$body$_EvaluateVisitor0($import) {
  87641. var $async$goto = 0,
  87642. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87643. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  87644. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87645. if ($async$errorCode === 1)
  87646. return A._asyncRethrow($async$result, $async$completer);
  87647. while (true)
  87648. switch ($async$goto) {
  87649. case 0:
  87650. // Function start
  87651. $async$goto = 2;
  87652. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  87653. case 2:
  87654. // returning from await.
  87655. t1 = $async$result;
  87656. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  87657. $async$temp1 = A;
  87658. $async$temp2 = t1;
  87659. $async$goto = 3;
  87660. 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);
  87661. case 3:
  87662. // returning from await.
  87663. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  87664. 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"))
  87665. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  87666. 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)) {
  87667. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  87668. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87669. } else {
  87670. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  87671. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  87672. }
  87673. // implicit return
  87674. return A._asyncReturn(null, $async$completer);
  87675. }
  87676. });
  87677. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  87678. },
  87679. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87680. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  87681. },
  87682. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87683. var $async$goto = 0,
  87684. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87685. $async$self = this, t1, _0_0, t2, _1_8, t3;
  87686. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87687. if ($async$errorCode === 1)
  87688. return A._asyncRethrow($async$result, $async$completer);
  87689. while (true)
  87690. switch ($async$goto) {
  87691. case 0:
  87692. // Function start
  87693. if (mixin == null)
  87694. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  87695. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  87696. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  87697. break;
  87698. case 3:
  87699. // then
  87700. $async$goto = 5;
  87701. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  87702. case 5:
  87703. // returning from await.
  87704. t1 = $async$result._values;
  87705. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  87706. 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));
  87707. case 4:
  87708. // join
  87709. $async$goto = t1 ? 6 : 7;
  87710. break;
  87711. case 6:
  87712. // then
  87713. $async$goto = 8;
  87714. 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);
  87715. case 8:
  87716. // returning from await.
  87717. // goto break $label0$0
  87718. $async$goto = 2;
  87719. break;
  87720. case 7:
  87721. // join
  87722. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  87723. t2 = false;
  87724. if (t1) {
  87725. _1_8 = mixin.declaration;
  87726. t3 = _1_8;
  87727. if (t3 instanceof A.MixinRule0)
  87728. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  87729. }
  87730. if (t2)
  87731. 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));
  87732. $async$goto = t1 ? 9 : 10;
  87733. break;
  87734. case 9:
  87735. // then
  87736. $async$goto = 11;
  87737. 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);
  87738. case 11:
  87739. // returning from await.
  87740. // goto break $label0$0
  87741. $async$goto = 2;
  87742. break;
  87743. case 10:
  87744. // join
  87745. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  87746. case 2:
  87747. // break $label0$0
  87748. // implicit return
  87749. return A._asyncReturn(null, $async$completer);
  87750. }
  87751. });
  87752. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  87753. },
  87754. visitIncludeRule$1(_, node) {
  87755. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  87756. },
  87757. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  87758. var $async$goto = 0,
  87759. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87760. $async$returnValue, $async$self = this, mixin;
  87761. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87762. if ($async$errorCode === 1)
  87763. return A._asyncRethrow($async$result, $async$completer);
  87764. while (true)
  87765. switch ($async$goto) {
  87766. case 0:
  87767. // Function start
  87768. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  87769. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  87770. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  87771. $async$goto = 3;
  87772. 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);
  87773. case 3:
  87774. // returning from await.
  87775. $async$returnValue = null;
  87776. // goto return
  87777. $async$goto = 1;
  87778. break;
  87779. case 1:
  87780. // return
  87781. return A._asyncReturn($async$returnValue, $async$completer);
  87782. }
  87783. });
  87784. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  87785. },
  87786. visitMixinRule$1(_, node) {
  87787. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  87788. },
  87789. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  87790. var $async$goto = 0,
  87791. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87792. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87793. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87794. if ($async$errorCode === 1)
  87795. return A._asyncRethrow($async$result, $async$completer);
  87796. while (true)
  87797. switch ($async$goto) {
  87798. case 0:
  87799. // Function start
  87800. t1 = $async$self._async_evaluate0$_environment;
  87801. t2 = t1.closure$0();
  87802. t3 = $async$self._async_evaluate0$_inDependency;
  87803. t4 = t1._async_environment0$_mixins;
  87804. index = t4.length - 1;
  87805. t5 = node.name;
  87806. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  87807. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87808. $async$returnValue = null;
  87809. // goto return
  87810. $async$goto = 1;
  87811. break;
  87812. case 1:
  87813. // return
  87814. return A._asyncReturn($async$returnValue, $async$completer);
  87815. }
  87816. });
  87817. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  87818. },
  87819. visitLoudComment$1(_, node) {
  87820. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  87821. },
  87822. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  87823. var $async$goto = 0,
  87824. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87825. $async$returnValue, $async$self = this, t1, text;
  87826. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87827. if ($async$errorCode === 1)
  87828. return A._asyncRethrow($async$result, $async$completer);
  87829. while (true)
  87830. switch ($async$goto) {
  87831. case 0:
  87832. // Function start
  87833. if ($async$self._async_evaluate0$_inFunction) {
  87834. $async$returnValue = null;
  87835. // goto return
  87836. $async$goto = 1;
  87837. break;
  87838. }
  87839. 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))
  87840. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87841. t1 = node.text;
  87842. $async$goto = 3;
  87843. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  87844. case 3:
  87845. // returning from await.
  87846. text = $async$result;
  87847. if (!B.JSString_methods.endsWith$1(text, "*/"))
  87848. text += " */";
  87849. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  87850. $async$returnValue = null;
  87851. // goto return
  87852. $async$goto = 1;
  87853. break;
  87854. case 1:
  87855. // return
  87856. return A._asyncReturn($async$returnValue, $async$completer);
  87857. }
  87858. });
  87859. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  87860. },
  87861. visitMediaRule$1(_, node) {
  87862. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  87863. },
  87864. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  87865. var $async$goto = 0,
  87866. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87867. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  87868. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87869. if ($async$errorCode === 1)
  87870. return A._asyncRethrow($async$result, $async$completer);
  87871. while (true)
  87872. switch ($async$goto) {
  87873. case 0:
  87874. // Function start
  87875. if ($async$self._async_evaluate0$_declarationName != null)
  87876. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  87877. $async$goto = 3;
  87878. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  87879. case 3:
  87880. // returning from await.
  87881. queries = $async$result;
  87882. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  87883. t1 = mergedQueries == null;
  87884. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  87885. $async$returnValue = null;
  87886. // goto return
  87887. $async$goto = 1;
  87888. break;
  87889. }
  87890. if (t1)
  87891. mergedSources = B.Set_empty6;
  87892. else {
  87893. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  87894. t2.toString;
  87895. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  87896. t3 = $async$self._async_evaluate0$_mediaQueries;
  87897. t3.toString;
  87898. t2.addAll$1(0, t3);
  87899. t2.addAll$1(0, queries);
  87900. mergedSources = t2;
  87901. }
  87902. t1 = t1 ? queries : mergedQueries;
  87903. $async$goto = 4;
  87904. 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);
  87905. case 4:
  87906. // returning from await.
  87907. $async$returnValue = null;
  87908. // goto return
  87909. $async$goto = 1;
  87910. break;
  87911. case 1:
  87912. // return
  87913. return A._asyncReturn($async$returnValue, $async$completer);
  87914. }
  87915. });
  87916. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  87917. },
  87918. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  87919. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  87920. },
  87921. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  87922. var $async$goto = 0,
  87923. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  87924. $async$returnValue, $async$self = this, _0_0, resolved, map;
  87925. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87926. if ($async$errorCode === 1)
  87927. return A._asyncRethrow($async$result, $async$completer);
  87928. while (true)
  87929. switch ($async$goto) {
  87930. case 0:
  87931. // Function start
  87932. $async$goto = 3;
  87933. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  87934. case 3:
  87935. // returning from await.
  87936. _0_0 = $async$result;
  87937. resolved = _0_0._0;
  87938. map = _0_0._1;
  87939. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  87940. // goto return
  87941. $async$goto = 1;
  87942. break;
  87943. case 1:
  87944. // return
  87945. return A._asyncReturn($async$returnValue, $async$completer);
  87946. }
  87947. });
  87948. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  87949. },
  87950. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  87951. var t1, t2, t3, t4, _0_0, t5, result,
  87952. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  87953. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  87954. t3 = t1.get$current(t1);
  87955. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  87956. _0_0 = t3.merge$1(t4.get$current(t4));
  87957. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  87958. continue;
  87959. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  87960. return null;
  87961. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  87962. result = t5 ? _0_0 : null;
  87963. if (t5)
  87964. queries.push(result.query);
  87965. }
  87966. }
  87967. return queries;
  87968. },
  87969. visitReturnRule$1(_, node) {
  87970. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  87971. },
  87972. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  87973. var $async$goto = 0,
  87974. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87975. $async$returnValue, $async$self = this, t1, t2;
  87976. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87977. if ($async$errorCode === 1)
  87978. return A._asyncRethrow($async$result, $async$completer);
  87979. while (true)
  87980. switch ($async$goto) {
  87981. case 0:
  87982. // Function start
  87983. t1 = node.expression;
  87984. t2 = t1.accept$1($async$self);
  87985. $async$goto = 3;
  87986. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  87987. case 3:
  87988. // returning from await.
  87989. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  87990. // goto return
  87991. $async$goto = 1;
  87992. break;
  87993. case 1:
  87994. // return
  87995. return A._asyncReturn($async$returnValue, $async$completer);
  87996. }
  87997. });
  87998. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  87999. },
  88000. visitSilentComment$1(_, node) {
  88001. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  88002. },
  88003. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  88004. var $async$goto = 0,
  88005. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88006. $async$returnValue;
  88007. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88008. if ($async$errorCode === 1)
  88009. return A._asyncRethrow($async$result, $async$completer);
  88010. while (true)
  88011. switch ($async$goto) {
  88012. case 0:
  88013. // Function start
  88014. $async$returnValue = null;
  88015. // goto return
  88016. $async$goto = 1;
  88017. break;
  88018. case 1:
  88019. // return
  88020. return A._asyncReturn($async$returnValue, $async$completer);
  88021. }
  88022. });
  88023. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  88024. },
  88025. visitStyleRule$1(_, node) {
  88026. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  88027. },
  88028. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  88029. var $async$goto = 0,
  88030. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88031. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  88032. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88033. if ($async$errorCode === 1)
  88034. return A._asyncRethrow($async$result, $async$completer);
  88035. while (true)
  88036. switch ($async$goto) {
  88037. case 0:
  88038. // Function start
  88039. if ($async$self._async_evaluate0$_declarationName != null)
  88040. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  88041. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  88042. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  88043. t1 = node.selector;
  88044. $async$goto = 3;
  88045. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  88046. case 3:
  88047. // returning from await.
  88048. _0_0 = $async$result;
  88049. selectorText = _0_0._0;
  88050. selectorMap = _0_0._1;
  88051. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  88052. break;
  88053. case 4:
  88054. // then
  88055. $async$goto = 6;
  88056. 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);
  88057. case 6:
  88058. // returning from await.
  88059. $async$returnValue = null;
  88060. // goto return
  88061. $async$goto = 1;
  88062. break;
  88063. case 5:
  88064. // join
  88065. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  88066. _1_0 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88067. $label0$0: {
  88068. if (_1_0 == null) {
  88069. t1 = true;
  88070. break $label0$0;
  88071. }
  88072. if (_1_0.fromPlainCss) {
  88073. t1 = false;
  88074. break $label0$0;
  88075. }
  88076. t1 = !($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  88077. break $label0$0;
  88078. }
  88079. if (t1) {
  88080. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  88081. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  88082. _2_0 = t2[_i].leadingCombinators;
  88083. if (_2_0.length >= 1) {
  88084. first = _2_0[0];
  88085. t4 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  88086. } else {
  88087. first = null;
  88088. t4 = false;
  88089. }
  88090. if (t4)
  88091. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  88092. }
  88093. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88094. t2 = t2 == null ? null : t2.originalSelector;
  88095. 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);
  88096. }
  88097. 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);
  88098. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  88099. t2 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  88100. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  88101. $async$goto = 7;
  88102. 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);
  88103. case 7:
  88104. // returning from await.
  88105. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  88106. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  88107. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  88108. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88109. t1 = !t1.get$isEmpty(t1);
  88110. } else
  88111. t1 = t2;
  88112. if (t1) {
  88113. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88114. t1.get$last(t1).isGroupEnd = true;
  88115. }
  88116. $async$returnValue = null;
  88117. // goto return
  88118. $async$goto = 1;
  88119. break;
  88120. case 1:
  88121. // return
  88122. return A._asyncReturn($async$returnValue, $async$completer);
  88123. }
  88124. });
  88125. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  88126. },
  88127. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  88128. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  88129. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  88130. 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) {
  88131. complex = t1[_i];
  88132. if (!complex.accept$1(B._IsBogusVisitor_true0))
  88133. continue;
  88134. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  88135. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88136. complex.accept$1(visitor);
  88137. _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);
  88138. } else if (complex.leadingCombinators.length !== 0) {
  88139. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88140. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88141. complex.accept$1(visitor);
  88142. _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);
  88143. }
  88144. } else {
  88145. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88146. complex.accept$1(visitor);
  88147. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  88148. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  88149. t8 = A.SpanExtensions_trimRight0(complex.span);
  88150. if (t5.get$length(0) === 0)
  88151. A.throwExpression(A.IterableElementError_noElement());
  88152. t9 = J.get$span$z(t5.$index(0, 0));
  88153. _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);
  88154. }
  88155. }
  88156. },
  88157. visitSupportsRule$1(_, node) {
  88158. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  88159. },
  88160. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  88161. var $async$goto = 0,
  88162. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88163. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88164. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88165. if ($async$errorCode === 1)
  88166. return A._asyncRethrow($async$result, $async$completer);
  88167. while (true)
  88168. switch ($async$goto) {
  88169. case 0:
  88170. // Function start
  88171. if ($async$self._async_evaluate0$_declarationName != null)
  88172. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  88173. t1 = node.condition;
  88174. $async$temp1 = A;
  88175. $async$temp2 = A;
  88176. $async$goto = 4;
  88177. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  88178. case 4:
  88179. // returning from await.
  88180. $async$goto = 3;
  88181. 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);
  88182. case 3:
  88183. // returning from await.
  88184. $async$returnValue = null;
  88185. // goto return
  88186. $async$goto = 1;
  88187. break;
  88188. case 1:
  88189. // return
  88190. return A._asyncReturn($async$returnValue, $async$completer);
  88191. }
  88192. });
  88193. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  88194. },
  88195. _async_evaluate0$_visitSupportsCondition$1(condition) {
  88196. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  88197. },
  88198. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  88199. var $async$goto = 0,
  88200. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88201. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88202. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88203. if ($async$errorCode === 1)
  88204. return A._asyncRethrow($async$result, $async$completer);
  88205. while (true)
  88206. switch ($async$goto) {
  88207. case 0:
  88208. // Function start
  88209. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88210. break;
  88211. case 4:
  88212. // then
  88213. t1 = condition.operator;
  88214. $async$temp1 = A;
  88215. $async$goto = 6;
  88216. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88217. case 6:
  88218. // returning from await.
  88219. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88220. $async$temp2 = A;
  88221. $async$goto = 7;
  88222. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88223. case 7:
  88224. // returning from await.
  88225. t1 = $async$temp1 + $async$temp2.S($async$result);
  88226. // goto break $label0$0
  88227. $async$goto = 3;
  88228. break;
  88229. case 5:
  88230. // join
  88231. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88232. break;
  88233. case 8:
  88234. // then
  88235. $async$temp1 = A;
  88236. $async$goto = 10;
  88237. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88238. case 10:
  88239. // returning from await.
  88240. t1 = "not " + $async$temp1.S($async$result);
  88241. // goto break $label0$0
  88242. $async$goto = 3;
  88243. break;
  88244. case 9:
  88245. // join
  88246. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88247. break;
  88248. case 11:
  88249. // then
  88250. $async$goto = 13;
  88251. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88252. case 13:
  88253. // returning from await.
  88254. t1 = $async$result;
  88255. // goto break $label0$0
  88256. $async$goto = 3;
  88257. break;
  88258. case 12:
  88259. // join
  88260. t1 = {};
  88261. t1.declaration = null;
  88262. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88263. break;
  88264. case 14:
  88265. // then
  88266. t1.declaration = condition;
  88267. $async$goto = 16;
  88268. 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);
  88269. case 16:
  88270. // returning from await.
  88271. t1 = $async$result;
  88272. // goto break $label0$0
  88273. $async$goto = 3;
  88274. break;
  88275. case 15:
  88276. // join
  88277. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88278. break;
  88279. case 17:
  88280. // then
  88281. $async$temp1 = A;
  88282. $async$goto = 19;
  88283. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88284. case 19:
  88285. // returning from await.
  88286. $async$temp1 = $async$temp1.S($async$result) + "(";
  88287. $async$temp2 = A;
  88288. $async$goto = 20;
  88289. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88290. case 20:
  88291. // returning from await.
  88292. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88293. // goto break $label0$0
  88294. $async$goto = 3;
  88295. break;
  88296. case 18:
  88297. // join
  88298. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88299. break;
  88300. case 21:
  88301. // then
  88302. $async$temp1 = A;
  88303. $async$goto = 23;
  88304. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88305. case 23:
  88306. // returning from await.
  88307. t1 = "(" + $async$temp1.S($async$result) + ")";
  88308. // goto break $label0$0
  88309. $async$goto = 3;
  88310. break;
  88311. case 22:
  88312. // join
  88313. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88314. case 3:
  88315. // break $label0$0
  88316. $async$returnValue = t1;
  88317. // goto return
  88318. $async$goto = 1;
  88319. break;
  88320. case 1:
  88321. // return
  88322. return A._asyncReturn($async$returnValue, $async$completer);
  88323. }
  88324. });
  88325. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88326. },
  88327. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88328. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88329. },
  88330. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88331. var $async$goto = 0,
  88332. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88333. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88334. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88335. if ($async$errorCode === 1) {
  88336. $async$errorStack.push($async$result);
  88337. $async$goto = $async$handler;
  88338. }
  88339. while (true)
  88340. switch ($async$goto) {
  88341. case 0:
  88342. // Function start
  88343. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88344. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88345. $async$handler = 3;
  88346. t1 = callback.call$0();
  88347. $async$goto = 6;
  88348. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88349. case 6:
  88350. // returning from await.
  88351. t1 = $async$result;
  88352. $async$returnValue = t1;
  88353. $async$next = [1];
  88354. // goto finally
  88355. $async$goto = 4;
  88356. break;
  88357. $async$next.push(5);
  88358. // goto finally
  88359. $async$goto = 4;
  88360. break;
  88361. case 3:
  88362. // uncaught
  88363. $async$next = [2];
  88364. case 4:
  88365. // finally
  88366. $async$handler = 2;
  88367. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88368. // goto the next finally handler
  88369. $async$goto = $async$next.pop();
  88370. break;
  88371. case 5:
  88372. // after finally
  88373. case 1:
  88374. // return
  88375. return A._asyncReturn($async$returnValue, $async$completer);
  88376. case 2:
  88377. // rethrow
  88378. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88379. }
  88380. });
  88381. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88382. },
  88383. _async_evaluate0$_parenthesize$2(condition, operator) {
  88384. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88385. },
  88386. _async_evaluate0$_parenthesize$1(condition) {
  88387. return this._async_evaluate0$_parenthesize$2(condition, null);
  88388. },
  88389. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88390. var $async$goto = 0,
  88391. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88392. $async$returnValue, $async$self = this, t1, $async$temp1;
  88393. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88394. if ($async$errorCode === 1)
  88395. return A._asyncRethrow($async$result, $async$completer);
  88396. while (true)
  88397. switch ($async$goto) {
  88398. case 0:
  88399. // Function start
  88400. if (!(condition instanceof A.SupportsNegation0))
  88401. if (condition instanceof A.SupportsOperation0)
  88402. t1 = operator == null || operator !== condition.operator;
  88403. else
  88404. t1 = false;
  88405. else
  88406. t1 = true;
  88407. $async$goto = t1 ? 3 : 4;
  88408. break;
  88409. case 3:
  88410. // then
  88411. $async$temp1 = A;
  88412. $async$goto = 5;
  88413. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88414. case 5:
  88415. // returning from await.
  88416. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88417. // goto return
  88418. $async$goto = 1;
  88419. break;
  88420. case 4:
  88421. // join
  88422. $async$goto = 6;
  88423. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88424. case 6:
  88425. // returning from await.
  88426. $async$returnValue = $async$result;
  88427. // goto return
  88428. $async$goto = 1;
  88429. break;
  88430. case 1:
  88431. // return
  88432. return A._asyncReturn($async$returnValue, $async$completer);
  88433. }
  88434. });
  88435. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88436. },
  88437. visitVariableDeclaration$1(_, node) {
  88438. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88439. },
  88440. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88441. var $async$goto = 0,
  88442. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88443. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  88444. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88445. if ($async$errorCode === 1)
  88446. return A._asyncRethrow($async$result, $async$completer);
  88447. while (true)
  88448. switch ($async$goto) {
  88449. case 0:
  88450. // Function start
  88451. if (node.isGuarded) {
  88452. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88453. t1 = node.name;
  88454. $async$self._async_evaluate0$_environment._async_environment0$_configurableVariables.add$1(0, t1);
  88455. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88456. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  88457. t1 = {};
  88458. t1.override = null;
  88459. if (_0_0 != null) {
  88460. t1.override = _0_0;
  88461. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88462. } else
  88463. t2 = false;
  88464. if (t2) {
  88465. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88466. $async$returnValue = null;
  88467. // goto return
  88468. $async$goto = 1;
  88469. break;
  88470. }
  88471. }
  88472. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88473. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88474. $async$returnValue = null;
  88475. // goto return
  88476. $async$goto = 1;
  88477. break;
  88478. }
  88479. }
  88480. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88481. 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.";
  88482. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  88483. }
  88484. t1 = node.expression;
  88485. t2 = t1.accept$1($async$self);
  88486. $async$temp1 = node;
  88487. $async$temp2 = A;
  88488. $async$temp3 = node;
  88489. $async$goto = 3;
  88490. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88491. case 3:
  88492. // returning from await.
  88493. $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)));
  88494. $async$returnValue = null;
  88495. // goto return
  88496. $async$goto = 1;
  88497. break;
  88498. case 1:
  88499. // return
  88500. return A._asyncReturn($async$returnValue, $async$completer);
  88501. }
  88502. });
  88503. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88504. },
  88505. visitUseRule$1(_, node) {
  88506. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88507. },
  88508. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88509. var $async$goto = 0,
  88510. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88511. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88512. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88513. if ($async$errorCode === 1)
  88514. return A._asyncRethrow($async$result, $async$completer);
  88515. while (true)
  88516. switch ($async$goto) {
  88517. case 0:
  88518. // Function start
  88519. t1 = node.configuration;
  88520. t2 = t1.length;
  88521. $async$goto = t2 !== 0 ? 3 : 5;
  88522. break;
  88523. case 3:
  88524. // then
  88525. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  88526. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  88527. case 6:
  88528. // for condition
  88529. if (!(_i < t2)) {
  88530. // goto after for
  88531. $async$goto = 8;
  88532. break;
  88533. }
  88534. variable = t1[_i];
  88535. t5 = variable.expression;
  88536. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  88537. t5 = t5.accept$1($async$self);
  88538. if (!t4._is(t5)) {
  88539. t6 = new A._Future($.Zone__current, t3);
  88540. t6._state = 8;
  88541. t6._resultOrListeners = t5;
  88542. t5 = t6;
  88543. }
  88544. $async$temp1 = values;
  88545. $async$temp2 = variable.name;
  88546. $async$temp3 = A;
  88547. $async$goto = 9;
  88548. return A._asyncAwait(t5, $async$visitUseRule$1);
  88549. case 9:
  88550. // returning from await.
  88551. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  88552. case 7:
  88553. // for update
  88554. ++_i;
  88555. // goto for condition
  88556. $async$goto = 6;
  88557. break;
  88558. case 8:
  88559. // after for
  88560. configuration = new A.ExplicitConfiguration0(node, values, null);
  88561. // goto join
  88562. $async$goto = 4;
  88563. break;
  88564. case 5:
  88565. // else
  88566. configuration = B.Configuration_Map_empty_null0;
  88567. case 4:
  88568. // join
  88569. $async$goto = 10;
  88570. 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);
  88571. case 10:
  88572. // returning from await.
  88573. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  88574. $async$returnValue = null;
  88575. // goto return
  88576. $async$goto = 1;
  88577. break;
  88578. case 1:
  88579. // return
  88580. return A._asyncReturn($async$returnValue, $async$completer);
  88581. }
  88582. });
  88583. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  88584. },
  88585. visitWarnRule$1(_, node) {
  88586. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  88587. },
  88588. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  88589. var $async$goto = 0,
  88590. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88591. $async$returnValue, $async$self = this, value, t1, t2;
  88592. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88593. if ($async$errorCode === 1)
  88594. return A._asyncRethrow($async$result, $async$completer);
  88595. while (true)
  88596. switch ($async$goto) {
  88597. case 0:
  88598. // Function start
  88599. $async$goto = 3;
  88600. 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);
  88601. case 3:
  88602. // returning from await.
  88603. value = $async$result;
  88604. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  88605. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  88606. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  88607. $async$returnValue = null;
  88608. // goto return
  88609. $async$goto = 1;
  88610. break;
  88611. case 1:
  88612. // return
  88613. return A._asyncReturn($async$returnValue, $async$completer);
  88614. }
  88615. });
  88616. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  88617. },
  88618. visitWhileRule$1(_, node) {
  88619. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  88620. },
  88621. visitBinaryOperationExpression$1(_, node) {
  88622. var t1, _this = this;
  88623. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88624. t1 = node.operator;
  88625. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  88626. } else
  88627. t1 = false;
  88628. if (t1)
  88629. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  88630. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  88631. },
  88632. _async_evaluate0$_slash$3(left, right, node) {
  88633. var left0, _1_2,
  88634. result = left.dividedBy$1(right),
  88635. _1_2_isSet = left instanceof A.SassNumber0,
  88636. right0 = null,
  88637. t1 = false;
  88638. if (_1_2_isSet) {
  88639. if (right instanceof A.SassNumber0) {
  88640. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  88641. right0 = right;
  88642. }
  88643. left0 = left;
  88644. _1_2 = right;
  88645. } else {
  88646. _1_2 = null;
  88647. left0 = null;
  88648. }
  88649. if (t1)
  88650. return type$.SassNumber_2._as(result).withSlash$2(left0, right0);
  88651. if (left instanceof A.SassNumber0)
  88652. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  88653. else
  88654. t1 = false;
  88655. if (t1) {
  88656. 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);
  88657. return result;
  88658. }
  88659. return result;
  88660. },
  88661. _async_evaluate0$_operandAllowsSlash$1(node) {
  88662. var t1;
  88663. if (node instanceof A.FunctionExpression0)
  88664. if (node.namespace == null) {
  88665. t1 = node.name;
  88666. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  88667. } else
  88668. t1 = false;
  88669. else
  88670. t1 = true;
  88671. return t1;
  88672. },
  88673. visitValueExpression$1(_, node) {
  88674. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  88675. },
  88676. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  88677. var $async$goto = 0,
  88678. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88679. $async$returnValue;
  88680. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88681. if ($async$errorCode === 1)
  88682. return A._asyncRethrow($async$result, $async$completer);
  88683. while (true)
  88684. switch ($async$goto) {
  88685. case 0:
  88686. // Function start
  88687. $async$returnValue = node.value;
  88688. // goto return
  88689. $async$goto = 1;
  88690. break;
  88691. case 1:
  88692. // return
  88693. return A._asyncReturn($async$returnValue, $async$completer);
  88694. }
  88695. });
  88696. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  88697. },
  88698. visitVariableExpression$1(_, node) {
  88699. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  88700. },
  88701. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  88702. var $async$goto = 0,
  88703. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88704. $async$returnValue, $async$self = this, result;
  88705. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88706. if ($async$errorCode === 1)
  88707. return A._asyncRethrow($async$result, $async$completer);
  88708. while (true)
  88709. switch ($async$goto) {
  88710. case 0:
  88711. // Function start
  88712. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  88713. if (result != null) {
  88714. $async$returnValue = result;
  88715. // goto return
  88716. $async$goto = 1;
  88717. break;
  88718. }
  88719. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  88720. case 1:
  88721. // return
  88722. return A._asyncReturn($async$returnValue, $async$completer);
  88723. }
  88724. });
  88725. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  88726. },
  88727. visitUnaryOperationExpression$1(_, node) {
  88728. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  88729. },
  88730. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  88731. var $async$goto = 0,
  88732. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88733. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  88734. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88735. if ($async$errorCode === 1)
  88736. return A._asyncRethrow($async$result, $async$completer);
  88737. while (true)
  88738. switch ($async$goto) {
  88739. case 0:
  88740. // Function start
  88741. $async$temp1 = node;
  88742. $async$temp2 = A;
  88743. $async$temp3 = node;
  88744. $async$goto = 3;
  88745. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  88746. case 3:
  88747. // returning from await.
  88748. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  88749. // goto return
  88750. $async$goto = 1;
  88751. break;
  88752. case 1:
  88753. // return
  88754. return A._asyncReturn($async$returnValue, $async$completer);
  88755. }
  88756. });
  88757. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  88758. },
  88759. visitBooleanExpression$1(_, node) {
  88760. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  88761. },
  88762. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  88763. var $async$goto = 0,
  88764. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  88765. $async$returnValue;
  88766. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88767. if ($async$errorCode === 1)
  88768. return A._asyncRethrow($async$result, $async$completer);
  88769. while (true)
  88770. switch ($async$goto) {
  88771. case 0:
  88772. // Function start
  88773. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88774. // goto return
  88775. $async$goto = 1;
  88776. break;
  88777. case 1:
  88778. // return
  88779. return A._asyncReturn($async$returnValue, $async$completer);
  88780. }
  88781. });
  88782. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  88783. },
  88784. visitIfExpression$1(_, node) {
  88785. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  88786. },
  88787. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  88788. var $async$goto = 0,
  88789. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88790. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  88791. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88792. if ($async$errorCode === 1)
  88793. return A._asyncRethrow($async$result, $async$completer);
  88794. while (true)
  88795. switch ($async$goto) {
  88796. case 0:
  88797. // Function start
  88798. $async$goto = 3;
  88799. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  88800. case 3:
  88801. // returning from await.
  88802. _0_0 = $async$result;
  88803. positional = _0_0._0;
  88804. named = _0_0._1;
  88805. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  88806. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  88807. if (condition == null) {
  88808. t1 = named.$index(0, "condition");
  88809. t1.toString;
  88810. condition = t1;
  88811. }
  88812. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  88813. if (ifTrue == null) {
  88814. t1 = named.$index(0, "if-true");
  88815. t1.toString;
  88816. ifTrue = t1;
  88817. }
  88818. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  88819. if (ifFalse == null) {
  88820. t1 = named.$index(0, "if-false");
  88821. t1.toString;
  88822. ifFalse = t1;
  88823. }
  88824. $async$goto = 4;
  88825. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  88826. case 4:
  88827. // returning from await.
  88828. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  88829. t1 = result.accept$1($async$self);
  88830. $async$goto = 5;
  88831. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  88832. case 5:
  88833. // returning from await.
  88834. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  88835. // goto return
  88836. $async$goto = 1;
  88837. break;
  88838. case 1:
  88839. // return
  88840. return A._asyncReturn($async$returnValue, $async$completer);
  88841. }
  88842. });
  88843. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  88844. },
  88845. visitNullExpression$1(_, node) {
  88846. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  88847. },
  88848. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  88849. var $async$goto = 0,
  88850. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88851. $async$returnValue;
  88852. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88853. if ($async$errorCode === 1)
  88854. return A._asyncRethrow($async$result, $async$completer);
  88855. while (true)
  88856. switch ($async$goto) {
  88857. case 0:
  88858. // Function start
  88859. $async$returnValue = B.C__SassNull0;
  88860. // goto return
  88861. $async$goto = 1;
  88862. break;
  88863. case 1:
  88864. // return
  88865. return A._asyncReturn($async$returnValue, $async$completer);
  88866. }
  88867. });
  88868. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  88869. },
  88870. visitNumberExpression$1(_, node) {
  88871. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  88872. },
  88873. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  88874. var $async$goto = 0,
  88875. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  88876. $async$returnValue;
  88877. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88878. if ($async$errorCode === 1)
  88879. return A._asyncRethrow($async$result, $async$completer);
  88880. while (true)
  88881. switch ($async$goto) {
  88882. case 0:
  88883. // Function start
  88884. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  88885. // goto return
  88886. $async$goto = 1;
  88887. break;
  88888. case 1:
  88889. // return
  88890. return A._asyncReturn($async$returnValue, $async$completer);
  88891. }
  88892. });
  88893. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  88894. },
  88895. visitParenthesizedExpression$1(_, node) {
  88896. var _this = this;
  88897. 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);
  88898. },
  88899. visitColorExpression$1(_, node) {
  88900. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  88901. },
  88902. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  88903. var $async$goto = 0,
  88904. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  88905. $async$returnValue;
  88906. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88907. if ($async$errorCode === 1)
  88908. return A._asyncRethrow($async$result, $async$completer);
  88909. while (true)
  88910. switch ($async$goto) {
  88911. case 0:
  88912. // Function start
  88913. $async$returnValue = node.value;
  88914. // goto return
  88915. $async$goto = 1;
  88916. break;
  88917. case 1:
  88918. // return
  88919. return A._asyncReturn($async$returnValue, $async$completer);
  88920. }
  88921. });
  88922. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  88923. },
  88924. visitListExpression$1(_, node) {
  88925. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  88926. },
  88927. visitListExpression$body$_EvaluateVisitor0(_, node) {
  88928. var $async$goto = 0,
  88929. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  88930. $async$returnValue, $async$self = this, $async$temp1;
  88931. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88932. if ($async$errorCode === 1)
  88933. return A._asyncRethrow($async$result, $async$completer);
  88934. while (true)
  88935. switch ($async$goto) {
  88936. case 0:
  88937. // Function start
  88938. $async$temp1 = A;
  88939. $async$goto = 3;
  88940. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  88941. case 3:
  88942. // returning from await.
  88943. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  88944. // goto return
  88945. $async$goto = 1;
  88946. break;
  88947. case 1:
  88948. // return
  88949. return A._asyncReturn($async$returnValue, $async$completer);
  88950. }
  88951. });
  88952. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  88953. },
  88954. visitMapExpression$1(_, node) {
  88955. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  88956. },
  88957. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  88958. var $async$goto = 0,
  88959. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  88960. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  88961. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88962. if ($async$errorCode === 1)
  88963. return A._asyncRethrow($async$result, $async$completer);
  88964. while (true)
  88965. switch ($async$goto) {
  88966. case 0:
  88967. // Function start
  88968. t1 = type$.Value_2;
  88969. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  88970. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  88971. t2 = node.pairs, t3 = t2.length, _i = 0;
  88972. case 3:
  88973. // for condition
  88974. if (!(_i < t3)) {
  88975. // goto after for
  88976. $async$goto = 5;
  88977. break;
  88978. }
  88979. t4 = t2[_i];
  88980. key = t4._0;
  88981. $async$goto = 6;
  88982. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  88983. case 6:
  88984. // returning from await.
  88985. keyValue = $async$result;
  88986. $async$goto = 7;
  88987. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  88988. case 7:
  88989. // returning from await.
  88990. valueValue = $async$result;
  88991. if (map.containsKey$1(keyValue)) {
  88992. t1 = keyNodes.$index(0, keyValue);
  88993. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  88994. t1 = key.get$span(key);
  88995. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  88996. if (oldValueSpan != null)
  88997. t2.$indexSet(0, oldValueSpan, "first key");
  88998. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  88999. }
  89000. map.$indexSet(0, keyValue, valueValue);
  89001. keyNodes.$indexSet(0, keyValue, key);
  89002. case 4:
  89003. // for update
  89004. ++_i;
  89005. // goto for condition
  89006. $async$goto = 3;
  89007. break;
  89008. case 5:
  89009. // after for
  89010. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  89011. // goto return
  89012. $async$goto = 1;
  89013. break;
  89014. case 1:
  89015. // return
  89016. return A._asyncReturn($async$returnValue, $async$completer);
  89017. }
  89018. });
  89019. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  89020. },
  89021. visitFunctionExpression$1(_, node) {
  89022. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  89023. },
  89024. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89025. var $async$goto = 0,
  89026. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89027. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  89028. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89029. if ($async$errorCode === 1)
  89030. return A._asyncRethrow($async$result, $async$completer);
  89031. while (true)
  89032. switch ($async$goto) {
  89033. case 0:
  89034. // Function start
  89035. t1 = {};
  89036. $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));
  89037. t1.$function = $function;
  89038. $async$goto = $function == null ? 3 : 5;
  89039. break;
  89040. case 3:
  89041. // then
  89042. if (node.namespace != null)
  89043. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  89044. t2 = node.name;
  89045. _0_0 = t2.toLowerCase();
  89046. t3 = false;
  89047. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  89048. t3 = node.$arguments;
  89049. t4 = t3.named;
  89050. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  89051. $name = _0_0;
  89052. } else
  89053. $name = null;
  89054. $async$goto = t3 ? 6 : 7;
  89055. break;
  89056. case 6:
  89057. // then
  89058. $async$goto = 8;
  89059. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  89060. case 8:
  89061. // returning from await.
  89062. $async$returnValue = $async$result;
  89063. // goto return
  89064. $async$goto = 1;
  89065. break;
  89066. case 7:
  89067. // join
  89068. $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;
  89069. break;
  89070. case 9:
  89071. // then
  89072. $async$goto = 11;
  89073. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  89074. case 11:
  89075. // returning from await.
  89076. $async$returnValue = $async$result;
  89077. // goto return
  89078. $async$goto = 1;
  89079. break;
  89080. case 10:
  89081. // join
  89082. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  89083. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  89084. // goto join
  89085. $async$goto = 4;
  89086. break;
  89087. case 5:
  89088. // else
  89089. t2 = $function;
  89090. case 4:
  89091. // join
  89092. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  89093. $async$self._async_evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  89094. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89095. $async$self._async_evaluate0$_inFunction = true;
  89096. $async$goto = 12;
  89097. 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);
  89098. case 12:
  89099. // returning from await.
  89100. result = $async$result;
  89101. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89102. $async$returnValue = result;
  89103. // goto return
  89104. $async$goto = 1;
  89105. break;
  89106. case 1:
  89107. // return
  89108. return A._asyncReturn($async$returnValue, $async$completer);
  89109. }
  89110. });
  89111. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  89112. },
  89113. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  89114. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89115. },
  89116. _async_evaluate0$_visitCalculation$1(node) {
  89117. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  89118. },
  89119. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89120. var $async$goto = 0,
  89121. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89122. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  89123. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89124. if ($async$errorCode === 1)
  89125. return A._asyncRethrow($async$result, $async$completer);
  89126. while (true)
  89127. switch ($async$goto) {
  89128. case 0:
  89129. // Function start
  89130. t2 = node.$arguments;
  89131. t3 = t2.named;
  89132. if (t3.get$isNotEmpty(t3))
  89133. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  89134. else if (t2.rest != null)
  89135. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  89136. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  89137. t3 = A._setArrayType([], type$.JSArray_Object);
  89138. t2 = t2.positional, t4 = t2.length, _i = 0;
  89139. case 3:
  89140. // for condition
  89141. if (!(_i < t4)) {
  89142. // goto after for
  89143. $async$goto = 5;
  89144. break;
  89145. }
  89146. $async$temp1 = t3;
  89147. $async$goto = 6;
  89148. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  89149. case 6:
  89150. // returning from await.
  89151. $async$temp1.push($async$result);
  89152. case 4:
  89153. // for update
  89154. ++_i;
  89155. // goto for condition
  89156. $async$goto = 3;
  89157. break;
  89158. case 5:
  89159. // after for
  89160. $arguments = t3;
  89161. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  89162. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  89163. // goto return
  89164. $async$goto = 1;
  89165. break;
  89166. }
  89167. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89168. $async$self._async_evaluate0$_callableNode = node;
  89169. try {
  89170. t1 = null;
  89171. t3 = node.name;
  89172. _0_0 = t3.toLowerCase();
  89173. $label0$0: {
  89174. if ("calc" === _0_0) {
  89175. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  89176. break $label0$0;
  89177. }
  89178. if ("sqrt" === _0_0) {
  89179. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  89180. break $label0$0;
  89181. }
  89182. if ("sin" === _0_0) {
  89183. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  89184. break $label0$0;
  89185. }
  89186. if ("cos" === _0_0) {
  89187. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  89188. break $label0$0;
  89189. }
  89190. if ("tan" === _0_0) {
  89191. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  89192. break $label0$0;
  89193. }
  89194. if ("asin" === _0_0) {
  89195. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  89196. break $label0$0;
  89197. }
  89198. if ("acos" === _0_0) {
  89199. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89200. break $label0$0;
  89201. }
  89202. if ("atan" === _0_0) {
  89203. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89204. break $label0$0;
  89205. }
  89206. if ("abs" === _0_0) {
  89207. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89208. break $label0$0;
  89209. }
  89210. if ("exp" === _0_0) {
  89211. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89212. break $label0$0;
  89213. }
  89214. if ("sign" === _0_0) {
  89215. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89216. break $label0$0;
  89217. }
  89218. if ("min" === _0_0) {
  89219. t1 = A.SassCalculation_min0($arguments);
  89220. break $label0$0;
  89221. }
  89222. if ("max" === _0_0) {
  89223. t1 = A.SassCalculation_max0($arguments);
  89224. break $label0$0;
  89225. }
  89226. if ("hypot" === _0_0) {
  89227. t1 = A.SassCalculation_hypot0($arguments);
  89228. break $label0$0;
  89229. }
  89230. if ("pow" === _0_0) {
  89231. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89232. break $label0$0;
  89233. }
  89234. if ("atan2" === _0_0) {
  89235. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89236. break $label0$0;
  89237. }
  89238. if ("log" === _0_0) {
  89239. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89240. break $label0$0;
  89241. }
  89242. if ("mod" === _0_0) {
  89243. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89244. break $label0$0;
  89245. }
  89246. if ("rem" === _0_0) {
  89247. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89248. break $label0$0;
  89249. }
  89250. if ("round" === _0_0) {
  89251. 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));
  89252. break $label0$0;
  89253. }
  89254. if ("clamp" === _0_0) {
  89255. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89256. break $label0$0;
  89257. }
  89258. if ("calc-size" === _0_0) {
  89259. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89260. break $label0$0;
  89261. }
  89262. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89263. t1 = A.throwExpression(t3);
  89264. }
  89265. t1 = t1;
  89266. $async$returnValue = t1;
  89267. // goto return
  89268. $async$goto = 1;
  89269. break;
  89270. } catch (exception) {
  89271. t1 = A.unwrapException(exception);
  89272. if (t1 instanceof A.SassScriptException0) {
  89273. error = t1;
  89274. stackTrace = A.getTraceFromException(exception);
  89275. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89276. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89277. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89278. } else
  89279. throw exception;
  89280. } finally {
  89281. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89282. }
  89283. case 1:
  89284. // return
  89285. return A._asyncReturn($async$returnValue, $async$completer);
  89286. }
  89287. });
  89288. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89289. },
  89290. _async_evaluate0$_checkCalculationArguments$1(node) {
  89291. var t1, _0_0,
  89292. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89293. $label0$0: {
  89294. t1 = node.name;
  89295. _0_0 = t1.toLowerCase();
  89296. 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) {
  89297. check.call$1(1);
  89298. break $label0$0;
  89299. }
  89300. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89301. check.call$0();
  89302. break $label0$0;
  89303. }
  89304. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89305. check.call$1(2);
  89306. break $label0$0;
  89307. }
  89308. if ("round" === _0_0 || "clamp" === _0_0) {
  89309. check.call$1(3);
  89310. break $label0$0;
  89311. }
  89312. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89313. }
  89314. },
  89315. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89316. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89317. for (i = 0; t1 = args.length, i < t1; ++i) {
  89318. _0_0 = args[i];
  89319. if (_0_0 instanceof A.SassNumber0) {
  89320. t1 = _0_0.get$hasComplexUnits();
  89321. arg = _0_0;
  89322. } else {
  89323. arg = null;
  89324. t1 = false;
  89325. }
  89326. if (t1) {
  89327. t1 = A.S(arg);
  89328. t2 = nodesWithSpans[i];
  89329. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89330. }
  89331. }
  89332. for (i = 0; i < t1 - 1; ++i) {
  89333. number1 = args[i];
  89334. if (!(number1 instanceof A.SassNumber0))
  89335. continue;
  89336. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89337. number2 = args[j];
  89338. if (!(number2 instanceof A.SassNumber0))
  89339. continue;
  89340. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89341. continue;
  89342. t1 = number1.toString$0(0);
  89343. t2 = number2.toString$0(0);
  89344. t3 = nodesWithSpans[i];
  89345. t3 = t3.get$span(t3);
  89346. t4 = number1.toString$0(0);
  89347. t5 = nodesWithSpans[j];
  89348. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89349. t6 = nodesWithSpans[i];
  89350. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89351. }
  89352. }
  89353. },
  89354. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89355. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89356. },
  89357. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89358. var $async$goto = 0,
  89359. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89360. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89361. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89362. if ($async$errorCode === 1)
  89363. return A._asyncRethrow($async$result, $async$completer);
  89364. while (true)
  89365. switch ($async$goto) {
  89366. case 0:
  89367. // Function start
  89368. t1 = node instanceof A.ParenthesizedExpression0;
  89369. inner = t1 ? node.expression : null;
  89370. $async$goto = t1 ? 3 : 4;
  89371. break;
  89372. case 3:
  89373. // then
  89374. $async$goto = 5;
  89375. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89376. case 5:
  89377. // returning from await.
  89378. result = $async$result;
  89379. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89380. // goto return
  89381. $async$goto = 1;
  89382. break;
  89383. case 4:
  89384. // join
  89385. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89386. break;
  89387. case 6:
  89388. // then
  89389. t1 = node.text;
  89390. t2 = t1.get$asPlain();
  89391. _0_0 = t2 == null ? null : t2.toLowerCase();
  89392. if ("pi" === _0_0) {
  89393. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89394. // goto break $label0$0
  89395. $async$goto = 8;
  89396. break;
  89397. }
  89398. if ("e" === _0_0) {
  89399. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89400. // goto break $label0$0
  89401. $async$goto = 8;
  89402. break;
  89403. }
  89404. if ("infinity" === _0_0) {
  89405. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89406. // goto break $label0$0
  89407. $async$goto = 8;
  89408. break;
  89409. }
  89410. if ("-infinity" === _0_0) {
  89411. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89412. // goto break $label0$0
  89413. $async$goto = 8;
  89414. break;
  89415. }
  89416. if ("nan" === _0_0) {
  89417. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89418. // goto break $label0$0
  89419. $async$goto = 8;
  89420. break;
  89421. }
  89422. $async$temp1 = A;
  89423. $async$goto = 9;
  89424. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89425. case 9:
  89426. // returning from await.
  89427. t1 = new $async$temp1.SassString0($async$result, false);
  89428. // goto break $label0$0
  89429. $async$goto = 8;
  89430. break;
  89431. case 8:
  89432. // break $label0$0
  89433. $async$returnValue = t1;
  89434. // goto return
  89435. $async$goto = 1;
  89436. break;
  89437. case 7:
  89438. // join
  89439. _box_0 = {};
  89440. _box_0.right = _box_0.left = _box_0.operator = null;
  89441. t1 = node instanceof A.BinaryOperationExpression0;
  89442. if (t1) {
  89443. _box_0.operator = node.operator;
  89444. _box_0.left = node.left;
  89445. _box_0.right = node.right;
  89446. }
  89447. $async$goto = t1 ? 10 : 11;
  89448. break;
  89449. case 10:
  89450. // then
  89451. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89452. $async$goto = 12;
  89453. 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);
  89454. case 12:
  89455. // returning from await.
  89456. $async$returnValue = $async$result;
  89457. // goto return
  89458. $async$goto = 1;
  89459. break;
  89460. case 11:
  89461. // join
  89462. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89463. break;
  89464. case 13:
  89465. // then
  89466. $async$goto = 15;
  89467. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89468. case 15:
  89469. // returning from await.
  89470. _1_0 = $async$result;
  89471. $label1$1: {
  89472. if (_1_0 instanceof A.SassNumber0) {
  89473. t1 = _1_0;
  89474. break $label1$1;
  89475. }
  89476. if (_1_0 instanceof A.SassCalculation0) {
  89477. t1 = _1_0;
  89478. break $label1$1;
  89479. }
  89480. if (_1_0 instanceof A.SassString0) {
  89481. t1 = !_1_0._string0$_hasQuotes;
  89482. result = _1_0;
  89483. } else {
  89484. result = null;
  89485. t1 = false;
  89486. }
  89487. if (t1) {
  89488. t1 = result;
  89489. break $label1$1;
  89490. }
  89491. 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)));
  89492. }
  89493. $async$returnValue = t1;
  89494. // goto return
  89495. $async$goto = 1;
  89496. break;
  89497. case 14:
  89498. // join
  89499. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89500. break;
  89501. case 16:
  89502. // then
  89503. t1 = A._setArrayType([], type$.JSArray_Object);
  89504. t2 = node.contents, t3 = t2.length, _i = 0;
  89505. case 18:
  89506. // for condition
  89507. if (!(_i < t3)) {
  89508. // goto after for
  89509. $async$goto = 20;
  89510. break;
  89511. }
  89512. $async$temp1 = t1;
  89513. $async$goto = 21;
  89514. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89515. case 21:
  89516. // returning from await.
  89517. $async$temp1.push($async$result);
  89518. case 19:
  89519. // for update
  89520. ++_i;
  89521. // goto for condition
  89522. $async$goto = 18;
  89523. break;
  89524. case 20:
  89525. // after for
  89526. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  89527. for (i = 0; i < t1.length; ++i) {
  89528. t3 = t1[i];
  89529. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  89530. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  89531. }
  89532. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  89533. // goto return
  89534. $async$goto = 1;
  89535. break;
  89536. case 17:
  89537. // join
  89538. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  89539. case 1:
  89540. // return
  89541. return A._asyncReturn($async$returnValue, $async$completer);
  89542. }
  89543. });
  89544. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  89545. },
  89546. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  89547. var t2, t3, t4, textBetweenOperands, first, last,
  89548. t1 = node.operator;
  89549. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  89550. return;
  89551. t1 = node.left;
  89552. t2 = t1.get$span(t1);
  89553. t2 = t2.get$file(t2);
  89554. t3 = node.right;
  89555. t4 = t3.get$span(t3);
  89556. if (t2 !== t4.get$file(t4))
  89557. return;
  89558. t2 = t1.get$span(t1);
  89559. t2 = t2.get$end(t2);
  89560. t4 = t3.get$span(t3);
  89561. if (t2.offset >= t4.get$start(t4).offset)
  89562. return;
  89563. t2 = t1.get$span(t1);
  89564. t2 = t2.get$file(t2);
  89565. t1 = t1.get$span(t1);
  89566. t1 = t1.get$end(t1);
  89567. t3 = t3.get$span(t3);
  89568. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  89569. first = textBetweenOperands.charCodeAt(0);
  89570. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  89571. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  89572. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  89573. else
  89574. t1 = true;
  89575. if (t1)
  89576. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  89577. },
  89578. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  89579. var t1;
  89580. $label0$0: {
  89581. if (B.BinaryOperator_Swh0 === operator) {
  89582. t1 = B.CalculationOperator_F7i0;
  89583. break $label0$0;
  89584. }
  89585. if (B.BinaryOperator_QG10 === operator) {
  89586. t1 = B.CalculationOperator_oum0;
  89587. break $label0$0;
  89588. }
  89589. if (B.BinaryOperator_tht0 === operator) {
  89590. t1 = B.CalculationOperator_kkN0;
  89591. break $label0$0;
  89592. }
  89593. if (B.BinaryOperator_Mh50 === operator) {
  89594. t1 = B.CalculationOperator_bo50;
  89595. break $label0$0;
  89596. }
  89597. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  89598. }
  89599. return t1;
  89600. },
  89601. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  89602. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  89603. for (t1 = elements.length, i = 1; i < t1; ++i) {
  89604. t2 = i - 1;
  89605. previous = elements[t2];
  89606. current = elements[i];
  89607. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  89608. continue;
  89609. t1 = node.contents;
  89610. previousNode = t1[t2];
  89611. currentNode = t1[i];
  89612. if (currentNode instanceof A.UnaryOperationExpression0) {
  89613. _0_2 = currentNode.operator;
  89614. if (B.UnaryOperator_UCP0 !== _0_2)
  89615. t1 = B.UnaryOperator_Rbl0 === _0_2;
  89616. else
  89617. t1 = true;
  89618. } else
  89619. t1 = false;
  89620. if (!t1)
  89621. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  89622. else
  89623. t1 = true;
  89624. if (t1)
  89625. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  89626. else
  89627. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  89628. }
  89629. },
  89630. visitInterpolatedFunctionExpression$1(_, node) {
  89631. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  89632. },
  89633. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89634. var $async$goto = 0,
  89635. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89636. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  89637. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89638. if ($async$errorCode === 1)
  89639. return A._asyncRethrow($async$result, $async$completer);
  89640. while (true)
  89641. switch ($async$goto) {
  89642. case 0:
  89643. // Function start
  89644. $async$goto = 3;
  89645. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  89646. case 3:
  89647. // returning from await.
  89648. t1 = $async$result;
  89649. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89650. $async$self._async_evaluate0$_inFunction = true;
  89651. $async$goto = 4;
  89652. 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);
  89653. case 4:
  89654. // returning from await.
  89655. result = $async$result;
  89656. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89657. $async$returnValue = result;
  89658. // goto return
  89659. $async$goto = 1;
  89660. break;
  89661. case 1:
  89662. // return
  89663. return A._asyncReturn($async$returnValue, $async$completer);
  89664. }
  89665. });
  89666. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  89667. },
  89668. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  89669. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  89670. },
  89671. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  89672. var $async$goto = 0,
  89673. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89674. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  89675. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89676. if ($async$errorCode === 1)
  89677. return A._asyncRethrow($async$result, $async$completer);
  89678. while (true)
  89679. switch ($async$goto) {
  89680. case 0:
  89681. // Function start
  89682. $async$goto = 3;
  89683. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  89684. case 3:
  89685. // returning from await.
  89686. evaluated = $async$result;
  89687. $name = callable.declaration.name;
  89688. if ($name !== "@content")
  89689. $name += "()";
  89690. oldInDependency = $async$self._async_evaluate0$_inDependency;
  89691. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  89692. $async$goto = 4;
  89693. 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);
  89694. case 4:
  89695. // returning from await.
  89696. result = $async$result;
  89697. $async$self._async_evaluate0$_inDependency = oldInDependency;
  89698. $async$returnValue = result;
  89699. // goto return
  89700. $async$goto = 1;
  89701. break;
  89702. case 1:
  89703. // return
  89704. return A._asyncReturn($async$returnValue, $async$completer);
  89705. }
  89706. });
  89707. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  89708. },
  89709. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  89710. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89711. },
  89712. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89713. var $async$goto = 0,
  89714. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89715. $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;
  89716. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89717. if ($async$errorCode === 1) {
  89718. $async$errorStack.push($async$result);
  89719. $async$goto = $async$handler;
  89720. }
  89721. while (true)
  89722. switch ($async$goto) {
  89723. case 0:
  89724. // Function start
  89725. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  89726. break;
  89727. case 3:
  89728. // then
  89729. $async$goto = 6;
  89730. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  89731. case 6:
  89732. // returning from await.
  89733. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  89734. // goto return
  89735. $async$goto = 1;
  89736. break;
  89737. // goto join
  89738. $async$goto = 4;
  89739. break;
  89740. case 5:
  89741. // else
  89742. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  89743. break;
  89744. case 7:
  89745. // then
  89746. $async$goto = 10;
  89747. 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);
  89748. case 10:
  89749. // returning from await.
  89750. $async$returnValue = $async$result;
  89751. // goto return
  89752. $async$goto = 1;
  89753. break;
  89754. // goto join
  89755. $async$goto = 8;
  89756. break;
  89757. case 9:
  89758. // else
  89759. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  89760. break;
  89761. case 11:
  89762. // then
  89763. t1 = $arguments.named;
  89764. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  89765. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  89766. buffer = new A.StringBuffer(callable.name + "(");
  89767. $async$handler = 15;
  89768. first = true;
  89769. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  89770. case 18:
  89771. // for condition
  89772. if (!(_i < t2)) {
  89773. // goto after for
  89774. $async$goto = 20;
  89775. break;
  89776. }
  89777. argument = t1[_i];
  89778. if (first)
  89779. first = false;
  89780. else
  89781. buffer._contents += ", ";
  89782. t3 = buffer;
  89783. $async$temp1 = A;
  89784. $async$goto = 21;
  89785. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  89786. case 21:
  89787. // returning from await.
  89788. t4 = $async$temp1.S($async$result);
  89789. t3._contents += t4;
  89790. case 19:
  89791. // for update
  89792. ++_i;
  89793. // goto for condition
  89794. $async$goto = 18;
  89795. break;
  89796. case 20:
  89797. // after for
  89798. restArg = $arguments.rest;
  89799. $async$goto = restArg != null ? 22 : 23;
  89800. break;
  89801. case 22:
  89802. // then
  89803. $async$goto = 24;
  89804. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  89805. case 24:
  89806. // returning from await.
  89807. rest = $async$result;
  89808. if (!first)
  89809. buffer._contents += ", ";
  89810. t1 = buffer;
  89811. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  89812. t1._contents += t2;
  89813. case 23:
  89814. // join
  89815. $async$handler = 2;
  89816. // goto after finally
  89817. $async$goto = 17;
  89818. break;
  89819. case 15:
  89820. // catch
  89821. $async$handler = 14;
  89822. $async$exception = $async$errorStack.pop();
  89823. t1 = A.unwrapException($async$exception);
  89824. if (type$.SassRuntimeException_2._is(t1)) {
  89825. error = t1;
  89826. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  89827. throw $async$exception;
  89828. 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));
  89829. } else
  89830. throw $async$exception;
  89831. // goto after finally
  89832. $async$goto = 17;
  89833. break;
  89834. case 14:
  89835. // uncaught
  89836. // goto rethrow
  89837. $async$goto = 2;
  89838. break;
  89839. case 17:
  89840. // after finally
  89841. t1 = buffer;
  89842. t2 = A.Primitives_stringFromCharCode(41);
  89843. t1._contents += t2;
  89844. t2 = buffer._contents;
  89845. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  89846. // goto return
  89847. $async$goto = 1;
  89848. break;
  89849. // goto join
  89850. $async$goto = 12;
  89851. break;
  89852. case 13:
  89853. // else
  89854. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  89855. case 12:
  89856. // join
  89857. case 8:
  89858. // join
  89859. case 4:
  89860. // join
  89861. case 1:
  89862. // return
  89863. return A._asyncReturn($async$returnValue, $async$completer);
  89864. case 2:
  89865. // rethrow
  89866. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89867. }
  89868. });
  89869. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  89870. },
  89871. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  89872. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89873. },
  89874. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89875. var $async$goto = 0,
  89876. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89877. $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;
  89878. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89879. if ($async$errorCode === 1) {
  89880. $async$errorStack.push($async$result);
  89881. $async$goto = $async$handler;
  89882. }
  89883. while (true)
  89884. switch ($async$goto) {
  89885. case 0:
  89886. // Function start
  89887. _box_0 = {};
  89888. $async$goto = 3;
  89889. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  89890. case 3:
  89891. // returning from await.
  89892. evaluated = $async$result;
  89893. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89894. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  89895. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  89896. _box_0.callback = _box_0.overload = null;
  89897. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  89898. _box_0.overload = _0_0._0;
  89899. _box_0.callback = _0_0._1;
  89900. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  89901. parameters = _box_0.overload.parameters;
  89902. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  89903. case 4:
  89904. // for condition
  89905. if (!(i < t1)) {
  89906. // goto after for
  89907. $async$goto = 6;
  89908. break;
  89909. }
  89910. parameter = parameters[i];
  89911. t4 = evaluated._values[2];
  89912. t5 = evaluated._values[0].remove$1(0, parameter.name);
  89913. $async$goto = t5 == null ? 7 : 8;
  89914. break;
  89915. case 7:
  89916. // then
  89917. t5 = parameter.defaultValue;
  89918. t6 = t5.accept$1($async$self);
  89919. if (!t3._is(t6)) {
  89920. t7 = new A._Future($.Zone__current, t2);
  89921. t7._state = 8;
  89922. t7._resultOrListeners = t6;
  89923. t6 = t7;
  89924. }
  89925. $async$goto = 9;
  89926. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  89927. case 9:
  89928. // returning from await.
  89929. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  89930. case 8:
  89931. // join
  89932. J.add$1$ax(t4, t5);
  89933. case 5:
  89934. // for update
  89935. ++i;
  89936. // goto for condition
  89937. $async$goto = 4;
  89938. break;
  89939. case 6:
  89940. // after for
  89941. if (_box_0.overload.restParameter != null) {
  89942. if (J.get$length$asx(evaluated._values[2]) > t1) {
  89943. rest = J.sublist$1$ax(evaluated._values[2], t1);
  89944. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  89945. } else
  89946. rest = B.List_empty22;
  89947. t1 = evaluated._values[0];
  89948. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  89949. J.add$1$ax(evaluated._values[2], argumentList);
  89950. } else
  89951. argumentList = null;
  89952. result = null;
  89953. $async$handler = 11;
  89954. $async$goto = 14;
  89955. 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);
  89956. case 14:
  89957. // returning from await.
  89958. result = $async$result;
  89959. $async$handler = 2;
  89960. // goto after finally
  89961. $async$goto = 13;
  89962. break;
  89963. case 11:
  89964. // catch
  89965. $async$handler = 10;
  89966. $async$exception = $async$errorStack.pop();
  89967. t1 = A.unwrapException($async$exception);
  89968. if (t1 instanceof A.SassException0)
  89969. throw $async$exception;
  89970. else {
  89971. error = t1;
  89972. stackTrace = A.getTraceFromException($async$exception);
  89973. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  89974. }
  89975. // goto after finally
  89976. $async$goto = 13;
  89977. break;
  89978. case 10:
  89979. // uncaught
  89980. // goto rethrow
  89981. $async$goto = 2;
  89982. break;
  89983. case 13:
  89984. // after finally
  89985. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89986. if (argumentList == null) {
  89987. $async$returnValue = result;
  89988. // goto return
  89989. $async$goto = 1;
  89990. break;
  89991. }
  89992. t1 = evaluated._values[0];
  89993. if (t1.get$isEmpty(t1)) {
  89994. $async$returnValue = result;
  89995. // goto return
  89996. $async$goto = 1;
  89997. break;
  89998. }
  89999. if (argumentList._argument_list$_wereKeywordsAccessed) {
  90000. $async$returnValue = result;
  90001. // goto return
  90002. $async$goto = 1;
  90003. break;
  90004. }
  90005. t1 = evaluated._values[0];
  90006. t1 = t1.get$keys(t1);
  90007. t1 = A.pluralize0("parameter", t1.get$length(t1), null);
  90008. t2 = evaluated._values[0];
  90009. t2 = t2.get$keys(t2);
  90010. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(t2.map$1$1(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));
  90011. case 1:
  90012. // return
  90013. return A._asyncReturn($async$returnValue, $async$completer);
  90014. case 2:
  90015. // rethrow
  90016. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  90017. }
  90018. });
  90019. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  90020. },
  90021. _async_evaluate0$_evaluateArguments$1($arguments) {
  90022. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  90023. },
  90024. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  90025. var $async$goto = 0,
  90026. $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),
  90027. $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;
  90028. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90029. if ($async$errorCode === 1)
  90030. return A._asyncRethrow($async$result, $async$completer);
  90031. while (true)
  90032. switch ($async$goto) {
  90033. case 0:
  90034. // Function start
  90035. positional = A._setArrayType([], type$.JSArray_Value_2);
  90036. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  90037. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  90038. case 3:
  90039. // for condition
  90040. if (!(_i < t2)) {
  90041. // goto after for
  90042. $async$goto = 5;
  90043. break;
  90044. }
  90045. expression = t1[_i];
  90046. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  90047. t5 = expression.accept$1($async$self);
  90048. if (!t4._is(t5)) {
  90049. t6 = new A._Future($.Zone__current, t3);
  90050. t6._state = 8;
  90051. t6._resultOrListeners = t5;
  90052. t5 = t6;
  90053. }
  90054. $async$temp1 = positional;
  90055. $async$goto = 6;
  90056. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  90057. case 6:
  90058. // returning from await.
  90059. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90060. positionalNodes.push(nodeForSpan);
  90061. case 4:
  90062. // for update
  90063. ++_i;
  90064. // goto for condition
  90065. $async$goto = 3;
  90066. break;
  90067. case 5:
  90068. // after for
  90069. t1 = type$.String;
  90070. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  90071. t2 = type$.AstNode_2;
  90072. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90073. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  90074. case 7:
  90075. // for condition
  90076. if (!t5.moveNext$0()) {
  90077. // goto after for
  90078. $async$goto = 8;
  90079. break;
  90080. }
  90081. t6 = t5.get$current(t5);
  90082. $name = t6._0;
  90083. value = t6._1;
  90084. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  90085. t6 = value.accept$1($async$self);
  90086. if (!t4._is(t6)) {
  90087. t7 = new A._Future($.Zone__current, t3);
  90088. t7._state = 8;
  90089. t7._resultOrListeners = t6;
  90090. t6 = t7;
  90091. }
  90092. $async$temp1 = named;
  90093. $async$temp2 = $name;
  90094. $async$goto = 9;
  90095. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  90096. case 9:
  90097. // returning from await.
  90098. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90099. namedNodes.$indexSet(0, $name, nodeForSpan);
  90100. // goto for condition
  90101. $async$goto = 7;
  90102. break;
  90103. case 8:
  90104. // after for
  90105. restArgs = $arguments.rest;
  90106. if (restArgs == null) {
  90107. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  90108. // goto return
  90109. $async$goto = 1;
  90110. break;
  90111. }
  90112. $async$goto = 10;
  90113. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90114. case 10:
  90115. // returning from await.
  90116. rest = $async$result;
  90117. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  90118. if (rest instanceof A.SassMap0) {
  90119. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  90120. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90121. for (t4 = rest._map0$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString_2; t4.moveNext$0();)
  90122. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  90123. namedNodes.addAll$1(0, t3);
  90124. separator = B.ListSeparator_undecided_null_undecided0;
  90125. } else if (rest instanceof A.SassList0) {
  90126. t3 = rest._list1$_contents;
  90127. 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>")));
  90128. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  90129. separator = rest._list1$_separator;
  90130. if (rest instanceof A.SassArgumentList0) {
  90131. rest._argument_list$_wereKeywordsAccessed = true;
  90132. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  90133. }
  90134. } else {
  90135. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  90136. positionalNodes.push(restNodeForSpan);
  90137. separator = B.ListSeparator_undecided_null_undecided0;
  90138. }
  90139. keywordRestArgs = $arguments.keywordRest;
  90140. if (keywordRestArgs == null) {
  90141. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90142. // goto return
  90143. $async$goto = 1;
  90144. break;
  90145. }
  90146. $async$goto = 11;
  90147. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90148. case 11:
  90149. // returning from await.
  90150. keywordRest = $async$result;
  90151. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  90152. if (keywordRest instanceof A.SassMap0) {
  90153. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  90154. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90155. for (t2 = keywordRest._map0$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString_2; t2.moveNext$0();)
  90156. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  90157. namedNodes.addAll$1(0, t1);
  90158. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90159. // goto return
  90160. $async$goto = 1;
  90161. break;
  90162. } else
  90163. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  90164. case 1:
  90165. // return
  90166. return A._asyncReturn($async$returnValue, $async$completer);
  90167. }
  90168. });
  90169. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  90170. },
  90171. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  90172. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  90173. },
  90174. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  90175. var $async$goto = 0,
  90176. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  90177. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  90178. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90179. if ($async$errorCode === 1)
  90180. return A._asyncRethrow($async$result, $async$completer);
  90181. while (true)
  90182. switch ($async$goto) {
  90183. case 0:
  90184. // Function start
  90185. t1 = invocation.$arguments;
  90186. restArgs_ = t1.rest;
  90187. if (restArgs_ == null) {
  90188. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  90189. // goto return
  90190. $async$goto = 1;
  90191. break;
  90192. }
  90193. t2 = t1.positional;
  90194. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  90195. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  90196. $async$goto = 3;
  90197. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90198. case 3:
  90199. // returning from await.
  90200. rest = $async$result;
  90201. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90202. if (rest instanceof A.SassMap0)
  90203. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90204. else if (rest instanceof A.SassList0) {
  90205. t2 = rest._list1$_contents;
  90206. 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>")));
  90207. if (rest instanceof A.SassArgumentList0) {
  90208. rest._argument_list$_wereKeywordsAccessed = true;
  90209. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90210. }
  90211. } else
  90212. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90213. keywordRestArgs_ = t1.keywordRest;
  90214. if (keywordRestArgs_ == null) {
  90215. $async$returnValue = new A._Record_2(positional, named);
  90216. // goto return
  90217. $async$goto = 1;
  90218. break;
  90219. }
  90220. $async$goto = 4;
  90221. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90222. case 4:
  90223. // returning from await.
  90224. keywordRest = $async$result;
  90225. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90226. if (keywordRest instanceof A.SassMap0) {
  90227. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90228. $async$returnValue = new A._Record_2(positional, named);
  90229. // goto return
  90230. $async$goto = 1;
  90231. break;
  90232. } else
  90233. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90234. case 1:
  90235. // return
  90236. return A._asyncReturn($async$returnValue, $async$completer);
  90237. }
  90238. });
  90239. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90240. },
  90241. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90242. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90243. },
  90244. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90245. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90246. },
  90247. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90248. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90249. },
  90250. visitSelectorExpression$1(_, node) {
  90251. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90252. },
  90253. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90254. var $async$goto = 0,
  90255. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90256. $async$returnValue, $async$self = this, t1;
  90257. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90258. if ($async$errorCode === 1)
  90259. return A._asyncRethrow($async$result, $async$completer);
  90260. while (true)
  90261. switch ($async$goto) {
  90262. case 0:
  90263. // Function start
  90264. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90265. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90266. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90267. // goto return
  90268. $async$goto = 1;
  90269. break;
  90270. case 1:
  90271. // return
  90272. return A._asyncReturn($async$returnValue, $async$completer);
  90273. }
  90274. });
  90275. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90276. },
  90277. visitStringExpression$1(_, node) {
  90278. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90279. },
  90280. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90281. var $async$goto = 0,
  90282. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90283. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90284. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90285. if ($async$errorCode === 1)
  90286. return A._asyncRethrow($async$result, $async$completer);
  90287. while (true)
  90288. switch ($async$goto) {
  90289. case 0:
  90290. // Function start
  90291. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90292. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90293. t1 = A._setArrayType([], type$.JSArray_String);
  90294. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90295. case 3:
  90296. // for condition
  90297. if (!(_i < t3)) {
  90298. // goto after for
  90299. $async$goto = 5;
  90300. break;
  90301. }
  90302. value = t2[_i];
  90303. if (typeof value == "string") {
  90304. t4 = value;
  90305. // goto break $label0$0
  90306. $async$goto = 6;
  90307. break;
  90308. }
  90309. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90310. break;
  90311. case 7:
  90312. // then
  90313. $async$goto = 9;
  90314. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90315. case 9:
  90316. // returning from await.
  90317. _0_0 = $async$result;
  90318. $label1$1: {
  90319. if (_0_0 instanceof A.SassString0) {
  90320. text = _0_0._string0$_text;
  90321. t4 = text;
  90322. break $label1$1;
  90323. }
  90324. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90325. break $label1$1;
  90326. }
  90327. // goto break $label0$0
  90328. $async$goto = 6;
  90329. break;
  90330. case 8:
  90331. // join
  90332. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90333. case 6:
  90334. // break $label0$0
  90335. t1.push(t4);
  90336. case 4:
  90337. // for update
  90338. ++_i;
  90339. // goto for condition
  90340. $async$goto = 3;
  90341. break;
  90342. case 5:
  90343. // after for
  90344. t1 = B.JSArray_methods.join$0(t1);
  90345. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90346. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90347. // goto return
  90348. $async$goto = 1;
  90349. break;
  90350. case 1:
  90351. // return
  90352. return A._asyncReturn($async$returnValue, $async$completer);
  90353. }
  90354. });
  90355. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90356. },
  90357. visitSupportsExpression$1(_, expression) {
  90358. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90359. },
  90360. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90361. var $async$goto = 0,
  90362. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90363. $async$returnValue, $async$self = this, $async$temp1;
  90364. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90365. if ($async$errorCode === 1)
  90366. return A._asyncRethrow($async$result, $async$completer);
  90367. while (true)
  90368. switch ($async$goto) {
  90369. case 0:
  90370. // Function start
  90371. $async$temp1 = A;
  90372. $async$goto = 3;
  90373. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90374. case 3:
  90375. // returning from await.
  90376. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90377. // goto return
  90378. $async$goto = 1;
  90379. break;
  90380. case 1:
  90381. // return
  90382. return A._asyncReturn($async$returnValue, $async$completer);
  90383. }
  90384. });
  90385. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90386. },
  90387. visitCssAtRule$1(node) {
  90388. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90389. },
  90390. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90391. var $async$goto = 0,
  90392. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90393. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90394. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90395. if ($async$errorCode === 1)
  90396. return A._asyncRethrow($async$result, $async$completer);
  90397. while (true)
  90398. switch ($async$goto) {
  90399. case 0:
  90400. // Function start
  90401. if ($async$self._async_evaluate0$_declarationName != null)
  90402. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90403. if (node.isChildless) {
  90404. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90405. // goto return
  90406. $async$goto = 1;
  90407. break;
  90408. }
  90409. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90410. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90411. t1 = node.name;
  90412. if (A.unvendor0(t1.value) === "keyframes")
  90413. $async$self._async_evaluate0$_inKeyframes = true;
  90414. else
  90415. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90416. $async$goto = 3;
  90417. 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);
  90418. case 3:
  90419. // returning from await.
  90420. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90421. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90422. case 1:
  90423. // return
  90424. return A._asyncReturn($async$returnValue, $async$completer);
  90425. }
  90426. });
  90427. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90428. },
  90429. visitCssComment$1(node) {
  90430. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90431. },
  90432. visitCssComment$body$_EvaluateVisitor0(node) {
  90433. var $async$goto = 0,
  90434. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90435. $async$self = this;
  90436. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90437. if ($async$errorCode === 1)
  90438. return A._asyncRethrow($async$result, $async$completer);
  90439. while (true)
  90440. switch ($async$goto) {
  90441. case 0:
  90442. // Function start
  90443. 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))
  90444. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90445. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90446. // implicit return
  90447. return A._asyncReturn(null, $async$completer);
  90448. }
  90449. });
  90450. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90451. },
  90452. visitCssDeclaration$1(node) {
  90453. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90454. },
  90455. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90456. var $async$goto = 0,
  90457. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90458. $async$self = this;
  90459. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90460. if ($async$errorCode === 1)
  90461. return A._asyncRethrow($async$result, $async$completer);
  90462. while (true)
  90463. switch ($async$goto) {
  90464. case 0:
  90465. // Function start
  90466. $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));
  90467. // implicit return
  90468. return A._asyncReturn(null, $async$completer);
  90469. }
  90470. });
  90471. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90472. },
  90473. visitCssImport$1(node) {
  90474. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90475. },
  90476. visitCssImport$body$_EvaluateVisitor0(node) {
  90477. var $async$goto = 0,
  90478. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90479. $async$self = this, t1, modifiableNode;
  90480. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90481. if ($async$errorCode === 1)
  90482. return A._asyncRethrow($async$result, $async$completer);
  90483. while (true)
  90484. switch ($async$goto) {
  90485. case 0:
  90486. // Function start
  90487. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90488. 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"))
  90489. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90490. 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)) {
  90491. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90492. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90493. } else {
  90494. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90495. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90496. }
  90497. // implicit return
  90498. return A._asyncReturn(null, $async$completer);
  90499. }
  90500. });
  90501. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90502. },
  90503. visitCssKeyframeBlock$1(node) {
  90504. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90505. },
  90506. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90507. var $async$goto = 0,
  90508. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90509. $async$self = this;
  90510. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90511. if ($async$errorCode === 1)
  90512. return A._asyncRethrow($async$result, $async$completer);
  90513. while (true)
  90514. switch ($async$goto) {
  90515. case 0:
  90516. // Function start
  90517. $async$goto = 2;
  90518. 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);
  90519. case 2:
  90520. // returning from await.
  90521. // implicit return
  90522. return A._asyncReturn(null, $async$completer);
  90523. }
  90524. });
  90525. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  90526. },
  90527. visitCssMediaRule$1(node) {
  90528. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  90529. },
  90530. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  90531. var $async$goto = 0,
  90532. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90533. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  90534. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90535. if ($async$errorCode === 1)
  90536. return A._asyncRethrow($async$result, $async$completer);
  90537. while (true)
  90538. switch ($async$goto) {
  90539. case 0:
  90540. // Function start
  90541. if ($async$self._async_evaluate0$_declarationName != null)
  90542. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  90543. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  90544. t1 = mergedQueries == null;
  90545. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  90546. // goto return
  90547. $async$goto = 1;
  90548. break;
  90549. }
  90550. if (t1)
  90551. mergedSources = B.Set_empty6;
  90552. else {
  90553. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  90554. t2.toString;
  90555. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  90556. t3 = $async$self._async_evaluate0$_mediaQueries;
  90557. t3.toString;
  90558. t2.addAll$1(0, t3);
  90559. t2.addAll$1(0, node.queries);
  90560. mergedSources = t2;
  90561. }
  90562. t1 = t1 ? node.queries : mergedQueries;
  90563. $async$goto = 3;
  90564. 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);
  90565. case 3:
  90566. // returning from await.
  90567. case 1:
  90568. // return
  90569. return A._asyncReturn($async$returnValue, $async$completer);
  90570. }
  90571. });
  90572. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  90573. },
  90574. visitCssStyleRule$1(node) {
  90575. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  90576. },
  90577. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  90578. var $async$goto = 0,
  90579. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90580. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  90581. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90582. if ($async$errorCode === 1)
  90583. return A._asyncRethrow($async$result, $async$completer);
  90584. while (true)
  90585. switch ($async$goto) {
  90586. case 0:
  90587. // Function start
  90588. if ($async$self._async_evaluate0$_declarationName != null)
  90589. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  90590. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  90591. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  90592. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90593. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90594. _0_0 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90595. $label0$0: {
  90596. if (_0_0 == null) {
  90597. t1 = true;
  90598. break $label0$0;
  90599. }
  90600. if (_0_0.fromPlainCss) {
  90601. t1 = false;
  90602. break $label0$0;
  90603. }
  90604. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  90605. break $label0$0;
  90606. }
  90607. t2 = node._style_rule0$_selector._box0$_inner;
  90608. if (t1) {
  90609. t2 = t2.value;
  90610. t3 = styleRule == null ? null : styleRule.originalSelector;
  90611. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  90612. } else
  90613. originalSelector = t2.value;
  90614. 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);
  90615. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90616. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  90617. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  90618. $async$goto = 2;
  90619. 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);
  90620. case 2:
  90621. // returning from await.
  90622. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  90623. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  90624. t2 = J.getInterceptor$asx(t1);
  90625. _1_1 = t2.get$length(t1);
  90626. if (_1_1 >= 1) {
  90627. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  90628. t1 = styleRule == null;
  90629. } else {
  90630. lastChild = null;
  90631. t1 = false;
  90632. }
  90633. if (t1)
  90634. lastChild.isGroupEnd = true;
  90635. // implicit return
  90636. return A._asyncReturn(null, $async$completer);
  90637. }
  90638. });
  90639. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  90640. },
  90641. visitCssStylesheet$1(node) {
  90642. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  90643. },
  90644. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  90645. var $async$goto = 0,
  90646. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90647. $async$self = this, t1;
  90648. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90649. if ($async$errorCode === 1)
  90650. return A._asyncRethrow($async$result, $async$completer);
  90651. while (true)
  90652. switch ($async$goto) {
  90653. case 0:
  90654. // Function start
  90655. t1 = J.get$iterator$ax(node.get$children(node));
  90656. case 2:
  90657. // for condition
  90658. if (!t1.moveNext$0()) {
  90659. // goto after for
  90660. $async$goto = 3;
  90661. break;
  90662. }
  90663. $async$goto = 4;
  90664. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  90665. case 4:
  90666. // returning from await.
  90667. // goto for condition
  90668. $async$goto = 2;
  90669. break;
  90670. case 3:
  90671. // after for
  90672. // implicit return
  90673. return A._asyncReturn(null, $async$completer);
  90674. }
  90675. });
  90676. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  90677. },
  90678. visitCssSupportsRule$1(node) {
  90679. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  90680. },
  90681. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  90682. var $async$goto = 0,
  90683. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90684. $async$self = this;
  90685. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90686. if ($async$errorCode === 1)
  90687. return A._asyncRethrow($async$result, $async$completer);
  90688. while (true)
  90689. switch ($async$goto) {
  90690. case 0:
  90691. // Function start
  90692. if ($async$self._async_evaluate0$_declarationName != null)
  90693. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  90694. $async$goto = 2;
  90695. 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);
  90696. case 2:
  90697. // returning from await.
  90698. // implicit return
  90699. return A._asyncReturn(null, $async$completer);
  90700. }
  90701. });
  90702. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  90703. },
  90704. _async_evaluate0$_handleReturn$1$2(list, callback) {
  90705. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  90706. },
  90707. _async_evaluate0$_handleReturn$2(list, callback) {
  90708. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  90709. },
  90710. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  90711. var $async$goto = 0,
  90712. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  90713. $async$returnValue, t1, _i, _0_0;
  90714. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90715. if ($async$errorCode === 1)
  90716. return A._asyncRethrow($async$result, $async$completer);
  90717. while (true)
  90718. switch ($async$goto) {
  90719. case 0:
  90720. // Function start
  90721. t1 = list.length, _i = 0;
  90722. case 3:
  90723. // for condition
  90724. if (!(_i < list.length)) {
  90725. // goto after for
  90726. $async$goto = 5;
  90727. break;
  90728. }
  90729. $async$goto = 6;
  90730. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  90731. case 6:
  90732. // returning from await.
  90733. _0_0 = $async$result;
  90734. if (_0_0 != null) {
  90735. $async$returnValue = _0_0;
  90736. // goto return
  90737. $async$goto = 1;
  90738. break;
  90739. }
  90740. case 4:
  90741. // for update
  90742. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  90743. // goto for condition
  90744. $async$goto = 3;
  90745. break;
  90746. case 5:
  90747. // after for
  90748. $async$returnValue = null;
  90749. // goto return
  90750. $async$goto = 1;
  90751. break;
  90752. case 1:
  90753. // return
  90754. return A._asyncReturn($async$returnValue, $async$completer);
  90755. }
  90756. });
  90757. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  90758. },
  90759. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  90760. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  90761. },
  90762. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  90763. var $async$goto = 0,
  90764. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90765. $async$returnValue, $async$self = this, result, oldEnvironment;
  90766. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90767. if ($async$errorCode === 1)
  90768. return A._asyncRethrow($async$result, $async$completer);
  90769. while (true)
  90770. switch ($async$goto) {
  90771. case 0:
  90772. // Function start
  90773. oldEnvironment = $async$self._async_evaluate0$_environment;
  90774. $async$self._async_evaluate0$_environment = environment;
  90775. $async$goto = 3;
  90776. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  90777. case 3:
  90778. // returning from await.
  90779. result = $async$result;
  90780. $async$self._async_evaluate0$_environment = oldEnvironment;
  90781. $async$returnValue = result;
  90782. // goto return
  90783. $async$goto = 1;
  90784. break;
  90785. case 1:
  90786. // return
  90787. return A._asyncReturn($async$returnValue, $async$completer);
  90788. }
  90789. });
  90790. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  90791. },
  90792. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  90793. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  90794. },
  90795. _async_evaluate0$_interpolationToValue$1(interpolation) {
  90796. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  90797. },
  90798. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  90799. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  90800. },
  90801. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  90802. var $async$goto = 0,
  90803. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  90804. $async$returnValue, $async$self = this, result, t1;
  90805. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90806. if ($async$errorCode === 1)
  90807. return A._asyncRethrow($async$result, $async$completer);
  90808. while (true)
  90809. switch ($async$goto) {
  90810. case 0:
  90811. // Function start
  90812. $async$goto = 3;
  90813. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  90814. case 3:
  90815. // returning from await.
  90816. result = $async$result;
  90817. t1 = trim ? A.trimAscii0(result, true) : result;
  90818. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  90819. // goto return
  90820. $async$goto = 1;
  90821. break;
  90822. case 1:
  90823. // return
  90824. return A._asyncReturn($async$returnValue, $async$completer);
  90825. }
  90826. });
  90827. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  90828. },
  90829. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  90830. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  90831. },
  90832. _async_evaluate0$_performInterpolation$1(interpolation) {
  90833. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  90834. },
  90835. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90836. var $async$goto = 0,
  90837. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90838. $async$returnValue, $async$self = this;
  90839. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90840. if ($async$errorCode === 1)
  90841. return A._asyncRethrow($async$result, $async$completer);
  90842. while (true)
  90843. switch ($async$goto) {
  90844. case 0:
  90845. // Function start
  90846. $async$goto = 3;
  90847. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  90848. case 3:
  90849. // returning from await.
  90850. $async$returnValue = $async$result._0;
  90851. // goto return
  90852. $async$goto = 1;
  90853. break;
  90854. case 1:
  90855. // return
  90856. return A._asyncReturn($async$returnValue, $async$completer);
  90857. }
  90858. });
  90859. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  90860. },
  90861. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  90862. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  90863. },
  90864. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90865. var $async$goto = 0,
  90866. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  90867. $async$returnValue, $async$self = this, _0_0, result, map;
  90868. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90869. if ($async$errorCode === 1)
  90870. return A._asyncRethrow($async$result, $async$completer);
  90871. while (true)
  90872. switch ($async$goto) {
  90873. case 0:
  90874. // Function start
  90875. $async$goto = 3;
  90876. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  90877. case 3:
  90878. // returning from await.
  90879. _0_0 = $async$result;
  90880. result = _0_0._0;
  90881. map = _0_0._1;
  90882. map.toString;
  90883. $async$returnValue = new A._Record_2(result, map);
  90884. // goto return
  90885. $async$goto = 1;
  90886. break;
  90887. case 1:
  90888. // return
  90889. return A._asyncReturn($async$returnValue, $async$completer);
  90890. }
  90891. });
  90892. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  90893. },
  90894. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  90895. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  90896. },
  90897. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  90898. var $async$goto = 0,
  90899. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  90900. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  90901. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90902. if ($async$errorCode === 1)
  90903. return A._asyncRethrow($async$result, $async$completer);
  90904. while (true)
  90905. switch ($async$goto) {
  90906. case 0:
  90907. // Function start
  90908. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  90909. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90910. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90911. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  90912. case 3:
  90913. // for condition
  90914. if (!(_i < t2)) {
  90915. // goto after for
  90916. $async$goto = 5;
  90917. break;
  90918. }
  90919. value = t1[_i];
  90920. if (!first)
  90921. if (!t4)
  90922. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  90923. if (typeof value == "string") {
  90924. t7 += value;
  90925. // goto for update
  90926. $async$goto = 4;
  90927. break;
  90928. }
  90929. t3._as(value);
  90930. $async$goto = 6;
  90931. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  90932. case 6:
  90933. // returning from await.
  90934. result = $async$result;
  90935. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  90936. result0 = A.List_List$from([""], false, t6);
  90937. result0.$flags = 3;
  90938. t8 = $.$get$namesByColor0();
  90939. $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));
  90940. }
  90941. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  90942. case 4:
  90943. // for update
  90944. ++_i, first = false;
  90945. // goto for condition
  90946. $async$goto = 3;
  90947. break;
  90948. case 5:
  90949. // after for
  90950. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90951. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  90952. // goto return
  90953. $async$goto = 1;
  90954. break;
  90955. case 1:
  90956. // return
  90957. return A._asyncReturn($async$returnValue, $async$completer);
  90958. }
  90959. });
  90960. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  90961. },
  90962. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  90963. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  90964. },
  90965. _async_evaluate0$_evaluateToCss$1(expression) {
  90966. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  90967. },
  90968. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  90969. var $async$goto = 0,
  90970. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90971. $async$returnValue, $async$self = this, t1;
  90972. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90973. if ($async$errorCode === 1)
  90974. return A._asyncRethrow($async$result, $async$completer);
  90975. while (true)
  90976. switch ($async$goto) {
  90977. case 0:
  90978. // Function start
  90979. t1 = expression.accept$1($async$self);
  90980. $async$goto = 3;
  90981. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  90982. case 3:
  90983. // returning from await.
  90984. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  90985. // goto return
  90986. $async$goto = 1;
  90987. break;
  90988. case 1:
  90989. // return
  90990. return A._asyncReturn($async$returnValue, $async$completer);
  90991. }
  90992. });
  90993. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  90994. },
  90995. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  90996. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  90997. },
  90998. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  90999. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  91000. },
  91001. _async_evaluate0$_expressionNode$1(expression) {
  91002. var t1;
  91003. if (expression instanceof A.VariableExpression0) {
  91004. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  91005. return t1 == null ? expression : t1;
  91006. } else
  91007. return expression;
  91008. },
  91009. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  91010. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  91011. },
  91012. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  91013. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  91014. },
  91015. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  91016. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  91017. },
  91018. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  91019. var $async$goto = 0,
  91020. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91021. $async$returnValue, $async$self = this, oldParent, result;
  91022. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91023. if ($async$errorCode === 1)
  91024. return A._asyncRethrow($async$result, $async$completer);
  91025. while (true)
  91026. switch ($async$goto) {
  91027. case 0:
  91028. // Function start
  91029. $async$self._async_evaluate0$_addChild$2$through(node, through);
  91030. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  91031. $async$self._async_evaluate0$__parent = node;
  91032. $async$goto = 3;
  91033. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  91034. case 3:
  91035. // returning from await.
  91036. result = $async$result;
  91037. $async$self._async_evaluate0$__parent = oldParent;
  91038. $async$returnValue = result;
  91039. // goto return
  91040. $async$goto = 1;
  91041. break;
  91042. case 1:
  91043. // return
  91044. return A._asyncReturn($async$returnValue, $async$completer);
  91045. }
  91046. });
  91047. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  91048. },
  91049. _async_evaluate0$_addChild$2$through(node, through) {
  91050. var _0_0, grandparent, t1,
  91051. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  91052. if (through != null) {
  91053. for (; through.call$1($parent); $parent = _0_0) {
  91054. _0_0 = $parent._node$_parent;
  91055. if (_0_0 == null)
  91056. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  91057. }
  91058. if ($parent.get$hasFollowingSibling()) {
  91059. grandparent = $parent._node$_parent;
  91060. t1 = grandparent.children;
  91061. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  91062. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  91063. else {
  91064. $parent = $parent.copyWithoutChildren$0();
  91065. grandparent.addChild$1($parent);
  91066. }
  91067. }
  91068. }
  91069. $parent.addChild$1(node);
  91070. },
  91071. _async_evaluate0$_addChild$1(node) {
  91072. return this._async_evaluate0$_addChild$2$through(node, null);
  91073. },
  91074. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  91075. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  91076. },
  91077. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  91078. var $async$goto = 0,
  91079. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91080. $async$returnValue, $async$self = this, result, oldRule;
  91081. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91082. if ($async$errorCode === 1)
  91083. return A._asyncRethrow($async$result, $async$completer);
  91084. while (true)
  91085. switch ($async$goto) {
  91086. case 0:
  91087. // Function start
  91088. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91089. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  91090. $async$goto = 3;
  91091. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  91092. case 3:
  91093. // returning from await.
  91094. result = $async$result;
  91095. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  91096. $async$returnValue = result;
  91097. // goto return
  91098. $async$goto = 1;
  91099. break;
  91100. case 1:
  91101. // return
  91102. return A._asyncReturn($async$returnValue, $async$completer);
  91103. }
  91104. });
  91105. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  91106. },
  91107. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  91108. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  91109. },
  91110. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  91111. var $async$goto = 0,
  91112. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91113. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  91114. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91115. if ($async$errorCode === 1)
  91116. return A._asyncRethrow($async$result, $async$completer);
  91117. while (true)
  91118. switch ($async$goto) {
  91119. case 0:
  91120. // Function start
  91121. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  91122. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  91123. $async$self._async_evaluate0$_mediaQueries = queries;
  91124. $async$self._async_evaluate0$_mediaQuerySources = sources;
  91125. $async$goto = 3;
  91126. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  91127. case 3:
  91128. // returning from await.
  91129. result = $async$result;
  91130. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  91131. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  91132. $async$returnValue = result;
  91133. // goto return
  91134. $async$goto = 1;
  91135. break;
  91136. case 1:
  91137. // return
  91138. return A._asyncReturn($async$returnValue, $async$completer);
  91139. }
  91140. });
  91141. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  91142. },
  91143. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  91144. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  91145. },
  91146. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  91147. var $async$goto = 0,
  91148. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91149. $async$returnValue, $async$self = this, oldMember, result, t1;
  91150. var $async$_async_evaluate0$_withStackFrame$1$3 = 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. t1 = $async$self._async_evaluate0$_stack;
  91158. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  91159. oldMember = $async$self._async_evaluate0$_member;
  91160. $async$self._async_evaluate0$_member = member;
  91161. $async$goto = 3;
  91162. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  91163. case 3:
  91164. // returning from await.
  91165. result = $async$result;
  91166. $async$self._async_evaluate0$_member = oldMember;
  91167. t1.pop();
  91168. $async$returnValue = result;
  91169. // goto return
  91170. $async$goto = 1;
  91171. break;
  91172. case 1:
  91173. // return
  91174. return A._asyncReturn($async$returnValue, $async$completer);
  91175. }
  91176. });
  91177. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  91178. },
  91179. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  91180. var t1;
  91181. if (value instanceof A.SassNumber0)
  91182. t1 = value.asSlash != null;
  91183. else
  91184. t1 = false;
  91185. if (t1)
  91186. 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);
  91187. return value.withoutSlash$0();
  91188. },
  91189. _async_evaluate0$_stackFrame$2(member, span) {
  91190. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  91191. },
  91192. _async_evaluate0$_stackTrace$1(span) {
  91193. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  91194. t1 = A._setArrayType([], type$.JSArray_Frame);
  91195. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  91196. t4 = t2[_i];
  91197. nodeWithSpan = t4._1;
  91198. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  91199. }
  91200. if (span != null)
  91201. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  91202. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  91203. },
  91204. _async_evaluate0$_stackTrace$0() {
  91205. return this._async_evaluate0$_stackTrace$1(null);
  91206. },
  91207. _async_evaluate0$_warn$3(message, span, deprecation) {
  91208. var trace, t1, _this = this;
  91209. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91210. return;
  91211. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91212. return;
  91213. trace = _this._async_evaluate0$_stackTrace$1(span);
  91214. t1 = _this._async_evaluate0$_logger;
  91215. if (deprecation == null)
  91216. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91217. else
  91218. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91219. },
  91220. _async_evaluate0$_warn$2(message, span) {
  91221. return this._async_evaluate0$_warn$3(message, span, null);
  91222. },
  91223. _async_evaluate0$_exception$2(message, span) {
  91224. var t1, t2;
  91225. if (span == null) {
  91226. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91227. t1 = t1.get$span(t1);
  91228. } else
  91229. t1 = span;
  91230. t2 = this._async_evaluate0$_stackTrace$1(span);
  91231. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91232. },
  91233. _async_evaluate0$_exception$1(message) {
  91234. return this._async_evaluate0$_exception$2(message, null);
  91235. },
  91236. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91237. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91238. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91239. },
  91240. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91241. var error, stackTrace, t1, exception,
  91242. addStackFrame = true;
  91243. try {
  91244. t1 = callback.call$0();
  91245. return t1;
  91246. } catch (exception) {
  91247. t1 = A.unwrapException(exception);
  91248. if (t1 instanceof A.SassScriptException0) {
  91249. error = t1;
  91250. stackTrace = A.getTraceFromException(exception);
  91251. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91252. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91253. } else
  91254. throw exception;
  91255. }
  91256. },
  91257. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91258. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91259. },
  91260. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91261. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91262. },
  91263. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91264. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91265. },
  91266. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91267. var $async$goto = 0,
  91268. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91269. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91270. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91271. if ($async$errorCode === 1) {
  91272. $async$errorStack.push($async$result);
  91273. $async$goto = $async$handler;
  91274. }
  91275. while (true)
  91276. switch ($async$goto) {
  91277. case 0:
  91278. // Function start
  91279. $async$handler = 4;
  91280. t1 = callback.call$0();
  91281. $async$goto = 7;
  91282. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91283. case 7:
  91284. // returning from await.
  91285. t1 = $async$result;
  91286. $async$returnValue = t1;
  91287. // goto return
  91288. $async$goto = 1;
  91289. break;
  91290. $async$handler = 2;
  91291. // goto after finally
  91292. $async$goto = 6;
  91293. break;
  91294. case 4:
  91295. // catch
  91296. $async$handler = 3;
  91297. $async$exception = $async$errorStack.pop();
  91298. t1 = A.unwrapException($async$exception);
  91299. if (t1 instanceof A.SassScriptException0) {
  91300. error = t1;
  91301. stackTrace = A.getTraceFromException($async$exception);
  91302. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91303. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91304. } else
  91305. throw $async$exception;
  91306. // goto after finally
  91307. $async$goto = 6;
  91308. break;
  91309. case 3:
  91310. // uncaught
  91311. // goto rethrow
  91312. $async$goto = 2;
  91313. break;
  91314. case 6:
  91315. // after finally
  91316. case 1:
  91317. // return
  91318. return A._asyncReturn($async$returnValue, $async$completer);
  91319. case 2:
  91320. // rethrow
  91321. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91322. }
  91323. });
  91324. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91325. },
  91326. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91327. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91328. },
  91329. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91330. var $async$goto = 0,
  91331. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91332. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91333. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91334. if ($async$errorCode === 1) {
  91335. $async$errorStack.push($async$result);
  91336. $async$goto = $async$handler;
  91337. }
  91338. while (true)
  91339. switch ($async$goto) {
  91340. case 0:
  91341. // Function start
  91342. $async$handler = 4;
  91343. t1 = callback.call$0();
  91344. $async$goto = 7;
  91345. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91346. case 7:
  91347. // returning from await.
  91348. t1 = $async$result;
  91349. $async$returnValue = t1;
  91350. // goto return
  91351. $async$goto = 1;
  91352. break;
  91353. $async$handler = 2;
  91354. // goto after finally
  91355. $async$goto = 6;
  91356. break;
  91357. case 4:
  91358. // catch
  91359. $async$handler = 3;
  91360. $async$exception = $async$errorStack.pop();
  91361. t1 = A.unwrapException($async$exception);
  91362. if (type$.SassRuntimeException_2._is(t1))
  91363. throw $async$exception;
  91364. else if (t1 instanceof A.SassException0) {
  91365. error = t1;
  91366. stackTrace = A.getTraceFromException($async$exception);
  91367. t1 = error;
  91368. t2 = J.getInterceptor$z(t1);
  91369. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91370. } else
  91371. throw $async$exception;
  91372. // goto after finally
  91373. $async$goto = 6;
  91374. break;
  91375. case 3:
  91376. // uncaught
  91377. // goto rethrow
  91378. $async$goto = 2;
  91379. break;
  91380. case 6:
  91381. // after finally
  91382. case 1:
  91383. // return
  91384. return A._asyncReturn($async$returnValue, $async$completer);
  91385. case 2:
  91386. // rethrow
  91387. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91388. }
  91389. });
  91390. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91391. },
  91392. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91393. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91394. },
  91395. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91396. var $async$goto = 0,
  91397. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91398. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91399. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91400. if ($async$errorCode === 1) {
  91401. $async$errorStack.push($async$result);
  91402. $async$goto = $async$handler;
  91403. }
  91404. while (true)
  91405. switch ($async$goto) {
  91406. case 0:
  91407. // Function start
  91408. $async$handler = 4;
  91409. $async$goto = 7;
  91410. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91411. case 7:
  91412. // returning from await.
  91413. t1 = $async$result;
  91414. $async$returnValue = t1;
  91415. // goto return
  91416. $async$goto = 1;
  91417. break;
  91418. $async$handler = 2;
  91419. // goto after finally
  91420. $async$goto = 6;
  91421. break;
  91422. case 4:
  91423. // catch
  91424. $async$handler = 3;
  91425. $async$exception = $async$errorStack.pop();
  91426. t1 = A.unwrapException($async$exception);
  91427. if (type$.SassRuntimeException_2._is(t1)) {
  91428. error = t1;
  91429. stackTrace = A.getTraceFromException($async$exception);
  91430. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91431. throw $async$exception;
  91432. t1 = error._span_exception$_message;
  91433. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91434. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91435. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91436. } else
  91437. throw $async$exception;
  91438. // goto after finally
  91439. $async$goto = 6;
  91440. break;
  91441. case 3:
  91442. // uncaught
  91443. // goto rethrow
  91444. $async$goto = 2;
  91445. break;
  91446. case 6:
  91447. // after finally
  91448. case 1:
  91449. // return
  91450. return A._asyncReturn($async$returnValue, $async$completer);
  91451. case 2:
  91452. // rethrow
  91453. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91454. }
  91455. });
  91456. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91457. },
  91458. _async_evaluate0$_getErrorMessage$1(error) {
  91459. var t1, exception;
  91460. if (type$.Error._is(error))
  91461. return error.toString$0(0);
  91462. try {
  91463. t1 = A._asString(J.get$message$x(error));
  91464. return t1;
  91465. } catch (exception) {
  91466. t1 = J.toString$0$(error);
  91467. return t1;
  91468. }
  91469. },
  91470. $isExpressionVisitor: 1,
  91471. $isStatementVisitor: 1
  91472. };
  91473. A._EvaluateVisitor_closure38.prototype = {
  91474. call$1($arguments) {
  91475. var module, t2,
  91476. t1 = J.getInterceptor$asx($arguments),
  91477. variable = t1.$index($arguments, 0).assertString$1("name");
  91478. t1 = t1.$index($arguments, 1).get$realNull();
  91479. module = t1 == null ? null : t1.assertString$1("module");
  91480. t1 = this.$this._async_evaluate0$_environment;
  91481. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91482. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91483. },
  91484. $signature: 11
  91485. };
  91486. A._EvaluateVisitor_closure39.prototype = {
  91487. call$1($arguments) {
  91488. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91489. t1 = this.$this._async_evaluate0$_environment;
  91490. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91491. },
  91492. $signature: 11
  91493. };
  91494. A._EvaluateVisitor_closure40.prototype = {
  91495. call$1($arguments) {
  91496. var module, t2, t3, t4,
  91497. t1 = J.getInterceptor$asx($arguments),
  91498. variable = t1.$index($arguments, 0).assertString$1("name");
  91499. t1 = t1.$index($arguments, 1).get$realNull();
  91500. module = t1 == null ? null : t1.assertString$1("module");
  91501. t1 = this.$this;
  91502. t2 = t1._async_evaluate0$_environment;
  91503. t3 = variable._string0$_text;
  91504. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  91505. 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;
  91506. },
  91507. $signature: 11
  91508. };
  91509. A._EvaluateVisitor_closure41.prototype = {
  91510. call$1($arguments) {
  91511. var module, t2,
  91512. t1 = J.getInterceptor$asx($arguments),
  91513. variable = t1.$index($arguments, 0).assertString$1("name");
  91514. t1 = t1.$index($arguments, 1).get$realNull();
  91515. module = t1 == null ? null : t1.assertString$1("module");
  91516. t1 = this.$this._async_evaluate0$_environment;
  91517. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91518. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91519. },
  91520. $signature: 11
  91521. };
  91522. A._EvaluateVisitor_closure42.prototype = {
  91523. call$1($arguments) {
  91524. var t1 = this.$this._async_evaluate0$_environment;
  91525. if (!t1._async_environment0$_inMixin)
  91526. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  91527. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91528. },
  91529. $signature: 11
  91530. };
  91531. A._EvaluateVisitor_closure43.prototype = {
  91532. call$1($arguments) {
  91533. var t2, t3, t4,
  91534. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91535. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91536. if (module == null)
  91537. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91538. t1 = type$.Value_2;
  91539. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91540. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91541. t4 = t3.get$current(t3);
  91542. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  91543. }
  91544. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91545. },
  91546. $signature: 38
  91547. };
  91548. A._EvaluateVisitor_closure44.prototype = {
  91549. call$1($arguments) {
  91550. var t3, t4, t5,
  91551. t1 = this.$this,
  91552. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91553. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91554. if (module == null)
  91555. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91556. t2 = type$.Value_2;
  91557. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91558. 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();) {
  91559. t5 = t4.get$current(t4);
  91560. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  91561. }
  91562. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91563. },
  91564. $signature: 38
  91565. };
  91566. A._EvaluateVisitor_closure45.prototype = {
  91567. call$1($arguments) {
  91568. var t3, t4, t5,
  91569. t1 = this.$this,
  91570. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91571. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91572. if (module == null)
  91573. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91574. t2 = type$.Value_2;
  91575. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91576. 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();) {
  91577. t5 = t4.get$current(t4);
  91578. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  91579. }
  91580. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91581. },
  91582. $signature: 38
  91583. };
  91584. A._EvaluateVisitor_closure46.prototype = {
  91585. call$1($arguments) {
  91586. var module, t2, callable,
  91587. t1 = J.getInterceptor$asx($arguments),
  91588. $name = t1.$index($arguments, 0).assertString$1("name"),
  91589. css = t1.$index($arguments, 1).get$isTruthy();
  91590. t1 = t1.$index($arguments, 2).get$realNull();
  91591. module = t1 == null ? null : t1.assertString$1("module");
  91592. if (css) {
  91593. if (module != null)
  91594. throw A.wrapException(string$.x24css_a);
  91595. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._async_evaluate0$_compileContext);
  91596. }
  91597. t1 = this.$this;
  91598. t2 = t1._async_evaluate0$_callableNode;
  91599. t2.toString;
  91600. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  91601. if (callable == null)
  91602. throw A.wrapException("Function not found: " + $name.toString$0(0));
  91603. return new A.SassFunction0(callable, t1._async_evaluate0$_compileContext);
  91604. },
  91605. $signature: 205
  91606. };
  91607. A._EvaluateVisitor__closure14.prototype = {
  91608. call$0() {
  91609. var local,
  91610. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91611. t1 = this.module,
  91612. namespace = t1 == null ? null : t1._string0$_text;
  91613. t1 = this.$this;
  91614. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  91615. if (local != null || namespace != null)
  91616. return local;
  91617. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  91618. },
  91619. $signature: 97
  91620. };
  91621. A._EvaluateVisitor_closure47.prototype = {
  91622. call$1($arguments) {
  91623. var module, t2, callable,
  91624. t1 = J.getInterceptor$asx($arguments),
  91625. $name = t1.$index($arguments, 0).assertString$1("name");
  91626. t1 = t1.$index($arguments, 1).get$realNull();
  91627. module = t1 == null ? null : t1.assertString$1("module");
  91628. t1 = this.$this;
  91629. t2 = t1._async_evaluate0$_callableNode;
  91630. t2.toString;
  91631. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  91632. if (callable == null)
  91633. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  91634. return new A.SassMixin0(callable, t1._async_evaluate0$_compileContext);
  91635. },
  91636. $signature: 206
  91637. };
  91638. A._EvaluateVisitor__closure13.prototype = {
  91639. call$0() {
  91640. var t1 = this.$this._async_evaluate0$_environment,
  91641. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91642. t3 = this.module;
  91643. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  91644. },
  91645. $signature: 97
  91646. };
  91647. A._EvaluateVisitor_closure48.prototype = {
  91648. call$1($arguments) {
  91649. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  91650. },
  91651. $call$body$_EvaluateVisitor_closure4($arguments) {
  91652. var $async$goto = 0,
  91653. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91654. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  91655. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91656. if ($async$errorCode === 1)
  91657. return A._asyncRethrow($async$result, $async$completer);
  91658. while (true)
  91659. switch ($async$goto) {
  91660. case 0:
  91661. // Function start
  91662. t1 = J.getInterceptor$asx($arguments);
  91663. $function = t1.$index($arguments, 0);
  91664. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91665. t1 = $async$self.$this;
  91666. t2 = t1._async_evaluate0$_callableNode;
  91667. t2.toString;
  91668. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  91669. t4 = type$.String;
  91670. t5 = type$.Expression_2;
  91671. t6 = t2.get$span(t2);
  91672. t7 = t2.get$span(t2);
  91673. args._argument_list$_wereKeywordsAccessed = true;
  91674. t8 = args._argument_list$_keywords;
  91675. if (t8.get$isEmpty(t8))
  91676. t2 = null;
  91677. else {
  91678. t9 = type$.Value_2;
  91679. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  91680. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  91681. t11 = t8.get$current(t8);
  91682. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  91683. }
  91684. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  91685. }
  91686. 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);
  91687. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  91688. break;
  91689. case 3:
  91690. // then
  91691. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  91692. callableNode = t1._async_evaluate0$_callableNode;
  91693. t2 = $function._string0$_text;
  91694. t3 = callableNode.get$span(callableNode);
  91695. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  91696. $async$goto = 5;
  91697. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  91698. case 5:
  91699. // returning from await.
  91700. $async$returnValue = $async$result;
  91701. // goto return
  91702. $async$goto = 1;
  91703. break;
  91704. case 4:
  91705. // join
  91706. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate0$_compileContext);
  91707. t3 = t1._async_evaluate0$_callableNode;
  91708. t3.toString;
  91709. $async$goto = 6;
  91710. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  91711. case 6:
  91712. // returning from await.
  91713. t3 = $async$result;
  91714. $async$returnValue = t3;
  91715. // goto return
  91716. $async$goto = 1;
  91717. break;
  91718. case 1:
  91719. // return
  91720. return A._asyncReturn($async$returnValue, $async$completer);
  91721. }
  91722. });
  91723. return A._asyncStartSync($async$call$1, $async$completer);
  91724. },
  91725. $signature: 109
  91726. };
  91727. A._EvaluateVisitor_closure49.prototype = {
  91728. call$1($arguments) {
  91729. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  91730. },
  91731. $call$body$_EvaluateVisitor_closure3($arguments) {
  91732. var $async$goto = 0,
  91733. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91734. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  91735. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91736. if ($async$errorCode === 1)
  91737. return A._asyncRethrow($async$result, $async$completer);
  91738. while (true)
  91739. switch ($async$goto) {
  91740. case 0:
  91741. // Function start
  91742. t1 = J.getInterceptor$asx($arguments);
  91743. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  91744. t1 = t1.$index($arguments, 1).get$realNull();
  91745. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  91746. t1 = $async$self.$this;
  91747. t2 = t1._async_evaluate0$_callableNode;
  91748. t2.toString;
  91749. if (withMap != null) {
  91750. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  91751. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  91752. configuration = new A.ExplicitConfiguration0(t2, values, null);
  91753. } else
  91754. configuration = B.Configuration_Map_empty_null0;
  91755. t3 = t2.get$span(t2);
  91756. $async$goto = 2;
  91757. 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);
  91758. case 2:
  91759. // returning from await.
  91760. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  91761. // implicit return
  91762. return A._asyncReturn(null, $async$completer);
  91763. }
  91764. });
  91765. return A._asyncStartSync($async$call$1, $async$completer);
  91766. },
  91767. $signature: 207
  91768. };
  91769. A._EvaluateVisitor__closure11.prototype = {
  91770. call$2(variable, value) {
  91771. var t1 = variable.assertString$1("with key"),
  91772. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  91773. t1 = this.values;
  91774. if (t1.containsKey$1($name))
  91775. throw A.wrapException("The variable $" + $name + " was configured twice.");
  91776. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  91777. },
  91778. $signature: 107
  91779. };
  91780. A._EvaluateVisitor__closure12.prototype = {
  91781. call$2(module, _) {
  91782. var t1 = this.$this;
  91783. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  91784. },
  91785. $signature: 327
  91786. };
  91787. A._EvaluateVisitor_closure50.prototype = {
  91788. call$1($arguments) {
  91789. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  91790. },
  91791. $call$body$_EvaluateVisitor_closure2($arguments) {
  91792. var $async$goto = 0,
  91793. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91794. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  91795. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91796. if ($async$errorCode === 1)
  91797. return A._asyncRethrow($async$result, $async$completer);
  91798. while (true)
  91799. switch ($async$goto) {
  91800. case 0:
  91801. // Function start
  91802. t1 = J.getInterceptor$asx($arguments);
  91803. mixin = t1.$index($arguments, 0);
  91804. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91805. t1 = $async$self.$this;
  91806. callableNode = t1._async_evaluate0$_callableNode;
  91807. t2 = callableNode.get$span(callableNode);
  91808. t3 = callableNode.get$span(callableNode);
  91809. t4 = type$.Expression_2;
  91810. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  91811. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  91812. $async$goto = 2;
  91813. 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);
  91814. case 2:
  91815. // returning from await.
  91816. // implicit return
  91817. return A._asyncReturn(null, $async$completer);
  91818. }
  91819. });
  91820. return A._asyncStartSync($async$call$1, $async$completer);
  91821. },
  91822. $signature: 207
  91823. };
  91824. A._EvaluateVisitor_run_closure2.prototype = {
  91825. call$0() {
  91826. var $async$goto = 0,
  91827. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  91828. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  91829. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91830. if ($async$errorCode === 1)
  91831. return A._asyncRethrow($async$result, $async$completer);
  91832. while (true)
  91833. switch ($async$goto) {
  91834. case 0:
  91835. // Function start
  91836. t1 = $async$self.node;
  91837. _0_0 = t1.span.file.url;
  91838. url = null;
  91839. if (_0_0 != null) {
  91840. url = _0_0;
  91841. t2 = $async$self.$this;
  91842. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  91843. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  91844. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  91845. }
  91846. t2 = $async$self.$this;
  91847. $async$goto = 3;
  91848. 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);
  91849. case 3:
  91850. // returning from await.
  91851. module = $async$result;
  91852. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  91853. // goto return
  91854. $async$goto = 1;
  91855. break;
  91856. case 1:
  91857. // return
  91858. return A._asyncReturn($async$returnValue, $async$completer);
  91859. }
  91860. });
  91861. return A._asyncStartSync($async$call$0, $async$completer);
  91862. },
  91863. $signature: 328
  91864. };
  91865. A._EvaluateVisitor_run__closure2.prototype = {
  91866. call$0() {
  91867. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  91868. },
  91869. $signature: 329
  91870. };
  91871. A._EvaluateVisitor__loadModule_closure5.prototype = {
  91872. call$0() {
  91873. return this.callback.call$2(this._box_0.builtInModule, false);
  91874. },
  91875. $signature: 0
  91876. };
  91877. A._EvaluateVisitor__loadModule_closure6.prototype = {
  91878. call$0() {
  91879. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  91880. },
  91881. $call$body$_EvaluateVisitor__loadModule_closure0() {
  91882. var $async$goto = 0,
  91883. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91884. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  91885. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91886. if ($async$errorCode === 1) {
  91887. $async$errorStack.push($async$result);
  91888. $async$goto = $async$handler;
  91889. }
  91890. while (true)
  91891. switch ($async$goto) {
  91892. case 0:
  91893. // Function start
  91894. t1 = {};
  91895. stylesheet = null;
  91896. importer = null;
  91897. t2 = $async$self.$this;
  91898. t3 = $async$self.nodeWithSpan;
  91899. $async$goto = 2;
  91900. 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);
  91901. case 2:
  91902. // returning from await.
  91903. _1_0 = $async$result;
  91904. stylesheet = _1_0._0;
  91905. importer = _1_0._1;
  91906. isDependency = _1_0._2;
  91907. canonicalUrl = stylesheet.span.file.url;
  91908. if (canonicalUrl != null) {
  91909. t4 = t2._async_evaluate0$_activeModules;
  91910. if (t4.containsKey$1(canonicalUrl)) {
  91911. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  91912. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  91913. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  91914. } else
  91915. t4.$indexSet(0, canonicalUrl, t3);
  91916. }
  91917. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  91918. oldInDependency = t2._async_evaluate0$_inDependency;
  91919. t2._async_evaluate0$_inDependency = isDependency;
  91920. t1.module = null;
  91921. $async$handler = 3;
  91922. $async$temp1 = t1;
  91923. $async$goto = 6;
  91924. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  91925. case 6:
  91926. // returning from await.
  91927. $async$temp1.module = $async$result;
  91928. $async$next.push(5);
  91929. // goto finally
  91930. $async$goto = 4;
  91931. break;
  91932. case 3:
  91933. // uncaught
  91934. $async$next = [1];
  91935. case 4:
  91936. // finally
  91937. $async$handler = 1;
  91938. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  91939. t2._async_evaluate0$_inDependency = oldInDependency;
  91940. // goto the next finally handler
  91941. $async$goto = $async$next.pop();
  91942. break;
  91943. case 5:
  91944. // after finally
  91945. $async$goto = 7;
  91946. 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);
  91947. case 7:
  91948. // returning from await.
  91949. // implicit return
  91950. return A._asyncReturn(null, $async$completer);
  91951. case 1:
  91952. // rethrow
  91953. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91954. }
  91955. });
  91956. return A._asyncStartSync($async$call$0, $async$completer);
  91957. },
  91958. $signature: 2
  91959. };
  91960. A._EvaluateVisitor__loadModule__closure5.prototype = {
  91961. call$1(previousLoad) {
  91962. 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));
  91963. },
  91964. $signature: 99
  91965. };
  91966. A._EvaluateVisitor__loadModule__closure6.prototype = {
  91967. call$0() {
  91968. return this.callback.call$2(this._box_1.module, this.firstLoad);
  91969. },
  91970. $signature: 0
  91971. };
  91972. A._EvaluateVisitor__execute_closure2.prototype = {
  91973. call$0() {
  91974. var $async$goto = 0,
  91975. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  91976. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  91977. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91978. if ($async$errorCode === 1)
  91979. return A._asyncRethrow($async$result, $async$completer);
  91980. while (true)
  91981. switch ($async$goto) {
  91982. case 0:
  91983. // Function start
  91984. t1 = $async$self.$this;
  91985. oldImporter = t1._async_evaluate0$_importer;
  91986. oldStylesheet = t1._async_evaluate0$__stylesheet;
  91987. oldRoot = t1._async_evaluate0$__root;
  91988. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  91989. oldParent = t1._async_evaluate0$__parent;
  91990. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  91991. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  91992. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  91993. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  91994. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  91995. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  91996. oldDeclarationName = t1._async_evaluate0$_declarationName;
  91997. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  91998. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  91999. oldConfiguration = t1._async_evaluate0$_configuration;
  92000. t1._async_evaluate0$_importer = $async$self.importer;
  92001. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  92002. t4 = t3.span;
  92003. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  92004. t1._async_evaluate0$__endOfImports = 0;
  92005. t1._async_evaluate0$_outOfOrderImports = null;
  92006. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  92007. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  92008. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  92009. t6 = $async$self.configuration;
  92010. if (t6 != null)
  92011. t1._async_evaluate0$_configuration = t6;
  92012. $async$goto = 2;
  92013. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  92014. case 2:
  92015. // returning from await.
  92016. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  92017. $async$self.css.__late_helper$_value = t3;
  92018. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  92019. t1._async_evaluate0$_importer = oldImporter;
  92020. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92021. t1._async_evaluate0$__root = oldRoot;
  92022. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  92023. t1._async_evaluate0$__parent = oldParent;
  92024. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92025. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92026. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  92027. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  92028. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  92029. t1._async_evaluate0$_declarationName = oldDeclarationName;
  92030. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  92031. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  92032. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  92033. t1._async_evaluate0$_configuration = oldConfiguration;
  92034. // implicit return
  92035. return A._asyncReturn(null, $async$completer);
  92036. }
  92037. });
  92038. return A._asyncStartSync($async$call$0, $async$completer);
  92039. },
  92040. $signature: 2
  92041. };
  92042. A._EvaluateVisitor__combineCss_closure5.prototype = {
  92043. call$1(module) {
  92044. return module.get$transitivelyContainsCss();
  92045. },
  92046. $signature: 94
  92047. };
  92048. A._EvaluateVisitor__combineCss_closure6.prototype = {
  92049. call$1(target) {
  92050. return !this.selectors.contains$1(0, target);
  92051. },
  92052. $signature: 13
  92053. };
  92054. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  92055. call$1(module) {
  92056. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  92057. if (!_this.seen.add$1(0, module))
  92058. return;
  92059. if (_this.clone)
  92060. module = module.cloneCss$0();
  92061. 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) {
  92062. upstream = t1[_i];
  92063. if (upstream.get$transitivelyContainsCss()) {
  92064. _1_0 = module.get$preModuleComments().$index(0, upstream);
  92065. if (_1_0 != null)
  92066. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  92067. _this.call$1(upstream);
  92068. }
  92069. }
  92070. _this.sorted.addFirst$1(module);
  92071. t1 = module.get$css(module);
  92072. statements = t1.get$children(t1);
  92073. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  92074. t1 = J.getInterceptor$ax(statements);
  92075. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  92076. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  92077. },
  92078. $signature: 331
  92079. };
  92080. A._EvaluateVisitor__extendModules_closure5.prototype = {
  92081. call$1(target) {
  92082. return !this.originalSelectors.contains$1(0, target);
  92083. },
  92084. $signature: 13
  92085. };
  92086. A._EvaluateVisitor__extendModules_closure6.prototype = {
  92087. call$0() {
  92088. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  92089. },
  92090. $signature: 209
  92091. };
  92092. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  92093. call$0() {
  92094. var $async$goto = 0,
  92095. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92096. $async$self = this, t1, t2, t3, _i;
  92097. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92098. if ($async$errorCode === 1)
  92099. return A._asyncRethrow($async$result, $async$completer);
  92100. while (true)
  92101. switch ($async$goto) {
  92102. case 0:
  92103. // Function start
  92104. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92105. case 2:
  92106. // for condition
  92107. if (!(_i < t2)) {
  92108. // goto after for
  92109. $async$goto = 4;
  92110. break;
  92111. }
  92112. $async$goto = 5;
  92113. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92114. case 5:
  92115. // returning from await.
  92116. case 3:
  92117. // for update
  92118. ++_i;
  92119. // goto for condition
  92120. $async$goto = 2;
  92121. break;
  92122. case 4:
  92123. // after for
  92124. // implicit return
  92125. return A._asyncReturn(null, $async$completer);
  92126. }
  92127. });
  92128. return A._asyncStartSync($async$call$0, $async$completer);
  92129. },
  92130. $signature: 2
  92131. };
  92132. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  92133. call$0() {
  92134. var $async$goto = 0,
  92135. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92136. $async$self = this, t1, t2, t3, _i;
  92137. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92138. if ($async$errorCode === 1)
  92139. return A._asyncRethrow($async$result, $async$completer);
  92140. while (true)
  92141. switch ($async$goto) {
  92142. case 0:
  92143. // Function start
  92144. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92145. case 2:
  92146. // for condition
  92147. if (!(_i < t2)) {
  92148. // goto after for
  92149. $async$goto = 4;
  92150. break;
  92151. }
  92152. $async$goto = 5;
  92153. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92154. case 5:
  92155. // returning from await.
  92156. case 3:
  92157. // for update
  92158. ++_i;
  92159. // goto for condition
  92160. $async$goto = 2;
  92161. break;
  92162. case 4:
  92163. // after for
  92164. // implicit return
  92165. return A._asyncReturn(null, $async$completer);
  92166. }
  92167. });
  92168. return A._asyncStartSync($async$call$0, $async$completer);
  92169. },
  92170. $signature: 32
  92171. };
  92172. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  92173. call$1(callback) {
  92174. var $async$goto = 0,
  92175. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92176. $async$self = this, t1, oldParent;
  92177. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92178. if ($async$errorCode === 1)
  92179. return A._asyncRethrow($async$result, $async$completer);
  92180. while (true)
  92181. switch ($async$goto) {
  92182. case 0:
  92183. // Function start
  92184. t1 = $async$self.$this;
  92185. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92186. t1._async_evaluate0$__parent = $async$self.newParent;
  92187. $async$goto = 2;
  92188. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  92189. case 2:
  92190. // returning from await.
  92191. t1._async_evaluate0$__parent = oldParent;
  92192. // implicit return
  92193. return A._asyncReturn(null, $async$completer);
  92194. }
  92195. });
  92196. return A._asyncStartSync($async$call$1, $async$completer);
  92197. },
  92198. $signature: 40
  92199. };
  92200. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  92201. call$1(callback) {
  92202. var $async$goto = 0,
  92203. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92204. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92205. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92206. if ($async$errorCode === 1)
  92207. return A._asyncRethrow($async$result, $async$completer);
  92208. while (true)
  92209. switch ($async$goto) {
  92210. case 0:
  92211. // Function start
  92212. t1 = $async$self.$this;
  92213. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92214. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92215. $async$goto = 2;
  92216. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92217. case 2:
  92218. // returning from await.
  92219. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92220. // implicit return
  92221. return A._asyncReturn(null, $async$completer);
  92222. }
  92223. });
  92224. return A._asyncStartSync($async$call$1, $async$completer);
  92225. },
  92226. $signature: 40
  92227. };
  92228. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92229. call$1(callback) {
  92230. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92231. },
  92232. $signature: 40
  92233. };
  92234. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92235. call$0() {
  92236. return this.innerScope.call$1(this.callback);
  92237. },
  92238. $signature: 2
  92239. };
  92240. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92241. call$1(callback) {
  92242. var $async$goto = 0,
  92243. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92244. $async$self = this, t1, wasInKeyframes;
  92245. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92246. if ($async$errorCode === 1)
  92247. return A._asyncRethrow($async$result, $async$completer);
  92248. while (true)
  92249. switch ($async$goto) {
  92250. case 0:
  92251. // Function start
  92252. t1 = $async$self.$this;
  92253. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92254. t1._async_evaluate0$_inKeyframes = false;
  92255. $async$goto = 2;
  92256. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92257. case 2:
  92258. // returning from await.
  92259. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92260. // implicit return
  92261. return A._asyncReturn(null, $async$completer);
  92262. }
  92263. });
  92264. return A._asyncStartSync($async$call$1, $async$completer);
  92265. },
  92266. $signature: 40
  92267. };
  92268. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92269. call$1($parent) {
  92270. return $parent instanceof A.ModifiableCssAtRule0;
  92271. },
  92272. $signature: 210
  92273. };
  92274. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92275. call$1(callback) {
  92276. var $async$goto = 0,
  92277. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92278. $async$self = this, t1, wasInUnknownAtRule;
  92279. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92280. if ($async$errorCode === 1)
  92281. return A._asyncRethrow($async$result, $async$completer);
  92282. while (true)
  92283. switch ($async$goto) {
  92284. case 0:
  92285. // Function start
  92286. t1 = $async$self.$this;
  92287. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92288. t1._async_evaluate0$_inUnknownAtRule = false;
  92289. $async$goto = 2;
  92290. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92291. case 2:
  92292. // returning from await.
  92293. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92294. // implicit return
  92295. return A._asyncReturn(null, $async$completer);
  92296. }
  92297. });
  92298. return A._asyncStartSync($async$call$1, $async$completer);
  92299. },
  92300. $signature: 40
  92301. };
  92302. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92303. call$0() {
  92304. var $async$goto = 0,
  92305. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92306. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92307. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92308. if ($async$errorCode === 1)
  92309. return A._asyncRethrow($async$result, $async$completer);
  92310. while (true)
  92311. switch ($async$goto) {
  92312. case 0:
  92313. // Function start
  92314. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92315. case 3:
  92316. // for condition
  92317. if (!(_i < t2)) {
  92318. // goto after for
  92319. $async$goto = 5;
  92320. break;
  92321. }
  92322. $async$goto = 6;
  92323. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92324. case 6:
  92325. // returning from await.
  92326. case 4:
  92327. // for update
  92328. ++_i;
  92329. // goto for condition
  92330. $async$goto = 3;
  92331. break;
  92332. case 5:
  92333. // after for
  92334. $async$returnValue = null;
  92335. // goto return
  92336. $async$goto = 1;
  92337. break;
  92338. case 1:
  92339. // return
  92340. return A._asyncReturn($async$returnValue, $async$completer);
  92341. }
  92342. });
  92343. return A._asyncStartSync($async$call$0, $async$completer);
  92344. },
  92345. $signature: 2
  92346. };
  92347. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92348. call$0() {
  92349. var $async$goto = 0,
  92350. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92351. $async$self = this, t1, t2, t3, _i;
  92352. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92353. if ($async$errorCode === 1)
  92354. return A._asyncRethrow($async$result, $async$completer);
  92355. while (true)
  92356. switch ($async$goto) {
  92357. case 0:
  92358. // Function start
  92359. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92360. case 2:
  92361. // for condition
  92362. if (!(_i < t2)) {
  92363. // goto after for
  92364. $async$goto = 4;
  92365. break;
  92366. }
  92367. $async$goto = 5;
  92368. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92369. case 5:
  92370. // returning from await.
  92371. case 3:
  92372. // for update
  92373. ++_i;
  92374. // goto for condition
  92375. $async$goto = 2;
  92376. break;
  92377. case 4:
  92378. // after for
  92379. // implicit return
  92380. return A._asyncReturn(null, $async$completer);
  92381. }
  92382. });
  92383. return A._asyncStartSync($async$call$0, $async$completer);
  92384. },
  92385. $signature: 2
  92386. };
  92387. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92388. call$1(value) {
  92389. var t1 = this.$this,
  92390. t2 = this.nodeWithSpan;
  92391. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92392. },
  92393. $signature: 66
  92394. };
  92395. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92396. call$1(value) {
  92397. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92398. },
  92399. $signature: 66
  92400. };
  92401. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92402. call$0() {
  92403. var _this = this,
  92404. t1 = _this.$this;
  92405. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92406. },
  92407. $signature: 72
  92408. };
  92409. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92410. call$1(element) {
  92411. var t1;
  92412. this.setVariables.call$1(element);
  92413. t1 = this.$this;
  92414. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92415. },
  92416. $signature: 336
  92417. };
  92418. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92419. call$1(child) {
  92420. return child.accept$1(this.$this);
  92421. },
  92422. $signature: 114
  92423. };
  92424. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92425. call$1(value) {
  92426. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92427. },
  92428. $signature: 338
  92429. };
  92430. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92431. call$0() {
  92432. var $async$goto = 0,
  92433. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92434. $async$self = this, t2, t3, _i, t1, styleRule;
  92435. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92436. if ($async$errorCode === 1)
  92437. return A._asyncRethrow($async$result, $async$completer);
  92438. while (true)
  92439. switch ($async$goto) {
  92440. case 0:
  92441. // Function start
  92442. t1 = $async$self.$this;
  92443. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92444. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || $async$self.name.value === "font-face" ? 2 : 4;
  92445. break;
  92446. case 2:
  92447. // then
  92448. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92449. case 5:
  92450. // for condition
  92451. if (!(_i < t3)) {
  92452. // goto after for
  92453. $async$goto = 7;
  92454. break;
  92455. }
  92456. $async$goto = 8;
  92457. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92458. case 8:
  92459. // returning from await.
  92460. case 6:
  92461. // for update
  92462. ++_i;
  92463. // goto for condition
  92464. $async$goto = 5;
  92465. break;
  92466. case 7:
  92467. // after for
  92468. // goto join
  92469. $async$goto = 3;
  92470. break;
  92471. case 4:
  92472. // else
  92473. $async$goto = 9;
  92474. 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);
  92475. case 9:
  92476. // returning from await.
  92477. case 3:
  92478. // join
  92479. // implicit return
  92480. return A._asyncReturn(null, $async$completer);
  92481. }
  92482. });
  92483. return A._asyncStartSync($async$call$0, $async$completer);
  92484. },
  92485. $signature: 2
  92486. };
  92487. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92488. call$0() {
  92489. var $async$goto = 0,
  92490. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92491. $async$self = this, t1, t2, t3, _i;
  92492. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92493. if ($async$errorCode === 1)
  92494. return A._asyncRethrow($async$result, $async$completer);
  92495. while (true)
  92496. switch ($async$goto) {
  92497. case 0:
  92498. // Function start
  92499. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92500. case 2:
  92501. // for condition
  92502. if (!(_i < t2)) {
  92503. // goto after for
  92504. $async$goto = 4;
  92505. break;
  92506. }
  92507. $async$goto = 5;
  92508. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92509. case 5:
  92510. // returning from await.
  92511. case 3:
  92512. // for update
  92513. ++_i;
  92514. // goto for condition
  92515. $async$goto = 2;
  92516. break;
  92517. case 4:
  92518. // after for
  92519. // implicit return
  92520. return A._asyncReturn(null, $async$completer);
  92521. }
  92522. });
  92523. return A._asyncStartSync($async$call$0, $async$completer);
  92524. },
  92525. $signature: 2
  92526. };
  92527. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  92528. call$1(node) {
  92529. return node instanceof A.ModifiableCssStyleRule0;
  92530. },
  92531. $signature: 8
  92532. };
  92533. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  92534. call$0() {
  92535. var $async$goto = 0,
  92536. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92537. $async$returnValue, $async$self = this;
  92538. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92539. if ($async$errorCode === 1)
  92540. return A._asyncRethrow($async$result, $async$completer);
  92541. while (true)
  92542. switch ($async$goto) {
  92543. case 0:
  92544. // Function start
  92545. $async$goto = 3;
  92546. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  92547. case 3:
  92548. // returning from await.
  92549. $async$returnValue = $async$result.assertNumber$0();
  92550. // goto return
  92551. $async$goto = 1;
  92552. break;
  92553. case 1:
  92554. // return
  92555. return A._asyncReturn($async$returnValue, $async$completer);
  92556. }
  92557. });
  92558. return A._asyncStartSync($async$call$0, $async$completer);
  92559. },
  92560. $signature: 213
  92561. };
  92562. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  92563. call$0() {
  92564. var $async$goto = 0,
  92565. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92566. $async$returnValue, $async$self = this;
  92567. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92568. if ($async$errorCode === 1)
  92569. return A._asyncRethrow($async$result, $async$completer);
  92570. while (true)
  92571. switch ($async$goto) {
  92572. case 0:
  92573. // Function start
  92574. $async$goto = 3;
  92575. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  92576. case 3:
  92577. // returning from await.
  92578. $async$returnValue = $async$result.assertNumber$0();
  92579. // goto return
  92580. $async$goto = 1;
  92581. break;
  92582. case 1:
  92583. // return
  92584. return A._asyncReturn($async$returnValue, $async$completer);
  92585. }
  92586. });
  92587. return A._asyncStartSync($async$call$0, $async$completer);
  92588. },
  92589. $signature: 213
  92590. };
  92591. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  92592. call$0() {
  92593. return this.fromNumber.assertInt$0();
  92594. },
  92595. $signature: 10
  92596. };
  92597. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  92598. call$0() {
  92599. var t1 = this.fromNumber;
  92600. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  92601. },
  92602. $signature: 10
  92603. };
  92604. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  92605. call$0() {
  92606. var $async$goto = 0,
  92607. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  92608. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  92609. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92610. if ($async$errorCode === 1)
  92611. return A._asyncRethrow($async$result, $async$completer);
  92612. while (true)
  92613. switch ($async$goto) {
  92614. case 0:
  92615. // Function start
  92616. t1 = $async$self.$this;
  92617. t2 = $async$self.node;
  92618. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  92619. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  92620. case 3:
  92621. // for condition
  92622. if (!(i !== t3.to)) {
  92623. // goto after for
  92624. $async$goto = 5;
  92625. break;
  92626. }
  92627. t7 = t1._async_evaluate0$_environment;
  92628. t8 = t6.get$numeratorUnits(t6);
  92629. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  92630. $async$goto = 6;
  92631. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  92632. case 6:
  92633. // returning from await.
  92634. _0_0 = $async$result;
  92635. if (_0_0 != null) {
  92636. $async$returnValue = _0_0;
  92637. // goto return
  92638. $async$goto = 1;
  92639. break;
  92640. }
  92641. case 4:
  92642. // for update
  92643. i += t4;
  92644. // goto for condition
  92645. $async$goto = 3;
  92646. break;
  92647. case 5:
  92648. // after for
  92649. $async$returnValue = null;
  92650. // goto return
  92651. $async$goto = 1;
  92652. break;
  92653. case 1:
  92654. // return
  92655. return A._asyncReturn($async$returnValue, $async$completer);
  92656. }
  92657. });
  92658. return A._asyncStartSync($async$call$0, $async$completer);
  92659. },
  92660. $signature: 72
  92661. };
  92662. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  92663. call$1(child) {
  92664. return child.accept$1(this.$this);
  92665. },
  92666. $signature: 114
  92667. };
  92668. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  92669. call$2(module, firstLoad) {
  92670. if (firstLoad)
  92671. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92672. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92673. },
  92674. $signature: 119
  92675. };
  92676. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  92677. call$2(module, firstLoad) {
  92678. if (firstLoad)
  92679. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92680. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92681. },
  92682. $signature: 119
  92683. };
  92684. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  92685. call$0() {
  92686. return A._setArrayType([], type$.JSArray_CssComment_2);
  92687. },
  92688. $signature: 214
  92689. };
  92690. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  92691. call$1(clause) {
  92692. var t1 = this.$this;
  92693. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  92694. },
  92695. $signature: 343
  92696. };
  92697. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  92698. call$0() {
  92699. var t1 = this.$this;
  92700. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  92701. },
  92702. $signature: 72
  92703. };
  92704. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  92705. call$1(child) {
  92706. return child.accept$1(this.$this);
  92707. },
  92708. $signature: 114
  92709. };
  92710. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  92711. call$0() {
  92712. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  92713. },
  92714. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  92715. var $async$goto = 0,
  92716. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92717. $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;
  92718. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92719. if ($async$errorCode === 1)
  92720. return A._asyncRethrow($async$result, $async$completer);
  92721. while (true)
  92722. switch ($async$goto) {
  92723. case 0:
  92724. // Function start
  92725. _box_0 = {};
  92726. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  92727. t1 = $async$self.$this;
  92728. t2 = $async$self.$import;
  92729. $async$goto = 3;
  92730. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  92731. case 3:
  92732. // returning from await.
  92733. _0_0 = $async$result;
  92734. stylesheet = _box_0.stylesheet = _0_0._0;
  92735. importer = _0_0._1;
  92736. _box_0.importer = importer;
  92737. isDependency = _0_0._2;
  92738. _box_0.isDependency = isDependency;
  92739. url = stylesheet.span.file.url;
  92740. if (url != null) {
  92741. t3 = t1._async_evaluate0$_activeModules;
  92742. if (t3.containsKey$1(url)) {
  92743. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  92744. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  92745. }
  92746. t3.$indexSet(0, url, t2);
  92747. }
  92748. t2 = stylesheet._stylesheet1$_uses;
  92749. t3 = type$.UnmodifiableListView_UseRule_2;
  92750. $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;
  92751. break;
  92752. case 4:
  92753. // then
  92754. oldImporter = t1._async_evaluate0$_importer;
  92755. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92756. oldInDependency = t1._async_evaluate0$_inDependency;
  92757. t1._async_evaluate0$_importer = importer;
  92758. t1._async_evaluate0$__stylesheet = stylesheet;
  92759. t1._async_evaluate0$_inDependency = isDependency;
  92760. $async$goto = 6;
  92761. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  92762. case 6:
  92763. // returning from await.
  92764. t1._async_evaluate0$_importer = oldImporter;
  92765. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92766. t1._async_evaluate0$_inDependency = oldInDependency;
  92767. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92768. // goto return
  92769. $async$goto = 1;
  92770. break;
  92771. case 5:
  92772. // join
  92773. t2 = new A.UnmodifiableListView(t2, t3);
  92774. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  92775. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92776. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  92777. } else
  92778. loadsUserDefinedModules = true;
  92779. children = A._Cell$();
  92780. t2 = t1._async_evaluate0$_environment;
  92781. t3 = type$.String;
  92782. t4 = type$.Module_AsyncCallable_2;
  92783. t5 = type$.AstNode_2;
  92784. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  92785. t7 = t2._async_environment0$_variables;
  92786. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  92787. t8 = t2._async_environment0$_variableNodes;
  92788. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  92789. t9 = t2._async_environment0$_functions;
  92790. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  92791. t10 = t2._async_environment0$_mixins;
  92792. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  92793. 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);
  92794. $async$goto = 7;
  92795. 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);
  92796. case 7:
  92797. // returning from await.
  92798. module = environment.toDummyModule$0();
  92799. t1._async_evaluate0$_environment.importForwards$1(module);
  92800. $async$goto = loadsUserDefinedModules ? 8 : 9;
  92801. break;
  92802. case 8:
  92803. // then
  92804. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  92805. break;
  92806. case 10:
  92807. // then
  92808. $async$goto = 12;
  92809. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  92810. case 12:
  92811. // returning from await.
  92812. case 11:
  92813. // join
  92814. visitor = new A._ImportedCssVisitor2(t1);
  92815. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  92816. t2.get$current(t2).accept$1(visitor);
  92817. case 9:
  92818. // join
  92819. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92820. case 1:
  92821. // return
  92822. return A._asyncReturn($async$returnValue, $async$completer);
  92823. }
  92824. });
  92825. return A._asyncStartSync($async$call$0, $async$completer);
  92826. },
  92827. $signature: 32
  92828. };
  92829. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  92830. call$1(previousLoad) {
  92831. 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));
  92832. },
  92833. $signature: 99
  92834. };
  92835. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  92836. call$1(rule) {
  92837. return rule.url.get$scheme() !== "sass";
  92838. },
  92839. $signature: 215
  92840. };
  92841. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  92842. call$1(rule) {
  92843. return rule.url.get$scheme() !== "sass";
  92844. },
  92845. $signature: 216
  92846. };
  92847. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  92848. call$0() {
  92849. var $async$goto = 0,
  92850. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92851. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  92852. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92853. if ($async$errorCode === 1)
  92854. return A._asyncRethrow($async$result, $async$completer);
  92855. while (true)
  92856. switch ($async$goto) {
  92857. case 0:
  92858. // Function start
  92859. t1 = $async$self.$this;
  92860. oldImporter = t1._async_evaluate0$_importer;
  92861. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92862. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  92863. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92864. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  92865. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92866. oldConfiguration = t1._async_evaluate0$_configuration;
  92867. oldInDependency = t1._async_evaluate0$_inDependency;
  92868. t2 = $async$self._box_0;
  92869. t1._async_evaluate0$_importer = t2.importer;
  92870. t3 = t2.stylesheet;
  92871. t1._async_evaluate0$__stylesheet = t3;
  92872. t4 = $async$self.loadsUserDefinedModules;
  92873. if (t4) {
  92874. t3 = A.ModifiableCssStylesheet$0(t3.span);
  92875. t1._async_evaluate0$__root = t3;
  92876. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  92877. t1._async_evaluate0$__endOfImports = 0;
  92878. t1._async_evaluate0$_outOfOrderImports = null;
  92879. }
  92880. t1._async_evaluate0$_inDependency = t2.isDependency;
  92881. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92882. if (!t3.get$isEmpty(t3))
  92883. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  92884. $async$goto = 2;
  92885. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  92886. case 2:
  92887. // returning from await.
  92888. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  92889. $async$self.children.__late_helper$_value = t2;
  92890. t1._async_evaluate0$_importer = oldImporter;
  92891. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92892. if (t4) {
  92893. t1._async_evaluate0$__root = oldRoot;
  92894. t1._async_evaluate0$__parent = oldParent;
  92895. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92896. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92897. }
  92898. t1._async_evaluate0$_configuration = oldConfiguration;
  92899. t1._async_evaluate0$_inDependency = oldInDependency;
  92900. // implicit return
  92901. return A._asyncReturn(null, $async$completer);
  92902. }
  92903. });
  92904. return A._asyncStartSync($async$call$0, $async$completer);
  92905. },
  92906. $signature: 2
  92907. };
  92908. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  92909. call$0() {
  92910. var $async$goto = 0,
  92911. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92912. $async$self = this, t1;
  92913. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92914. if ($async$errorCode === 1)
  92915. return A._asyncRethrow($async$result, $async$completer);
  92916. while (true)
  92917. switch ($async$goto) {
  92918. case 0:
  92919. // Function start
  92920. t1 = $async$self.$this;
  92921. $async$goto = 2;
  92922. 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);
  92923. case 2:
  92924. // returning from await.
  92925. // implicit return
  92926. return A._asyncReturn(null, $async$completer);
  92927. }
  92928. });
  92929. return A._asyncStartSync($async$call$0, $async$completer);
  92930. },
  92931. $signature: 32
  92932. };
  92933. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  92934. call$0() {
  92935. var $async$goto = 0,
  92936. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92937. $async$self = this;
  92938. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92939. if ($async$errorCode === 1)
  92940. return A._asyncRethrow($async$result, $async$completer);
  92941. while (true)
  92942. switch ($async$goto) {
  92943. case 0:
  92944. // Function start
  92945. $async$goto = 2;
  92946. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  92947. case 2:
  92948. // returning from await.
  92949. // implicit return
  92950. return A._asyncReturn(null, $async$completer);
  92951. }
  92952. });
  92953. return A._asyncStartSync($async$call$0, $async$completer);
  92954. },
  92955. $signature: 32
  92956. };
  92957. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  92958. call$0() {
  92959. var $async$goto = 0,
  92960. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92961. $async$self = this, t1;
  92962. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92963. if ($async$errorCode === 1)
  92964. return A._asyncRethrow($async$result, $async$completer);
  92965. while (true)
  92966. switch ($async$goto) {
  92967. case 0:
  92968. // Function start
  92969. t1 = $async$self.$this;
  92970. $async$goto = 2;
  92971. 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);
  92972. case 2:
  92973. // returning from await.
  92974. // implicit return
  92975. return A._asyncReturn(null, $async$completer);
  92976. }
  92977. });
  92978. return A._asyncStartSync($async$call$0, $async$completer);
  92979. },
  92980. $signature: 2
  92981. };
  92982. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  92983. call$0() {
  92984. var $async$goto = 0,
  92985. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92986. $async$self = this, t1;
  92987. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92988. if ($async$errorCode === 1)
  92989. return A._asyncRethrow($async$result, $async$completer);
  92990. while (true)
  92991. switch ($async$goto) {
  92992. case 0:
  92993. // Function start
  92994. t1 = $async$self.$this;
  92995. $async$goto = 2;
  92996. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  92997. case 2:
  92998. // returning from await.
  92999. // implicit return
  93000. return A._asyncReturn(null, $async$completer);
  93001. }
  93002. });
  93003. return A._asyncStartSync($async$call$0, $async$completer);
  93004. },
  93005. $signature: 32
  93006. };
  93007. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  93008. call$0() {
  93009. var $async$goto = 0,
  93010. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93011. $async$self = this, t1, t2, t3, t4, t5, _i;
  93012. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93013. if ($async$errorCode === 1)
  93014. return A._asyncRethrow($async$result, $async$completer);
  93015. while (true)
  93016. switch ($async$goto) {
  93017. case 0:
  93018. // Function start
  93019. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  93020. case 2:
  93021. // for condition
  93022. if (!(_i < t2)) {
  93023. // goto after for
  93024. $async$goto = 4;
  93025. break;
  93026. }
  93027. $async$goto = 5;
  93028. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  93029. case 5:
  93030. // returning from await.
  93031. case 3:
  93032. // for update
  93033. ++_i;
  93034. // goto for condition
  93035. $async$goto = 2;
  93036. break;
  93037. case 4:
  93038. // after for
  93039. // implicit return
  93040. return A._asyncReturn(null, $async$completer);
  93041. }
  93042. });
  93043. return A._asyncStartSync($async$call$0, $async$completer);
  93044. },
  93045. $signature: 32
  93046. };
  93047. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  93048. call$0() {
  93049. return this.statement.accept$1(this.$this);
  93050. },
  93051. $signature: 72
  93052. };
  93053. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  93054. call$0() {
  93055. var t1 = this.node;
  93056. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  93057. },
  93058. $signature: 97
  93059. };
  93060. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  93061. call$1($content) {
  93062. var t1 = this.$this;
  93063. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  93064. },
  93065. $signature: 346
  93066. };
  93067. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  93068. call$0() {
  93069. return this.node.get$spanWithoutContent();
  93070. },
  93071. $signature: 28
  93072. };
  93073. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  93074. call$1(mediaQueries) {
  93075. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  93076. },
  93077. $signature: 104
  93078. };
  93079. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  93080. call$0() {
  93081. var $async$goto = 0,
  93082. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93083. $async$self = this, t1, t2;
  93084. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93085. if ($async$errorCode === 1)
  93086. return A._asyncRethrow($async$result, $async$completer);
  93087. while (true)
  93088. switch ($async$goto) {
  93089. case 0:
  93090. // Function start
  93091. t1 = $async$self.$this;
  93092. t2 = $async$self.mergedQueries;
  93093. if (t2 == null)
  93094. t2 = $async$self.queries;
  93095. $async$goto = 2;
  93096. 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);
  93097. case 2:
  93098. // returning from await.
  93099. // implicit return
  93100. return A._asyncReturn(null, $async$completer);
  93101. }
  93102. });
  93103. return A._asyncStartSync($async$call$0, $async$completer);
  93104. },
  93105. $signature: 2
  93106. };
  93107. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  93108. call$0() {
  93109. var $async$goto = 0,
  93110. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93111. $async$self = this, t2, t3, _i, t1, _0_0;
  93112. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93113. if ($async$errorCode === 1)
  93114. return A._asyncRethrow($async$result, $async$completer);
  93115. while (true)
  93116. switch ($async$goto) {
  93117. case 0:
  93118. // Function start
  93119. t1 = $async$self.$this;
  93120. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93121. $async$goto = _0_0 != null ? 2 : 4;
  93122. break;
  93123. case 2:
  93124. // then
  93125. $async$goto = 5;
  93126. 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);
  93127. case 5:
  93128. // returning from await.
  93129. // goto join
  93130. $async$goto = 3;
  93131. break;
  93132. case 4:
  93133. // else
  93134. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93135. case 6:
  93136. // for condition
  93137. if (!(_i < t3)) {
  93138. // goto after for
  93139. $async$goto = 8;
  93140. break;
  93141. }
  93142. $async$goto = 9;
  93143. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93144. case 9:
  93145. // returning from await.
  93146. case 7:
  93147. // for update
  93148. ++_i;
  93149. // goto for condition
  93150. $async$goto = 6;
  93151. break;
  93152. case 8:
  93153. // after for
  93154. case 3:
  93155. // join
  93156. // implicit return
  93157. return A._asyncReturn(null, $async$completer);
  93158. }
  93159. });
  93160. return A._asyncStartSync($async$call$0, $async$completer);
  93161. },
  93162. $signature: 2
  93163. };
  93164. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  93165. call$0() {
  93166. var $async$goto = 0,
  93167. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93168. $async$self = this, t1, t2, t3, _i;
  93169. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93170. if ($async$errorCode === 1)
  93171. return A._asyncRethrow($async$result, $async$completer);
  93172. while (true)
  93173. switch ($async$goto) {
  93174. case 0:
  93175. // Function start
  93176. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93177. case 2:
  93178. // for condition
  93179. if (!(_i < t2)) {
  93180. // goto after for
  93181. $async$goto = 4;
  93182. break;
  93183. }
  93184. $async$goto = 5;
  93185. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93186. case 5:
  93187. // returning from await.
  93188. case 3:
  93189. // for update
  93190. ++_i;
  93191. // goto for condition
  93192. $async$goto = 2;
  93193. break;
  93194. case 4:
  93195. // after for
  93196. // implicit return
  93197. return A._asyncReturn(null, $async$completer);
  93198. }
  93199. });
  93200. return A._asyncStartSync($async$call$0, $async$completer);
  93201. },
  93202. $signature: 2
  93203. };
  93204. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93205. call$1(node) {
  93206. var t1;
  93207. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93208. t1 = this.mergedSources;
  93209. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93210. } else
  93211. t1 = true;
  93212. return t1;
  93213. },
  93214. $signature: 8
  93215. };
  93216. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93217. call$0() {
  93218. var $async$goto = 0,
  93219. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93220. $async$self = this, t1, t2, t3, _i;
  93221. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93222. if ($async$errorCode === 1)
  93223. return A._asyncRethrow($async$result, $async$completer);
  93224. while (true)
  93225. switch ($async$goto) {
  93226. case 0:
  93227. // Function start
  93228. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93229. case 2:
  93230. // for condition
  93231. if (!(_i < t2)) {
  93232. // goto after for
  93233. $async$goto = 4;
  93234. break;
  93235. }
  93236. $async$goto = 5;
  93237. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93238. case 5:
  93239. // returning from await.
  93240. case 3:
  93241. // for update
  93242. ++_i;
  93243. // goto for condition
  93244. $async$goto = 2;
  93245. break;
  93246. case 4:
  93247. // after for
  93248. // implicit return
  93249. return A._asyncReturn(null, $async$completer);
  93250. }
  93251. });
  93252. return A._asyncStartSync($async$call$0, $async$completer);
  93253. },
  93254. $signature: 2
  93255. };
  93256. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93257. call$1(node) {
  93258. return node instanceof A.ModifiableCssStyleRule0;
  93259. },
  93260. $signature: 8
  93261. };
  93262. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93263. call$0() {
  93264. var $async$goto = 0,
  93265. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93266. $async$self = this, t1;
  93267. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93268. if ($async$errorCode === 1)
  93269. return A._asyncRethrow($async$result, $async$completer);
  93270. while (true)
  93271. switch ($async$goto) {
  93272. case 0:
  93273. // Function start
  93274. t1 = $async$self.$this;
  93275. $async$goto = 2;
  93276. 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);
  93277. case 2:
  93278. // returning from await.
  93279. // implicit return
  93280. return A._asyncReturn(null, $async$completer);
  93281. }
  93282. });
  93283. return A._asyncStartSync($async$call$0, $async$completer);
  93284. },
  93285. $signature: 2
  93286. };
  93287. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93288. call$0() {
  93289. var $async$goto = 0,
  93290. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93291. $async$self = this, t1, t2, t3, _i;
  93292. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93293. if ($async$errorCode === 1)
  93294. return A._asyncRethrow($async$result, $async$completer);
  93295. while (true)
  93296. switch ($async$goto) {
  93297. case 0:
  93298. // Function start
  93299. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93300. case 2:
  93301. // for condition
  93302. if (!(_i < t2)) {
  93303. // goto after for
  93304. $async$goto = 4;
  93305. break;
  93306. }
  93307. $async$goto = 5;
  93308. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93309. case 5:
  93310. // returning from await.
  93311. case 3:
  93312. // for update
  93313. ++_i;
  93314. // goto for condition
  93315. $async$goto = 2;
  93316. break;
  93317. case 4:
  93318. // after for
  93319. // implicit return
  93320. return A._asyncReturn(null, $async$completer);
  93321. }
  93322. });
  93323. return A._asyncStartSync($async$call$0, $async$completer);
  93324. },
  93325. $signature: 2
  93326. };
  93327. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93328. call$1(node) {
  93329. return node instanceof A.ModifiableCssStyleRule0;
  93330. },
  93331. $signature: 8
  93332. };
  93333. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93334. call$1(child) {
  93335. return child instanceof A.ModifiableCssComment0;
  93336. },
  93337. $signature: 8
  93338. };
  93339. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93340. call$0() {
  93341. var $async$goto = 0,
  93342. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93343. $async$self = this, t2, t3, _i, t1, _0_0;
  93344. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93345. if ($async$errorCode === 1)
  93346. return A._asyncRethrow($async$result, $async$completer);
  93347. while (true)
  93348. switch ($async$goto) {
  93349. case 0:
  93350. // Function start
  93351. t1 = $async$self.$this;
  93352. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93353. $async$goto = _0_0 != null ? 2 : 4;
  93354. break;
  93355. case 2:
  93356. // then
  93357. $async$goto = 5;
  93358. 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);
  93359. case 5:
  93360. // returning from await.
  93361. // goto join
  93362. $async$goto = 3;
  93363. break;
  93364. case 4:
  93365. // else
  93366. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93367. case 6:
  93368. // for condition
  93369. if (!(_i < t3)) {
  93370. // goto after for
  93371. $async$goto = 8;
  93372. break;
  93373. }
  93374. $async$goto = 9;
  93375. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93376. case 9:
  93377. // returning from await.
  93378. case 7:
  93379. // for update
  93380. ++_i;
  93381. // goto for condition
  93382. $async$goto = 6;
  93383. break;
  93384. case 8:
  93385. // after for
  93386. case 3:
  93387. // join
  93388. // implicit return
  93389. return A._asyncReturn(null, $async$completer);
  93390. }
  93391. });
  93392. return A._asyncStartSync($async$call$0, $async$completer);
  93393. },
  93394. $signature: 2
  93395. };
  93396. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93397. call$0() {
  93398. var $async$goto = 0,
  93399. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93400. $async$self = this, t1, t2, t3, _i;
  93401. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93402. if ($async$errorCode === 1)
  93403. return A._asyncRethrow($async$result, $async$completer);
  93404. while (true)
  93405. switch ($async$goto) {
  93406. case 0:
  93407. // Function start
  93408. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93409. case 2:
  93410. // for condition
  93411. if (!(_i < t2)) {
  93412. // goto after for
  93413. $async$goto = 4;
  93414. break;
  93415. }
  93416. $async$goto = 5;
  93417. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93418. case 5:
  93419. // returning from await.
  93420. case 3:
  93421. // for update
  93422. ++_i;
  93423. // goto for condition
  93424. $async$goto = 2;
  93425. break;
  93426. case 4:
  93427. // after for
  93428. // implicit return
  93429. return A._asyncReturn(null, $async$completer);
  93430. }
  93431. });
  93432. return A._asyncStartSync($async$call$0, $async$completer);
  93433. },
  93434. $signature: 2
  93435. };
  93436. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93437. call$1(node) {
  93438. return node instanceof A.ModifiableCssStyleRule0;
  93439. },
  93440. $signature: 8
  93441. };
  93442. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93443. call$0() {
  93444. var $async$goto = 0,
  93445. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93446. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93447. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93448. if ($async$errorCode === 1)
  93449. return A._asyncRethrow($async$result, $async$completer);
  93450. while (true)
  93451. switch ($async$goto) {
  93452. case 0:
  93453. // Function start
  93454. t1 = $async$self.$this;
  93455. t2 = $async$self._box_0;
  93456. $async$temp1 = A;
  93457. $async$goto = 3;
  93458. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93459. case 3:
  93460. // returning from await.
  93461. t3 = $async$temp1.S($async$result);
  93462. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93463. $async$temp1 = "(" + t3 + ":" + t4;
  93464. $async$temp2 = A;
  93465. $async$goto = 4;
  93466. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93467. case 4:
  93468. // returning from await.
  93469. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93470. // goto return
  93471. $async$goto = 1;
  93472. break;
  93473. case 1:
  93474. // return
  93475. return A._asyncReturn($async$returnValue, $async$completer);
  93476. }
  93477. });
  93478. return A._asyncStartSync($async$call$0, $async$completer);
  93479. },
  93480. $signature: 181
  93481. };
  93482. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93483. call$0() {
  93484. var t1 = this.$this._async_evaluate0$_environment,
  93485. t2 = this._box_0.override;
  93486. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93487. },
  93488. $signature: 1
  93489. };
  93490. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93491. call$0() {
  93492. var t1 = this.node;
  93493. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93494. },
  93495. $signature: 43
  93496. };
  93497. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  93498. call$0() {
  93499. var t1 = this.$this,
  93500. t2 = this.node;
  93501. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  93502. },
  93503. $signature: 1
  93504. };
  93505. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  93506. call$2(module, firstLoad) {
  93507. var t1, t2, t3, _0_0, t4, t5, span;
  93508. if (firstLoad)
  93509. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93510. t1 = this.$this._async_evaluate0$_environment;
  93511. t2 = this.node;
  93512. t3 = t2.namespace;
  93513. if (t3 == null) {
  93514. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  93515. t1._async_environment0$_allModules.push(module);
  93516. t1 = B.JSArray_methods.get$first(t1._async_environment0$_variables);
  93517. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  93518. if (_0_0 != null)
  93519. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  93520. } else {
  93521. t4 = t1._async_environment0$_modules;
  93522. if (t4.containsKey$1(t3)) {
  93523. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  93524. span = t5 == null ? null : t5.span;
  93525. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93526. if (span != null)
  93527. t5.$indexSet(0, span, "original @use");
  93528. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  93529. }
  93530. t4.$indexSet(0, t3, module);
  93531. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  93532. t1._async_environment0$_allModules.push(module);
  93533. }
  93534. },
  93535. $signature: 119
  93536. };
  93537. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  93538. call$0() {
  93539. return this.node.expression.accept$1(this.$this);
  93540. },
  93541. $signature: 74
  93542. };
  93543. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  93544. call$0() {
  93545. var $async$goto = 0,
  93546. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93547. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  93548. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93549. if ($async$errorCode === 1)
  93550. return A._asyncRethrow($async$result, $async$completer);
  93551. while (true)
  93552. switch ($async$goto) {
  93553. case 0:
  93554. // Function start
  93555. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  93556. case 3:
  93557. // for condition
  93558. $async$goto = 5;
  93559. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  93560. case 5:
  93561. // returning from await.
  93562. if (!$async$result.get$isTruthy()) {
  93563. // goto after for
  93564. $async$goto = 4;
  93565. break;
  93566. }
  93567. $async$goto = 6;
  93568. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  93569. case 6:
  93570. // returning from await.
  93571. _0_0 = $async$result;
  93572. if (_0_0 != null) {
  93573. $async$returnValue = _0_0;
  93574. // goto return
  93575. $async$goto = 1;
  93576. break;
  93577. }
  93578. // goto for condition
  93579. $async$goto = 3;
  93580. break;
  93581. case 4:
  93582. // after for
  93583. $async$returnValue = null;
  93584. // goto return
  93585. $async$goto = 1;
  93586. break;
  93587. case 1:
  93588. // return
  93589. return A._asyncReturn($async$returnValue, $async$completer);
  93590. }
  93591. });
  93592. return A._asyncStartSync($async$call$0, $async$completer);
  93593. },
  93594. $signature: 72
  93595. };
  93596. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  93597. call$1(child) {
  93598. return child.accept$1(this.$this);
  93599. },
  93600. $signature: 114
  93601. };
  93602. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  93603. call$0() {
  93604. var $async$goto = 0,
  93605. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93606. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  93607. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93608. if ($async$errorCode === 1)
  93609. return A._asyncRethrow($async$result, $async$completer);
  93610. while (true)
  93611. switch ($async$goto) {
  93612. case 0:
  93613. // Function start
  93614. t1 = $async$self.node;
  93615. t2 = $async$self.$this;
  93616. $async$goto = 3;
  93617. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  93618. case 3:
  93619. // returning from await.
  93620. left = $async$result;
  93621. case 4:
  93622. // switch
  93623. switch (t1.operator) {
  93624. case B.BinaryOperator_Kyq0:
  93625. // goto case
  93626. $async$goto = 6;
  93627. break;
  93628. case B.BinaryOperator_tKu0:
  93629. // goto case
  93630. $async$goto = 7;
  93631. break;
  93632. case B.BinaryOperator_uke0:
  93633. // goto case
  93634. $async$goto = 8;
  93635. break;
  93636. case B.BinaryOperator_r840:
  93637. // goto case
  93638. $async$goto = 9;
  93639. break;
  93640. case B.BinaryOperator_qGq0:
  93641. // goto case
  93642. $async$goto = 10;
  93643. break;
  93644. case B.BinaryOperator_o8O0:
  93645. // goto case
  93646. $async$goto = 11;
  93647. break;
  93648. case B.BinaryOperator_JiR0:
  93649. // goto case
  93650. $async$goto = 12;
  93651. break;
  93652. case B.BinaryOperator_qHy0:
  93653. // goto case
  93654. $async$goto = 13;
  93655. break;
  93656. case B.BinaryOperator_FPG0:
  93657. // goto case
  93658. $async$goto = 14;
  93659. break;
  93660. case B.BinaryOperator_Swh0:
  93661. // goto case
  93662. $async$goto = 15;
  93663. break;
  93664. case B.BinaryOperator_QG10:
  93665. // goto case
  93666. $async$goto = 16;
  93667. break;
  93668. case B.BinaryOperator_tht0:
  93669. // goto case
  93670. $async$goto = 17;
  93671. break;
  93672. case B.BinaryOperator_Mh50:
  93673. // goto case
  93674. $async$goto = 18;
  93675. break;
  93676. case B.BinaryOperator_s7T0:
  93677. // goto case
  93678. $async$goto = 19;
  93679. break;
  93680. default:
  93681. // goto default
  93682. $async$goto = 20;
  93683. break;
  93684. }
  93685. break;
  93686. case 6:
  93687. // case
  93688. t1 = t1.right.accept$1(t2);
  93689. $async$goto = 21;
  93690. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93691. case 21:
  93692. // returning from await.
  93693. t1 = $async$result;
  93694. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  93695. // goto after switch
  93696. $async$goto = 5;
  93697. break;
  93698. case 7:
  93699. // case
  93700. $async$goto = left.get$isTruthy() ? 22 : 24;
  93701. break;
  93702. case 22:
  93703. // then
  93704. t1 = left;
  93705. // goto join
  93706. $async$goto = 23;
  93707. break;
  93708. case 24:
  93709. // else
  93710. t1 = t1.right.accept$1(t2);
  93711. $async$goto = 25;
  93712. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93713. case 25:
  93714. // returning from await.
  93715. t1 = $async$result;
  93716. case 23:
  93717. // join
  93718. // goto after switch
  93719. $async$goto = 5;
  93720. break;
  93721. case 8:
  93722. // case
  93723. $async$goto = left.get$isTruthy() ? 26 : 28;
  93724. break;
  93725. case 26:
  93726. // then
  93727. t1 = t1.right.accept$1(t2);
  93728. $async$goto = 29;
  93729. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93730. case 29:
  93731. // returning from await.
  93732. t1 = $async$result;
  93733. // goto join
  93734. $async$goto = 27;
  93735. break;
  93736. case 28:
  93737. // else
  93738. t1 = left;
  93739. case 27:
  93740. // join
  93741. // goto after switch
  93742. $async$goto = 5;
  93743. break;
  93744. case 9:
  93745. // case
  93746. $async$temp1 = left;
  93747. $async$goto = 30;
  93748. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93749. case 30:
  93750. // returning from await.
  93751. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93752. // goto after switch
  93753. $async$goto = 5;
  93754. break;
  93755. case 10:
  93756. // case
  93757. $async$temp1 = left;
  93758. $async$goto = 31;
  93759. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93760. case 31:
  93761. // returning from await.
  93762. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93763. // goto after switch
  93764. $async$goto = 5;
  93765. break;
  93766. case 11:
  93767. // case
  93768. t1 = t1.right.accept$1(t2);
  93769. $async$temp1 = left;
  93770. $async$goto = 32;
  93771. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93772. case 32:
  93773. // returning from await.
  93774. t1 = $async$temp1.greaterThan$1($async$result);
  93775. // goto after switch
  93776. $async$goto = 5;
  93777. break;
  93778. case 12:
  93779. // case
  93780. t1 = t1.right.accept$1(t2);
  93781. $async$temp1 = left;
  93782. $async$goto = 33;
  93783. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93784. case 33:
  93785. // returning from await.
  93786. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  93787. // goto after switch
  93788. $async$goto = 5;
  93789. break;
  93790. case 13:
  93791. // case
  93792. t1 = t1.right.accept$1(t2);
  93793. $async$temp1 = left;
  93794. $async$goto = 34;
  93795. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93796. case 34:
  93797. // returning from await.
  93798. t1 = $async$temp1.lessThan$1($async$result);
  93799. // goto after switch
  93800. $async$goto = 5;
  93801. break;
  93802. case 14:
  93803. // case
  93804. t1 = t1.right.accept$1(t2);
  93805. $async$temp1 = left;
  93806. $async$goto = 35;
  93807. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93808. case 35:
  93809. // returning from await.
  93810. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  93811. // goto after switch
  93812. $async$goto = 5;
  93813. break;
  93814. case 15:
  93815. // case
  93816. t1 = t1.right.accept$1(t2);
  93817. $async$temp1 = left;
  93818. $async$goto = 36;
  93819. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93820. case 36:
  93821. // returning from await.
  93822. t1 = $async$temp1.plus$1($async$result);
  93823. // goto after switch
  93824. $async$goto = 5;
  93825. break;
  93826. case 16:
  93827. // case
  93828. t1 = t1.right.accept$1(t2);
  93829. $async$temp1 = left;
  93830. $async$goto = 37;
  93831. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93832. case 37:
  93833. // returning from await.
  93834. t1 = $async$temp1.minus$1($async$result);
  93835. // goto after switch
  93836. $async$goto = 5;
  93837. break;
  93838. case 17:
  93839. // case
  93840. t1 = t1.right.accept$1(t2);
  93841. $async$temp1 = left;
  93842. $async$goto = 38;
  93843. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93844. case 38:
  93845. // returning from await.
  93846. t1 = $async$temp1.times$1($async$result);
  93847. // goto after switch
  93848. $async$goto = 5;
  93849. break;
  93850. case 18:
  93851. // case
  93852. t3 = t1.right.accept$1(t2);
  93853. $async$temp1 = t2;
  93854. $async$temp2 = left;
  93855. $async$goto = 39;
  93856. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  93857. case 39:
  93858. // returning from await.
  93859. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  93860. // goto after switch
  93861. $async$goto = 5;
  93862. break;
  93863. case 19:
  93864. // case
  93865. t1 = t1.right.accept$1(t2);
  93866. $async$temp1 = left;
  93867. $async$goto = 40;
  93868. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93869. case 40:
  93870. // returning from await.
  93871. t1 = $async$temp1.modulo$1($async$result);
  93872. // goto after switch
  93873. $async$goto = 5;
  93874. break;
  93875. case 20:
  93876. // default
  93877. t1 = null;
  93878. case 5:
  93879. // after switch
  93880. $async$returnValue = t1;
  93881. // goto return
  93882. $async$goto = 1;
  93883. break;
  93884. case 1:
  93885. // return
  93886. return A._asyncReturn($async$returnValue, $async$completer);
  93887. }
  93888. });
  93889. return A._asyncStartSync($async$call$0, $async$completer);
  93890. },
  93891. $signature: 74
  93892. };
  93893. A._EvaluateVisitor__slash_recommendation2.prototype = {
  93894. call$1(expression) {
  93895. var t1;
  93896. $label0$0: {
  93897. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  93898. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  93899. break $label0$0;
  93900. }
  93901. if (expression instanceof A.ParenthesizedExpression0) {
  93902. t1 = expression.expression.toString$0(0);
  93903. break $label0$0;
  93904. }
  93905. t1 = expression.toString$0(0);
  93906. break $label0$0;
  93907. }
  93908. return t1;
  93909. },
  93910. $signature: 118
  93911. };
  93912. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  93913. call$0() {
  93914. var t1 = this.node;
  93915. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93916. },
  93917. $signature: 43
  93918. };
  93919. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  93920. call$0() {
  93921. var t1, _this = this;
  93922. switch (_this.node.operator) {
  93923. case B.UnaryOperator_Rbl0:
  93924. t1 = _this.operand.unaryPlus$0();
  93925. break;
  93926. case B.UnaryOperator_UCP0:
  93927. t1 = _this.operand.unaryMinus$0();
  93928. break;
  93929. case B.UnaryOperator_lZV0:
  93930. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  93931. break;
  93932. case B.UnaryOperator_not_not_not0:
  93933. t1 = _this.operand.unaryNot$0();
  93934. break;
  93935. default:
  93936. t1 = null;
  93937. }
  93938. return t1;
  93939. },
  93940. $signature: 50
  93941. };
  93942. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  93943. call$1(expression) {
  93944. return expression.accept$1(this.$this);
  93945. },
  93946. $signature: 352
  93947. };
  93948. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  93949. call$0() {
  93950. var t1 = this.node;
  93951. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  93952. },
  93953. $signature: 97
  93954. };
  93955. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  93956. call$1(argument) {
  93957. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  93958. },
  93959. $signature: 117
  93960. };
  93961. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  93962. call$0() {
  93963. var t1 = this.node;
  93964. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  93965. },
  93966. $signature: 74
  93967. };
  93968. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  93969. call$2(message, deprecation) {
  93970. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  93971. },
  93972. call$1(message) {
  93973. return this.call$2(message, null);
  93974. },
  93975. $signature: 110
  93976. };
  93977. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  93978. call$1(maxArgs) {
  93979. var t1 = this.node,
  93980. t2 = t1.$arguments.positional.length;
  93981. if (t2 === 0)
  93982. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  93983. else if (maxArgs != null && t2 > maxArgs)
  93984. 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));
  93985. },
  93986. call$0() {
  93987. return this.call$1(null);
  93988. },
  93989. $signature: 85
  93990. };
  93991. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  93992. call$0() {
  93993. var $async$goto = 0,
  93994. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  93995. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  93996. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93997. if ($async$errorCode === 1)
  93998. return A._asyncRethrow($async$result, $async$completer);
  93999. while (true)
  94000. switch ($async$goto) {
  94001. case 0:
  94002. // Function start
  94003. t1 = $async$self.$this;
  94004. t2 = $async$self._box_0;
  94005. t3 = $async$self.node;
  94006. t4 = $async$self.inLegacySassFunction;
  94007. $async$temp1 = A;
  94008. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  94009. $async$goto = 3;
  94010. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  94011. case 3:
  94012. // returning from await.
  94013. $async$temp3 = $async$result;
  94014. $async$goto = 4;
  94015. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  94016. case 4:
  94017. // returning from await.
  94018. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  94019. // goto return
  94020. $async$goto = 1;
  94021. break;
  94022. case 1:
  94023. // return
  94024. return A._asyncReturn($async$returnValue, $async$completer);
  94025. }
  94026. });
  94027. return A._asyncStartSync($async$call$0, $async$completer);
  94028. },
  94029. $signature: 183
  94030. };
  94031. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  94032. call$2(message, deprecation) {
  94033. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  94034. },
  94035. call$1(message) {
  94036. return this.call$2(message, null);
  94037. },
  94038. $signature: 110
  94039. };
  94040. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  94041. call$0() {
  94042. var t1 = this.node;
  94043. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  94044. },
  94045. $signature: 74
  94046. };
  94047. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  94048. call$0() {
  94049. var _this = this,
  94050. t1 = _this.$this,
  94051. t2 = _this.callable,
  94052. t3 = _this.V;
  94053. 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);
  94054. },
  94055. $signature() {
  94056. return this.V._eval$1("Future<0>()");
  94057. }
  94058. };
  94059. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  94060. call$0() {
  94061. var _this = this,
  94062. t1 = _this.$this,
  94063. t2 = _this.V;
  94064. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  94065. },
  94066. $signature() {
  94067. return this.V._eval$1("Future<0>()");
  94068. }
  94069. };
  94070. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  94071. call$0() {
  94072. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  94073. },
  94074. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  94075. var $async$goto = 0,
  94076. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  94077. $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;
  94078. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94079. if ($async$errorCode === 1)
  94080. return A._asyncRethrow($async$result, $async$completer);
  94081. while (true)
  94082. switch ($async$goto) {
  94083. case 0:
  94084. // Function start
  94085. t1 = $async$self.$this;
  94086. t2 = $async$self.evaluated._values;
  94087. t3 = $async$self.callable.declaration.parameters;
  94088. t4 = $async$self.nodeWithSpan;
  94089. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  94090. parameters = t3.parameters;
  94091. t5 = parameters.length;
  94092. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  94093. for (i = 0; i < minLength; ++i)
  94094. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  94095. i = J.get$length$asx(t2[2]);
  94096. case 3:
  94097. // for condition
  94098. if (!(i < t5)) {
  94099. // goto after for
  94100. $async$goto = 5;
  94101. break;
  94102. }
  94103. parameter = parameters[i];
  94104. t6 = parameter.name;
  94105. value = t2[0].remove$1(0, t6);
  94106. $async$goto = value == null ? 6 : 7;
  94107. break;
  94108. case 6:
  94109. // then
  94110. t7 = parameter.defaultValue;
  94111. $async$temp1 = t1;
  94112. $async$goto = 8;
  94113. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  94114. case 8:
  94115. // returning from await.
  94116. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  94117. case 7:
  94118. // join
  94119. t7 = t1._async_evaluate0$_environment;
  94120. t8 = t2[1].$index(0, t6);
  94121. if (t8 == null) {
  94122. t8 = parameter.defaultValue;
  94123. t8.toString;
  94124. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  94125. }
  94126. t7.setLocalVariable$3(t6, value, t8);
  94127. case 4:
  94128. // for update
  94129. ++i;
  94130. // goto for condition
  94131. $async$goto = 3;
  94132. break;
  94133. case 5:
  94134. // after for
  94135. restParameter = t3.restParameter;
  94136. if (restParameter != null) {
  94137. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty22;
  94138. t5 = t2[0];
  94139. t6 = t2[4];
  94140. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  94141. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  94142. } else
  94143. argumentList = null;
  94144. $async$goto = 9;
  94145. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  94146. case 9:
  94147. // returning from await.
  94148. result = $async$result;
  94149. if (argumentList == null) {
  94150. $async$returnValue = result;
  94151. // goto return
  94152. $async$goto = 1;
  94153. break;
  94154. }
  94155. t5 = t2[0];
  94156. if (t5.get$isEmpty(t5)) {
  94157. $async$returnValue = result;
  94158. // goto return
  94159. $async$goto = 1;
  94160. break;
  94161. }
  94162. if (argumentList._argument_list$_wereKeywordsAccessed) {
  94163. $async$returnValue = result;
  94164. // goto return
  94165. $async$goto = 1;
  94166. break;
  94167. }
  94168. t5 = t2[0];
  94169. t5 = t5.get$keys(t5);
  94170. parameterWord = A.pluralize0("parameter", t5.get$length(t5), null);
  94171. t2 = t2[0];
  94172. t2 = t2.get$keys(t2);
  94173. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + parameterWord + " named " + A.toSentence0(t2.map$1$1(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));
  94174. case 1:
  94175. // return
  94176. return A._asyncReturn($async$returnValue, $async$completer);
  94177. }
  94178. });
  94179. return A._asyncStartSync($async$call$0, $async$completer);
  94180. },
  94181. $signature() {
  94182. return this.V._eval$1("Future<0>()");
  94183. }
  94184. };
  94185. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  94186. call$1($name) {
  94187. return "$" + $name;
  94188. },
  94189. $signature: 6
  94190. };
  94191. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  94192. call$0() {
  94193. var $async$goto = 0,
  94194. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  94195. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  94196. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94197. if ($async$errorCode === 1)
  94198. return A._asyncRethrow($async$result, $async$completer);
  94199. while (true)
  94200. switch ($async$goto) {
  94201. case 0:
  94202. // Function start
  94203. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  94204. case 3:
  94205. // for condition
  94206. if (!(_i < t3)) {
  94207. // goto after for
  94208. $async$goto = 5;
  94209. break;
  94210. }
  94211. $async$goto = 6;
  94212. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94213. case 6:
  94214. // returning from await.
  94215. $returnValue = $async$result;
  94216. if ($returnValue instanceof A.Value0) {
  94217. $async$returnValue = $returnValue;
  94218. // goto return
  94219. $async$goto = 1;
  94220. break;
  94221. }
  94222. case 4:
  94223. // for update
  94224. ++_i;
  94225. // goto for condition
  94226. $async$goto = 3;
  94227. break;
  94228. case 5:
  94229. // after for
  94230. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94231. case 1:
  94232. // return
  94233. return A._asyncReturn($async$returnValue, $async$completer);
  94234. }
  94235. });
  94236. return A._asyncStartSync($async$call$0, $async$completer);
  94237. },
  94238. $signature: 74
  94239. };
  94240. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94241. call$0() {
  94242. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94243. },
  94244. $signature: 0
  94245. };
  94246. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94247. call$0() {
  94248. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94249. },
  94250. $signature: 355
  94251. };
  94252. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94253. call$1($name) {
  94254. return "$" + $name;
  94255. },
  94256. $signature: 6
  94257. };
  94258. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94259. call$1(value) {
  94260. return value;
  94261. },
  94262. $signature: 44
  94263. };
  94264. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94265. call$1(value) {
  94266. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94267. },
  94268. $signature: 44
  94269. };
  94270. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94271. call$2(key, value) {
  94272. var _this = this,
  94273. t1 = _this.restNodeForSpan;
  94274. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94275. _this.namedNodes.$indexSet(0, key, t1);
  94276. },
  94277. $signature: 112
  94278. };
  94279. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94280. call$1(value) {
  94281. return value;
  94282. },
  94283. $signature: 44
  94284. };
  94285. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94286. call$1(value) {
  94287. var t1 = this.restArgs;
  94288. return new A.ValueExpression0(value, t1.get$span(t1));
  94289. },
  94290. $signature: 57
  94291. };
  94292. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94293. call$1(value) {
  94294. var t1 = this.restArgs;
  94295. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94296. },
  94297. $signature: 57
  94298. };
  94299. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94300. call$2(key, value) {
  94301. var _this = this,
  94302. t1 = _this.restArgs;
  94303. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94304. },
  94305. $signature: 112
  94306. };
  94307. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94308. call$1(value) {
  94309. var t1 = this.keywordRestArgs;
  94310. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94311. },
  94312. $signature: 57
  94313. };
  94314. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94315. call$2(key, value) {
  94316. var t2, _this = this,
  94317. t1 = _this.$this;
  94318. if (key instanceof A.SassString0)
  94319. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94320. else {
  94321. t2 = _this.nodeWithSpan;
  94322. 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)));
  94323. }
  94324. },
  94325. $signature: 107
  94326. };
  94327. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94328. call$0() {
  94329. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94330. },
  94331. $signature: 0
  94332. };
  94333. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94334. call$0() {
  94335. var $async$goto = 0,
  94336. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94337. $async$self = this, t1, t2, t3, t4;
  94338. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94339. if ($async$errorCode === 1)
  94340. return A._asyncRethrow($async$result, $async$completer);
  94341. while (true)
  94342. switch ($async$goto) {
  94343. case 0:
  94344. // Function start
  94345. 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");
  94346. case 2:
  94347. // for condition
  94348. if (!t1.moveNext$0()) {
  94349. // goto after for
  94350. $async$goto = 3;
  94351. break;
  94352. }
  94353. t4 = t1.__internal$_current;
  94354. $async$goto = 4;
  94355. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94356. case 4:
  94357. // returning from await.
  94358. // goto for condition
  94359. $async$goto = 2;
  94360. break;
  94361. case 3:
  94362. // after for
  94363. // implicit return
  94364. return A._asyncReturn(null, $async$completer);
  94365. }
  94366. });
  94367. return A._asyncStartSync($async$call$0, $async$completer);
  94368. },
  94369. $signature: 2
  94370. };
  94371. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94372. call$1(node) {
  94373. return node instanceof A.ModifiableCssStyleRule0;
  94374. },
  94375. $signature: 8
  94376. };
  94377. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94378. call$0() {
  94379. var $async$goto = 0,
  94380. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94381. $async$self = this, t1, t2, t3, t4;
  94382. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94383. if ($async$errorCode === 1)
  94384. return A._asyncRethrow($async$result, $async$completer);
  94385. while (true)
  94386. switch ($async$goto) {
  94387. case 0:
  94388. // Function start
  94389. 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");
  94390. case 2:
  94391. // for condition
  94392. if (!t1.moveNext$0()) {
  94393. // goto after for
  94394. $async$goto = 3;
  94395. break;
  94396. }
  94397. t4 = t1.__internal$_current;
  94398. $async$goto = 4;
  94399. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94400. case 4:
  94401. // returning from await.
  94402. // goto for condition
  94403. $async$goto = 2;
  94404. break;
  94405. case 3:
  94406. // after for
  94407. // implicit return
  94408. return A._asyncReturn(null, $async$completer);
  94409. }
  94410. });
  94411. return A._asyncStartSync($async$call$0, $async$completer);
  94412. },
  94413. $signature: 2
  94414. };
  94415. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94416. call$1(node) {
  94417. return node instanceof A.ModifiableCssStyleRule0;
  94418. },
  94419. $signature: 8
  94420. };
  94421. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94422. call$1(mediaQueries) {
  94423. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94424. },
  94425. $signature: 104
  94426. };
  94427. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94428. call$0() {
  94429. var $async$goto = 0,
  94430. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94431. $async$self = this, t1, t2;
  94432. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94433. if ($async$errorCode === 1)
  94434. return A._asyncRethrow($async$result, $async$completer);
  94435. while (true)
  94436. switch ($async$goto) {
  94437. case 0:
  94438. // Function start
  94439. t1 = $async$self.$this;
  94440. t2 = $async$self.mergedQueries;
  94441. if (t2 == null)
  94442. t2 = $async$self.node.queries;
  94443. $async$goto = 2;
  94444. 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);
  94445. case 2:
  94446. // returning from await.
  94447. // implicit return
  94448. return A._asyncReturn(null, $async$completer);
  94449. }
  94450. });
  94451. return A._asyncStartSync($async$call$0, $async$completer);
  94452. },
  94453. $signature: 2
  94454. };
  94455. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94456. call$0() {
  94457. var $async$goto = 0,
  94458. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94459. $async$self = this, t2, t3, t4, t1, _0_0;
  94460. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94461. if ($async$errorCode === 1)
  94462. return A._asyncRethrow($async$result, $async$completer);
  94463. while (true)
  94464. switch ($async$goto) {
  94465. case 0:
  94466. // Function start
  94467. t1 = $async$self.$this;
  94468. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94469. $async$goto = _0_0 != null ? 2 : 4;
  94470. break;
  94471. case 2:
  94472. // then
  94473. $async$goto = 5;
  94474. 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);
  94475. case 5:
  94476. // returning from await.
  94477. // goto join
  94478. $async$goto = 3;
  94479. break;
  94480. case 4:
  94481. // else
  94482. 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");
  94483. case 6:
  94484. // for condition
  94485. if (!t2.moveNext$0()) {
  94486. // goto after for
  94487. $async$goto = 7;
  94488. break;
  94489. }
  94490. t4 = t2.__internal$_current;
  94491. $async$goto = 8;
  94492. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94493. case 8:
  94494. // returning from await.
  94495. // goto for condition
  94496. $async$goto = 6;
  94497. break;
  94498. case 7:
  94499. // after for
  94500. case 3:
  94501. // join
  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_visitCssMediaRule___closure2.prototype = {
  94511. call$0() {
  94512. var $async$goto = 0,
  94513. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94514. $async$self = this, t1, t2, t3, t4;
  94515. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94516. if ($async$errorCode === 1)
  94517. return A._asyncRethrow($async$result, $async$completer);
  94518. while (true)
  94519. switch ($async$goto) {
  94520. case 0:
  94521. // Function start
  94522. 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");
  94523. case 2:
  94524. // for condition
  94525. if (!t1.moveNext$0()) {
  94526. // goto after for
  94527. $async$goto = 3;
  94528. break;
  94529. }
  94530. t4 = t1.__internal$_current;
  94531. $async$goto = 4;
  94532. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94533. case 4:
  94534. // returning from await.
  94535. // goto for condition
  94536. $async$goto = 2;
  94537. break;
  94538. case 3:
  94539. // after for
  94540. // implicit return
  94541. return A._asyncReturn(null, $async$completer);
  94542. }
  94543. });
  94544. return A._asyncStartSync($async$call$0, $async$completer);
  94545. },
  94546. $signature: 2
  94547. };
  94548. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  94549. call$1(node) {
  94550. var t1;
  94551. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  94552. t1 = this.mergedSources;
  94553. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  94554. } else
  94555. t1 = true;
  94556. return t1;
  94557. },
  94558. $signature: 8
  94559. };
  94560. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  94561. call$0() {
  94562. var $async$goto = 0,
  94563. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94564. $async$self = this, t1;
  94565. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94566. if ($async$errorCode === 1)
  94567. return A._asyncRethrow($async$result, $async$completer);
  94568. while (true)
  94569. switch ($async$goto) {
  94570. case 0:
  94571. // Function start
  94572. t1 = $async$self.$this;
  94573. $async$goto = 2;
  94574. 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);
  94575. case 2:
  94576. // returning from await.
  94577. // implicit return
  94578. return A._asyncReturn(null, $async$completer);
  94579. }
  94580. });
  94581. return A._asyncStartSync($async$call$0, $async$completer);
  94582. },
  94583. $signature: 2
  94584. };
  94585. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  94586. call$0() {
  94587. var $async$goto = 0,
  94588. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94589. $async$self = this, t1, t2, t3, t4;
  94590. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94591. if ($async$errorCode === 1)
  94592. return A._asyncRethrow($async$result, $async$completer);
  94593. while (true)
  94594. switch ($async$goto) {
  94595. case 0:
  94596. // Function start
  94597. 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");
  94598. case 2:
  94599. // for condition
  94600. if (!t1.moveNext$0()) {
  94601. // goto after for
  94602. $async$goto = 3;
  94603. break;
  94604. }
  94605. t4 = t1.__internal$_current;
  94606. $async$goto = 4;
  94607. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94608. case 4:
  94609. // returning from await.
  94610. // goto for condition
  94611. $async$goto = 2;
  94612. break;
  94613. case 3:
  94614. // after for
  94615. // implicit return
  94616. return A._asyncReturn(null, $async$completer);
  94617. }
  94618. });
  94619. return A._asyncStartSync($async$call$0, $async$completer);
  94620. },
  94621. $signature: 2
  94622. };
  94623. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  94624. call$1(node) {
  94625. return node instanceof A.ModifiableCssStyleRule0;
  94626. },
  94627. $signature: 8
  94628. };
  94629. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  94630. call$0() {
  94631. var $async$goto = 0,
  94632. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94633. $async$self = this, t2, t3, t4, t1, _0_0;
  94634. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94635. if ($async$errorCode === 1)
  94636. return A._asyncRethrow($async$result, $async$completer);
  94637. while (true)
  94638. switch ($async$goto) {
  94639. case 0:
  94640. // Function start
  94641. t1 = $async$self.$this;
  94642. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94643. $async$goto = _0_0 != null ? 2 : 4;
  94644. break;
  94645. case 2:
  94646. // then
  94647. $async$goto = 5;
  94648. 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);
  94649. case 5:
  94650. // returning from await.
  94651. // goto join
  94652. $async$goto = 3;
  94653. break;
  94654. case 4:
  94655. // else
  94656. 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");
  94657. case 6:
  94658. // for condition
  94659. if (!t2.moveNext$0()) {
  94660. // goto after for
  94661. $async$goto = 7;
  94662. break;
  94663. }
  94664. t4 = t2.__internal$_current;
  94665. $async$goto = 8;
  94666. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94667. case 8:
  94668. // returning from await.
  94669. // goto for condition
  94670. $async$goto = 6;
  94671. break;
  94672. case 7:
  94673. // after for
  94674. case 3:
  94675. // join
  94676. // implicit return
  94677. return A._asyncReturn(null, $async$completer);
  94678. }
  94679. });
  94680. return A._asyncStartSync($async$call$0, $async$completer);
  94681. },
  94682. $signature: 2
  94683. };
  94684. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  94685. call$0() {
  94686. var $async$goto = 0,
  94687. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94688. $async$self = this, t1, t2, t3, t4;
  94689. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94690. if ($async$errorCode === 1)
  94691. return A._asyncRethrow($async$result, $async$completer);
  94692. while (true)
  94693. switch ($async$goto) {
  94694. case 0:
  94695. // Function start
  94696. 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");
  94697. case 2:
  94698. // for condition
  94699. if (!t1.moveNext$0()) {
  94700. // goto after for
  94701. $async$goto = 3;
  94702. break;
  94703. }
  94704. t4 = t1.__internal$_current;
  94705. $async$goto = 4;
  94706. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94707. case 4:
  94708. // returning from await.
  94709. // goto for condition
  94710. $async$goto = 2;
  94711. break;
  94712. case 3:
  94713. // after for
  94714. // implicit return
  94715. return A._asyncReturn(null, $async$completer);
  94716. }
  94717. });
  94718. return A._asyncStartSync($async$call$0, $async$completer);
  94719. },
  94720. $signature: 2
  94721. };
  94722. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  94723. call$1(node) {
  94724. return node instanceof A.ModifiableCssStyleRule0;
  94725. },
  94726. $signature: 8
  94727. };
  94728. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  94729. call$1(targetLocations) {
  94730. return A.InterpolationMap$0(this.interpolation, targetLocations);
  94731. },
  94732. $signature: 218
  94733. };
  94734. A._EvaluateVisitor__serialize_closure2.prototype = {
  94735. call$0() {
  94736. return A.serializeValue0(this.value, false, this.quote);
  94737. },
  94738. $signature: 27
  94739. };
  94740. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  94741. call$0() {
  94742. var t1 = this.expression;
  94743. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  94744. },
  94745. $signature: 219
  94746. };
  94747. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  94748. call$1(number) {
  94749. var before, after, t1,
  94750. _1_0 = number.asSlash;
  94751. $label0$0: {
  94752. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  94753. before = _1_0._0;
  94754. after = _1_0._1;
  94755. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  94756. break $label0$0;
  94757. }
  94758. t1 = A.serializeValue0(number, true, true);
  94759. break $label0$0;
  94760. }
  94761. return t1;
  94762. },
  94763. $signature: 220
  94764. };
  94765. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  94766. call$1(url) {
  94767. var t1 = this.$this._async_evaluate0$_importCache;
  94768. t1 = t1 == null ? null : t1.humanize$1(url);
  94769. return t1 == null ? url : t1;
  94770. },
  94771. $signature: 48
  94772. };
  94773. A._ImportedCssVisitor2.prototype = {
  94774. visitCssAtRule$1(node) {
  94775. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  94776. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  94777. },
  94778. visitCssComment$1(node) {
  94779. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  94780. },
  94781. visitCssDeclaration$1(node) {
  94782. },
  94783. visitCssImport$1(node) {
  94784. var t2,
  94785. _s13_ = "_endOfImports",
  94786. t1 = this._async_evaluate0$_visitor;
  94787. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  94788. t1._async_evaluate0$_addChild$1(node);
  94789. 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)) {
  94790. t1._async_evaluate0$_addChild$1(node);
  94791. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  94792. } else {
  94793. t2 = t1._async_evaluate0$_outOfOrderImports;
  94794. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  94795. }
  94796. },
  94797. visitCssKeyframeBlock$1(node) {
  94798. },
  94799. visitCssMediaRule$1(node) {
  94800. var t1 = this._async_evaluate0$_visitor,
  94801. mediaQueries = t1._async_evaluate0$_mediaQueries;
  94802. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  94803. },
  94804. visitCssStyleRule$1(node) {
  94805. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  94806. },
  94807. visitCssStylesheet$1(node) {
  94808. var t1, t2, t3;
  94809. 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();) {
  94810. t3 = t1.__internal$_current;
  94811. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  94812. }
  94813. },
  94814. visitCssSupportsRule$1(node) {
  94815. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  94816. }
  94817. };
  94818. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  94819. call$1(node) {
  94820. return node instanceof A.ModifiableCssStyleRule0;
  94821. },
  94822. $signature: 8
  94823. };
  94824. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  94825. call$1(node) {
  94826. var t1;
  94827. if (!(node instanceof A.ModifiableCssStyleRule0))
  94828. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  94829. else
  94830. t1 = true;
  94831. return t1;
  94832. },
  94833. $signature: 8
  94834. };
  94835. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  94836. call$1(node) {
  94837. return node instanceof A.ModifiableCssStyleRule0;
  94838. },
  94839. $signature: 8
  94840. };
  94841. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  94842. call$1(node) {
  94843. return node instanceof A.ModifiableCssStyleRule0;
  94844. },
  94845. $signature: 8
  94846. };
  94847. A._EvaluationContext2.prototype = {
  94848. get$currentCallableSpan() {
  94849. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  94850. if (_0_0 != null)
  94851. return _0_0.get$span(_0_0);
  94852. throw A.wrapException(A.StateError$(string$.No_Sasc));
  94853. },
  94854. warn$2(_, message, deprecation) {
  94855. var t1 = this._async_evaluate0$_visitor,
  94856. t2 = t1._async_evaluate0$_importSpan;
  94857. if (t2 == null) {
  94858. t2 = t1._async_evaluate0$_callableNode;
  94859. t2 = t2 == null ? null : t2.get$span(t2);
  94860. }
  94861. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  94862. },
  94863. $isEvaluationContext0: 1
  94864. };
  94865. A.JSToDartAsyncFileImporter.prototype = {
  94866. canonicalize$1(_, url) {
  94867. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  94868. },
  94869. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  94870. var $async$goto = 0,
  94871. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  94872. $async$returnValue, $async$self = this, result, t1, resultUrl;
  94873. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94874. if ($async$errorCode === 1)
  94875. return A._asyncRethrow($async$result, $async$completer);
  94876. while (true)
  94877. switch ($async$goto) {
  94878. case 0:
  94879. // Function start
  94880. if (url.get$scheme() === "file") {
  94881. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  94882. // goto return
  94883. $async$goto = 1;
  94884. break;
  94885. }
  94886. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  94887. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  94888. break;
  94889. case 3:
  94890. // then
  94891. $async$goto = 5;
  94892. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  94893. case 5:
  94894. // returning from await.
  94895. result = $async$result;
  94896. case 4:
  94897. // join
  94898. if (result == null) {
  94899. $async$returnValue = null;
  94900. // goto return
  94901. $async$goto = 1;
  94902. break;
  94903. }
  94904. t1 = self.URL;
  94905. if (!(result instanceof t1))
  94906. A.jsThrow(new self.Error(string$.The_fie));
  94907. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  94908. if (resultUrl.get$scheme() !== "file")
  94909. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  94910. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  94911. // goto return
  94912. $async$goto = 1;
  94913. break;
  94914. case 1:
  94915. // return
  94916. return A._asyncReturn($async$returnValue, $async$completer);
  94917. }
  94918. });
  94919. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  94920. },
  94921. load$1(_, url) {
  94922. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  94923. },
  94924. isNonCanonicalScheme$1(scheme) {
  94925. return scheme !== "file";
  94926. }
  94927. };
  94928. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  94929. call$0() {
  94930. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  94931. },
  94932. $signature: 36
  94933. };
  94934. A.AsyncImportCache0.prototype = {
  94935. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  94936. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  94937. },
  94938. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  94939. var $async$goto = 0,
  94940. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  94941. $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;
  94942. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94943. if ($async$errorCode === 1)
  94944. return A._asyncRethrow($async$result, $async$completer);
  94945. while (true)
  94946. switch ($async$goto) {
  94947. case 0:
  94948. // Function start
  94949. if (A.isBrowser())
  94950. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  94951. else
  94952. t1 = false;
  94953. if (t1)
  94954. throw A.wrapException(string$.Custom);
  94955. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  94956. break;
  94957. case 3:
  94958. // then
  94959. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  94960. if (resolvedUrl == null)
  94961. resolvedUrl = url;
  94962. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  94963. $async$goto = 5;
  94964. 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);
  94965. case 5:
  94966. // returning from await.
  94967. relativeResult = $async$result;
  94968. if (relativeResult != null) {
  94969. $async$returnValue = relativeResult;
  94970. // goto return
  94971. $async$goto = 1;
  94972. break;
  94973. }
  94974. case 4:
  94975. // join
  94976. key = new A._Record_2_forImport(url, forImport);
  94977. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  94978. if (t1.containsKey$1(key)) {
  94979. $async$returnValue = t1.$index(0, key);
  94980. // goto return
  94981. $async$goto = 1;
  94982. break;
  94983. }
  94984. 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;
  94985. case 6:
  94986. // for condition
  94987. if (!(i < t2.length)) {
  94988. // goto after for
  94989. $async$goto = 8;
  94990. break;
  94991. }
  94992. importer = t2[i];
  94993. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  94994. if (t4.containsKey$1(perImporterKey)) {
  94995. t7 = t4.$index(0, perImporterKey);
  94996. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  94997. } else
  94998. _1_0 = null;
  94999. _1_2_isSet = t3._is(_1_0);
  95000. result = null;
  95001. if (_1_2_isSet) {
  95002. _1_2 = _1_0._0;
  95003. t7 = _1_2 != null;
  95004. if (t7) {
  95005. t6._as(_1_2);
  95006. result = _1_2;
  95007. }
  95008. } else {
  95009. _1_2 = null;
  95010. t7 = false;
  95011. }
  95012. if (t7) {
  95013. $async$returnValue = result;
  95014. // goto return
  95015. $async$goto = 1;
  95016. break;
  95017. }
  95018. if (_1_2_isSet)
  95019. t7 = _1_2 == null;
  95020. else
  95021. t7 = false;
  95022. if (t7) {
  95023. // goto for update
  95024. $async$goto = 7;
  95025. break;
  95026. }
  95027. $async$goto = 10;
  95028. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  95029. case 10:
  95030. // returning from await.
  95031. _2_0 = $async$result;
  95032. _2_1 = _2_0._0;
  95033. _2_5_isSet = _2_1 != null;
  95034. _2_5 = null;
  95035. _2_3 = null;
  95036. t7 = false;
  95037. if (_2_5_isSet) {
  95038. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  95039. _2_3 = _2_0._1;
  95040. t7 = _2_3;
  95041. _2_5 = t7;
  95042. t7 = t7 && cacheable;
  95043. } else
  95044. result = null;
  95045. if (t7) {
  95046. t1.$indexSet(0, key, result);
  95047. $async$returnValue = result;
  95048. // goto return
  95049. $async$goto = 1;
  95050. break;
  95051. }
  95052. if (_2_5_isSet) {
  95053. t7 = _2_5;
  95054. _2_3_isSet = _2_5_isSet;
  95055. } else {
  95056. _2_3 = _2_0._1;
  95057. t7 = _2_3;
  95058. _2_3_isSet = true;
  95059. }
  95060. t7 = t7 && !cacheable;
  95061. if (t7) {
  95062. t4.$indexSet(0, perImporterKey, _2_1);
  95063. if (_2_1 != null) {
  95064. $async$returnValue = _2_1;
  95065. // goto return
  95066. $async$goto = 1;
  95067. break;
  95068. }
  95069. // goto break $label0$1
  95070. $async$goto = 9;
  95071. break;
  95072. }
  95073. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  95074. if (t7) {
  95075. if (cacheable) {
  95076. for (j = 0; j < i; ++j)
  95077. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  95078. cacheable = false;
  95079. }
  95080. if (_2_1 != null) {
  95081. $async$returnValue = _2_1;
  95082. // goto return
  95083. $async$goto = 1;
  95084. break;
  95085. }
  95086. }
  95087. case 9:
  95088. // break $label0$1
  95089. case 7:
  95090. // for update
  95091. ++i;
  95092. // goto for condition
  95093. $async$goto = 6;
  95094. break;
  95095. case 8:
  95096. // after for
  95097. if (cacheable)
  95098. t1.$indexSet(0, key, null);
  95099. $async$returnValue = null;
  95100. // goto return
  95101. $async$goto = 1;
  95102. break;
  95103. case 1:
  95104. // return
  95105. return A._asyncReturn($async$returnValue, $async$completer);
  95106. }
  95107. });
  95108. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  95109. },
  95110. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  95111. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  95112. },
  95113. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  95114. var $async$goto = 0,
  95115. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  95116. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  95117. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95118. if ($async$errorCode === 1)
  95119. return A._asyncRethrow($async$result, $async$completer);
  95120. while (true)
  95121. switch ($async$goto) {
  95122. case 0:
  95123. // Function start
  95124. $async$goto = baseUrl != null ? 3 : 5;
  95125. break;
  95126. case 3:
  95127. // then
  95128. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  95129. break;
  95130. case 6:
  95131. // then
  95132. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  95133. $async$goto = 9;
  95134. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95135. case 9:
  95136. // returning from await.
  95137. t1 = $async$result;
  95138. passContainingUrl = t1;
  95139. // goto join
  95140. $async$goto = 7;
  95141. break;
  95142. case 8:
  95143. // else
  95144. passContainingUrl = true;
  95145. case 7:
  95146. // join
  95147. // goto join
  95148. $async$goto = 4;
  95149. break;
  95150. case 5:
  95151. // else
  95152. passContainingUrl = false;
  95153. case 4:
  95154. // join
  95155. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  95156. t1 = type$.nullable_Object;
  95157. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  95158. $async$goto = 10;
  95159. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  95160. case 10:
  95161. // returning from await.
  95162. result = $async$result;
  95163. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  95164. if (result == null) {
  95165. $async$returnValue = new A._Record_2(null, cacheable);
  95166. // goto return
  95167. $async$goto = 1;
  95168. break;
  95169. }
  95170. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  95171. break;
  95172. case 11:
  95173. // then
  95174. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  95175. $async$goto = 14;
  95176. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95177. case 14:
  95178. // returning from await.
  95179. t1 = $async$result;
  95180. // goto join
  95181. $async$goto = 12;
  95182. break;
  95183. case 13:
  95184. // else
  95185. t1 = false;
  95186. case 12:
  95187. // join
  95188. if (t1)
  95189. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  95190. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  95191. // goto return
  95192. $async$goto = 1;
  95193. break;
  95194. case 1:
  95195. // return
  95196. return A._asyncReturn($async$returnValue, $async$completer);
  95197. }
  95198. });
  95199. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  95200. },
  95201. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  95202. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  95203. },
  95204. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95205. var $async$goto = 0,
  95206. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95207. $async$returnValue, $async$self = this;
  95208. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95209. if ($async$errorCode === 1)
  95210. return A._asyncRethrow($async$result, $async$completer);
  95211. while (true)
  95212. switch ($async$goto) {
  95213. case 0:
  95214. // Function start
  95215. $async$goto = 3;
  95216. 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);
  95217. case 3:
  95218. // returning from await.
  95219. $async$returnValue = $async$result;
  95220. // goto return
  95221. $async$goto = 1;
  95222. break;
  95223. case 1:
  95224. // return
  95225. return A._asyncReturn($async$returnValue, $async$completer);
  95226. }
  95227. });
  95228. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95229. },
  95230. humanize$1(canonicalUrl) {
  95231. var t1 = this._async_import_cache0$_canonicalizeCache,
  95232. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95233. 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));
  95234. return t2 == null ? canonicalUrl : t2;
  95235. },
  95236. sourceMapUrl$1(_, canonicalUrl) {
  95237. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95238. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95239. return t1 == null ? canonicalUrl : t1;
  95240. }
  95241. };
  95242. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95243. call$0() {
  95244. var $async$goto = 0,
  95245. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95246. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95247. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95248. if ($async$errorCode === 1)
  95249. return A._asyncRethrow($async$result, $async$completer);
  95250. while (true)
  95251. switch ($async$goto) {
  95252. case 0:
  95253. // Function start
  95254. t1 = $async$self.$this;
  95255. t2 = $async$self.baseUrl;
  95256. $async$goto = 3;
  95257. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95258. case 3:
  95259. // returning from await.
  95260. _0_0 = $async$result;
  95261. result = _0_0._0;
  95262. _0_0._1;
  95263. if (t2 != null)
  95264. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95265. $async$returnValue = result;
  95266. // goto return
  95267. $async$goto = 1;
  95268. break;
  95269. case 1:
  95270. // return
  95271. return A._asyncReturn($async$returnValue, $async$completer);
  95272. }
  95273. });
  95274. return A._asyncStartSync($async$call$0, $async$completer);
  95275. },
  95276. $signature: 362
  95277. };
  95278. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95279. call$0() {
  95280. return this.importer.canonicalize$1(0, this.url);
  95281. },
  95282. $signature: 182
  95283. };
  95284. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95285. call$0() {
  95286. var $async$goto = 0,
  95287. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95288. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95289. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95290. if ($async$errorCode === 1)
  95291. return A._asyncRethrow($async$result, $async$completer);
  95292. while (true)
  95293. switch ($async$goto) {
  95294. case 0:
  95295. // Function start
  95296. t1 = Date.now();
  95297. t2 = $async$self.canonicalUrl;
  95298. t3 = $async$self.importer.load$1(0, t2);
  95299. $async$goto = 3;
  95300. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95301. case 3:
  95302. // returning from await.
  95303. result = $async$result;
  95304. if (result == null) {
  95305. $async$returnValue = null;
  95306. // goto return
  95307. $async$goto = 1;
  95308. break;
  95309. }
  95310. t3 = $async$self.$this;
  95311. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95312. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95313. t3 = result.contents;
  95314. t1 = result.syntax;
  95315. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95316. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  95317. // goto return
  95318. $async$goto = 1;
  95319. break;
  95320. case 1:
  95321. // return
  95322. return A._asyncReturn($async$returnValue, $async$completer);
  95323. }
  95324. });
  95325. return A._asyncStartSync($async$call$0, $async$completer);
  95326. },
  95327. $signature: 363
  95328. };
  95329. A.AsyncImportCache_humanize_closure3.prototype = {
  95330. call$1(result) {
  95331. return result._1.$eq(0, this.canonicalUrl);
  95332. },
  95333. $signature: 364
  95334. };
  95335. A.AsyncImportCache_humanize_closure4.prototype = {
  95336. call$1(result) {
  95337. return result._2;
  95338. },
  95339. $signature: 365
  95340. };
  95341. A.AsyncImportCache_humanize_closure5.prototype = {
  95342. call$1(url) {
  95343. return url.get$path(url).length;
  95344. },
  95345. $signature: 102
  95346. };
  95347. A.AsyncImportCache_humanize_closure6.prototype = {
  95348. call$1(url) {
  95349. var t1 = $.$get$url(),
  95350. t2 = this.canonicalUrl;
  95351. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95352. },
  95353. $signature: 48
  95354. };
  95355. A.AtRootQueryParser0.prototype = {
  95356. parse$0(_) {
  95357. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95358. }
  95359. };
  95360. A.AtRootQueryParser_parse_closure0.prototype = {
  95361. call$0() {
  95362. var include, atRules,
  95363. t1 = this.$this,
  95364. t2 = t1.scanner;
  95365. t2.expectChar$1(40);
  95366. t1.whitespace$1$consumeNewlines(true);
  95367. include = t1.scanIdentifier$1("with");
  95368. if (!include)
  95369. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95370. t1.whitespace$1$consumeNewlines(true);
  95371. t2.expectChar$1(58);
  95372. t1.whitespace$1$consumeNewlines(true);
  95373. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95374. do {
  95375. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95376. t1.whitespace$1$consumeNewlines(true);
  95377. } while (t1.lookingAtIdentifier$0());
  95378. t2.expectChar$1(41);
  95379. t2.expectDone$0();
  95380. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95381. },
  95382. $signature: 366
  95383. };
  95384. A.AtRootQuery0.prototype = {
  95385. excludes$1(node) {
  95386. var t1, _this = this;
  95387. if (_this._at_root_query0$_all)
  95388. return !_this.include;
  95389. $label0$0: {
  95390. if (node instanceof A.ModifiableCssStyleRule0) {
  95391. t1 = _this._at_root_query0$_rule !== _this.include;
  95392. break $label0$0;
  95393. }
  95394. if (node instanceof A.ModifiableCssMediaRule0) {
  95395. t1 = _this.excludesName$1("media");
  95396. break $label0$0;
  95397. }
  95398. if (node instanceof A.ModifiableCssSupportsRule0) {
  95399. t1 = _this.excludesName$1("supports");
  95400. break $label0$0;
  95401. }
  95402. if (node instanceof A.ModifiableCssAtRule0) {
  95403. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95404. break $label0$0;
  95405. }
  95406. t1 = false;
  95407. break $label0$0;
  95408. }
  95409. return t1;
  95410. },
  95411. excludesName$1($name) {
  95412. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95413. return t1 !== this.include;
  95414. }
  95415. };
  95416. A.AtRootRule0.prototype = {
  95417. accept$1$1(visitor) {
  95418. return visitor.visitAtRootRule$1(0, this);
  95419. },
  95420. accept$1(visitor) {
  95421. return this.accept$1$1(visitor, type$.dynamic);
  95422. },
  95423. toString$0(_) {
  95424. var buffer = new A.StringBuffer("@at-root "),
  95425. t1 = this.query;
  95426. if (t1 != null)
  95427. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95428. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  95429. },
  95430. get$span(receiver) {
  95431. return this.span;
  95432. }
  95433. };
  95434. A.ModifiableCssAtRule0.prototype = {
  95435. accept$1$1(visitor) {
  95436. return visitor.visitCssAtRule$1(this);
  95437. },
  95438. accept$1(visitor) {
  95439. return this.accept$1$1(visitor, type$.dynamic);
  95440. },
  95441. equalsIgnoringChildren$1(other) {
  95442. var t1, t2;
  95443. if (other instanceof A.ModifiableCssAtRule0) {
  95444. t1 = this.name;
  95445. t2 = other.name;
  95446. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95447. } else
  95448. t1 = false;
  95449. return t1;
  95450. },
  95451. copyWithoutChildren$0() {
  95452. var _this = this;
  95453. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95454. },
  95455. addChild$1(child) {
  95456. this.super$ModifiableCssParentNode$addChild0(child);
  95457. },
  95458. get$isChildless() {
  95459. return this.isChildless;
  95460. },
  95461. get$span(receiver) {
  95462. return this.span;
  95463. }
  95464. };
  95465. A.AtRule0.prototype = {
  95466. accept$1$1(visitor) {
  95467. return visitor.visitAtRule$1(0, this);
  95468. },
  95469. accept$1(visitor) {
  95470. return this.accept$1$1(visitor, type$.dynamic);
  95471. },
  95472. toString$0(_) {
  95473. var children,
  95474. t1 = "@" + this.name.toString$0(0),
  95475. buffer = new A.StringBuffer(t1),
  95476. t2 = this.value;
  95477. if (t2 != null)
  95478. buffer._contents = t1 + (" " + t2.toString$0(0));
  95479. children = this.children;
  95480. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95481. },
  95482. get$span(receiver) {
  95483. return this.span;
  95484. }
  95485. };
  95486. A.AttributeSelector0.prototype = {
  95487. accept$1$1(visitor) {
  95488. return visitor.visitAttributeSelector$1(this);
  95489. },
  95490. accept$1(visitor) {
  95491. return this.accept$1$1(visitor, type$.dynamic);
  95492. },
  95493. $eq(_, other) {
  95494. var _this = this;
  95495. if (other == null)
  95496. return false;
  95497. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  95498. },
  95499. get$hashCode(_) {
  95500. var _this = this,
  95501. t1 = _this.name;
  95502. 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;
  95503. }
  95504. };
  95505. A.AttributeOperator0.prototype = {
  95506. _enumToString$0() {
  95507. return "AttributeOperator." + this._name;
  95508. },
  95509. toString$0(_) {
  95510. return this._attribute0$_text;
  95511. }
  95512. };
  95513. A.BinaryOperationExpression0.prototype = {
  95514. get$span(_) {
  95515. var right,
  95516. left = this.left;
  95517. for (; left instanceof A.BinaryOperationExpression0;)
  95518. left = left.left;
  95519. right = this.right;
  95520. for (; right instanceof A.BinaryOperationExpression0;)
  95521. right = right.right;
  95522. return left.get$span(left).expand$1(0, right.get$span(right));
  95523. },
  95524. get$operatorSpan() {
  95525. var t3, t4,
  95526. t1 = this.left,
  95527. t2 = t1.get$span(t1);
  95528. t2 = t2.get$file(t2);
  95529. t3 = this.right;
  95530. t4 = t3.get$span(t3);
  95531. if (t2 === t4.get$file(t4)) {
  95532. t2 = t1.get$span(t1);
  95533. t2 = t2.get$end(t2);
  95534. t4 = t3.get$span(t3);
  95535. t4 = t2.offset < t4.get$start(t4).offset;
  95536. t2 = t4;
  95537. } else
  95538. t2 = false;
  95539. if (t2) {
  95540. t2 = t1.get$span(t1);
  95541. t2 = t2.get$file(t2);
  95542. t1 = t1.get$span(t1);
  95543. t1 = t1.get$end(t1);
  95544. t3 = t3.get$span(t3);
  95545. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  95546. t1 = t3;
  95547. } else
  95548. t1 = this.get$span(0);
  95549. return t1;
  95550. },
  95551. accept$1$1(visitor) {
  95552. return visitor.visitBinaryOperationExpression$1(0, this);
  95553. },
  95554. accept$1(visitor) {
  95555. return this.accept$1$1(visitor, type$.dynamic);
  95556. },
  95557. toString$0(_) {
  95558. var t1, t2, t3, right, operator, _this = this,
  95559. _0_0 = _this.left;
  95560. $label0$0: {
  95561. if (_0_0 instanceof A.BinaryOperationExpression0) {
  95562. t1 = _0_0.operator.precedence < _this.operator.precedence;
  95563. break $label0$0;
  95564. }
  95565. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  95566. t1 = true;
  95567. break $label0$0;
  95568. }
  95569. t1 = false;
  95570. break $label0$0;
  95571. }
  95572. t2 = t1 ? A.Primitives_stringFromCharCode(40) : "";
  95573. t2 += _0_0.toString$0(0);
  95574. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95575. t2 = A.Primitives_stringFromCharCode(32);
  95576. t3 = _this.operator;
  95577. t2 = t1 + t2 + t3.operator + t2;
  95578. right = _this.right;
  95579. $label1$1: {
  95580. t1 = false;
  95581. if (right instanceof A.BinaryOperationExpression0) {
  95582. operator = right.operator;
  95583. if (operator.precedence <= t3.precedence)
  95584. t1 = !(operator === t3 && operator.isAssociative);
  95585. break $label1$1;
  95586. }
  95587. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  95588. t1 = true;
  95589. break $label1$1;
  95590. }
  95591. break $label1$1;
  95592. }
  95593. if (t1)
  95594. t2 += A.Primitives_stringFromCharCode(40);
  95595. t2 += right.toString$0(0);
  95596. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95597. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95598. }
  95599. };
  95600. A.BinaryOperator0.prototype = {
  95601. _enumToString$0() {
  95602. return "BinaryOperator." + this._name;
  95603. },
  95604. toString$0(_) {
  95605. return this.name;
  95606. }
  95607. };
  95608. A.BooleanExpression0.prototype = {
  95609. accept$1$1(visitor) {
  95610. return visitor.visitBooleanExpression$1(0, this);
  95611. },
  95612. accept$1(visitor) {
  95613. return this.accept$1$1(visitor, type$.dynamic);
  95614. },
  95615. toString$0(_) {
  95616. return String(this.value);
  95617. },
  95618. get$span(receiver) {
  95619. return this.span;
  95620. }
  95621. };
  95622. A.booleanClass_closure.prototype = {
  95623. call$0() {
  95624. var t1 = type$.JSClass,
  95625. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  95626. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95627. return jsClass;
  95628. },
  95629. $signature: 15
  95630. };
  95631. A.booleanClass__closure.prototype = {
  95632. call$2($self, _) {
  95633. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  95634. },
  95635. call$1($self) {
  95636. return this.call$2($self, null);
  95637. },
  95638. "call*": "call$2",
  95639. $requiredArgCount: 1,
  95640. $defaultValues() {
  95641. return [null];
  95642. },
  95643. $signature: 221
  95644. };
  95645. A.legacyBooleanClass_closure.prototype = {
  95646. call$0() {
  95647. var t1 = type$.JSClass,
  95648. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  95649. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  95650. jsClass.TRUE = B.SassBoolean_true0;
  95651. jsClass.FALSE = B.SassBoolean_false0;
  95652. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95653. return jsClass;
  95654. },
  95655. $signature: 15
  95656. };
  95657. A.legacyBooleanClass__closure.prototype = {
  95658. call$2(_, __) {
  95659. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  95660. },
  95661. call$1(_) {
  95662. return this.call$2(_, null);
  95663. },
  95664. "call*": "call$2",
  95665. $requiredArgCount: 1,
  95666. $defaultValues() {
  95667. return [null];
  95668. },
  95669. $signature: 222
  95670. };
  95671. A.legacyBooleanClass__closure0.prototype = {
  95672. call$1($self) {
  95673. return $self === B.SassBoolean_true0;
  95674. },
  95675. $signature: 71
  95676. };
  95677. A.SassBoolean0.prototype = {
  95678. get$isTruthy() {
  95679. return this.value;
  95680. },
  95681. accept$1$1(visitor) {
  95682. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  95683. },
  95684. accept$1(visitor) {
  95685. return this.accept$1$1(visitor, type$.dynamic);
  95686. },
  95687. assertBoolean$1($name) {
  95688. return this;
  95689. },
  95690. unaryNot$0() {
  95691. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  95692. }
  95693. };
  95694. A.Box0.prototype = {
  95695. $eq(_, other) {
  95696. if (other == null)
  95697. return false;
  95698. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  95699. },
  95700. get$hashCode(_) {
  95701. return A.Primitives_objectHashCode(this._box0$_inner);
  95702. }
  95703. };
  95704. A.ModifiableBox0.prototype = {};
  95705. A.BuiltInCallable0.prototype = {
  95706. callbackFor$2(positional, names) {
  95707. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  95708. 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) {
  95709. overload = t1[_i];
  95710. t3 = overload._0;
  95711. if (t3.matches$2(positional, names))
  95712. return overload;
  95713. mismatchDistance = t3.parameters.length - positional;
  95714. if (minMismatchDistance != null) {
  95715. t3 = Math.abs(mismatchDistance);
  95716. t4 = Math.abs(minMismatchDistance);
  95717. if (t3 > t4)
  95718. continue;
  95719. if (t3 === t4 && mismatchDistance < 0)
  95720. continue;
  95721. }
  95722. minMismatchDistance = mismatchDistance;
  95723. fuzzyMatch = overload;
  95724. }
  95725. if (fuzzyMatch != null)
  95726. return fuzzyMatch;
  95727. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  95728. },
  95729. withName$1($name) {
  95730. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  95731. },
  95732. withDeprecationWarning$2(module, newName) {
  95733. var t2, t3, _i, t4, t5, _this = this,
  95734. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  95735. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95736. t4 = {};
  95737. t5 = t2[_i];
  95738. t4.$function = null;
  95739. t4.$function = t5._1;
  95740. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  95741. }
  95742. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  95743. },
  95744. withDeprecationWarning$1(module) {
  95745. return this.withDeprecationWarning$2(module, null);
  95746. },
  95747. $isAsyncCallable0: 1,
  95748. $isAsyncBuiltInCallable0: 1,
  95749. $isCallable: 1,
  95750. get$name(receiver) {
  95751. return this.name;
  95752. },
  95753. get$acceptsContent() {
  95754. return this.acceptsContent;
  95755. }
  95756. };
  95757. A.BuiltInCallable$mixin_closure0.prototype = {
  95758. call$1($arguments) {
  95759. this.callback.call$1($arguments);
  95760. return B.C__SassNull0;
  95761. },
  95762. $signature: 3
  95763. };
  95764. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  95765. call$1(args) {
  95766. var _this = this,
  95767. t1 = _this.newName;
  95768. if (t1 == null)
  95769. t1 = _this.$this.name;
  95770. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_ZDV);
  95771. return _this._box_0.$function.call$1(args);
  95772. },
  95773. $signature: 3
  95774. };
  95775. A.BuiltInModule0.prototype = {
  95776. get$upstream() {
  95777. return B.List_empty21;
  95778. },
  95779. get$variableNodes() {
  95780. return B.Map_empty13;
  95781. },
  95782. get$extensionStore() {
  95783. return B.C_EmptyExtensionStore0;
  95784. },
  95785. get$css(_) {
  95786. return new A.CssStylesheet0(B.List_empty19, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  95787. },
  95788. get$preModuleComments() {
  95789. return B.Map_empty12;
  95790. },
  95791. get$transitivelyContainsCss() {
  95792. return false;
  95793. },
  95794. get$transitivelyContainsExtensions() {
  95795. return false;
  95796. },
  95797. setVariable$3($name, value, nodeWithSpan) {
  95798. if (!this.variables.containsKey$1($name))
  95799. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95800. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  95801. },
  95802. variableIdentity$1($name) {
  95803. return this;
  95804. },
  95805. couldHaveBeenConfigured$1(_) {
  95806. return false;
  95807. },
  95808. cloneCss$0() {
  95809. return this;
  95810. },
  95811. $isModule1: 1,
  95812. get$url(receiver) {
  95813. return this.url;
  95814. },
  95815. get$functions(receiver) {
  95816. return this.functions;
  95817. },
  95818. get$mixins() {
  95819. return this.mixins;
  95820. },
  95821. get$variables() {
  95822. return this.variables;
  95823. }
  95824. };
  95825. A.calculationClass_closure.prototype = {
  95826. call$0() {
  95827. var t1 = type$.JSClass,
  95828. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  95829. t2 = type$.String,
  95830. t3 = type$.Function;
  95831. 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));
  95832. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95833. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95834. 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);
  95835. return jsClass;
  95836. },
  95837. $signature: 15
  95838. };
  95839. A.calculationClass__closure.prototype = {
  95840. call$2($self, _) {
  95841. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  95842. },
  95843. call$1($self) {
  95844. return this.call$2($self, null);
  95845. },
  95846. "call*": "call$2",
  95847. $requiredArgCount: 1,
  95848. $defaultValues() {
  95849. return [null];
  95850. },
  95851. $signature: 221
  95852. };
  95853. A.calculationClass__closure0.prototype = {
  95854. call$1(argument) {
  95855. A._assertCalculationValue(argument);
  95856. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  95857. },
  95858. $signature: 140
  95859. };
  95860. A.calculationClass__closure1.prototype = {
  95861. call$1($arguments) {
  95862. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95863. t2 = type$.Object,
  95864. argList = J.cast$1$0$ax(t1, t2);
  95865. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95866. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  95867. },
  95868. $signature: 140
  95869. };
  95870. A.calculationClass__closure2.prototype = {
  95871. call$1($arguments) {
  95872. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  95873. t2 = type$.Object,
  95874. argList = J.cast$1$0$ax(t1, t2);
  95875. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  95876. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  95877. },
  95878. $signature: 140
  95879. };
  95880. A.calculationClass__closure3.prototype = {
  95881. call$3(min, value, max) {
  95882. var t1;
  95883. if (!(value == null && !A._isValidClampArg(min)))
  95884. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  95885. else
  95886. t1 = true;
  95887. if (t1)
  95888. 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) + "`"));
  95889. t1 = type$.NonNullsIterable_Object;
  95890. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  95891. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  95892. },
  95893. call$1(min) {
  95894. return this.call$3(min, null, null);
  95895. },
  95896. call$2(min, value) {
  95897. return this.call$3(min, value, null);
  95898. },
  95899. "call*": "call$3",
  95900. $requiredArgCount: 1,
  95901. $defaultValues() {
  95902. return [null, null];
  95903. },
  95904. $signature: 371
  95905. };
  95906. A.calculationClass__closure4.prototype = {
  95907. call$2($self, $name) {
  95908. return $self;
  95909. },
  95910. call$1($self) {
  95911. return this.call$2($self, null);
  95912. },
  95913. "call*": "call$2",
  95914. $requiredArgCount: 1,
  95915. $defaultValues() {
  95916. return [null];
  95917. },
  95918. $signature: 372
  95919. };
  95920. A.calculationClass__closure5.prototype = {
  95921. call$1($self) {
  95922. return new self.immutable.List($self.$arguments);
  95923. },
  95924. $signature: 373
  95925. };
  95926. A.calculationOperationClass_closure.prototype = {
  95927. call$0() {
  95928. var _null = null,
  95929. t1 = type$.JSClass,
  95930. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  95931. t2 = type$.String,
  95932. t3 = type$.Function;
  95933. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95934. 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));
  95935. 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);
  95936. return jsClass;
  95937. },
  95938. $signature: 15
  95939. };
  95940. A.calculationOperationClass__closure.prototype = {
  95941. call$4($self, strOperator, left, right) {
  95942. var operator = A.IterableExtension_firstWhereOrNull(B.List_g9w, new A.calculationOperationClass___closure(strOperator));
  95943. if (operator == null)
  95944. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  95945. A._assertCalculationValue(left);
  95946. A._assertCalculationValue(right);
  95947. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  95948. },
  95949. "call*": "call$4",
  95950. $requiredArgCount: 4,
  95951. $signature: 374
  95952. };
  95953. A.calculationOperationClass___closure.prototype = {
  95954. call$1(value) {
  95955. return value.operator === this.strOperator;
  95956. },
  95957. $signature: 375
  95958. };
  95959. A.calculationOperationClass__closure0.prototype = {
  95960. call$2($self, other) {
  95961. return $self.$eq(0, other);
  95962. },
  95963. $signature: 376
  95964. };
  95965. A.calculationOperationClass__closure1.prototype = {
  95966. call$1($self) {
  95967. return $self.get$hashCode(0);
  95968. },
  95969. $signature: 377
  95970. };
  95971. A.calculationOperationClass__closure2.prototype = {
  95972. call$1($self) {
  95973. return $self._calculation0$_operator.operator;
  95974. },
  95975. $signature: 378
  95976. };
  95977. A.calculationOperationClass__closure3.prototype = {
  95978. call$1($self) {
  95979. return $self._calculation0$_left;
  95980. },
  95981. $signature: 223
  95982. };
  95983. A.calculationOperationClass__closure4.prototype = {
  95984. call$1($self) {
  95985. return $self._calculation0$_right;
  95986. },
  95987. $signature: 223
  95988. };
  95989. A.calculationInterpolationClass_closure.prototype = {
  95990. call$0() {
  95991. var t1 = type$.JSClass,
  95992. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  95993. t2 = type$.String,
  95994. t3 = type$.Function;
  95995. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95996. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95997. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  95998. return jsClass;
  95999. },
  96000. $signature: 15
  96001. };
  96002. A.calculationInterpolationClass__closure.prototype = {
  96003. call$2($self, value) {
  96004. return new A.CalculationInterpolation(value);
  96005. },
  96006. $signature: 380
  96007. };
  96008. A.calculationInterpolationClass__closure0.prototype = {
  96009. call$2($self, other) {
  96010. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  96011. },
  96012. $signature: 381
  96013. };
  96014. A.calculationInterpolationClass__closure1.prototype = {
  96015. call$1($self) {
  96016. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  96017. },
  96018. $signature: 382
  96019. };
  96020. A.calculationInterpolationClass__closure2.prototype = {
  96021. call$1($self) {
  96022. return $self._calculation0$_value;
  96023. },
  96024. $signature: 383
  96025. };
  96026. A.SassCalculation0.prototype = {
  96027. get$isSpecialNumber() {
  96028. return true;
  96029. },
  96030. accept$1$1(visitor) {
  96031. return visitor.visitCalculation$1(this);
  96032. },
  96033. accept$1(visitor) {
  96034. return this.accept$1$1(visitor, type$.dynamic);
  96035. },
  96036. assertCalculation$1($name) {
  96037. return this;
  96038. },
  96039. plus$1(other) {
  96040. if (other instanceof A.SassString0)
  96041. return this.super$Value$plus0(other);
  96042. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  96043. },
  96044. minus$1(other) {
  96045. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  96046. },
  96047. unaryPlus$0() {
  96048. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  96049. },
  96050. unaryMinus$0() {
  96051. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  96052. },
  96053. $eq(_, other) {
  96054. if (other == null)
  96055. return false;
  96056. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  96057. },
  96058. get$hashCode(_) {
  96059. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  96060. }
  96061. };
  96062. A.SassCalculation__verifyLength_closure0.prototype = {
  96063. call$1(arg) {
  96064. return arg instanceof A.SassString0;
  96065. },
  96066. $signature: 71
  96067. };
  96068. A.CalculationOperation0.prototype = {
  96069. $eq(_, other) {
  96070. if (other == null)
  96071. return false;
  96072. 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);
  96073. },
  96074. get$hashCode(_) {
  96075. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  96076. },
  96077. toString$0(_) {
  96078. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  96079. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  96080. }
  96081. };
  96082. A.CalculationOperator0.prototype = {
  96083. _enumToString$0() {
  96084. return "CalculationOperator." + this._name;
  96085. },
  96086. toString$0(_) {
  96087. return this.name;
  96088. }
  96089. };
  96090. A.CalculationInterpolation.prototype = {
  96091. $eq(_, other) {
  96092. if (other == null)
  96093. return false;
  96094. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  96095. },
  96096. get$hashCode(_) {
  96097. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  96098. },
  96099. toString$0(_) {
  96100. return this._calculation0$_value;
  96101. }
  96102. };
  96103. A.CallableDeclaration0.prototype = {
  96104. get$span(receiver) {
  96105. return this.span;
  96106. }
  96107. };
  96108. A.updateCanonicalizeContextPrototype_closure.prototype = {
  96109. call$1($self) {
  96110. return $self._canonicalize_context$_fromImport;
  96111. },
  96112. $signature: 384
  96113. };
  96114. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  96115. call$1($self) {
  96116. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  96117. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  96118. },
  96119. $signature: 385
  96120. };
  96121. A.CanonicalizeContext0.prototype = {
  96122. withFromImport$1$2(fromImport, callback) {
  96123. var t1,
  96124. oldFromImport = this._canonicalize_context$_fromImport;
  96125. this._canonicalize_context$_fromImport = true;
  96126. try {
  96127. t1 = callback.call$0();
  96128. return t1;
  96129. } finally {
  96130. this._canonicalize_context$_fromImport = oldFromImport;
  96131. }
  96132. },
  96133. withFromImport$2(fromImport, callback) {
  96134. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  96135. }
  96136. };
  96137. A.ColorChannel0.prototype = {
  96138. isAnalogous$1(other) {
  96139. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  96140. _0_1 = this.name,
  96141. _0_6 = other.name;
  96142. $label0$0: {
  96143. if ("red" !== _0_1)
  96144. _0_6_isSet = "x" === _0_1;
  96145. else
  96146. _0_6_isSet = true;
  96147. if (_0_6_isSet) {
  96148. if ("red" !== _0_6)
  96149. t1 = "x" === _0_6;
  96150. else
  96151. t1 = true;
  96152. _0_60 = _0_6;
  96153. } else {
  96154. _0_60 = null;
  96155. t1 = false;
  96156. }
  96157. t2 = true;
  96158. if (!t1) {
  96159. if ("green" !== _0_1)
  96160. t1 = "y" === _0_1;
  96161. else
  96162. t1 = true;
  96163. if (t1) {
  96164. _0_6_isSet0 = true;
  96165. if (_0_6_isSet)
  96166. t1 = _0_60;
  96167. else {
  96168. t1 = _0_6;
  96169. _0_6_isSet = _0_6_isSet0;
  96170. _0_60 = t1;
  96171. }
  96172. if ("green" !== t1) {
  96173. if (_0_6_isSet)
  96174. t1 = _0_60;
  96175. else {
  96176. t1 = _0_6;
  96177. _0_6_isSet = _0_6_isSet0;
  96178. _0_60 = t1;
  96179. }
  96180. t1 = "y" === t1;
  96181. } else
  96182. t1 = true;
  96183. } else
  96184. t1 = false;
  96185. if (!t1) {
  96186. if ("blue" !== _0_1)
  96187. t1 = "z" === _0_1;
  96188. else
  96189. t1 = true;
  96190. if (t1) {
  96191. _0_6_isSet0 = true;
  96192. if (_0_6_isSet)
  96193. t1 = _0_60;
  96194. else {
  96195. t1 = _0_6;
  96196. _0_6_isSet = _0_6_isSet0;
  96197. _0_60 = t1;
  96198. }
  96199. if ("blue" !== t1) {
  96200. if (_0_6_isSet)
  96201. t1 = _0_60;
  96202. else {
  96203. t1 = _0_6;
  96204. _0_6_isSet = _0_6_isSet0;
  96205. _0_60 = t1;
  96206. }
  96207. t1 = "z" === t1;
  96208. } else
  96209. t1 = true;
  96210. } else
  96211. t1 = false;
  96212. if (!t1) {
  96213. if ("chroma" !== _0_1)
  96214. t1 = "saturation" === _0_1;
  96215. else
  96216. t1 = true;
  96217. if (t1) {
  96218. _0_6_isSet0 = true;
  96219. if (_0_6_isSet)
  96220. t1 = _0_60;
  96221. else {
  96222. t1 = _0_6;
  96223. _0_6_isSet = _0_6_isSet0;
  96224. _0_60 = t1;
  96225. }
  96226. if ("chroma" !== t1) {
  96227. if (_0_6_isSet)
  96228. t1 = _0_60;
  96229. else {
  96230. t1 = _0_6;
  96231. _0_6_isSet = _0_6_isSet0;
  96232. _0_60 = t1;
  96233. }
  96234. t1 = "saturation" === t1;
  96235. } else
  96236. t1 = true;
  96237. } else
  96238. t1 = false;
  96239. if (!t1) {
  96240. if ("lightness" === _0_1) {
  96241. if (_0_6_isSet)
  96242. t1 = _0_60;
  96243. else {
  96244. t1 = _0_6;
  96245. _0_60 = t1;
  96246. _0_6_isSet = true;
  96247. }
  96248. t1 = "lightness" === t1;
  96249. } else
  96250. t1 = false;
  96251. if (!t1)
  96252. if ("hue" === _0_1)
  96253. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96254. else
  96255. t1 = false;
  96256. else
  96257. t1 = t2;
  96258. } else
  96259. t1 = t2;
  96260. } else
  96261. t1 = t2;
  96262. } else
  96263. t1 = t2;
  96264. } else
  96265. t1 = t2;
  96266. break $label0$0;
  96267. }
  96268. return t1;
  96269. }
  96270. };
  96271. A.LinearChannel0.prototype = {};
  96272. A.Chokidar0.prototype = {};
  96273. A.ChokidarOptions0.prototype = {};
  96274. A.ChokidarWatcher0.prototype = {};
  96275. A.ClassSelector0.prototype = {
  96276. $eq(_, other) {
  96277. if (other == null)
  96278. return false;
  96279. return other instanceof A.ClassSelector0 && other.name === this.name;
  96280. },
  96281. accept$1$1(visitor) {
  96282. return visitor.visitClassSelector$1(this);
  96283. },
  96284. accept$1(visitor) {
  96285. return this.accept$1$1(visitor, type$.dynamic);
  96286. },
  96287. addSuffix$1(suffix) {
  96288. return new A.ClassSelector0(this.name + suffix, this.span);
  96289. },
  96290. get$hashCode(_) {
  96291. return B.JSString_methods.get$hashCode(this.name);
  96292. }
  96293. };
  96294. A.ClipGamutMap0.prototype = {
  96295. map$1(_, color) {
  96296. var t1 = color._color0$_space,
  96297. t2 = t1._space$_channels;
  96298. 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);
  96299. },
  96300. _clip$_clampChannel$2(value, channel) {
  96301. var t1, min;
  96302. if (value == null)
  96303. t1 = null;
  96304. else
  96305. $label0$0: {
  96306. if (channel instanceof A.LinearChannel0) {
  96307. min = channel.min;
  96308. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96309. break $label0$0;
  96310. }
  96311. t1 = value;
  96312. break $label0$0;
  96313. }
  96314. return t1;
  96315. }
  96316. };
  96317. A._CloneCssVisitor0.prototype = {
  96318. visitCssAtRule$1(node) {
  96319. var t1 = node.isChildless,
  96320. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96321. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96322. },
  96323. visitCssComment$1(node) {
  96324. return new A.ModifiableCssComment0(node.text, node.span);
  96325. },
  96326. visitCssDeclaration$1(node) {
  96327. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  96328. },
  96329. visitCssImport$1(node) {
  96330. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96331. },
  96332. visitCssKeyframeBlock$1(node) {
  96333. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96334. },
  96335. visitCssMediaRule$1(node) {
  96336. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96337. },
  96338. visitCssStyleRule$1(node) {
  96339. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96340. if (_0_0 != null)
  96341. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96342. else
  96343. throw A.wrapException(A.StateError$(string$.The_Ex));
  96344. },
  96345. visitCssStylesheet$1(node) {
  96346. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96347. },
  96348. visitCssSupportsRule$1(node) {
  96349. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96350. },
  96351. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96352. var t1, t2, newChild;
  96353. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96354. t2 = t1.get$current(t1);
  96355. newChild = t2.accept$1(this);
  96356. newChild.isGroupEnd = t2.get$isGroupEnd();
  96357. newParent.addChild$1(newChild);
  96358. }
  96359. return newParent;
  96360. },
  96361. _clone_css$_visitChildren$2(newParent, oldParent) {
  96362. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96363. }
  96364. };
  96365. A.ColorExpression0.prototype = {
  96366. accept$1$1(visitor) {
  96367. return visitor.visitColorExpression$1(0, this);
  96368. },
  96369. accept$1(visitor) {
  96370. return this.accept$1$1(visitor, type$.dynamic);
  96371. },
  96372. toString$0(_) {
  96373. return A.serializeValue0(this.value, true, true);
  96374. },
  96375. get$span(receiver) {
  96376. return this.span;
  96377. }
  96378. };
  96379. A.global_closure44.prototype = {
  96380. call$1(color) {
  96381. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96382. },
  96383. $signature: 39
  96384. };
  96385. A.global_closure45.prototype = {
  96386. call$1(color) {
  96387. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96388. },
  96389. $signature: 39
  96390. };
  96391. A.global_closure46.prototype = {
  96392. call$1(color) {
  96393. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96394. },
  96395. $signature: 39
  96396. };
  96397. A.global_closure47.prototype = {
  96398. call$1($arguments) {
  96399. return A._rgb0("rgb", $arguments);
  96400. },
  96401. $signature: 3
  96402. };
  96403. A.global_closure48.prototype = {
  96404. call$1($arguments) {
  96405. return A._rgb0("rgb", $arguments);
  96406. },
  96407. $signature: 3
  96408. };
  96409. A.global_closure49.prototype = {
  96410. call$1($arguments) {
  96411. return A._rgbTwoArg0("rgb", $arguments);
  96412. },
  96413. $signature: 3
  96414. };
  96415. A.global_closure50.prototype = {
  96416. call$1($arguments) {
  96417. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96418. },
  96419. $signature: 3
  96420. };
  96421. A.global_closure51.prototype = {
  96422. call$1($arguments) {
  96423. return A._rgb0("rgba", $arguments);
  96424. },
  96425. $signature: 3
  96426. };
  96427. A.global_closure52.prototype = {
  96428. call$1($arguments) {
  96429. return A._rgb0("rgba", $arguments);
  96430. },
  96431. $signature: 3
  96432. };
  96433. A.global_closure53.prototype = {
  96434. call$1($arguments) {
  96435. return A._rgbTwoArg0("rgba", $arguments);
  96436. },
  96437. $signature: 3
  96438. };
  96439. A.global_closure54.prototype = {
  96440. call$1($arguments) {
  96441. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96442. },
  96443. $signature: 3
  96444. };
  96445. A.global_closure55.prototype = {
  96446. call$1($arguments) {
  96447. var t1 = J.getInterceptor$asx($arguments);
  96448. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  96449. A.warnForDeprecation0(string$.Globalci, B.Deprecation_ZDV);
  96450. return A._invert0($arguments, true);
  96451. },
  96452. $signature: 3
  96453. };
  96454. A.global_closure56.prototype = {
  96455. call$1(color) {
  96456. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96457. },
  96458. $signature: 31
  96459. };
  96460. A.global_closure57.prototype = {
  96461. call$1(color) {
  96462. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96463. },
  96464. $signature: 31
  96465. };
  96466. A.global_closure58.prototype = {
  96467. call$1(color) {
  96468. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96469. },
  96470. $signature: 31
  96471. };
  96472. A.global_closure59.prototype = {
  96473. call$1($arguments) {
  96474. return A._hsl0("hsl", $arguments);
  96475. },
  96476. $signature: 3
  96477. };
  96478. A.global_closure60.prototype = {
  96479. call$1($arguments) {
  96480. return A._hsl0("hsl", $arguments);
  96481. },
  96482. $signature: 3
  96483. };
  96484. A.global_closure61.prototype = {
  96485. call$1($arguments) {
  96486. var t1 = J.getInterceptor$asx($arguments);
  96487. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96488. return A._functionString0("hsl", $arguments);
  96489. else
  96490. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96491. },
  96492. $signature: 18
  96493. };
  96494. A.global_closure62.prototype = {
  96495. call$1($arguments) {
  96496. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96497. },
  96498. $signature: 3
  96499. };
  96500. A.global_closure63.prototype = {
  96501. call$1($arguments) {
  96502. return A._hsl0("hsla", $arguments);
  96503. },
  96504. $signature: 3
  96505. };
  96506. A.global_closure64.prototype = {
  96507. call$1($arguments) {
  96508. return A._hsl0("hsla", $arguments);
  96509. },
  96510. $signature: 3
  96511. };
  96512. A.global_closure65.prototype = {
  96513. call$1($arguments) {
  96514. var t1 = J.getInterceptor$asx($arguments);
  96515. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96516. return A._functionString0("hsla", $arguments);
  96517. else
  96518. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96519. },
  96520. $signature: 18
  96521. };
  96522. A.global_closure66.prototype = {
  96523. call$1($arguments) {
  96524. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96525. },
  96526. $signature: 3
  96527. };
  96528. A.global_closure67.prototype = {
  96529. call$1($arguments) {
  96530. var t1 = J.getInterceptor$asx($arguments);
  96531. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96532. return A._functionString0("grayscale", $arguments);
  96533. else {
  96534. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_ZDV);
  96535. return A._grayscale0(t1.$index($arguments, 0));
  96536. }
  96537. },
  96538. $signature: 3
  96539. };
  96540. A.global_closure68.prototype = {
  96541. call$1($arguments) {
  96542. var t1 = J.getInterceptor$asx($arguments),
  96543. color = t1.$index($arguments, 0).assertColor$1("color"),
  96544. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  96545. if (!color._color0$_space.get$isLegacyInternal())
  96546. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  96547. A.warnForDeprecation0(string$.adjustd + A.serializeValue0(A.SassNumber_SassNumber0(degrees, "deg"), false, true) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  96548. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  96549. },
  96550. $signature: 24
  96551. };
  96552. A.global_closure69.prototype = {
  96553. call$1($arguments) {
  96554. var result,
  96555. _s9_ = "lightness",
  96556. t1 = J.getInterceptor$asx($arguments),
  96557. color = t1.$index($arguments, 0).assertColor$1("color"),
  96558. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96559. if (!color._color0$_space.get$isLegacyInternal())
  96560. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  96561. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  96562. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96563. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96564. return result;
  96565. },
  96566. $signature: 24
  96567. };
  96568. A.global_closure70.prototype = {
  96569. call$1($arguments) {
  96570. var result,
  96571. _s9_ = "lightness",
  96572. t1 = J.getInterceptor$asx($arguments),
  96573. color = t1.$index($arguments, 0).assertColor$1("color"),
  96574. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96575. if (!color._color0$_space.get$isLegacyInternal())
  96576. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  96577. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  96578. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96579. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96580. return result;
  96581. },
  96582. $signature: 24
  96583. };
  96584. A.global_closure71.prototype = {
  96585. call$1($arguments) {
  96586. var t1 = J.getInterceptor$asx($arguments);
  96587. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96588. return A._functionString0("saturate", $arguments);
  96589. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  96590. },
  96591. $signature: 18
  96592. };
  96593. A.global_closure72.prototype = {
  96594. call$1($arguments) {
  96595. var t1, color, amount, result,
  96596. _s10_ = "saturation";
  96597. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_ZDV);
  96598. t1 = J.getInterceptor$asx($arguments);
  96599. color = t1.$index($arguments, 0).assertColor$1("color");
  96600. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96601. if (!color._color0$_space.get$isLegacyInternal())
  96602. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  96603. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  96604. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96605. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96606. return result;
  96607. },
  96608. $signature: 24
  96609. };
  96610. A.global_closure73.prototype = {
  96611. call$1($arguments) {
  96612. var result,
  96613. _s10_ = "saturation",
  96614. t1 = J.getInterceptor$asx($arguments),
  96615. color = t1.$index($arguments, 0).assertColor$1("color"),
  96616. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96617. if (!color._color0$_space.get$isLegacyInternal())
  96618. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  96619. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  96620. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96621. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96622. return result;
  96623. },
  96624. $signature: 24
  96625. };
  96626. A.global_closure74.prototype = {
  96627. call$1($arguments) {
  96628. return A._opacify0("opacify", $arguments);
  96629. },
  96630. $signature: 24
  96631. };
  96632. A.global_closure75.prototype = {
  96633. call$1($arguments) {
  96634. return A._opacify0("fade-in", $arguments);
  96635. },
  96636. $signature: 24
  96637. };
  96638. A.global_closure76.prototype = {
  96639. call$1($arguments) {
  96640. return A._transparentize0("transparentize", $arguments);
  96641. },
  96642. $signature: 24
  96643. };
  96644. A.global_closure77.prototype = {
  96645. call$1($arguments) {
  96646. return A._transparentize0("fade-out", $arguments);
  96647. },
  96648. $signature: 24
  96649. };
  96650. A.global_closure78.prototype = {
  96651. call$1($arguments) {
  96652. var _0_0 = J.$index$asx($arguments, 0),
  96653. t1 = false;
  96654. if (_0_0 instanceof A.SassString0)
  96655. if (!_0_0._string0$_hasQuotes)
  96656. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96657. if (t1)
  96658. return A._functionString0("alpha", $arguments);
  96659. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96660. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  96661. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_ZDV);
  96662. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96663. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96664. },
  96665. $signature: 3
  96666. };
  96667. A.global_closure79.prototype = {
  96668. call$1($arguments) {
  96669. var t1,
  96670. argList = J.$index$asx($arguments, 0).get$asList();
  96671. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  96672. return A._functionString0("alpha", $arguments);
  96673. t1 = argList.length;
  96674. if (t1 === 0)
  96675. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  96676. else
  96677. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  96678. },
  96679. $signature: 18
  96680. };
  96681. A.global__closure0.prototype = {
  96682. call$1(argument) {
  96683. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96684. },
  96685. $signature: 55
  96686. };
  96687. A.global_closure80.prototype = {
  96688. call$1($arguments) {
  96689. var t1 = J.getInterceptor$asx($arguments);
  96690. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96691. return A._functionString0("opacity", $arguments);
  96692. A.warnForDeprecation0(string$.Globalco, B.Deprecation_ZDV);
  96693. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96694. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96695. },
  96696. $signature: 3
  96697. };
  96698. A.global_closure81.prototype = {
  96699. call$1($arguments) {
  96700. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  96701. },
  96702. $signature: 3
  96703. };
  96704. A.global_closure82.prototype = {
  96705. call$1($arguments) {
  96706. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96707. },
  96708. $signature: 3
  96709. };
  96710. A.global_closure83.prototype = {
  96711. call$1($arguments) {
  96712. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  96713. },
  96714. $signature: 3
  96715. };
  96716. A.global_closure84.prototype = {
  96717. call$1($arguments) {
  96718. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  96719. },
  96720. $signature: 3
  96721. };
  96722. A.global_closure85.prototype = {
  96723. call$1($arguments) {
  96724. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  96725. },
  96726. $signature: 3
  96727. };
  96728. A.global_closure86.prototype = {
  96729. call$1($arguments) {
  96730. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  96731. },
  96732. $signature: 3
  96733. };
  96734. A.module_closure27.prototype = {
  96735. call$1(color) {
  96736. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96737. },
  96738. $signature: 39
  96739. };
  96740. A.module_closure28.prototype = {
  96741. call$1(color) {
  96742. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96743. },
  96744. $signature: 39
  96745. };
  96746. A.module_closure29.prototype = {
  96747. call$1(color) {
  96748. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96749. },
  96750. $signature: 39
  96751. };
  96752. A.module_closure30.prototype = {
  96753. call$1($arguments) {
  96754. var result = A._invert0($arguments, false);
  96755. if (result instanceof A.SassString0)
  96756. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_Kry);
  96757. return result;
  96758. },
  96759. $signature: 3
  96760. };
  96761. A.module_closure31.prototype = {
  96762. call$1(color) {
  96763. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96764. },
  96765. $signature: 31
  96766. };
  96767. A.module_closure32.prototype = {
  96768. call$1(color) {
  96769. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96770. },
  96771. $signature: 31
  96772. };
  96773. A.module_closure33.prototype = {
  96774. call$1(color) {
  96775. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96776. },
  96777. $signature: 31
  96778. };
  96779. A.module_closure34.prototype = {
  96780. call$1($arguments) {
  96781. var result,
  96782. t1 = J.getInterceptor$asx($arguments);
  96783. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96784. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  96785. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_Kry);
  96786. return result;
  96787. }
  96788. return A._grayscale0(t1.$index($arguments, 0));
  96789. },
  96790. $signature: 3
  96791. };
  96792. A.module_closure35.prototype = {
  96793. call$1($arguments) {
  96794. var t1 = J.getInterceptor$asx($arguments),
  96795. t2 = type$.JSArray_Value_2;
  96796. 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);
  96797. },
  96798. $signature: 3
  96799. };
  96800. A.module_closure36.prototype = {
  96801. call$1($arguments) {
  96802. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96803. },
  96804. $signature: 3
  96805. };
  96806. A.module_closure37.prototype = {
  96807. call$1(color) {
  96808. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  96809. },
  96810. $signature: 31
  96811. };
  96812. A.module_closure38.prototype = {
  96813. call$1(color) {
  96814. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  96815. },
  96816. $signature: 31
  96817. };
  96818. A.module_closure39.prototype = {
  96819. call$1($arguments) {
  96820. var result,
  96821. _0_0 = J.$index$asx($arguments, 0),
  96822. t1 = false;
  96823. if (_0_0 instanceof A.SassString0)
  96824. if (!_0_0._string0$_hasQuotes)
  96825. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96826. if (t1) {
  96827. result = A._functionString0("alpha", $arguments);
  96828. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96829. return result;
  96830. }
  96831. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96832. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  96833. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96834. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96835. },
  96836. $signature: 3
  96837. };
  96838. A.module_closure40.prototype = {
  96839. call$1($arguments) {
  96840. var result,
  96841. t1 = J.getInterceptor$asx($arguments);
  96842. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  96843. result = A._functionString0("alpha", $arguments);
  96844. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96845. return result;
  96846. }
  96847. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  96848. },
  96849. $signature: 18
  96850. };
  96851. A.module__closure6.prototype = {
  96852. call$1(argument) {
  96853. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96854. },
  96855. $signature: 55
  96856. };
  96857. A.module_closure41.prototype = {
  96858. call$1($arguments) {
  96859. var result,
  96860. t1 = J.getInterceptor$asx($arguments);
  96861. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96862. result = A._functionString0("opacity", $arguments);
  96863. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_Kry);
  96864. return result;
  96865. }
  96866. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96867. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96868. },
  96869. $signature: 3
  96870. };
  96871. A.module_closure42.prototype = {
  96872. call$1($arguments) {
  96873. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  96874. },
  96875. $signature: 18
  96876. };
  96877. A.module_closure43.prototype = {
  96878. call$1($arguments) {
  96879. var t1 = J.getInterceptor$asx($arguments);
  96880. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  96881. },
  96882. $signature: 24
  96883. };
  96884. A.module_closure44.prototype = {
  96885. call$1($arguments) {
  96886. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96887. },
  96888. $signature: 11
  96889. };
  96890. A.module_closure45.prototype = {
  96891. call$1($arguments) {
  96892. var t1 = J.getInterceptor$asx($arguments);
  96893. 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;
  96894. },
  96895. $signature: 11
  96896. };
  96897. A.module_closure46.prototype = {
  96898. call$1($arguments) {
  96899. var t1 = J.getInterceptor$asx($arguments);
  96900. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96901. },
  96902. $signature: 11
  96903. };
  96904. A.module_closure47.prototype = {
  96905. call$1($arguments) {
  96906. var space, method, _s5_ = "space", _s6_ = "method",
  96907. t1 = J.getInterceptor$asx($arguments),
  96908. color = t1.$index($arguments, 0).assertColor$1("color"),
  96909. t2 = t1.$index($arguments, 1);
  96910. if (t2.$eq(0, B.C__SassNull0))
  96911. space = color._color0$_space;
  96912. else {
  96913. t2 = t2.assertString$1(_s5_);
  96914. t2.assertUnquoted$1(_s5_);
  96915. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  96916. }
  96917. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  96918. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  96919. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  96920. t1.assertUnquoted$1(_s6_);
  96921. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  96922. if (!space.get$isBoundedInternal())
  96923. return color;
  96924. t1 = color.toSpace$1(space);
  96925. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  96926. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  96927. },
  96928. $signature: 24
  96929. };
  96930. A.module_closure48.prototype = {
  96931. call$1($arguments) {
  96932. var channelIndex, channelInfo, channelValue, unit,
  96933. t1 = J.getInterceptor$asx($arguments),
  96934. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  96935. channelName = A._channelName0(t1.$index($arguments, 1));
  96936. if (channelName === "alpha") {
  96937. t1 = color.alphaOrNull;
  96938. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96939. }
  96940. t1 = color._color0$_space._space$_channels;
  96941. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  96942. if (channelIndex === -1)
  96943. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  96944. channelInfo = t1[channelIndex];
  96945. channelValue = color.get$channels()[channelIndex];
  96946. unit = channelInfo.associatedUnit;
  96947. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  96948. },
  96949. $signature: 23
  96950. };
  96951. A.module__closure5.prototype = {
  96952. call$1(channel) {
  96953. return channel.name === this.channelName;
  96954. },
  96955. $signature: 76
  96956. };
  96957. A.module_closure49.prototype = {
  96958. call$1($arguments) {
  96959. var t2, t3,
  96960. t1 = J.getInterceptor$asx($arguments),
  96961. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  96962. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  96963. t1 = new A.module_closure_toXyzNoMissing0();
  96964. if (color1._color0$_space === color2._color0$_space) {
  96965. t1 = color1.channel0OrNull;
  96966. t2 = false;
  96967. if (t1 == null)
  96968. t1 = 0;
  96969. t3 = color2.channel0OrNull;
  96970. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96971. t1 = color1.channel1OrNull;
  96972. if (t1 == null)
  96973. t1 = 0;
  96974. t3 = color2.channel1OrNull;
  96975. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96976. t1 = color1.channel2OrNull;
  96977. if (t1 == null)
  96978. t1 = 0;
  96979. t3 = color2.channel2OrNull;
  96980. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  96981. t1 = color1.alphaOrNull;
  96982. if (t1 == null)
  96983. t1 = 0;
  96984. t2 = color2.alphaOrNull;
  96985. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  96986. } else
  96987. t1 = t2;
  96988. } else
  96989. t1 = t2;
  96990. } else
  96991. t1 = t2;
  96992. } else
  96993. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  96994. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96995. },
  96996. $signature: 11
  96997. };
  96998. A.module_closure_toXyzNoMissing0.prototype = {
  96999. call$1(color) {
  97000. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  97001. $label0$0: {
  97002. _1_1 = color._color0$_space;
  97003. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  97004. t1 = _1_3;
  97005. if (t1)
  97006. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  97007. else
  97008. t1 = false;
  97009. if (t1) {
  97010. t1 = color;
  97011. break $label0$0;
  97012. }
  97013. if (_1_3) {
  97014. _1_7 = color.channel0OrNull;
  97015. if (_1_7 == null)
  97016. _1_7 = 0;
  97017. channel0 = _1_7;
  97018. _1_8 = color.channel1OrNull;
  97019. if (_1_8 == null)
  97020. _1_8 = 0;
  97021. channel1 = _1_8;
  97022. _1_9 = color.channel2OrNull;
  97023. if (_1_9 == null)
  97024. _1_9 = 0;
  97025. channel2 = _1_9;
  97026. _1_10 = color.alphaOrNull;
  97027. if (_1_10 == null)
  97028. _1_10 = 0;
  97029. alpha = _1_10;
  97030. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, null);
  97031. break $label0$0;
  97032. }
  97033. _1_7 = color.channel0OrNull;
  97034. if (_1_7 == null)
  97035. _1_7 = 0;
  97036. channel0 = _1_7;
  97037. _1_8 = color.channel1OrNull;
  97038. if (_1_8 == null)
  97039. _1_8 = 0;
  97040. channel1 = _1_8;
  97041. _1_9 = color.channel2OrNull;
  97042. if (_1_9 == null)
  97043. _1_9 = 0;
  97044. channel2 = _1_9;
  97045. _1_10 = color.alphaOrNull;
  97046. if (_1_10 == null)
  97047. _1_10 = 0;
  97048. alpha = _1_10;
  97049. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  97050. break $label0$0;
  97051. }
  97052. return t1;
  97053. },
  97054. $signature: 393
  97055. };
  97056. A.module_closure50.prototype = {
  97057. call$1($arguments) {
  97058. var t1 = J.getInterceptor$asx($arguments);
  97059. 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;
  97060. },
  97061. $signature: 11
  97062. };
  97063. A._mix_closure0.prototype = {
  97064. call$1($arguments) {
  97065. var _s6_ = "weight",
  97066. _s41_ = string$.To_usem,
  97067. _s29_ = ", you must provide a $method.",
  97068. t1 = J.getInterceptor$asx($arguments),
  97069. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97070. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  97071. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  97072. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  97073. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  97074. A._checkPercent0(weight, _s6_);
  97075. if (!color1._color0$_space.get$isLegacyInternal())
  97076. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  97077. else if (!color2._color0$_space.get$isLegacyInternal())
  97078. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  97079. return A._mixLegacy0(color1, color2, weight);
  97080. },
  97081. $signature: 24
  97082. };
  97083. A._complement_closure0.prototype = {
  97084. call$1($arguments) {
  97085. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  97086. t1 = J.getInterceptor$asx($arguments),
  97087. color = t1.$index($arguments, 0).assertColor$1("color"),
  97088. t2 = color._color0$_space;
  97089. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  97090. space = B.HslColorSpace_JQ20;
  97091. else {
  97092. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  97093. t3.assertUnquoted$1(_s5_);
  97094. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  97095. }
  97096. if (!space.get$isPolarInternal())
  97097. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  97098. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  97099. t1 = space._space$_channels;
  97100. t3 = colorInSpace.channel0OrNull;
  97101. t4 = colorInSpace.channel1OrNull;
  97102. t5 = colorInSpace.channel2OrNull;
  97103. t6 = colorInSpace.alphaOrNull;
  97104. 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);
  97105. },
  97106. $signature: 24
  97107. };
  97108. A._adjust_closure0.prototype = {
  97109. call$1($arguments) {
  97110. return A._updateComponents0($arguments, true, false, false);
  97111. },
  97112. $signature: 24
  97113. };
  97114. A._scale_closure0.prototype = {
  97115. call$1($arguments) {
  97116. return A._updateComponents0($arguments, false, false, true);
  97117. },
  97118. $signature: 24
  97119. };
  97120. A._change_closure0.prototype = {
  97121. call$1($arguments) {
  97122. return A._updateComponents0($arguments, false, true, false);
  97123. },
  97124. $signature: 24
  97125. };
  97126. A._ieHexStr_closure0.prototype = {
  97127. call$1($arguments) {
  97128. var t1, t2, t3, t4, t5,
  97129. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  97130. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  97131. t1 = new A._ieHexStr_closure_hexString0();
  97132. t2 = color.alphaOrNull;
  97133. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  97134. t3 = color.channel0OrNull;
  97135. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  97136. t4 = color.channel1OrNull;
  97137. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  97138. t5 = color.channel2OrNull;
  97139. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  97140. },
  97141. $signature: 18
  97142. };
  97143. A._ieHexStr_closure_hexString0.prototype = {
  97144. call$1(component) {
  97145. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  97146. },
  97147. $signature: 229
  97148. };
  97149. A._updateComponents_closure1.prototype = {
  97150. call$1(space) {
  97151. return this.originalColor.toSpace$2$legacyMissing(space, false);
  97152. },
  97153. $signature: 394
  97154. };
  97155. A._updateComponents_closure2.prototype = {
  97156. call$1(info) {
  97157. return this._box_0.name === info.name;
  97158. },
  97159. $signature: 76
  97160. };
  97161. A._changeColor_closure0.prototype = {
  97162. call$0() {
  97163. var t1 = this.alphaArg;
  97164. 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);
  97165. return t1.valueInRange$3(0, 1, "alpha");
  97166. },
  97167. $signature: 238
  97168. };
  97169. A._adjustColor_closure0.prototype = {
  97170. call$1(alpha) {
  97171. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97172. },
  97173. $signature: 16
  97174. };
  97175. A._functionString_closure0.prototype = {
  97176. call$1(argument) {
  97177. return A.serializeValue0(argument, false, true);
  97178. },
  97179. $signature: 225
  97180. };
  97181. A._removedColorFunction_closure0.prototype = {
  97182. call$1($arguments) {
  97183. var t1 = this.name,
  97184. t2 = J.getInterceptor$asx($arguments),
  97185. t3 = t2.$index($arguments, 0).toString$0(0),
  97186. t4 = this.negative ? "-" : "";
  97187. 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));
  97188. },
  97189. $signature: 396
  97190. };
  97191. A._rgb_closure0.prototype = {
  97192. call$1(alpha) {
  97193. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97194. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97195. },
  97196. $signature: 226
  97197. };
  97198. A._hsl_closure0.prototype = {
  97199. call$1(alpha) {
  97200. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97201. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97202. },
  97203. $signature: 226
  97204. };
  97205. A._parseChannels_closure1.prototype = {
  97206. call$1($name) {
  97207. return $name + " channel";
  97208. },
  97209. $signature: 6
  97210. };
  97211. A._parseChannels_closure2.prototype = {
  97212. call$1(channel) {
  97213. return channel.get$isSpecialNumber();
  97214. },
  97215. $signature: 55
  97216. };
  97217. A._colorFromChannels_closure1.prototype = {
  97218. call$1(channel0) {
  97219. return A._angleValue0(channel0, "hue");
  97220. },
  97221. $signature: 86
  97222. };
  97223. A._colorFromChannels_closure2.prototype = {
  97224. call$1(channel0) {
  97225. return A._angleValue0(channel0, "hue");
  97226. },
  97227. $signature: 86
  97228. };
  97229. A._channelFromValue_closure0.prototype = {
  97230. call$1(value) {
  97231. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  97232. _0_0 = this.channel;
  97233. $label0$0: {
  97234. t1 = _0_0 instanceof A.LinearChannel0;
  97235. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97236. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97237. _0_8 = null;
  97238. t2 = false;
  97239. if (t1) {
  97240. _0_5 = _0_0.lowerClamped;
  97241. _0_8_isSet = !_0_5;
  97242. if (_0_8_isSet) {
  97243. _0_8 = _0_0.upperClamped;
  97244. t2 = !_0_8;
  97245. }
  97246. } else {
  97247. _0_5 = null;
  97248. _0_8_isSet = false;
  97249. }
  97250. if (t2) {
  97251. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97252. break $label0$0;
  97253. }
  97254. if (t1 && !this.clamp) {
  97255. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97256. break $label0$0;
  97257. }
  97258. if (t1) {
  97259. lowerClamped = _0_5;
  97260. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97261. t1 = _0_0.max;
  97262. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97263. t3 = lowerClamped ? _0_0.min : -1 / 0;
  97264. t1 = upperClamped ? t1 : 1 / 0;
  97265. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97266. break $label0$0;
  97267. }
  97268. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97269. break $label0$0;
  97270. }
  97271. return t1;
  97272. },
  97273. $signature: 86
  97274. };
  97275. A._channelFunction_closure0.prototype = {
  97276. call$1($arguments) {
  97277. var _this = this,
  97278. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97279. t1 = _this.global ? "" : "color.",
  97280. t2 = _this.name;
  97281. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  97282. return result;
  97283. },
  97284. $signature: 23
  97285. };
  97286. A._suggestScaleAndAdjust_closure0.prototype = {
  97287. call$1(channel) {
  97288. return channel.name === this.channelName;
  97289. },
  97290. $signature: 76
  97291. };
  97292. A.colorClass_closure.prototype = {
  97293. call$0() {
  97294. var t1 = type$.JSClass,
  97295. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97296. t2 = type$.String,
  97297. t3 = type$.Function;
  97298. 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));
  97299. 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));
  97300. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97301. return jsClass;
  97302. },
  97303. $signature: 15
  97304. };
  97305. A.colorClass__closure.prototype = {
  97306. call$2($self, options) {
  97307. var t1, t2, t3, t4, _null = null;
  97308. switch (A._constructionSpace(options)) {
  97309. case B.RgbColorSpace_i0P0:
  97310. A._checkNullAlphaDeprecation(options);
  97311. t1 = J.getInterceptor$x(options);
  97312. t2 = t1.get$red(options);
  97313. t3 = t1.get$green(options);
  97314. t4 = t1.get$blue(options);
  97315. t1 = t1.get$alpha(options);
  97316. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97317. case B.HslColorSpace_JQ20:
  97318. A._checkNullAlphaDeprecation(options);
  97319. t1 = J.getInterceptor$x(options);
  97320. t2 = t1.get$hue(options);
  97321. t3 = t1.get$saturation(options);
  97322. t4 = t1.get$lightness(options);
  97323. t1 = t1.get$alpha(options);
  97324. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97325. case B.HwbColorSpace_guQ0:
  97326. A._checkNullAlphaDeprecation(options);
  97327. t1 = J.getInterceptor$x(options);
  97328. t2 = t1.get$hue(options);
  97329. t3 = t1.get$whiteness(options);
  97330. t4 = t1.get$blackness(options);
  97331. t1 = t1.get$alpha(options);
  97332. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97333. case B.LabColorSpace_2nT0:
  97334. t1 = J.getInterceptor$x(options);
  97335. t2 = t1.get$lightness(options);
  97336. t3 = t1.get$a(options);
  97337. t4 = t1.get$b(options);
  97338. t1 = t1.get$alpha(options);
  97339. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97340. case B.OklabColorSpace_5400:
  97341. t1 = J.getInterceptor$x(options);
  97342. t2 = t1.get$lightness(options);
  97343. t3 = t1.get$a(options);
  97344. t4 = t1.get$b(options);
  97345. t1 = t1.get$alpha(options);
  97346. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97347. case B.LchColorSpace_Bpv0:
  97348. t1 = J.getInterceptor$x(options);
  97349. t2 = t1.get$lightness(options);
  97350. t3 = t1.get$chroma(options);
  97351. t4 = t1.get$hue(options);
  97352. t1 = t1.get$alpha(options);
  97353. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97354. case B.OklchColorSpace_9Gj0:
  97355. t1 = J.getInterceptor$x(options);
  97356. t2 = t1.get$lightness(options);
  97357. t3 = t1.get$chroma(options);
  97358. t4 = t1.get$hue(options);
  97359. t1 = t1.get$alpha(options);
  97360. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97361. case B.SrgbColorSpace_thf0:
  97362. t1 = J.getInterceptor$x(options);
  97363. t2 = t1.get$red(options);
  97364. t3 = t1.get$green(options);
  97365. t4 = t1.get$blue(options);
  97366. t1 = t1.get$alpha(options);
  97367. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97368. case B.SrgbLinearColorSpace_kUj0:
  97369. t1 = J.getInterceptor$x(options);
  97370. t2 = t1.get$red(options);
  97371. t3 = t1.get$green(options);
  97372. t4 = t1.get$blue(options);
  97373. t1 = t1.get$alpha(options);
  97374. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97375. case B.DisplayP3ColorSpace_MmT0:
  97376. t1 = J.getInterceptor$x(options);
  97377. t2 = t1.get$red(options);
  97378. t3 = t1.get$green(options);
  97379. t4 = t1.get$blue(options);
  97380. t1 = t1.get$alpha(options);
  97381. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97382. case B.A98RgbColorSpace_lf20:
  97383. t1 = J.getInterceptor$x(options);
  97384. t2 = t1.get$red(options);
  97385. t3 = t1.get$green(options);
  97386. t4 = t1.get$blue(options);
  97387. t1 = t1.get$alpha(options);
  97388. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97389. case B.ProphotoRgbColorSpace_BDz0:
  97390. t1 = J.getInterceptor$x(options);
  97391. t2 = t1.get$red(options);
  97392. t3 = t1.get$green(options);
  97393. t4 = t1.get$blue(options);
  97394. t1 = t1.get$alpha(options);
  97395. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97396. case B.Rec2020ColorSpace_6oo0:
  97397. t1 = J.getInterceptor$x(options);
  97398. t2 = t1.get$red(options);
  97399. t3 = t1.get$green(options);
  97400. t4 = t1.get$blue(options);
  97401. t1 = t1.get$alpha(options);
  97402. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97403. case B.XyzD50ColorSpace_2OB0:
  97404. t1 = J.getInterceptor$x(options);
  97405. t2 = t1.get$x(options);
  97406. t3 = t1.get$y(options);
  97407. t4 = t1.get$z(options);
  97408. t1 = t1.get$alpha(options);
  97409. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97410. case B.XyzD65ColorSpace_WiJ0:
  97411. t1 = J.getInterceptor$x(options);
  97412. t2 = t1.get$x(options);
  97413. t3 = t1.get$y(options);
  97414. t4 = t1.get$z(options);
  97415. t1 = t1.get$alpha(options);
  97416. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97417. default:
  97418. throw A.wrapException("Unreachable");
  97419. }
  97420. },
  97421. $signature: 399
  97422. };
  97423. A.colorClass__closure0.prototype = {
  97424. call$2($self, other) {
  97425. return $self.$eq(0, other);
  97426. },
  97427. $signature: 400
  97428. };
  97429. A.colorClass__closure1.prototype = {
  97430. call$1($self) {
  97431. return $self.get$hashCode(0);
  97432. },
  97433. $signature: 39
  97434. };
  97435. A.colorClass__closure2.prototype = {
  97436. call$2($self, space) {
  97437. return A._toSpace($self, space);
  97438. },
  97439. $signature: 401
  97440. };
  97441. A.colorClass__closure3.prototype = {
  97442. call$2($self, space) {
  97443. return A._toSpace($self, space).get$isInGamut();
  97444. },
  97445. call$1($self) {
  97446. return this.call$2($self, null);
  97447. },
  97448. "call*": "call$2",
  97449. $requiredArgCount: 1,
  97450. $defaultValues() {
  97451. return [null];
  97452. },
  97453. $signature: 402
  97454. };
  97455. A.colorClass__closure4.prototype = {
  97456. call$2($self, options) {
  97457. var t1 = J.getInterceptor$x(options),
  97458. t2 = A._toSpace($self, t1.get$space(options));
  97459. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  97460. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  97461. return t1.toSpace$1($self._color0$_space);
  97462. },
  97463. $signature: 403
  97464. };
  97465. A.colorClass__closure5.prototype = {
  97466. call$3($self, channel, options) {
  97467. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  97468. },
  97469. call$2($self, channel) {
  97470. return this.call$3($self, channel, null);
  97471. },
  97472. "call*": "call$3",
  97473. $requiredArgCount: 2,
  97474. $defaultValues() {
  97475. return [null];
  97476. },
  97477. $signature: 404
  97478. };
  97479. A.colorClass__closure6.prototype = {
  97480. call$2($self, channel) {
  97481. return $self.isChannelMissing$1(channel);
  97482. },
  97483. $signature: 405
  97484. };
  97485. A.colorClass__closure7.prototype = {
  97486. call$3($self, channel, options) {
  97487. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  97488. },
  97489. call$2($self, channel) {
  97490. return this.call$3($self, channel, null);
  97491. },
  97492. "call*": "call$3",
  97493. $requiredArgCount: 2,
  97494. $defaultValues() {
  97495. return [null];
  97496. },
  97497. $signature: 406
  97498. };
  97499. A.colorClass__closure8.prototype = {
  97500. call$2($self, options) {
  97501. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  97502. _s9_ = "whiteness",
  97503. _s9_0 = "blackness",
  97504. _s3_ = "hue",
  97505. _s10_ = "saturation",
  97506. _s9_1 = "lightness",
  97507. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  97508. _s106_ = string$.Passin_,
  97509. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  97510. t1 = J.getInterceptor$x(options),
  97511. t2 = t1.get$space(options) == null,
  97512. spaceSetExplicitly = !t2;
  97513. if (spaceSetExplicitly) {
  97514. t3 = t1.get$space(options);
  97515. t3.toString;
  97516. space = A.ColorSpace_fromName0(t3, _null);
  97517. } else
  97518. space = $self._color0$_space;
  97519. t3 = $self._color0$_space;
  97520. if (t3.get$isLegacyInternal() && t2) {
  97521. if ("whiteness" in options || "blackness" in options)
  97522. space = B.HwbColorSpace_guQ0;
  97523. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  97524. space = B.HwbColorSpace_guQ0;
  97525. else if ("hue" in options || "saturation" in options || "lightness" in options)
  97526. space = B.HslColorSpace_JQ20;
  97527. else if ("red" in options || "green" in options || "blue" in options)
  97528. space = B.RgbColorSpace_i0P0;
  97529. if (space !== t3)
  97530. 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);
  97531. }
  97532. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  97533. t6 = t2.get$current(t2);
  97534. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  97535. continue;
  97536. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  97537. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  97538. }
  97539. color = $self.toSpace$1(space);
  97540. changedValue = new A.colorClass__closure_changedValue(color, options);
  97541. $label0$2: {
  97542. _0_2 = B.HslColorSpace_JQ20 === space;
  97543. if (_0_2 && spaceSetExplicitly) {
  97544. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  97545. break $label0$2;
  97546. }
  97547. if (_0_2) {
  97548. t2 = t1.get$hue(options);
  97549. t4 = $.$get$_isNull();
  97550. if (A._asBool(t4.call$1(t2)))
  97551. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97552. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  97553. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97554. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  97555. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97556. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97557. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97558. t2 = t1.get$hue(options);
  97559. if (t2 == null)
  97560. t2 = color.channel$1(0, _s3_);
  97561. t4 = t1.get$saturation(options);
  97562. if (t4 == null)
  97563. t4 = color.channel$1(0, _s10_);
  97564. t5 = t1.get$lightness(options);
  97565. if (t5 == null)
  97566. t5 = color.channel$1(0, _s9_1);
  97567. t1 = t1.get$alpha(options);
  97568. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97569. break $label0$2;
  97570. }
  97571. _0_4 = B.HwbColorSpace_guQ0 === space;
  97572. if (_0_4 && spaceSetExplicitly) {
  97573. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  97574. break $label0$2;
  97575. }
  97576. if (_0_4) {
  97577. t2 = t1.get$hue(options);
  97578. t4 = $.$get$_isNull();
  97579. if (A._asBool(t4.call$1(t2)))
  97580. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97581. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  97582. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97583. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  97584. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97585. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97586. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97587. t2 = t1.get$hue(options);
  97588. if (t2 == null)
  97589. t2 = color.channel$1(0, _s3_);
  97590. t4 = t1.get$whiteness(options);
  97591. if (t4 == null)
  97592. t4 = color.channel$1(0, _s9_);
  97593. t5 = t1.get$blackness(options);
  97594. if (t5 == null)
  97595. t5 = color.channel$1(0, _s9_0);
  97596. t1 = t1.get$alpha(options);
  97597. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97598. break $label0$2;
  97599. }
  97600. _0_6 = B.RgbColorSpace_i0P0 === space;
  97601. if (_0_6 && spaceSetExplicitly) {
  97602. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97603. break $label0$2;
  97604. }
  97605. if (_0_6) {
  97606. t2 = t1.get$red(options);
  97607. t4 = $.$get$_isNull();
  97608. if (A._asBool(t4.call$1(t2)))
  97609. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97610. else if (A._asBool(t4.call$1(t1.get$green(options))))
  97611. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97612. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  97613. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97614. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97615. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97616. t2 = t1.get$red(options);
  97617. if (t2 == null)
  97618. t2 = color.channel$1(0, _s3_0);
  97619. t4 = t1.get$green(options);
  97620. if (t4 == null)
  97621. t4 = color.channel$1(0, _s5_);
  97622. t5 = t1.get$blue(options);
  97623. if (t5 == null)
  97624. t5 = color.channel$1(0, _s4_);
  97625. t1 = t1.get$alpha(options);
  97626. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  97627. break $label0$2;
  97628. }
  97629. if (B.LabColorSpace_2nT0 === space) {
  97630. 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);
  97631. break $label0$2;
  97632. }
  97633. if (B.OklabColorSpace_5400 === space) {
  97634. 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);
  97635. break $label0$2;
  97636. }
  97637. if (B.LchColorSpace_Bpv0 === space) {
  97638. 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));
  97639. break $label0$2;
  97640. }
  97641. if (B.OklchColorSpace_9Gj0 === space) {
  97642. 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));
  97643. break $label0$2;
  97644. }
  97645. if (B.A98RgbColorSpace_lf20 === space) {
  97646. 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);
  97647. break $label0$2;
  97648. }
  97649. if (B.DisplayP3ColorSpace_MmT0 === space) {
  97650. 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);
  97651. break $label0$2;
  97652. }
  97653. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  97654. 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);
  97655. break $label0$2;
  97656. }
  97657. if (B.Rec2020ColorSpace_6oo0 === space) {
  97658. 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);
  97659. break $label0$2;
  97660. }
  97661. if (B.SrgbColorSpace_thf0 === space) {
  97662. 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);
  97663. break $label0$2;
  97664. }
  97665. if (B.SrgbLinearColorSpace_kUj0 === space) {
  97666. 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);
  97667. break $label0$2;
  97668. }
  97669. if (B.XyzD50ColorSpace_2OB0 === space) {
  97670. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97671. break $label0$2;
  97672. }
  97673. if (B.XyzD65ColorSpace_WiJ0 === space) {
  97674. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97675. break $label0$2;
  97676. }
  97677. throw A.wrapException("No space set");
  97678. }
  97679. return changedColor.toSpace$1(t3);
  97680. },
  97681. $signature: 407
  97682. };
  97683. A.colorClass___closure.prototype = {
  97684. call$1(channel) {
  97685. return channel.name === this.key;
  97686. },
  97687. $signature: 76
  97688. };
  97689. A.colorClass__closure_changedValue.prototype = {
  97690. call$1(channel) {
  97691. var t2,
  97692. t1 = this.options;
  97693. if (channel in t1) {
  97694. t2 = t1[channel];
  97695. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  97696. } else
  97697. t2 = false;
  97698. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  97699. },
  97700. $signature: 408
  97701. };
  97702. A.colorClass__closure9.prototype = {
  97703. call$3($self, color2, options) {
  97704. var interpolationMethod, t2,
  97705. t1 = options == null,
  97706. _1_0 = t1 ? null : J.get$method$x(options);
  97707. if (_1_0 != null)
  97708. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_nm2, _1_0));
  97709. else {
  97710. t2 = $self._color0$_space;
  97711. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  97712. }
  97713. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  97714. },
  97715. call$2($self, color2) {
  97716. return this.call$3($self, color2, null);
  97717. },
  97718. "call*": "call$3",
  97719. $requiredArgCount: 2,
  97720. $defaultValues() {
  97721. return [null];
  97722. },
  97723. $signature: 409
  97724. };
  97725. A.colorClass__closure10.prototype = {
  97726. call$1($self) {
  97727. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97728. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97729. },
  97730. $signature: 39
  97731. };
  97732. A.colorClass__closure11.prototype = {
  97733. call$1($self) {
  97734. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97735. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97736. },
  97737. $signature: 39
  97738. };
  97739. A.colorClass__closure12.prototype = {
  97740. call$1($self) {
  97741. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97742. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97743. },
  97744. $signature: 39
  97745. };
  97746. A.colorClass__closure13.prototype = {
  97747. call$1($self) {
  97748. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97749. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97750. },
  97751. $signature: 31
  97752. };
  97753. A.colorClass__closure14.prototype = {
  97754. call$1($self) {
  97755. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97756. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97757. },
  97758. $signature: 31
  97759. };
  97760. A.colorClass__closure15.prototype = {
  97761. call$1($self) {
  97762. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97763. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97764. },
  97765. $signature: 31
  97766. };
  97767. A.colorClass__closure16.prototype = {
  97768. call$1($self) {
  97769. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97770. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97771. },
  97772. $signature: 31
  97773. };
  97774. A.colorClass__closure17.prototype = {
  97775. call$1($self) {
  97776. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97777. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97778. },
  97779. $signature: 31
  97780. };
  97781. A.colorClass__closure18.prototype = {
  97782. call$1($self) {
  97783. var t1 = $self.alphaOrNull;
  97784. return t1 == null ? 0 : t1;
  97785. },
  97786. $signature: 31
  97787. };
  97788. A.colorClass__closure19.prototype = {
  97789. call$1($self) {
  97790. return $self._color0$_space.name;
  97791. },
  97792. $signature: 410
  97793. };
  97794. A.colorClass__closure20.prototype = {
  97795. call$1($self) {
  97796. return $self._color0$_space.get$isLegacyInternal();
  97797. },
  97798. $signature: 411
  97799. };
  97800. A.colorClass__closure21.prototype = {
  97801. call$1($self) {
  97802. return new self.immutable.List($self.get$channelsOrNull());
  97803. },
  97804. $signature: 228
  97805. };
  97806. A.colorClass__closure22.prototype = {
  97807. call$1($self) {
  97808. return new self.immutable.List($self.get$channels());
  97809. },
  97810. $signature: 228
  97811. };
  97812. A._Channels.prototype = {};
  97813. A._ConstructionOptions.prototype = {};
  97814. A._ChannelOptions.prototype = {};
  97815. A._ToGamutOptions.prototype = {};
  97816. A._InterpolationOptions.prototype = {};
  97817. A._NodeSassColor.prototype = {};
  97818. A.legacyColorClass_closure.prototype = {
  97819. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  97820. var red, t1, t2, t3, t4;
  97821. if (dartValue != null) {
  97822. J.set$dartValue$x(thisArg, dartValue);
  97823. return;
  97824. }
  97825. if (green == null || blue == null) {
  97826. A._asInt(redOrArgb);
  97827. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  97828. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  97829. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  97830. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  97831. } else {
  97832. redOrArgb.toString;
  97833. red = redOrArgb;
  97834. }
  97835. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  97836. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  97837. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  97838. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  97839. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  97840. },
  97841. call$2(thisArg, redOrArgb) {
  97842. var _null = null;
  97843. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  97844. },
  97845. call$3(thisArg, redOrArgb, green) {
  97846. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  97847. },
  97848. call$4(thisArg, redOrArgb, green, blue) {
  97849. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  97850. },
  97851. call$5(thisArg, redOrArgb, green, blue, alpha) {
  97852. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  97853. },
  97854. "call*": "call$6",
  97855. $requiredArgCount: 2,
  97856. $defaultValues() {
  97857. return [null, null, null, null];
  97858. },
  97859. $signature: 413
  97860. };
  97861. A.legacyColorClass__closure.prototype = {
  97862. call$1(alpha) {
  97863. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97864. },
  97865. $signature: 414
  97866. };
  97867. A.legacyColorClass_closure0.prototype = {
  97868. call$1(thisArg) {
  97869. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97870. },
  97871. $signature: 124
  97872. };
  97873. A.legacyColorClass_closure1.prototype = {
  97874. call$1(thisArg) {
  97875. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97876. },
  97877. $signature: 124
  97878. };
  97879. A.legacyColorClass_closure2.prototype = {
  97880. call$1(thisArg) {
  97881. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97882. },
  97883. $signature: 124
  97884. };
  97885. A.legacyColorClass_closure3.prototype = {
  97886. call$1(thisArg) {
  97887. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  97888. return t1 == null ? 0 : t1;
  97889. },
  97890. $signature: 416
  97891. };
  97892. A.legacyColorClass_closure4.prototype = {
  97893. call$2(thisArg, value) {
  97894. var t1 = J.getInterceptor$x(thisArg),
  97895. t2 = t1.get$dartValue(thisArg);
  97896. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97897. },
  97898. $signature: 80
  97899. };
  97900. A.legacyColorClass_closure5.prototype = {
  97901. call$2(thisArg, value) {
  97902. var t1 = J.getInterceptor$x(thisArg),
  97903. t2 = t1.get$dartValue(thisArg);
  97904. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97905. },
  97906. $signature: 80
  97907. };
  97908. A.legacyColorClass_closure6.prototype = {
  97909. call$2(thisArg, value) {
  97910. var t1 = J.getInterceptor$x(thisArg),
  97911. t2 = t1.get$dartValue(thisArg);
  97912. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  97913. },
  97914. $signature: 80
  97915. };
  97916. A.legacyColorClass_closure7.prototype = {
  97917. call$2(thisArg, value) {
  97918. var t1 = J.getInterceptor$x(thisArg),
  97919. t2 = t1.get$dartValue(thisArg);
  97920. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  97921. },
  97922. $signature: 80
  97923. };
  97924. A.SassColor0.prototype = {
  97925. get$channels() {
  97926. var t2, t3,
  97927. t1 = this.channel0OrNull;
  97928. if (t1 == null)
  97929. t1 = 0;
  97930. t2 = this.channel1OrNull;
  97931. if (t2 == null)
  97932. t2 = 0;
  97933. t3 = this.channel2OrNull;
  97934. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  97935. },
  97936. get$channelsOrNull() {
  97937. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  97938. },
  97939. get$isChannel0Powerless() {
  97940. var t1, t2, _this = this,
  97941. _0_0 = _this._color0$_space;
  97942. $label0$0: {
  97943. if (B.HslColorSpace_JQ20 === _0_0) {
  97944. t1 = _this.channel1OrNull;
  97945. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97946. break $label0$0;
  97947. }
  97948. if (B.HwbColorSpace_guQ0 === _0_0) {
  97949. t1 = _this.channel1OrNull;
  97950. if (t1 == null)
  97951. t1 = 0;
  97952. t2 = _this.channel2OrNull;
  97953. t1 += t2 == null ? 0 : t2;
  97954. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  97955. break $label0$0;
  97956. }
  97957. t1 = false;
  97958. break $label0$0;
  97959. }
  97960. return t1;
  97961. },
  97962. get$isChannel2Powerless() {
  97963. var t1,
  97964. _0_0 = this._color0$_space;
  97965. $label0$0: {
  97966. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  97967. t1 = this.channel1OrNull;
  97968. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  97969. break $label0$0;
  97970. }
  97971. t1 = false;
  97972. break $label0$0;
  97973. }
  97974. return t1;
  97975. },
  97976. get$isInGamut() {
  97977. var t2, t3, _this = this,
  97978. t1 = _this._color0$_space;
  97979. if (!t1.get$isBoundedInternal())
  97980. return true;
  97981. t2 = _this.channel0OrNull;
  97982. if (t2 == null)
  97983. t2 = 0;
  97984. t1 = t1._space$_channels;
  97985. t3 = false;
  97986. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  97987. t2 = _this.channel1OrNull;
  97988. if (t2 == null)
  97989. t2 = 0;
  97990. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  97991. t2 = _this.channel2OrNull;
  97992. if (t2 == null)
  97993. t2 = 0;
  97994. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  97995. } else
  97996. t1 = t3;
  97997. } else
  97998. t1 = t3;
  97999. return t1;
  98000. },
  98001. _color0$_isChannelInGamut$2(value, channel) {
  98002. var min, max, t1;
  98003. $label0$0: {
  98004. if (channel instanceof A.LinearChannel0) {
  98005. min = channel.min;
  98006. max = channel.max;
  98007. if (value < max || A.fuzzyEquals0(value, max))
  98008. t1 = value > min || A.fuzzyEquals0(value, min);
  98009. else
  98010. t1 = false;
  98011. break $label0$0;
  98012. }
  98013. t1 = true;
  98014. break $label0$0;
  98015. }
  98016. return t1;
  98017. },
  98018. accept$1$1(visitor) {
  98019. return visitor.visitColor$1(this);
  98020. },
  98021. accept$1(visitor) {
  98022. return this.accept$1$1(visitor, type$.dynamic);
  98023. },
  98024. assertColor$1($name) {
  98025. return this;
  98026. },
  98027. assertLegacy$1($name) {
  98028. if (this._color0$_space.get$isLegacyInternal())
  98029. return;
  98030. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  98031. },
  98032. channel$1(_, channel) {
  98033. var t1, _this = this,
  98034. channels = _this._color0$_space._space$_channels;
  98035. if (channel === channels[0].name) {
  98036. t1 = _this.channel0OrNull;
  98037. return t1 == null ? 0 : t1;
  98038. }
  98039. if (channel === channels[1].name) {
  98040. t1 = _this.channel1OrNull;
  98041. return t1 == null ? 0 : t1;
  98042. }
  98043. if (channel === channels[2].name) {
  98044. t1 = _this.channel2OrNull;
  98045. return t1 == null ? 0 : t1;
  98046. }
  98047. if (channel === "alpha") {
  98048. t1 = _this.alphaOrNull;
  98049. return t1 == null ? 0 : t1;
  98050. }
  98051. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  98052. },
  98053. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  98054. var _this = this,
  98055. channels = _this._color0$_space._space$_channels;
  98056. if (channel === channels[0].name)
  98057. return _this.channel0OrNull == null;
  98058. if (channel === channels[1].name)
  98059. return _this.channel1OrNull == null;
  98060. if (channel === channels[2].name)
  98061. return _this.channel2OrNull == null;
  98062. if (channel === "alpha")
  98063. return _this.alphaOrNull == null;
  98064. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98065. },
  98066. isChannelMissing$1(channel) {
  98067. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  98068. },
  98069. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  98070. var _this = this,
  98071. channels = _this._color0$_space._space$_channels;
  98072. if (channel === channels[0].name)
  98073. return _this.get$isChannel0Powerless();
  98074. if (channel === channels[1].name)
  98075. return false;
  98076. if (channel === channels[2].name)
  98077. return _this.get$isChannel2Powerless();
  98078. if (channel === "alpha")
  98079. return false;
  98080. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98081. },
  98082. isChannelPowerless$1(channel) {
  98083. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  98084. },
  98085. _color0$_legacyChannel$2(space, channel) {
  98086. if (!this._color0$_space.get$isLegacyInternal())
  98087. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  98088. return this.toSpace$1(space).channel$1(0, channel);
  98089. },
  98090. toSpace$2$legacyMissing(space, legacyMissing) {
  98091. var t2, converted, t3, t4, _this = this,
  98092. t1 = _this._color0$_space;
  98093. if (t1 === space)
  98094. return _this;
  98095. t2 = _this.alphaOrNull;
  98096. if (t2 == null)
  98097. t2 = 0;
  98098. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  98099. t1 = false;
  98100. if (!legacyMissing)
  98101. if (converted._color0$_space.get$isLegacyInternal())
  98102. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  98103. if (t1) {
  98104. t1 = converted.channel0OrNull;
  98105. if (t1 == null)
  98106. t1 = 0;
  98107. t2 = converted.channel1OrNull;
  98108. if (t2 == null)
  98109. t2 = 0;
  98110. t3 = converted.channel2OrNull;
  98111. if (t3 == null)
  98112. t3 = 0;
  98113. t4 = converted.alphaOrNull;
  98114. if (t4 == null)
  98115. t4 = 0;
  98116. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  98117. t1 = t4;
  98118. } else
  98119. t1 = converted;
  98120. return t1;
  98121. },
  98122. toSpace$1(space) {
  98123. return this.toSpace$2$legacyMissing(space, true);
  98124. },
  98125. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  98126. var t1, t2, t3, t4, _this = this, _null = null;
  98127. if (!_this._color0$_space.get$isLegacyInternal())
  98128. 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));
  98129. t1 = red == null ? _null : red;
  98130. if (t1 == null)
  98131. t1 = _this.channel$1(0, "red");
  98132. t2 = green == null ? _null : green;
  98133. if (t2 == null)
  98134. t2 = _this.channel$1(0, "green");
  98135. t3 = blue == null ? _null : blue;
  98136. if (t3 == null)
  98137. t3 = _this.channel$1(0, "blue");
  98138. t4 = alpha == null ? _null : alpha;
  98139. if (t4 == null) {
  98140. t4 = _this.alphaOrNull;
  98141. if (t4 == null)
  98142. t4 = 0;
  98143. }
  98144. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  98145. },
  98146. changeRgb$1$alpha(alpha) {
  98147. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  98148. },
  98149. changeRgb$1$blue(blue) {
  98150. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  98151. },
  98152. changeRgb$1$green(green) {
  98153. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  98154. },
  98155. changeRgb$1$red(red) {
  98156. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  98157. },
  98158. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  98159. var t2, t3, t4, t5, _this = this, _null = null,
  98160. t1 = _this._color0$_space;
  98161. if (!t1.get$isLegacyInternal())
  98162. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  98163. t2 = hue == null ? _null : hue;
  98164. if (t2 == null)
  98165. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  98166. t3 = saturation == null ? _null : saturation;
  98167. if (t3 == null)
  98168. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  98169. t4 = lightness == null ? _null : lightness;
  98170. if (t4 == null)
  98171. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  98172. t5 = _this.alphaOrNull;
  98173. if (t5 == null)
  98174. t5 = 0;
  98175. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  98176. },
  98177. changeHsl$1$saturation(saturation) {
  98178. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  98179. },
  98180. changeHsl$1$lightness(lightness) {
  98181. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  98182. },
  98183. changeHsl$1$hue(hue) {
  98184. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  98185. },
  98186. changeAlpha$1(alpha) {
  98187. var t2, t3, _this = this,
  98188. t1 = _this.channel0OrNull;
  98189. if (t1 == null)
  98190. t1 = 0;
  98191. t2 = _this.channel1OrNull;
  98192. if (t2 == null)
  98193. t2 = 0;
  98194. t3 = _this.channel2OrNull;
  98195. if (t3 == null)
  98196. t3 = 0;
  98197. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  98198. },
  98199. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  98200. 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;
  98201. if (weight == null)
  98202. weight = 0.5;
  98203. if (A.fuzzyEquals0(weight, 0))
  98204. return other;
  98205. if (A.fuzzyEquals0(weight, 1))
  98206. return _this;
  98207. t1 = method.space;
  98208. color1 = _this.toSpace$1(t1);
  98209. color2 = other.toSpace$1(t1);
  98210. if (weight < 0 || weight > 1)
  98211. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98212. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98213. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98214. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98215. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98216. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98217. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98218. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98219. if (channel1_0 == null)
  98220. channel1_0 = 0;
  98221. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98222. if (channel1_1 == null)
  98223. channel1_1 = 0;
  98224. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98225. if (channel1_2 == null)
  98226. channel1_2 = 0;
  98227. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98228. if (channel2_0 == null)
  98229. channel2_0 = 0;
  98230. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98231. if (channel2_1 == null)
  98232. channel2_1 = 0;
  98233. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98234. if (channel2_2 == null)
  98235. channel2_2 = 0;
  98236. alpha1 = _this.alphaOrNull;
  98237. t2 = alpha1 == null;
  98238. if (t2) {
  98239. t3 = other.alphaOrNull;
  98240. alpha10 = t3 == null ? 0 : t3;
  98241. } else
  98242. alpha10 = alpha1;
  98243. alpha2 = other.alphaOrNull;
  98244. t3 = alpha2 == null;
  98245. if (t3)
  98246. alpha20 = t2 ? 0 : alpha1;
  98247. else
  98248. alpha20 = alpha2;
  98249. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98250. t4 = t3 ? 1 : alpha2;
  98251. t5 = 1 - weight;
  98252. otherMultiplier = t4 * t5;
  98253. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98254. if (missing1_0 && missing2_0)
  98255. mixed0 = _null;
  98256. else {
  98257. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98258. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98259. }
  98260. if (missing1_1 && missing2_1)
  98261. mixed1 = _null;
  98262. else {
  98263. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98264. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98265. }
  98266. if (missing1_2 && missing2_2)
  98267. mixed2 = _null;
  98268. else {
  98269. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98270. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98271. }
  98272. $label0$0: {
  98273. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98274. if (missing1_0 && missing2_0)
  98275. t2 = _null;
  98276. else {
  98277. t2 = method.hue;
  98278. t2.toString;
  98279. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98280. }
  98281. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98282. t1 = t2;
  98283. break $label0$0;
  98284. }
  98285. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98286. if (missing1_2 && missing2_2)
  98287. t2 = _null;
  98288. else {
  98289. t2 = method.hue;
  98290. t2.toString;
  98291. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98292. }
  98293. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98294. t1 = t2;
  98295. break $label0$0;
  98296. }
  98297. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98298. break $label0$0;
  98299. }
  98300. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98301. },
  98302. interpolate$3$weight(other, method, weight) {
  98303. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98304. },
  98305. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98306. var originalChannel;
  98307. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98308. return true;
  98309. if (original === output)
  98310. return false;
  98311. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98312. if (originalChannel == null)
  98313. return false;
  98314. return original.isChannelMissing$1(originalChannel.name);
  98315. },
  98316. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98317. var _0_0, _1_0;
  98318. $label1$1: {
  98319. if (B.HueInterpolationMethod_00 === method) {
  98320. $label0$0: {
  98321. _0_0 = hue2 - hue1;
  98322. if (_0_0 > 180) {
  98323. hue1 += 360;
  98324. break $label0$0;
  98325. }
  98326. if (_0_0 < -180)
  98327. hue2 += 360;
  98328. }
  98329. break $label1$1;
  98330. }
  98331. if (B.HueInterpolationMethod_10 === method) {
  98332. $label2$2: {
  98333. _1_0 = hue2 - hue1;
  98334. if (_1_0 > 0 && _1_0 < 180) {
  98335. hue2 += 360;
  98336. break $label2$2;
  98337. }
  98338. if (_1_0 > -180 && _1_0 <= 0)
  98339. hue1 += 360;
  98340. }
  98341. break $label1$1;
  98342. }
  98343. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98344. hue2 += 360;
  98345. break $label1$1;
  98346. }
  98347. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98348. hue1 += 360;
  98349. break $label1$1;
  98350. }
  98351. }
  98352. return hue1 * weight + hue2 * (1 - weight);
  98353. },
  98354. plus$1(other) {
  98355. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98356. return this.super$Value$plus0(other);
  98357. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98358. },
  98359. minus$1(other) {
  98360. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98361. return this.super$Value$minus0(other);
  98362. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98363. },
  98364. dividedBy$1(other) {
  98365. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98366. return this.super$Value$dividedBy0(other);
  98367. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98368. },
  98369. $eq(_, other) {
  98370. var t1, t2, _this = this;
  98371. if (other == null)
  98372. return false;
  98373. if (!(other instanceof A.SassColor0))
  98374. return false;
  98375. t1 = _this._color0$_space;
  98376. if (t1.get$isLegacyInternal()) {
  98377. t2 = other._color0$_space;
  98378. if (!t2.get$isLegacyInternal())
  98379. return false;
  98380. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98381. return false;
  98382. if (t1 === t2)
  98383. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98384. else
  98385. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98386. }
  98387. 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);
  98388. },
  98389. get$hashCode(_) {
  98390. var rgb, t2, t3, t4, t5, _this = this,
  98391. t1 = _this._color0$_space;
  98392. if (t1.get$isLegacyInternal()) {
  98393. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98394. t1 = rgb.channel0OrNull;
  98395. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98396. t2 = rgb.channel1OrNull;
  98397. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98398. t3 = rgb.channel2OrNull;
  98399. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98400. t4 = _this.alphaOrNull;
  98401. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98402. } else {
  98403. t1 = A.Primitives_objectHashCode(t1);
  98404. t2 = _this.channel0OrNull;
  98405. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98406. t3 = _this.channel1OrNull;
  98407. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98408. t4 = _this.channel2OrNull;
  98409. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98410. t5 = _this.alphaOrNull;
  98411. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98412. }
  98413. }
  98414. };
  98415. A.SassColor$_forSpace_closure0.prototype = {
  98416. call$1(alpha) {
  98417. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98418. },
  98419. $signature: 16
  98420. };
  98421. A._ColorFormatEnum0.prototype = {
  98422. toString$0(_) {
  98423. return "rgbFunction";
  98424. }
  98425. };
  98426. A.SpanColorFormat0.prototype = {};
  98427. A.Combinator0.prototype = {
  98428. _enumToString$0() {
  98429. return "Combinator." + this._name;
  98430. },
  98431. toString$0(_) {
  98432. return this._combinator0$_text;
  98433. }
  98434. };
  98435. A.ModifiableCssComment0.prototype = {
  98436. accept$1$1(visitor) {
  98437. return visitor.visitCssComment$1(this);
  98438. },
  98439. accept$1(visitor) {
  98440. return this.accept$1$1(visitor, type$.dynamic);
  98441. },
  98442. $isCssComment0: 1,
  98443. get$span(receiver) {
  98444. return this.span;
  98445. }
  98446. };
  98447. A.compileAsync_closure.prototype = {
  98448. call$0() {
  98449. var $async$goto = 0,
  98450. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98451. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  98452. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98453. if ($async$errorCode === 1)
  98454. return A._asyncRethrow($async$result, $async$completer);
  98455. while (true)
  98456. switch ($async$goto) {
  98457. case 0:
  98458. // Function start
  98459. t1 = $async$self.options;
  98460. t2 = t1 == null;
  98461. t3 = t2 ? null : J.get$loadPaths$x(t1);
  98462. t4 = t2 ? null : J.get$quietDeps$x(t1);
  98463. if (t4 == null)
  98464. t4 = false;
  98465. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98466. t6 = t2 ? null : J.get$verbose$x(t1);
  98467. if (t6 == null)
  98468. t6 = false;
  98469. t7 = t2 ? null : J.get$charset$x(t1);
  98470. if (t7 == null)
  98471. t7 = true;
  98472. t8 = t2 ? null : J.get$sourceMap$x(t1);
  98473. if (t8 == null)
  98474. t8 = false;
  98475. t9 = $async$self.logger;
  98476. if (t2)
  98477. t10 = null;
  98478. else {
  98479. t10 = J.get$importers$x(t1);
  98480. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  98481. }
  98482. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98483. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98484. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98485. $async$goto = 3;
  98486. 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);
  98487. case 3:
  98488. // returning from await.
  98489. result = $async$result;
  98490. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98491. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98492. // goto return
  98493. $async$goto = 1;
  98494. break;
  98495. case 1:
  98496. // return
  98497. return A._asyncReturn($async$returnValue, $async$completer);
  98498. }
  98499. });
  98500. return A._asyncStartSync($async$call$0, $async$completer);
  98501. },
  98502. $signature: 230
  98503. };
  98504. A.compileAsync__closure.prototype = {
  98505. call$1(importer) {
  98506. return A._parseAsyncImporter(importer);
  98507. },
  98508. $signature: 231
  98509. };
  98510. A.compileStringAsync_closure.prototype = {
  98511. call$0() {
  98512. var $async$goto = 0,
  98513. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98514. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  98515. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98516. if ($async$errorCode === 1)
  98517. return A._asyncRethrow($async$result, $async$completer);
  98518. while (true)
  98519. switch ($async$goto) {
  98520. case 0:
  98521. // Function start
  98522. t1 = $async$self.options;
  98523. t2 = t1 == null;
  98524. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  98525. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  98526. t5 = t2 ? null : J.get$loadPaths$x(t1);
  98527. t6 = t2 ? null : J.get$quietDeps$x(t1);
  98528. if (t6 == null)
  98529. t6 = false;
  98530. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98531. t8 = t2 ? null : J.get$verbose$x(t1);
  98532. if (t8 == null)
  98533. t8 = false;
  98534. t9 = t2 ? null : J.get$charset$x(t1);
  98535. if (t9 == null)
  98536. t9 = true;
  98537. t10 = t2 ? null : J.get$sourceMap$x(t1);
  98538. if (t10 == null)
  98539. t10 = false;
  98540. t11 = $async$self.logger;
  98541. if (t2)
  98542. t12 = null;
  98543. else {
  98544. t12 = J.get$importers$x(t1);
  98545. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  98546. }
  98547. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  98548. if (t13 == null)
  98549. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  98550. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98551. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98552. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98553. $async$goto = 3;
  98554. 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);
  98555. case 3:
  98556. // returning from await.
  98557. result = $async$result;
  98558. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98559. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98560. // goto return
  98561. $async$goto = 1;
  98562. break;
  98563. case 1:
  98564. // return
  98565. return A._asyncReturn($async$returnValue, $async$completer);
  98566. }
  98567. });
  98568. return A._asyncStartSync($async$call$0, $async$completer);
  98569. },
  98570. $signature: 230
  98571. };
  98572. A.compileStringAsync__closure.prototype = {
  98573. call$1(importer) {
  98574. return A._parseAsyncImporter(importer);
  98575. },
  98576. $signature: 231
  98577. };
  98578. A.compileStringAsync__closure0.prototype = {
  98579. call$1(importer) {
  98580. return A._parseAsyncImporter(importer);
  98581. },
  98582. $signature: 420
  98583. };
  98584. A._wrapAsyncSassExceptions_closure.prototype = {
  98585. call$1(error) {
  98586. var t1;
  98587. if (error instanceof A.SassException0)
  98588. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  98589. else
  98590. t1 = A.jsThrow(error == null ? A._asObject(error) : error);
  98591. return t1;
  98592. },
  98593. $signature: 421
  98594. };
  98595. A._parseFunctions_closure0.prototype = {
  98596. call$2(signature, callback) {
  98597. var callable,
  98598. t1 = this.result;
  98599. if (!this.asynch) {
  98600. callable = A._Cell$();
  98601. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  98602. t1.push(callable._readLocal$0());
  98603. } else {
  98604. callable = A._Cell$();
  98605. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  98606. t1.push(callable._readLocal$0());
  98607. }
  98608. },
  98609. $signature: 126
  98610. };
  98611. A._parseFunctions__closure2.prototype = {
  98612. call$1($arguments) {
  98613. var t1, t2,
  98614. _s42_ = string$.Invali,
  98615. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  98616. if (result instanceof A.Value0)
  98617. return A._simplifyValue(result);
  98618. t1 = result != null && result instanceof self.Promise;
  98619. t2 = this.callable;
  98620. if (t1) {
  98621. t1 = t2.readLocal$0();
  98622. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  98623. } else {
  98624. t1 = t2.readLocal$0();
  98625. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98626. }
  98627. },
  98628. $signature: 3
  98629. };
  98630. A._parseFunctions___closure6.prototype = {
  98631. call$0() {
  98632. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98633. },
  98634. $signature: 59
  98635. };
  98636. A._parseFunctions__closure3.prototype = {
  98637. call$1($arguments) {
  98638. return this.$call$body$_parseFunctions__closure0($arguments);
  98639. },
  98640. $call$body$_parseFunctions__closure0($arguments) {
  98641. var $async$goto = 0,
  98642. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  98643. $async$returnValue, $async$self = this, t1, result;
  98644. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98645. if ($async$errorCode === 1)
  98646. return A._asyncRethrow($async$result, $async$completer);
  98647. while (true)
  98648. switch ($async$goto) {
  98649. case 0:
  98650. // Function start
  98651. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  98652. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  98653. break;
  98654. case 3:
  98655. // then
  98656. $async$goto = 5;
  98657. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  98658. case 5:
  98659. // returning from await.
  98660. result = $async$result;
  98661. case 4:
  98662. // join
  98663. if (result instanceof A.Value0) {
  98664. $async$returnValue = A._simplifyValue(result);
  98665. // goto return
  98666. $async$goto = 1;
  98667. break;
  98668. }
  98669. t1 = $async$self.callable.readLocal$0();
  98670. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98671. case 1:
  98672. // return
  98673. return A._asyncReturn($async$returnValue, $async$completer);
  98674. }
  98675. });
  98676. return A._asyncStartSync($async$call$1, $async$completer);
  98677. },
  98678. $signature: 109
  98679. };
  98680. A._parseFunctions___closure5.prototype = {
  98681. call$0() {
  98682. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98683. },
  98684. $signature: 59
  98685. };
  98686. A.nodePackageImporterClass_closure.prototype = {
  98687. call$0() {
  98688. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  98689. },
  98690. $signature: 15
  98691. };
  98692. A.nodePackageImporterClass__closure.prototype = {
  98693. call$2($self, entrypointDirectory) {
  98694. var t1, t2, _null = null,
  98695. _0_3 = A.entrypointFilename();
  98696. $label0$0: {
  98697. if (entrypointDirectory != null) {
  98698. t1 = entrypointDirectory;
  98699. break $label0$0;
  98700. }
  98701. if (_0_3 != null) {
  98702. t1 = $.$get$context().dirname$1(_0_3);
  98703. break $label0$0;
  98704. }
  98705. 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`.");
  98706. }
  98707. t2 = new A.NodePackageImporter0();
  98708. if (A.isBrowser())
  98709. A.throwExpression(string$.The_No);
  98710. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  98711. return t2;
  98712. },
  98713. call$1($self) {
  98714. return this.call$2($self, null);
  98715. },
  98716. "call*": "call$2",
  98717. $requiredArgCount: 1,
  98718. $defaultValues() {
  98719. return [null];
  98720. },
  98721. $signature: 423
  98722. };
  98723. A._compileStylesheet_closure1.prototype = {
  98724. call$1(url) {
  98725. 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);
  98726. },
  98727. $signature: 6
  98728. };
  98729. A.CompileOptions.prototype = {};
  98730. A.CompileStringOptions.prototype = {};
  98731. A.NodeCompileResult.prototype = {};
  98732. A.CompileResult0.prototype = {};
  98733. A.Compiler.prototype = {};
  98734. A.AsyncCompiler.prototype = {
  98735. addCompilation$1(compilation) {
  98736. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  98737. }
  98738. };
  98739. A.AsyncCompiler_addCompilation_closure.prototype = {
  98740. call$1(err) {
  98741. },
  98742. $signature: 64
  98743. };
  98744. A.compilerClass_closure.prototype = {
  98745. call$0() {
  98746. var t1 = type$.JSClass,
  98747. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  98748. 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));
  98749. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  98750. return jsClass;
  98751. },
  98752. $signature: 15
  98753. };
  98754. A.compilerClass__closure.prototype = {
  98755. call$1($self) {
  98756. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  98757. },
  98758. $signature: 232
  98759. };
  98760. A.compilerClass__closure0.prototype = {
  98761. call$3($self, path, options) {
  98762. if ($self._disposed)
  98763. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98764. return A.compile0(path, options);
  98765. },
  98766. call$2($self, path) {
  98767. return this.call$3($self, path, null);
  98768. },
  98769. "call*": "call$3",
  98770. $requiredArgCount: 2,
  98771. $defaultValues() {
  98772. return [null];
  98773. },
  98774. $signature: 425
  98775. };
  98776. A.compilerClass__closure1.prototype = {
  98777. call$3($self, source, options) {
  98778. if ($self._disposed)
  98779. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98780. return A.compileString0(source, options);
  98781. },
  98782. call$2($self, source) {
  98783. return this.call$3($self, source, null);
  98784. },
  98785. "call*": "call$3",
  98786. $requiredArgCount: 2,
  98787. $defaultValues() {
  98788. return [null];
  98789. },
  98790. $signature: 426
  98791. };
  98792. A.compilerClass__closure2.prototype = {
  98793. call$1($self) {
  98794. $self._disposed = true;
  98795. },
  98796. $signature: 427
  98797. };
  98798. A.asyncCompilerClass_closure.prototype = {
  98799. call$0() {
  98800. var t1 = type$.JSClass,
  98801. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  98802. 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));
  98803. 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);
  98804. return jsClass;
  98805. },
  98806. $signature: 15
  98807. };
  98808. A.asyncCompilerClass__closure.prototype = {
  98809. call$1($self) {
  98810. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  98811. },
  98812. $signature: 232
  98813. };
  98814. A.asyncCompilerClass__closure0.prototype = {
  98815. call$3($self, path, options) {
  98816. var compilation;
  98817. if ($self._disposed)
  98818. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98819. compilation = A.compileAsync1(path, options);
  98820. $self.addCompilation$1(compilation);
  98821. return compilation;
  98822. },
  98823. call$2($self, path) {
  98824. return this.call$3($self, path, null);
  98825. },
  98826. "call*": "call$3",
  98827. $requiredArgCount: 2,
  98828. $defaultValues() {
  98829. return [null];
  98830. },
  98831. $signature: 428
  98832. };
  98833. A.asyncCompilerClass__closure1.prototype = {
  98834. call$3($self, source, options) {
  98835. var compilation;
  98836. if ($self._disposed)
  98837. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98838. compilation = A.compileStringAsync1(source, options);
  98839. $self.addCompilation$1(compilation);
  98840. return compilation;
  98841. },
  98842. call$2($self, source) {
  98843. return this.call$3($self, source, null);
  98844. },
  98845. "call*": "call$3",
  98846. $requiredArgCount: 2,
  98847. $defaultValues() {
  98848. return [null];
  98849. },
  98850. $signature: 429
  98851. };
  98852. A.asyncCompilerClass__closure2.prototype = {
  98853. call$1($self) {
  98854. $self._disposed = true;
  98855. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  98856. },
  98857. $signature: 430
  98858. };
  98859. A.asyncCompilerClass___closure.prototype = {
  98860. call$0() {
  98861. var $async$goto = 0,
  98862. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  98863. $async$self = this, t1;
  98864. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98865. if ($async$errorCode === 1)
  98866. return A._asyncRethrow($async$result, $async$completer);
  98867. while (true)
  98868. switch ($async$goto) {
  98869. case 0:
  98870. // Function start
  98871. t1 = $async$self.self.compilations;
  98872. t1.close$0(0);
  98873. $async$goto = 2;
  98874. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  98875. case 2:
  98876. // returning from await.
  98877. // implicit return
  98878. return A._asyncReturn(null, $async$completer);
  98879. }
  98880. });
  98881. return A._asyncStartSync($async$call$0, $async$completer);
  98882. },
  98883. $signature: 2
  98884. };
  98885. A.initAsyncCompiler_closure.prototype = {
  98886. call$0() {
  98887. var $async$goto = 0,
  98888. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  98889. $async$returnValue;
  98890. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98891. if ($async$errorCode === 1)
  98892. return A._asyncRethrow($async$result, $async$completer);
  98893. while (true)
  98894. switch ($async$goto) {
  98895. case 0:
  98896. // Function start
  98897. $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));
  98898. // goto return
  98899. $async$goto = 1;
  98900. break;
  98901. case 1:
  98902. // return
  98903. return A._asyncReturn($async$returnValue, $async$completer);
  98904. }
  98905. });
  98906. return A._asyncStartSync($async$call$0, $async$completer);
  98907. },
  98908. $signature: 431
  98909. };
  98910. A.ComplexSassNumber0.prototype = {
  98911. get$numeratorUnits(_) {
  98912. return this._complex0$_numeratorUnits;
  98913. },
  98914. get$denominatorUnits(_) {
  98915. return this._complex0$_denominatorUnits;
  98916. },
  98917. get$hasUnits() {
  98918. return true;
  98919. },
  98920. get$hasComplexUnits() {
  98921. return true;
  98922. },
  98923. hasUnit$1(unit) {
  98924. return false;
  98925. },
  98926. compatibleWithUnit$1(unit) {
  98927. return false;
  98928. },
  98929. hasPossiblyCompatibleUnits$1(other) {
  98930. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  98931. },
  98932. withValue$1(value) {
  98933. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  98934. },
  98935. withSlash$2(numerator, denominator) {
  98936. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  98937. }
  98938. };
  98939. A.ComplexSelector0.prototype = {
  98940. get$specificity() {
  98941. var result, _this = this,
  98942. value = _this._complex$__ComplexSelector_specificity_FI;
  98943. if (value === $) {
  98944. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  98945. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  98946. _this._complex$__ComplexSelector_specificity_FI = result;
  98947. value = result;
  98948. }
  98949. return value;
  98950. },
  98951. get$singleCompound() {
  98952. var _0_0, t1, _0_4, selector;
  98953. if (this.leadingCombinators.length !== 0)
  98954. return null;
  98955. _0_0 = this.components;
  98956. $label0$0: {
  98957. t1 = false;
  98958. if (_0_0.length === 1) {
  98959. _0_4 = _0_0[0];
  98960. selector = _0_4.selector;
  98961. t1 = _0_4.combinators.length <= 0;
  98962. } else
  98963. selector = null;
  98964. if (t1) {
  98965. t1 = selector;
  98966. break $label0$0;
  98967. }
  98968. t1 = null;
  98969. break $label0$0;
  98970. }
  98971. return t1;
  98972. },
  98973. accept$1$1(visitor) {
  98974. return visitor.visitComplexSelector$1(this);
  98975. },
  98976. accept$1(visitor) {
  98977. return this.accept$1$1(visitor, type$.dynamic);
  98978. },
  98979. isSuperselector$1(other) {
  98980. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  98981. },
  98982. withAdditionalCombinators$1(combinators) {
  98983. var _0_0, _0_1, t1, initial, last, _this = this;
  98984. if (combinators.length === 0)
  98985. return _this;
  98986. _0_0 = _this.components;
  98987. $label0$0: {
  98988. _0_1 = _0_0.length;
  98989. if (_0_1 >= 1) {
  98990. t1 = _0_1 - 1;
  98991. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  98992. last = _0_0[t1];
  98993. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  98994. t1.push(last.withAdditionalCombinators$1(combinators));
  98995. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  98996. break $label0$0;
  98997. }
  98998. if (_0_1 <= 0) {
  98999. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99000. B.JSArray_methods.addAll$1(t1, combinators);
  99001. t1 = A.ComplexSelector$0(t1, B.List_empty18, _this.span, _this.lineBreak);
  99002. break $label0$0;
  99003. }
  99004. t1 = null;
  99005. }
  99006. return t1;
  99007. },
  99008. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  99009. var t2, _0_1, initial, last, _this = this,
  99010. t1 = child.leadingCombinators,
  99011. _0_0 = _this.components;
  99012. if (t1.length === 0) {
  99013. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent_2);
  99014. B.JSArray_methods.addAll$1(t1, child.components);
  99015. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99016. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  99017. } else {
  99018. _0_1 = _0_0.length;
  99019. if (_0_1 >= 1) {
  99020. t2 = _0_1 - 1;
  99021. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  99022. last = _0_0[t2];
  99023. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  99024. t2.push(last.withAdditionalCombinators$1(t1));
  99025. B.JSArray_methods.addAll$1(t2, child.components);
  99026. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99027. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  99028. } else {
  99029. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99030. B.JSArray_methods.addAll$1(t2, t1);
  99031. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99032. return A.ComplexSelector$0(t2, child.components, span, t1);
  99033. }
  99034. }
  99035. },
  99036. concatenate$2(child, span) {
  99037. return this.concatenate$3$forceLineBreak(child, span, false);
  99038. },
  99039. get$hashCode(_) {
  99040. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  99041. },
  99042. $eq(_, other) {
  99043. if (other == null)
  99044. return false;
  99045. 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);
  99046. }
  99047. };
  99048. A.ComplexSelector_specificity_closure0.prototype = {
  99049. call$2(sum, component) {
  99050. return sum + component.selector.get$specificity();
  99051. },
  99052. $signature: 432
  99053. };
  99054. A.ComplexSelectorComponent0.prototype = {
  99055. withAdditionalCombinators$1(combinators) {
  99056. var t1, t2, _this = this;
  99057. if (combinators.length === 0)
  99058. t1 = _this;
  99059. else {
  99060. t1 = type$.CssValue_Combinator_2;
  99061. t2 = A.List_List$_of(_this.combinators, t1);
  99062. B.JSArray_methods.addAll$1(t2, combinators);
  99063. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  99064. }
  99065. return t1;
  99066. },
  99067. get$hashCode(_) {
  99068. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  99069. },
  99070. $eq(_, other) {
  99071. var t1;
  99072. if (other == null)
  99073. return false;
  99074. if (other instanceof A.ComplexSelectorComponent0) {
  99075. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  99076. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  99077. } else
  99078. t1 = false;
  99079. return t1;
  99080. },
  99081. toString$0(_) {
  99082. var t1 = this.combinators;
  99083. 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, "");
  99084. }
  99085. };
  99086. A.ComplexSelectorComponent_toString_closure0.prototype = {
  99087. call$1(combinator) {
  99088. return " " + combinator.toString$0(0);
  99089. },
  99090. $signature: 433
  99091. };
  99092. A.CompoundSelector0.prototype = {
  99093. get$specificity() {
  99094. var result, _this = this,
  99095. value = _this._compound$__CompoundSelector_specificity_FI;
  99096. if (value === $) {
  99097. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  99098. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99099. _this._compound$__CompoundSelector_specificity_FI = result;
  99100. value = result;
  99101. }
  99102. return value;
  99103. },
  99104. get$hasComplicatedSuperselectorSemantics() {
  99105. var result, _this = this,
  99106. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  99107. if (value === $) {
  99108. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  99109. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  99110. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  99111. value = result;
  99112. }
  99113. return value;
  99114. },
  99115. accept$1$1(visitor) {
  99116. return visitor.visitCompoundSelector$1(this);
  99117. },
  99118. accept$1(visitor) {
  99119. return this.accept$1$1(visitor, type$.dynamic);
  99120. },
  99121. get$hashCode(_) {
  99122. return B.C_ListEquality0.hash$1(this.components);
  99123. },
  99124. $eq(_, other) {
  99125. if (other == null)
  99126. return false;
  99127. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  99128. }
  99129. };
  99130. A.CompoundSelector_specificity_closure0.prototype = {
  99131. call$2(sum, component) {
  99132. return sum + component.get$specificity();
  99133. },
  99134. $signature: 434
  99135. };
  99136. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  99137. call$1(component) {
  99138. return component.get$hasComplicatedSuperselectorSemantics();
  99139. },
  99140. $signature: 13
  99141. };
  99142. A.Configuration0.prototype = {
  99143. throughForward$1($forward) {
  99144. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  99145. newValues = this._configuration0$_values;
  99146. if (newValues.get$isEmpty(newValues))
  99147. return this;
  99148. _0_0 = $forward.prefix;
  99149. if (_0_0 != null)
  99150. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  99151. _1_0 = $forward.shownVariables;
  99152. if (_1_0 != null)
  99153. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  99154. else {
  99155. _2_0 = $forward.hiddenVariables;
  99156. if (_2_0 != null) {
  99157. t1 = _2_0._base.get$isNotEmpty(0);
  99158. hiddenVariables = _2_0;
  99159. } else {
  99160. hiddenVariables = null;
  99161. t1 = false;
  99162. }
  99163. if (t1)
  99164. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  99165. }
  99166. return this._configuration0$_withValues$1(newValues);
  99167. },
  99168. _configuration0$_withValues$1(values) {
  99169. var t1 = this._configuration0$__originalConfiguration;
  99170. return new A.Configuration0(values, t1 == null ? this : t1);
  99171. },
  99172. toString$0(_) {
  99173. var t2, t3,
  99174. t1 = A._setArrayType([], type$.JSArray_String);
  99175. 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();) {
  99176. t3 = t2.get$current(t2);
  99177. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  99178. }
  99179. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  99180. }
  99181. };
  99182. A.ExplicitConfiguration0.prototype = {
  99183. _configuration0$_withValues$1(values) {
  99184. var t1 = this._configuration0$__originalConfiguration;
  99185. if (t1 == null)
  99186. t1 = this;
  99187. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  99188. }
  99189. };
  99190. A.ConfiguredValue0.prototype = {
  99191. toString$0(_) {
  99192. return this.value.toString$0(0);
  99193. }
  99194. };
  99195. A.ConfiguredVariable0.prototype = {
  99196. toString$0(_) {
  99197. var t1 = this.expression.toString$0(0),
  99198. t2 = this.isGuarded ? " !default" : "";
  99199. return "$" + this.name + ": " + t1 + t2;
  99200. },
  99201. $isAstNode0: 1,
  99202. $isSassNode: 1,
  99203. get$span(receiver) {
  99204. return this.span;
  99205. }
  99206. };
  99207. A.ContentBlock0.prototype = {
  99208. accept$1$1(visitor) {
  99209. return visitor.visitContentBlock$1(0, this);
  99210. },
  99211. accept$1(visitor) {
  99212. return this.accept$1$1(visitor, type$.dynamic);
  99213. },
  99214. toString$0(_) {
  99215. var t1 = this.parameters;
  99216. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99217. return t1 + (" {" + B.JSArray_methods.join$1(this.children, " ") + "}");
  99218. }
  99219. };
  99220. A.ContentRule0.prototype = {
  99221. accept$1$1(visitor) {
  99222. return visitor.visitContentRule$1(0, this);
  99223. },
  99224. accept$1(visitor) {
  99225. return this.accept$1$1(visitor, type$.dynamic);
  99226. },
  99227. toString$0(_) {
  99228. var t1 = this.$arguments;
  99229. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99230. },
  99231. get$span(receiver) {
  99232. return this.span;
  99233. }
  99234. };
  99235. A._disallowedFunctionNames_closure0.prototype = {
  99236. call$1($function) {
  99237. return $function.name;
  99238. },
  99239. $signature: 435
  99240. };
  99241. A.CssParser0.prototype = {
  99242. get$plainCss() {
  99243. return true;
  99244. },
  99245. silentComment$0() {
  99246. var t1, t2, _this = this;
  99247. if (_this._stylesheet0$_inExpression)
  99248. return false;
  99249. t1 = _this.scanner;
  99250. t2 = t1._string_scanner$_position;
  99251. _this.super$Parser$silentComment0();
  99252. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99253. },
  99254. atRule$2$root(child, root) {
  99255. var $name, _0_0, _this = this,
  99256. t1 = _this.scanner,
  99257. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99258. t1.expectChar$1(64);
  99259. $name = _this.interpolatedIdentifier$0();
  99260. _this.whitespace$1$consumeNewlines(true);
  99261. _0_0 = $name.get$asPlain();
  99262. $label0$0: {
  99263. 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)
  99264. _this._css$_forbiddenAtRule$1(start);
  99265. if ("import" === _0_0) {
  99266. t1 = _this._css$_cssImportRule$1(start);
  99267. break $label0$0;
  99268. }
  99269. if ("media" === _0_0) {
  99270. t1 = _this.mediaRule$1(start);
  99271. break $label0$0;
  99272. }
  99273. if ("-moz-document" === _0_0) {
  99274. t1 = _this.mozDocumentRule$2(start, $name);
  99275. break $label0$0;
  99276. }
  99277. if ("supports" === _0_0) {
  99278. t1 = _this.supportsRule$1(start);
  99279. break $label0$0;
  99280. }
  99281. t1 = _this.unknownAtRule$2(start, $name);
  99282. break $label0$0;
  99283. }
  99284. return t1;
  99285. },
  99286. _css$_forbiddenAtRule$1(start) {
  99287. this.almostAnyValue$0();
  99288. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  99289. },
  99290. _css$_cssImportRule$1(start) {
  99291. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  99292. t1 = _this.scanner,
  99293. t2 = t1._string_scanner$_position,
  99294. _1_0 = t1.peekChar$0();
  99295. $label1$1: {
  99296. if (117 === _1_0 || 85 === _1_0) {
  99297. _0_0 = _this.dynamicUrl$0();
  99298. $label0$0: {
  99299. if (_0_0 instanceof A.StringExpression0) {
  99300. t3 = _0_0.text;
  99301. break $label0$0;
  99302. }
  99303. string = null;
  99304. t3 = false;
  99305. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99306. $name = _0_0.name;
  99307. _0_3 = _0_0.$arguments;
  99308. _0_4 = _0_3.positional;
  99309. t4 = _0_4;
  99310. if (t4.length === 1) {
  99311. _0_8 = _0_4[0];
  99312. t4 = _0_8;
  99313. if (t4 instanceof A.StringExpression0) {
  99314. type$.StringExpression_2._as(_0_8);
  99315. t4 = _0_3.named;
  99316. if (t4.get$isEmpty(t4))
  99317. if (_0_3.rest == null)
  99318. t3 = _0_3.keywordRest == null;
  99319. string = _0_8;
  99320. }
  99321. }
  99322. } else
  99323. $name = null;
  99324. if (t3) {
  99325. t3 = new A.StringBuffer("");
  99326. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99327. t4.addInterpolation$1($name);
  99328. t5 = A.Primitives_stringFromCharCode(40);
  99329. t3._contents += t5;
  99330. t4.addInterpolation$1(string.asInterpolation$0());
  99331. t5 = A.Primitives_stringFromCharCode(41);
  99332. t3._contents += t5;
  99333. t4 = t4.interpolation$1(_0_0.span);
  99334. t3 = t4;
  99335. break $label0$0;
  99336. }
  99337. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99338. }
  99339. break $label1$1;
  99340. }
  99341. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99342. break $label1$1;
  99343. }
  99344. _this.whitespace$1$consumeNewlines(true);
  99345. modifiers = _this.tryImportModifiers$0();
  99346. _this.expectStatementSeparator$1("@import rule");
  99347. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99348. t1 = t1.spanFrom$1(start);
  99349. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99350. },
  99351. parentheses$0() {
  99352. var expression,
  99353. t1 = this.scanner,
  99354. t2 = t1._string_scanner$_position;
  99355. t1.expectChar$1(40);
  99356. this.whitespace$1$consumeNewlines(true);
  99357. expression = this.expressionUntilComma$0();
  99358. t1.expectChar$1(41);
  99359. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99360. },
  99361. identifierLike$0() {
  99362. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99363. t1 = _this.scanner,
  99364. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99365. identifier = _this.interpolatedIdentifier$0(),
  99366. plain = identifier.get$asPlain(),
  99367. lower = plain.toLowerCase(),
  99368. _0_0 = _this.trySpecialFunction$2(lower, start);
  99369. if (_0_0 != null)
  99370. return _0_0;
  99371. t2 = t1._string_scanner$_position;
  99372. if (t1.scanChar$1(46))
  99373. return _this.namespacedExpression$2(plain, start);
  99374. if (!t1.scanChar$1(40))
  99375. return new A.StringExpression0(identifier, false);
  99376. allowEmptySecondArg = lower === "var";
  99377. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  99378. if (!t1.scanChar$1(41)) {
  99379. do {
  99380. _this.whitespace$1$consumeNewlines(true);
  99381. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  99382. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  99383. t4 = t3.offset;
  99384. t4 = A._FileSpan$(t3.file, t4, t4);
  99385. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  99386. break;
  99387. }
  99388. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  99389. _this.whitespace$1$consumeNewlines(true);
  99390. } while (t1.scanChar$1(44));
  99391. t1.expectChar$1(41);
  99392. }
  99393. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  99394. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  99395. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99396. t3 = type$.Expression_2;
  99397. t4 = A.List_List$unmodifiable($arguments, t3);
  99398. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  99399. t1 = t1.spanFrom$1(start);
  99400. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t4, t3, null, null, t2), t1);
  99401. },
  99402. namespacedExpression$2(namespace, start) {
  99403. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  99404. this.error$2(0, string$.Modulen, expression.get$span(expression));
  99405. }
  99406. };
  99407. A.DebugRule0.prototype = {
  99408. accept$1$1(visitor) {
  99409. return visitor.visitDebugRule$1(0, this);
  99410. },
  99411. accept$1(visitor) {
  99412. return this.accept$1$1(visitor, type$.dynamic);
  99413. },
  99414. toString$0(_) {
  99415. return "@debug " + this.expression.toString$0(0) + ";";
  99416. },
  99417. get$span(receiver) {
  99418. return this.span;
  99419. }
  99420. };
  99421. A.ModifiableCssDeclaration0.prototype = {
  99422. accept$1$1(visitor) {
  99423. return visitor.visitCssDeclaration$1(this);
  99424. },
  99425. accept$1(visitor) {
  99426. return this.accept$1$1(visitor, type$.dynamic);
  99427. },
  99428. toString$0(_) {
  99429. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  99430. },
  99431. get$span(receiver) {
  99432. return this.span;
  99433. }
  99434. };
  99435. A.Declaration0.prototype = {
  99436. accept$1$1(visitor) {
  99437. return visitor.visitDeclaration$1(0, this);
  99438. },
  99439. accept$1(visitor) {
  99440. return this.accept$1$1(visitor, type$.dynamic);
  99441. },
  99442. toString$0(_) {
  99443. var t3, _0_0,
  99444. buffer = new A.StringBuffer(""),
  99445. t1 = this.name,
  99446. t2 = t1.toString$0(0);
  99447. buffer._contents = t2;
  99448. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  99449. t3 = this.value;
  99450. if (t3 != null) {
  99451. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  99452. buffer._contents = t1 + t3.toString$0(0);
  99453. }
  99454. _0_0 = this.children;
  99455. if (_0_0 != null)
  99456. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  99457. else
  99458. return buffer.toString$0(0) + ";";
  99459. },
  99460. get$span(receiver) {
  99461. return this.span;
  99462. }
  99463. };
  99464. A.SupportsDeclaration0.prototype = {
  99465. get$isCustomProperty() {
  99466. var t1,
  99467. _0_0 = this.name;
  99468. $label0$0: {
  99469. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  99470. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  99471. break $label0$0;
  99472. }
  99473. t1 = false;
  99474. break $label0$0;
  99475. }
  99476. return t1;
  99477. },
  99478. toInterpolation$0() {
  99479. var visitor, _1_0, _null = null,
  99480. t1 = new A.StringBuffer(""),
  99481. t2 = type$.JSArray_Object,
  99482. t3 = type$.JSArray_nullable_FileSpan,
  99483. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  99484. t4 = this.span,
  99485. t5 = this.name,
  99486. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  99487. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  99488. t1._contents += t6;
  99489. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  99490. buffer.addInterpolation$1(t5.text);
  99491. else
  99492. buffer.add$2(0, t5, t5.get$span(t5));
  99493. t6 = this.value;
  99494. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  99495. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  99496. t1._contents += t5;
  99497. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  99498. t6.accept$1(visitor);
  99499. t3 = visitor.buffer;
  99500. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  99501. if (_1_0 != null)
  99502. buffer.addInterpolation$1(_1_0);
  99503. else
  99504. buffer.add$2(0, t6, t6.get$span(t6));
  99505. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  99506. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  99507. t1._contents += t2;
  99508. return buffer.interpolation$1(t4);
  99509. },
  99510. withSpan$1(span) {
  99511. return new A.SupportsDeclaration0(this.name, this.value, span);
  99512. },
  99513. toString$0(_) {
  99514. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  99515. },
  99516. $isAstNode0: 1,
  99517. $isSassNode: 1,
  99518. $isSupportsCondition: 1,
  99519. get$span(receiver) {
  99520. return this.span;
  99521. }
  99522. };
  99523. A.Deprecation0.prototype = {
  99524. _enumToString$0() {
  99525. return "Deprecation." + this._name;
  99526. },
  99527. get$deprecatedIn(_) {
  99528. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  99529. },
  99530. get$obsoleteIn(_) {
  99531. return null;
  99532. },
  99533. toString$0(_) {
  99534. return this.id;
  99535. }
  99536. };
  99537. A.Deprecation_fromId_closure0.prototype = {
  99538. call$1(deprecation) {
  99539. return deprecation.id === this.id;
  99540. },
  99541. $signature: 436
  99542. };
  99543. A.DeprecationProcessingLogger0.prototype = {
  99544. validate$0() {
  99545. var t1, t2, t3, t4, t5, _this = this, _null = null;
  99546. 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();) {
  99547. t4 = t1._collection$_current;
  99548. if (t4 == null)
  99549. t4 = t3._as(t4);
  99550. t5 = t2.contains$1(0, t4);
  99551. if (t5) {
  99552. t4 = t4.toString$0(0);
  99553. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  99554. continue;
  99555. }
  99556. }
  99557. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  99558. t4 = t1._collection$_current;
  99559. if (B.Deprecation_ZVM === (t4 == null ? t2._as(t4) : t4)) {
  99560. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  99561. continue;
  99562. }
  99563. }
  99564. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99565. t3 = t1._collection$_current;
  99566. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  99567. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  99568. }
  99569. },
  99570. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  99571. if (deprecation != null)
  99572. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  99573. else
  99574. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  99575. },
  99576. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  99577. var _0_3_isSet, t1, span0, _0_3, t2, count, _this = this, _null = null;
  99578. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  99579. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  99580. $label0$0: {
  99581. _0_3_isSet = span != null;
  99582. t1 = false;
  99583. if (_0_3_isSet) {
  99584. t1 = trace != null;
  99585. span0 = span;
  99586. _0_3 = trace;
  99587. } else {
  99588. span0 = _null;
  99589. _0_3 = span0;
  99590. }
  99591. if (t1) {
  99592. if (_0_3_isSet)
  99593. trace = _0_3;
  99594. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  99595. break $label0$0;
  99596. }
  99597. t1 = false;
  99598. if (span != null)
  99599. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  99600. else
  99601. span = _null;
  99602. if (t1) {
  99603. t1 = A.SassException$0(message, span, _null);
  99604. break $label0$0;
  99605. }
  99606. t1 = A.SassScriptException$0(message, _null);
  99607. break $label0$0;
  99608. }
  99609. throw A.wrapException(t1);
  99610. }
  99611. if (_this.silenceDeprecations.contains$1(0, deprecation))
  99612. return;
  99613. if (_this.limitRepetition) {
  99614. t1 = _this._deprecation_processing$_warningCounts;
  99615. t2 = t1.$index(0, deprecation);
  99616. count = (t2 == null ? 0 : t2) + 1;
  99617. t1.$indexSet(0, deprecation, count);
  99618. if (count > 5)
  99619. return;
  99620. }
  99621. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  99622. },
  99623. debug$2(_, message, span) {
  99624. return this._deprecation_processing$_inner.debug$2(0, message, span);
  99625. },
  99626. summarize$1$js(js) {
  99627. var t1 = this._deprecation_processing$_warningCounts,
  99628. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  99629. 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>")));
  99630. if (total > 0) {
  99631. t1 = js ? "" : string$.x0aRun_i;
  99632. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  99633. }
  99634. }
  99635. };
  99636. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  99637. call$1(count) {
  99638. return count > 5;
  99639. },
  99640. $signature: 47
  99641. };
  99642. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  99643. call$1(count) {
  99644. return count - 5;
  99645. },
  99646. $signature: 157
  99647. };
  99648. A.Deprecation1.prototype = {};
  99649. A.deprecations_closure.prototype = {
  99650. call$0() {
  99651. var _0_8_isSet, _0_8, t1,
  99652. _0_0 = this.deprecation;
  99653. $label0$0: {
  99654. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  99655. if (_0_8_isSet) {
  99656. _0_8 = _0_0.get$obsoleteIn(0) == null;
  99657. t1 = _0_8;
  99658. } else {
  99659. _0_8 = null;
  99660. t1 = false;
  99661. }
  99662. if (t1) {
  99663. t1 = "user";
  99664. break $label0$0;
  99665. }
  99666. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  99667. t1 = "active";
  99668. break $label0$0;
  99669. }
  99670. t1 = "obsolete";
  99671. break $label0$0;
  99672. }
  99673. return t1;
  99674. },
  99675. $signature: 27
  99676. };
  99677. A.parseDeprecations_closure.prototype = {
  99678. call$0() {
  99679. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  99680. },
  99681. $call$body$parseDeprecations_closure() {
  99682. var $async$self = this;
  99683. return function() {
  99684. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  99685. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  99686. if ($async$errorCode === 1) {
  99687. $async$errorStack.push($async$result);
  99688. $async$goto = $async$handler;
  99689. }
  99690. while (true)
  99691. switch ($async$goto) {
  99692. case 0:
  99693. // Function start
  99694. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  99695. case 2:
  99696. // for condition
  99697. if (!t1.moveNext$0()) {
  99698. // goto after for
  99699. $async$goto = 3;
  99700. break;
  99701. }
  99702. item = t1.get$current(t1);
  99703. t5 = typeof item == "string";
  99704. id = t5 ? item : null;
  99705. $async$goto = t5 ? 4 : 5;
  99706. break;
  99707. case 4:
  99708. // then
  99709. deprecation = A.Deprecation_fromId0(id);
  99710. $async$goto = deprecation == null ? 6 : 8;
  99711. break;
  99712. case 6:
  99713. // then
  99714. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99715. // goto join
  99716. $async$goto = 7;
  99717. break;
  99718. case 8:
  99719. // else
  99720. $async$goto = 9;
  99721. return $async$iterator._async$_current = deprecation, 1;
  99722. case 9:
  99723. // after yield
  99724. case 7:
  99725. // join
  99726. // goto for condition
  99727. $async$goto = 2;
  99728. break;
  99729. case 5:
  99730. // join
  99731. t5 = t2._is(item);
  99732. id = t5 ? J.get$id$x(item) : null;
  99733. $async$goto = t5 ? 10 : 11;
  99734. break;
  99735. case 10:
  99736. // then
  99737. deprecation = A.Deprecation_fromId0(id);
  99738. $async$goto = deprecation == null ? 12 : 14;
  99739. break;
  99740. case 12:
  99741. // then
  99742. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99743. // goto join
  99744. $async$goto = 13;
  99745. break;
  99746. case 14:
  99747. // else
  99748. $async$goto = 15;
  99749. return $async$iterator._async$_current = deprecation, 1;
  99750. case 15:
  99751. // after yield
  99752. case 13:
  99753. // join
  99754. // goto for condition
  99755. $async$goto = 2;
  99756. break;
  99757. case 11:
  99758. // join
  99759. if (item instanceof A.Version) {
  99760. t5 = t3;
  99761. version = item;
  99762. } else {
  99763. version = null;
  99764. t5 = false;
  99765. }
  99766. $async$goto = t5 ? 16 : 17;
  99767. break;
  99768. case 16:
  99769. // then
  99770. $async$goto = 18;
  99771. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  99772. case 18:
  99773. // after yield
  99774. case 17:
  99775. // join
  99776. // goto for condition
  99777. $async$goto = 2;
  99778. break;
  99779. case 3:
  99780. // after for
  99781. // implicit return
  99782. return 0;
  99783. case 1:
  99784. // rethrow
  99785. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  99786. }
  99787. };
  99788. };
  99789. },
  99790. $signature: 437
  99791. };
  99792. A.versionClass_closure.prototype = {
  99793. call$0() {
  99794. var t1 = type$.JSClass,
  99795. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  99796. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  99797. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  99798. return jsClass;
  99799. },
  99800. $signature: 15
  99801. };
  99802. A.versionClass__closure.prototype = {
  99803. call$4($self, major, minor, patch) {
  99804. return A.Version_Version(major, minor, patch, null);
  99805. },
  99806. "call*": "call$4",
  99807. $requiredArgCount: 4,
  99808. $signature: 438
  99809. };
  99810. A.versionClass__closure0.prototype = {
  99811. call$1(version) {
  99812. var v = A.Version_Version$parse(version);
  99813. if (v.preRelease.length !== 0 || v.build.length !== 0)
  99814. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  99815. return v;
  99816. },
  99817. $signature: 233
  99818. };
  99819. A.DisplayP3ColorSpace0.prototype = {
  99820. get$isBoundedInternal() {
  99821. return true;
  99822. },
  99823. toLinear$1(channel) {
  99824. return A.srgbAndDisplayP3ToLinear0(channel);
  99825. },
  99826. fromLinear$1(channel) {
  99827. return A.srgbAndDisplayP3FromLinear0(channel);
  99828. },
  99829. transformationMatrix$1(dest) {
  99830. var t1;
  99831. $label0$0: {
  99832. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  99833. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  99834. break $label0$0;
  99835. }
  99836. if (B.A98RgbColorSpace_lf20 === dest) {
  99837. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  99838. break $label0$0;
  99839. }
  99840. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  99841. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  99842. break $label0$0;
  99843. }
  99844. if (B.Rec2020ColorSpace_6oo0 === dest) {
  99845. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  99846. break $label0$0;
  99847. }
  99848. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  99849. t1 = $.$get$linearDisplayP3ToXyzD650();
  99850. break $label0$0;
  99851. }
  99852. if (B.XyzD50ColorSpace_2OB0 === dest) {
  99853. t1 = $.$get$linearDisplayP3ToXyzD500();
  99854. break $label0$0;
  99855. }
  99856. if (B.LmsColorSpace_Os30 === dest) {
  99857. t1 = $.$get$linearDisplayP3ToLms0();
  99858. break $label0$0;
  99859. }
  99860. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  99861. break $label0$0;
  99862. }
  99863. return t1;
  99864. }
  99865. };
  99866. A.DynamicImport0.prototype = {
  99867. toString$0(_) {
  99868. return A.StringExpression_quoteText0(this.urlString);
  99869. },
  99870. $isImport0: 1,
  99871. $isAstNode0: 1,
  99872. $isSassNode: 1,
  99873. get$span(receiver) {
  99874. return this.span;
  99875. }
  99876. };
  99877. A.EachRule0.prototype = {
  99878. accept$1$1(visitor) {
  99879. return visitor.visitEachRule$1(0, this);
  99880. },
  99881. accept$1(visitor) {
  99882. return this.accept$1$1(visitor, type$.dynamic);
  99883. },
  99884. toString$0(_) {
  99885. var t1 = this.variables;
  99886. 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) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  99887. },
  99888. get$span(receiver) {
  99889. return this.span;
  99890. }
  99891. };
  99892. A.EachRule_toString_closure0.prototype = {
  99893. call$1(variable) {
  99894. return "$" + variable;
  99895. },
  99896. $signature: 6
  99897. };
  99898. A.EmptyExtensionStore0.prototype = {
  99899. get$_extension_store$_extensions() {
  99900. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  99901. },
  99902. get$_extension_store$_sourceSpecificity() {
  99903. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  99904. },
  99905. get$isEmpty(_) {
  99906. return true;
  99907. },
  99908. get$simpleSelectors() {
  99909. return B.C_EmptyUnmodifiableSet0;
  99910. },
  99911. extensionsWhereTarget$1(callback) {
  99912. return B.List_empty20;
  99913. },
  99914. addSelector$2(selector, mediaContext) {
  99915. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  99916. },
  99917. addExtension$4(extender, target, extend, mediaContext) {
  99918. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  99919. },
  99920. addExtensions$1(extenders) {
  99921. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  99922. },
  99923. clone$0() {
  99924. return B.Record2_EmptyExtensionStore_Map_empty0;
  99925. },
  99926. $isExtensionStore0: 1
  99927. };
  99928. A.Environment0.prototype = {
  99929. closure$0() {
  99930. var t4, t5, t6, _this = this,
  99931. t1 = _this._environment0$_forwardedModules,
  99932. t2 = _this._environment0$_nestedForwardedModules,
  99933. t3 = _this._environment0$_variables;
  99934. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  99935. t4 = _this._environment0$_variableNodes;
  99936. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  99937. t5 = _this._environment0$_functions;
  99938. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  99939. t6 = _this._environment0$_mixins;
  99940. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  99941. 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);
  99942. },
  99943. forwardModule$2(module, rule) {
  99944. var view, t1, t2, _this = this,
  99945. forwardedModules = _this._environment0$_forwardedModules;
  99946. if (forwardedModules == null)
  99947. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  99948. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  99949. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  99950. t2 = t1.__js_helper$_current;
  99951. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  99952. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  99953. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  99954. }
  99955. _this._environment0$_allModules.push(module);
  99956. forwardedModules.$indexSet(0, view, rule);
  99957. },
  99958. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  99959. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  99960. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  99961. larger = oldMembers;
  99962. smaller = newMembers;
  99963. } else {
  99964. larger = newMembers;
  99965. smaller = oldMembers;
  99966. }
  99967. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  99968. t4 = t2.get$current(t2);
  99969. $name = t4._0;
  99970. small = t4._1;
  99971. large = larger.$index(0, $name);
  99972. if (large == null)
  99973. continue;
  99974. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  99975. continue;
  99976. if (t3)
  99977. $name = "$" + $name;
  99978. t2 = this._environment0$_forwardedModules;
  99979. if (t2 == null)
  99980. span = null;
  99981. else {
  99982. t2 = t2.$index(0, oldModule);
  99983. span = t2 == null ? null : t2.get$span(t2);
  99984. }
  99985. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  99986. if (span != null)
  99987. t2.$indexSet(0, span, "original @forward");
  99988. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  99989. }
  99990. },
  99991. importForwards$1(module) {
  99992. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  99993. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  99994. if (forwarded == null)
  99995. return;
  99996. forwardedModules = _this._environment0$_forwardedModules;
  99997. if (forwardedModules != null) {
  99998. t1 = type$.Module_Callable_2;
  99999. t2 = type$.AstNode_2;
  100000. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  100001. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  100002. t4 = t1.get$current(t1);
  100003. module = t4._0;
  100004. node = t4._1;
  100005. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  100006. t3.$indexSet(0, module, node);
  100007. }
  100008. forwarded = t3;
  100009. } else
  100010. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  100011. t1 = type$.String;
  100012. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100013. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  100014. for (t4 = t3.__js_helper$_current.get$variables(), t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4); t4.moveNext$0();)
  100015. t2.add$1(0, t4.get$current(t4));
  100016. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100017. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  100018. t5 = t4.__js_helper$_current;
  100019. for (t5 = t5.get$functions(t5), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  100020. t3.add$1(0, t5.get$current(t5));
  100021. }
  100022. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100023. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  100024. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = t5.get$keys(t5), t5 = t5.get$iterator(t5); t5.moveNext$0();)
  100025. t1.add$1(0, t5.get$current(t5));
  100026. t4 = _this._environment0$_variables;
  100027. t5 = t4.length;
  100028. if (t5 === 1) {
  100029. 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) {
  100030. t11 = t8[_i];
  100031. module = t11._0;
  100032. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100033. if (shadowed != null) {
  100034. t5.remove$1(0, module);
  100035. t12 = shadowed.variables;
  100036. t13 = false;
  100037. if (t12.get$isEmpty(t12)) {
  100038. t12 = shadowed.functions;
  100039. if (t12.get$isEmpty(t12)) {
  100040. t12 = shadowed.mixins;
  100041. if (t12.get$isEmpty(t12)) {
  100042. t12 = shadowed._shadowed_view0$_inner;
  100043. t12 = t12.get$css(t12);
  100044. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  100045. } else
  100046. t12 = t13;
  100047. } else
  100048. t12 = t13;
  100049. } else
  100050. t12 = t13;
  100051. if (!t12)
  100052. t5.$indexSet(0, shadowed, t11._1);
  100053. }
  100054. }
  100055. 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) {
  100056. t8 = t6[_i];
  100057. module = t8._0;
  100058. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100059. if (shadowed != null) {
  100060. forwardedModules.remove$1(0, module);
  100061. t9 = shadowed.variables;
  100062. t11 = false;
  100063. if (t9.get$isEmpty(t9)) {
  100064. t9 = shadowed.functions;
  100065. if (t9.get$isEmpty(t9)) {
  100066. t9 = shadowed.mixins;
  100067. if (t9.get$isEmpty(t9)) {
  100068. t9 = shadowed._shadowed_view0$_inner;
  100069. t9 = t9.get$css(t9);
  100070. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  100071. } else
  100072. t9 = t11;
  100073. } else
  100074. t9 = t11;
  100075. } else
  100076. t9 = t11;
  100077. if (!t9)
  100078. forwardedModules.$indexSet(0, shadowed, t8._1);
  100079. }
  100080. }
  100081. t5.addAll$1(0, forwarded);
  100082. forwardedModules.addAll$1(0, forwarded);
  100083. } else {
  100084. t6 = _this._environment0$_nestedForwardedModules;
  100085. if (t6 == null) {
  100086. _length = t5 - 1;
  100087. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  100088. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  100089. _list[_i] = A._setArrayType([], t5);
  100090. _this._environment0$_nestedForwardedModules = _list;
  100091. t5 = _list;
  100092. } else
  100093. t5 = t6;
  100094. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  100095. }
  100096. 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();) {
  100097. t8 = t2._collection$_current;
  100098. if (t8 == null)
  100099. t8 = t7._as(t8);
  100100. t5.remove$1(0, t8);
  100101. B.JSArray_methods.get$last(t4).remove$1(0, t8);
  100102. B.JSArray_methods.get$last(t6).remove$1(0, t8);
  100103. }
  100104. 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();) {
  100105. t6 = t2._collection$_current;
  100106. if (t6 == null)
  100107. t6 = t5._as(t6);
  100108. t3.remove$1(0, t6);
  100109. B.JSArray_methods.get$last(t4).remove$1(0, t6);
  100110. }
  100111. 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();) {
  100112. t5 = t1._collection$_current;
  100113. if (t5 == null)
  100114. t5 = t4._as(t5);
  100115. t2.remove$1(0, t5);
  100116. B.JSArray_methods.get$last(t3).remove$1(0, t5);
  100117. }
  100118. },
  100119. getVariable$2$namespace($name, namespace) {
  100120. var t1, _0_0, _1_0, _this = this;
  100121. if (namespace != null)
  100122. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  100123. if (_this._environment0$_lastVariableName === $name) {
  100124. t1 = _this._environment0$_lastVariableIndex;
  100125. t1.toString;
  100126. t1 = _this._environment0$_variables[t1].$index(0, $name);
  100127. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100128. }
  100129. t1 = _this._environment0$_variableIndices;
  100130. _0_0 = t1.$index(0, $name);
  100131. if (_0_0 != null) {
  100132. _this._environment0$_lastVariableName = $name;
  100133. _this._environment0$_lastVariableIndex = _0_0;
  100134. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  100135. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100136. } else {
  100137. _1_0 = _this._environment0$_variableIndex$1($name);
  100138. if (_1_0 != null) {
  100139. _this._environment0$_lastVariableName = $name;
  100140. _this._environment0$_lastVariableIndex = _1_0;
  100141. t1.$indexSet(0, $name, _1_0);
  100142. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  100143. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100144. } else
  100145. return _this._environment0$_getVariableFromGlobalModule$1($name);
  100146. }
  100147. },
  100148. getVariable$1($name) {
  100149. return this.getVariable$2$namespace($name, null);
  100150. },
  100151. _environment0$_getVariableFromGlobalModule$1($name) {
  100152. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  100153. },
  100154. getVariableNode$2$namespace($name, namespace) {
  100155. var t1, _0_0, _1_0, _this = this;
  100156. if (namespace != null)
  100157. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  100158. if (_this._environment0$_lastVariableName === $name) {
  100159. t1 = _this._environment0$_lastVariableIndex;
  100160. t1.toString;
  100161. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  100162. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100163. }
  100164. t1 = _this._environment0$_variableIndices;
  100165. _0_0 = t1.$index(0, $name);
  100166. if (_0_0 != null) {
  100167. _this._environment0$_lastVariableName = $name;
  100168. _this._environment0$_lastVariableIndex = _0_0;
  100169. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  100170. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100171. } else {
  100172. _1_0 = _this._environment0$_variableIndex$1($name);
  100173. if (_1_0 != null) {
  100174. _this._environment0$_lastVariableName = $name;
  100175. _this._environment0$_lastVariableIndex = _1_0;
  100176. t1.$indexSet(0, $name, _1_0);
  100177. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  100178. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100179. } else
  100180. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  100181. }
  100182. },
  100183. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  100184. var t1, t2, _0_0;
  100185. 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();) {
  100186. t1 = t2._currentIterator;
  100187. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  100188. if (_0_0 != null)
  100189. return _0_0;
  100190. }
  100191. return null;
  100192. },
  100193. globalVariableExists$2$namespace($name, namespace) {
  100194. if (namespace != null)
  100195. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  100196. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  100197. return true;
  100198. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100199. },
  100200. globalVariableExists$1($name) {
  100201. return this.globalVariableExists$2$namespace($name, null);
  100202. },
  100203. _environment0$_variableIndex$1($name) {
  100204. var t1, i;
  100205. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100206. if (t1[i].containsKey$1($name))
  100207. return i;
  100208. return null;
  100209. },
  100210. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100211. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100212. if (namespace != null) {
  100213. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100214. return;
  100215. }
  100216. if (global || _this._environment0$_variables.length === 1) {
  100217. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100218. t1 = _this._environment0$_variables;
  100219. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100220. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100221. if (moduleWithName != null) {
  100222. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100223. return;
  100224. }
  100225. }
  100226. B.JSArray_methods.get$first(t1).$indexSet(0, $name, value);
  100227. B.JSArray_methods.get$first(_this._environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  100228. return;
  100229. }
  100230. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100231. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100232. 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();) {
  100233. t3 = t2.__internal$_current;
  100234. 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();) {
  100235. t5 = t3.__internal$_current;
  100236. if (t5 == null)
  100237. t5 = t4._as(t5);
  100238. if (t5.get$variables().containsKey$1($name)) {
  100239. t5.setVariable$3($name, value, nodeWithSpan);
  100240. return;
  100241. }
  100242. }
  100243. }
  100244. if (_this._environment0$_lastVariableName === $name) {
  100245. t1 = _this._environment0$_lastVariableIndex;
  100246. t1.toString;
  100247. index = t1;
  100248. } else
  100249. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100250. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100251. index = _this._environment0$_variables.length - 1;
  100252. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100253. }
  100254. _this._environment0$_lastVariableName = $name;
  100255. _this._environment0$_lastVariableIndex = index;
  100256. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100257. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100258. },
  100259. setVariable$4$global($name, value, nodeWithSpan, global) {
  100260. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100261. },
  100262. setLocalVariable$3($name, value, nodeWithSpan) {
  100263. var index, _this = this,
  100264. t1 = _this._environment0$_variables,
  100265. t2 = t1.length;
  100266. _this._environment0$_lastVariableName = $name;
  100267. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100268. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100269. t1[index].$indexSet(0, $name, value);
  100270. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100271. },
  100272. getFunction$2$namespace($name, namespace) {
  100273. var t1, _0_0, _1_0, _this = this;
  100274. if (namespace != null) {
  100275. t1 = _this._environment0$_getModule$1(namespace);
  100276. return t1.get$functions(t1).$index(0, $name);
  100277. }
  100278. t1 = _this._environment0$_functionIndices;
  100279. _0_0 = t1.$index(0, $name);
  100280. if (_0_0 != null) {
  100281. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100282. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100283. } else {
  100284. _1_0 = _this._environment0$_functionIndex$1($name);
  100285. if (_1_0 != null) {
  100286. t1.$indexSet(0, $name, _1_0);
  100287. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100288. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100289. } else
  100290. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100291. }
  100292. },
  100293. getFunction$1($name) {
  100294. return this.getFunction$2$namespace($name, null);
  100295. },
  100296. _environment0$_getFunctionFromGlobalModule$1($name) {
  100297. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100298. },
  100299. _environment0$_functionIndex$1($name) {
  100300. var t1, i;
  100301. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100302. if (t1[i].containsKey$1($name))
  100303. return i;
  100304. return null;
  100305. },
  100306. getMixin$2$namespace($name, namespace) {
  100307. var t1, _0_0, _1_0, _this = this;
  100308. if (namespace != null)
  100309. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100310. t1 = _this._environment0$_mixinIndices;
  100311. _0_0 = t1.$index(0, $name);
  100312. if (_0_0 != null) {
  100313. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100314. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100315. } else {
  100316. _1_0 = _this._environment0$_mixinIndex$1($name);
  100317. if (_1_0 != null) {
  100318. t1.$indexSet(0, $name, _1_0);
  100319. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100320. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100321. } else
  100322. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100323. }
  100324. },
  100325. _environment0$_getMixinFromGlobalModule$1($name) {
  100326. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100327. },
  100328. _environment0$_mixinIndex$1($name) {
  100329. var t1, i;
  100330. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100331. if (t1[i].containsKey$1($name))
  100332. return i;
  100333. return null;
  100334. },
  100335. withContent$2($content, callback) {
  100336. var oldContent = this._environment0$_content;
  100337. this._environment0$_content = $content;
  100338. callback.call$0();
  100339. this._environment0$_content = oldContent;
  100340. },
  100341. asMixin$1(callback) {
  100342. var oldInMixin = this._environment0$_inMixin;
  100343. this._environment0$_inMixin = true;
  100344. callback.call$0();
  100345. this._environment0$_inMixin = oldInMixin;
  100346. },
  100347. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100348. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100349. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  100350. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  100351. _this._environment0$_inSemiGlobalScope = semiGlobal;
  100352. if (!when)
  100353. try {
  100354. t1 = callback.call$0();
  100355. return t1;
  100356. } finally {
  100357. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100358. }
  100359. t1 = _this._environment0$_variables;
  100360. t2 = type$.String;
  100361. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  100362. t3 = _this._environment0$_variableNodes;
  100363. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  100364. t4 = _this._environment0$_functions;
  100365. t5 = type$.Callable_2;
  100366. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100367. t6 = _this._environment0$_mixins;
  100368. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100369. t5 = _this._environment0$_nestedForwardedModules;
  100370. if (t5 != null)
  100371. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  100372. try {
  100373. t2 = callback.call$0();
  100374. return t2;
  100375. } finally {
  100376. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100377. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  100378. for (t1 = B.JSArray_methods.removeLast$0(t1), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  100379. $name = t1.get$current(t1);
  100380. t2.remove$1(0, $name);
  100381. }
  100382. B.JSArray_methods.removeLast$0(t3);
  100383. for (t1 = B.JSArray_methods.removeLast$0(t4), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  100384. name0 = t1.get$current(t1);
  100385. t2.remove$1(0, name0);
  100386. }
  100387. for (t1 = B.JSArray_methods.removeLast$0(t6), t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  100388. name1 = t1.get$current(t1);
  100389. t2.remove$1(0, name1);
  100390. }
  100391. t1 = _this._environment0$_nestedForwardedModules;
  100392. if (t1 != null)
  100393. t1.pop();
  100394. }
  100395. },
  100396. scope$1$1(callback) {
  100397. return this.scope$1$3$semiGlobal$when(callback, false, true);
  100398. },
  100399. scope$1$2$when(callback, when) {
  100400. return this.scope$1$3$semiGlobal$when(callback, false, when);
  100401. },
  100402. scope$1$2$semiGlobal(callback, semiGlobal) {
  100403. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  100404. },
  100405. toImplicitConfiguration$0() {
  100406. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  100407. t1 = type$.String,
  100408. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  100409. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  100410. values = t2[i];
  100411. nodes = t4[i];
  100412. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  100413. t6 = t5.get$current(t5);
  100414. $name = t6._0;
  100415. value = t6._1;
  100416. t6 = nodes.$index(0, $name);
  100417. t6.toString;
  100418. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  100419. }
  100420. }
  100421. return new A.Configuration0(configuration, null);
  100422. },
  100423. toModule$3(css, preModuleComments, extensionStore) {
  100424. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  100425. },
  100426. toDummyModule$0() {
  100427. 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()));
  100428. },
  100429. _environment0$_getModule$1(namespace) {
  100430. var _0_0 = this._environment0$_modules.$index(0, namespace);
  100431. if (_0_0 != null)
  100432. return _0_0;
  100433. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  100434. },
  100435. _environment0$_fromOneModule$1$3($name, type, callback) {
  100436. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  100437. _0_0 = this._environment0$_nestedForwardedModules;
  100438. if (_0_0 != null)
  100439. 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();) {
  100440. t3 = t2.__internal$_current;
  100441. 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();) {
  100442. t5 = t3.__internal$_current;
  100443. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  100444. if (_1_0 != null)
  100445. return _1_0;
  100446. }
  100447. }
  100448. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  100449. _2_0 = callback.call$1(t1.__js_helper$_current);
  100450. if (_2_0 != null)
  100451. return _2_0;
  100452. }
  100453. 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();) {
  100454. t4 = t2.__js_helper$_current;
  100455. valueInModule = callback.call$1(t4);
  100456. if (valueInModule == null)
  100457. continue;
  100458. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  100459. if (identityFromModule.$eq(0, identity))
  100460. continue;
  100461. if (value != null) {
  100462. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100463. 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();) {
  100464. t1 = t3.get$current(t3);
  100465. module = t1._0;
  100466. node = t1._1;
  100467. if (callback.call$1(module) != null)
  100468. t2.$indexSet(0, node.get$span(node), t4);
  100469. }
  100470. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  100471. }
  100472. identity = identityFromModule;
  100473. value = valueInModule;
  100474. }
  100475. return value;
  100476. },
  100477. _environment0$_fromOneModule$3($name, type, callback) {
  100478. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  100479. }
  100480. };
  100481. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  100482. call$1(module) {
  100483. return module.get$variables().$index(0, this.name);
  100484. },
  100485. $signature: 441
  100486. };
  100487. A.Environment_setVariable_closure2.prototype = {
  100488. call$0() {
  100489. var t1 = this.$this;
  100490. t1._environment0$_lastVariableName = this.name;
  100491. return t1._environment0$_lastVariableIndex = 0;
  100492. },
  100493. $signature: 10
  100494. };
  100495. A.Environment_setVariable_closure3.prototype = {
  100496. call$1(module) {
  100497. return module.get$variables().containsKey$1(this.name) ? module : null;
  100498. },
  100499. $signature: 442
  100500. };
  100501. A.Environment_setVariable_closure4.prototype = {
  100502. call$0() {
  100503. var t1 = this.$this,
  100504. t2 = t1._environment0$_variableIndex$1(this.name);
  100505. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  100506. },
  100507. $signature: 10
  100508. };
  100509. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  100510. call$1(module) {
  100511. return module.get$functions(module).$index(0, this.name);
  100512. },
  100513. $signature: 235
  100514. };
  100515. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  100516. call$1(module) {
  100517. return module.get$mixins().$index(0, this.name);
  100518. },
  100519. $signature: 235
  100520. };
  100521. A.Environment_toModule_closure0.prototype = {
  100522. call$1(modules) {
  100523. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100524. },
  100525. $signature: 236
  100526. };
  100527. A.Environment_toDummyModule_closure0.prototype = {
  100528. call$1(modules) {
  100529. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100530. },
  100531. $signature: 236
  100532. };
  100533. A._EnvironmentModule1.prototype = {
  100534. get$url(_) {
  100535. var t1 = this.css;
  100536. return t1.get$span(t1).file.url;
  100537. },
  100538. setVariable$3($name, value, nodeWithSpan) {
  100539. var t1, t2,
  100540. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  100541. if (_0_0 != null) {
  100542. _0_0.setVariable$3($name, value, nodeWithSpan);
  100543. return;
  100544. }
  100545. t1 = this._environment0$_environment;
  100546. t2 = t1._environment0$_variables;
  100547. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  100548. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  100549. B.JSArray_methods.get$first(t2).$indexSet(0, $name, value);
  100550. B.JSArray_methods.get$first(t1._environment0$_variableNodes).$indexSet(0, $name, nodeWithSpan);
  100551. return;
  100552. },
  100553. variableIdentity$1($name) {
  100554. var module = this._environment0$_modulesByVariable.$index(0, $name);
  100555. return module == null ? this : module.variableIdentity$1($name);
  100556. },
  100557. couldHaveBeenConfigured$1(variables) {
  100558. var t2, t3, _0_0, variable, module,
  100559. t1 = this._environment0$_environment._environment0$_configurableVariables;
  100560. 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)))) {
  100561. t1 = this._environment0$_modulesByVariable;
  100562. t2 = type$.Module_Callable_2;
  100563. if (variables.get$length(variables) < t1.get$length(t1)) {
  100564. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  100565. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  100566. _0_0 = t1.$index(0, t3.get$current(t3));
  100567. if (_0_0 != null)
  100568. t2.add$1(0, _0_0);
  100569. }
  100570. t1 = t2;
  100571. } else {
  100572. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  100573. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100574. t2 = t1.get$current(t1);
  100575. variable = t2._0;
  100576. module = t2._1;
  100577. if (variables.contains$1(0, variable))
  100578. t3.add$1(0, module);
  100579. }
  100580. t1 = t3;
  100581. }
  100582. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure1(variables));
  100583. } else
  100584. t1 = true;
  100585. return t1;
  100586. },
  100587. cloneCss$0() {
  100588. var _0_0, _this = this;
  100589. if (!_this.transitivelyContainsCss)
  100590. return _this;
  100591. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  100592. 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);
  100593. },
  100594. toString$0(_) {
  100595. var t2,
  100596. t1 = this.css;
  100597. if (t1.get$span(t1).file.url == null)
  100598. t1 = "<unknown url>";
  100599. else {
  100600. t1 = t1.get$span(t1).file.url;
  100601. t2 = $.$get$context();
  100602. t1.toString;
  100603. t1 = t2.prettyUri$1(t1);
  100604. }
  100605. return t1;
  100606. },
  100607. $isModule1: 1,
  100608. get$upstream() {
  100609. return this.upstream;
  100610. },
  100611. get$variables() {
  100612. return this.variables;
  100613. },
  100614. get$variableNodes() {
  100615. return this.variableNodes;
  100616. },
  100617. get$functions(receiver) {
  100618. return this.functions;
  100619. },
  100620. get$mixins() {
  100621. return this.mixins;
  100622. },
  100623. get$extensionStore() {
  100624. return this.extensionStore;
  100625. },
  100626. get$css(receiver) {
  100627. return this.css;
  100628. },
  100629. get$preModuleComments() {
  100630. return this.preModuleComments;
  100631. },
  100632. get$transitivelyContainsCss() {
  100633. return this.transitivelyContainsCss;
  100634. },
  100635. get$transitivelyContainsExtensions() {
  100636. return this.transitivelyContainsExtensions;
  100637. }
  100638. };
  100639. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  100640. call$1(module) {
  100641. return module.get$variables();
  100642. },
  100643. $signature: 445
  100644. };
  100645. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  100646. call$1(module) {
  100647. return module.get$variableNodes();
  100648. },
  100649. $signature: 446
  100650. };
  100651. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  100652. call$1(module) {
  100653. return module.get$functions(module);
  100654. },
  100655. $signature: 237
  100656. };
  100657. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  100658. call$1(module) {
  100659. return module.get$mixins();
  100660. },
  100661. $signature: 237
  100662. };
  100663. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  100664. call$1(module) {
  100665. return module.get$transitivelyContainsCss();
  100666. },
  100667. $signature: 92
  100668. };
  100669. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  100670. call$1(module) {
  100671. return module.get$transitivelyContainsExtensions();
  100672. },
  100673. $signature: 92
  100674. };
  100675. A._EnvironmentModule_couldHaveBeenConfigured_closure1.prototype = {
  100676. call$1(module) {
  100677. return module.couldHaveBeenConfigured$1(this.variables);
  100678. },
  100679. $signature: 92
  100680. };
  100681. A.ErrorRule0.prototype = {
  100682. accept$1$1(visitor) {
  100683. return visitor.visitErrorRule$1(0, this);
  100684. },
  100685. accept$1(visitor) {
  100686. return this.accept$1$1(visitor, type$.dynamic);
  100687. },
  100688. toString$0(_) {
  100689. return "@error " + this.expression.toString$0(0) + ";";
  100690. },
  100691. get$span(receiver) {
  100692. return this.span;
  100693. }
  100694. };
  100695. A._EvaluateVisitor1.prototype = {
  100696. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  100697. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  100698. _s20_ = "$name, $module: null",
  100699. _s9_ = "sass:meta",
  100700. _s7_ = "$module",
  100701. t1 = type$.JSArray_BuiltInCallable_2,
  100702. 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),
  100703. 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);
  100704. t1 = type$.BuiltInCallable_2;
  100705. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  100706. B.JSArray_methods.addAll$1(t2, metaFunctions);
  100707. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  100708. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_Callable_2);
  100709. t1.push(metaModule);
  100710. t2 = t1.length;
  100711. t3 = _this._evaluate0$_builtInModules;
  100712. _i = 0;
  100713. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100714. module = t1[_i];
  100715. t3.$indexSet(0, module.url, module);
  100716. }
  100717. t1 = type$.JSArray_Callable_2;
  100718. t2 = A._setArrayType([], t1);
  100719. B.JSArray_methods.addAll$1(t2, functions);
  100720. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  100721. t1 = A._setArrayType([], t1);
  100722. for (_i = 0; _i < 11; ++_i)
  100723. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  100724. B.JSArray_methods.addAll$1(t2, t1);
  100725. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100726. $function = t2[_i];
  100727. t4 = $function.get$name($function);
  100728. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  100729. }
  100730. },
  100731. run$2(_, importer, node) {
  100732. var error, stackTrace, t1, exception;
  100733. try {
  100734. t1 = type$.nullable_Object;
  100735. 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);
  100736. return t1;
  100737. } catch (exception) {
  100738. t1 = A.unwrapException(exception);
  100739. if (t1 instanceof A.SassException0) {
  100740. error = t1;
  100741. stackTrace = A.getTraceFromException(exception);
  100742. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  100743. } else
  100744. throw exception;
  100745. }
  100746. },
  100747. _evaluate0$_assertInModule$1$2(value, $name) {
  100748. if (value != null)
  100749. return value;
  100750. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  100751. },
  100752. _evaluate0$_assertInModule$2(value, $name) {
  100753. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  100754. },
  100755. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  100756. var t2, _this = this,
  100757. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  100758. t1 = {};
  100759. t1.builtInModule = null;
  100760. if (_0_0 != null) {
  100761. t1.builtInModule = _0_0;
  100762. if (configuration instanceof A.ExplicitConfiguration0) {
  100763. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  100764. t2 = configuration.nodeWithSpan;
  100765. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  100766. }
  100767. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  100768. return;
  100769. }
  100770. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  100771. },
  100772. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  100773. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  100774. },
  100775. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  100776. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  100777. },
  100778. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  100779. var t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  100780. url = stylesheet.span.file.url,
  100781. t1 = configuration == null,
  100782. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration,
  100783. t2 = _this._evaluate0$_modules,
  100784. _0_0 = t2.$index(0, url);
  100785. if (_0_0 != null) {
  100786. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  100787. t3 = t2._configuration0$__originalConfiguration;
  100788. t2 = t3 == null ? t2 : t3;
  100789. t3 = currentConfiguration._configuration0$__originalConfiguration;
  100790. 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))) {
  100791. if (namesInErrors) {
  100792. t2 = $.$get$context();
  100793. url.toString;
  100794. message = t2.prettyUri$1(url) + string$.x20was_a;
  100795. } else
  100796. message = string$.This_mw;
  100797. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  100798. existingSpan = t2 == null ? null : t2.get$span(t2);
  100799. if (t1) {
  100800. t1 = currentConfiguration.nodeWithSpan;
  100801. configurationSpan = t1.get$span(t1);
  100802. } else
  100803. configurationSpan = null;
  100804. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100805. if (existingSpan != null)
  100806. t1.$indexSet(0, existingSpan, "original load");
  100807. if (configurationSpan != null)
  100808. t1.$indexSet(0, configurationSpan, "configuration");
  100809. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  100810. }
  100811. return _0_0;
  100812. }
  100813. environment = A.Environment$0();
  100814. css = A._Cell$();
  100815. preModuleComments = A._Cell$();
  100816. extensionStore = A.ExtensionStore$0();
  100817. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  100818. t1 = css._readLocal$0();
  100819. t3 = preModuleComments._readLocal$0();
  100820. module = environment.toModule$3(t1, t3 == null ? B.Map_empty10 : t3, extensionStore);
  100821. if (url != null) {
  100822. t2.$indexSet(0, url, module);
  100823. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  100824. if (nodeWithSpan != null)
  100825. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  100826. }
  100827. return module;
  100828. },
  100829. _evaluate0$_execute$2(importer, stylesheet) {
  100830. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  100831. },
  100832. _evaluate0$_addOutOfOrderImports$0() {
  100833. var t1, t2, _this = this, _s5_ = "_root",
  100834. _s13_ = "_endOfImports",
  100835. _0_0 = _this._evaluate0$_outOfOrderImports;
  100836. $label0$0: {
  100837. if (_0_0 == null) {
  100838. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100839. break $label0$0;
  100840. }
  100841. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100842. 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);
  100843. B.JSArray_methods.addAll$1(t1, _0_0);
  100844. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100845. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  100846. break $label0$0;
  100847. }
  100848. return t1;
  100849. },
  100850. _evaluate0$_combineCss$2$clone(root, clone) {
  100851. var selectors, _0_0, t1, imports, css, sorted, t2;
  100852. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  100853. selectors = root.get$extensionStore().get$simpleSelectors();
  100854. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  100855. if (_0_0 != null)
  100856. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  100857. return root.get$css(root);
  100858. }
  100859. t1 = type$.JSArray_CssNode_2;
  100860. imports = A._setArrayType([], t1);
  100861. css = A._setArrayType([], t1);
  100862. t1 = type$.Module_Callable_2;
  100863. sorted = A.ListQueue$(t1);
  100864. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  100865. if (root.get$transitivelyContainsExtensions())
  100866. this._evaluate0$_extendModules$1(sorted);
  100867. t1 = B.JSArray_methods.$add(imports, css);
  100868. t2 = root.get$css(root);
  100869. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  100870. },
  100871. _evaluate0$_combineCss$1(root) {
  100872. return this._evaluate0$_combineCss$2$clone(root, false);
  100873. },
  100874. _evaluate0$_extendModules$1(sortedModules) {
  100875. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  100876. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  100877. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  100878. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  100879. t3 = t1._collection$_current;
  100880. if (t3 == null)
  100881. t3 = t2._as(t3);
  100882. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  100883. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  100884. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  100885. t4 = t3.get$extensionStore().get$addExtensions();
  100886. if ($self != null)
  100887. t4.call$1($self);
  100888. t4 = t3.get$extensionStore();
  100889. if (t4.get$isEmpty(t4))
  100890. continue;
  100891. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  100892. upstream = t4[_i];
  100893. _0_0 = upstream.get$url(upstream);
  100894. if (_0_0 != null)
  100895. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  100896. }
  100897. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  100898. }
  100899. if (unsatisfiedExtensions._collection$_length !== 0)
  100900. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  100901. },
  100902. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  100903. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  100904. },
  100905. _evaluate0$_indexAfterImports$1(statements) {
  100906. var t1, lastImport, i, _0_0;
  100907. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  100908. $label0$0: {
  100909. _0_0 = t1.$index(statements, i);
  100910. if (_0_0 instanceof A.ModifiableCssImport0)
  100911. break $label0$0;
  100912. if (_0_0 instanceof A.ModifiableCssComment0)
  100913. continue;
  100914. break;
  100915. }
  100916. lastImport = i;
  100917. }
  100918. return lastImport + 1;
  100919. },
  100920. visitStylesheet$1(_, node) {
  100921. var t1, t2, warning, _i, $name, span;
  100922. 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();) {
  100923. warning = t1.__internal$_current;
  100924. if (warning == null)
  100925. warning = t2._as(warning);
  100926. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  100927. }
  100928. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  100929. t1[_i].accept$1(this);
  100930. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100931. t2 = t1.get$current(t1);
  100932. $name = t2._0;
  100933. span = t2._1;
  100934. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  100935. }
  100936. return null;
  100937. },
  100938. visitAtRootRule$1(_, node) {
  100939. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  100940. _s8_ = "__parent",
  100941. _0_0 = node.query,
  100942. 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,
  100943. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  100944. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  100945. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  100946. if (!query.excludes$1($parent))
  100947. included.push($parent);
  100948. _2_0 = $parent._node$_parent;
  100949. if (_2_0 == null)
  100950. throw A.wrapException(A.StateError$(string$.CssNod));
  100951. }
  100952. root = _this._evaluate0$_trimIncluded$1(included);
  100953. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  100954. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  100955. return _null;
  100956. }
  100957. if (included.length >= 1) {
  100958. first = included[0];
  100959. rest = B.JSArray_methods.sublist$1(included, 1);
  100960. innerCopy = first.copyWithoutChildren$0();
  100961. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  100962. copy = rest[_i].copyWithoutChildren$0();
  100963. copy.addChild$1(outerCopy);
  100964. }
  100965. root.addChild$1(outerCopy);
  100966. } else
  100967. innerCopy = root;
  100968. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  100969. return _null;
  100970. },
  100971. _evaluate0$_trimIncluded$1(nodes) {
  100972. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  100973. _s22_ = " to be an ancestor of ";
  100974. if (nodes.length === 0)
  100975. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100976. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  100977. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  100978. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  100979. _0_0 = $parent._node$_parent;
  100980. if (_0_0 == null)
  100981. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100982. }
  100983. if (innermostContiguous == null)
  100984. innermostContiguous = i;
  100985. _1_0 = $parent._node$_parent;
  100986. if (_1_0 == null)
  100987. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  100988. }
  100989. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  100990. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  100991. innermostContiguous.toString;
  100992. root = nodes[innermostContiguous];
  100993. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  100994. return root;
  100995. },
  100996. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  100997. var _this = this,
  100998. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  100999. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  101000. if (t1 !== query.include)
  101001. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  101002. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  101003. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  101004. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  101005. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  101006. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  101007. },
  101008. visitContentBlock$1(_, node) {
  101009. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  101010. },
  101011. visitContentRule$1(_, node) {
  101012. var $content = this._evaluate0$_environment._environment0$_content;
  101013. if ($content == null)
  101014. return null;
  101015. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  101016. return null;
  101017. },
  101018. visitDebugRule$1(_, node) {
  101019. var value = node.expression.accept$1(this),
  101020. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  101021. this._evaluate0$_logger.debug$2(0, t1, node.span);
  101022. return null;
  101023. },
  101024. visitDeclaration$1(_, node) {
  101025. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  101026. _s8_ = "__parent";
  101027. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  101028. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  101029. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  101030. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  101031. siblings = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  101032. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  101033. if (siblings.get$last(siblings) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_))
  101034. t1 = !(_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency);
  101035. else
  101036. t1 = false;
  101037. if (t1)
  101038. 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();) {
  101039. t6 = t1.__internal$_current;
  101040. rule = t6 == null ? t2._as(t6) : t6;
  101041. $label0$1: {
  101042. if (rule instanceof A.ModifiableCssComment0)
  101043. continue;
  101044. t6 = rule instanceof A.ModifiableCssStyleRule0;
  101045. rule0 = t6 ? rule : _null;
  101046. if (t6) {
  101047. interleavedRules.push(rule0);
  101048. break $label0$1;
  101049. }
  101050. _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);
  101051. B.JSArray_methods.clear$0(interleavedRules);
  101052. break $label0$1;
  101053. }
  101054. }
  101055. t1 = node.name;
  101056. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  101057. _1_0 = _this._evaluate0$_declarationName;
  101058. if (_1_0 != null)
  101059. $name = new A.CssValue0(_1_0 + "-" + $name.value, $name.span, type$.CssValue_String_2);
  101060. _2_0 = node.value;
  101061. if (_2_0 != null) {
  101062. value = _2_0.accept$1(_this);
  101063. if (!value.get$isBlank() || value.get$asList().length === 0 || B.JSString_methods.startsWith$1($name.value, "--")) {
  101064. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  101065. t3 = _2_0.get$span(_2_0);
  101066. t4 = node.span;
  101067. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  101068. t5 = interleavedRules.length === 0 ? _null : _this._evaluate0$_stackTrace$1(t4);
  101069. if (_this._evaluate0$_sourceMap) {
  101070. t6 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  101071. t6 = t6 == null ? _null : J.get$span$z(t6);
  101072. } else
  101073. t6 = _null;
  101074. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  101075. }
  101076. }
  101077. _3_0 = node.children;
  101078. t1 = {};
  101079. t1.children = null;
  101080. if (_3_0 != null) {
  101081. t1.children = _3_0;
  101082. oldDeclarationName = _this._evaluate0$_declarationName;
  101083. _this._evaluate0$_declarationName = $name.value;
  101084. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  101085. _this._evaluate0$_declarationName = oldDeclarationName;
  101086. }
  101087. return _null;
  101088. },
  101089. visitEachRule$1(_, node) {
  101090. var _this = this,
  101091. t1 = node.list,
  101092. list = t1.accept$1(_this),
  101093. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  101094. _0_0 = node.variables;
  101095. $label0$0: {
  101096. t1 = {};
  101097. t1.variable = null;
  101098. if (_0_0.length === 1) {
  101099. t1.variable = _0_0[0];
  101100. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  101101. break $label0$0;
  101102. }
  101103. t1 = {};
  101104. t1.variables = null;
  101105. t1.variables = _0_0;
  101106. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  101107. break $label0$0;
  101108. }
  101109. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  101110. },
  101111. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  101112. var i,
  101113. list = value.get$asList(),
  101114. t1 = variables.length,
  101115. minLength = Math.min(t1, list.length);
  101116. for (i = 0; i < minLength; ++i)
  101117. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  101118. for (i = minLength; i < t1; ++i)
  101119. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  101120. },
  101121. visitErrorRule$1(_, node) {
  101122. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  101123. },
  101124. visitExtendRule$1(_, node) {
  101125. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, simple, _this = this, _null = null,
  101126. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101127. if (styleRule == null || _this._evaluate0$_declarationName != null)
  101128. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  101129. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  101130. complex = t1[_i];
  101131. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101132. continue;
  101133. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101134. complex.accept$1(visitor);
  101135. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101136. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  101137. _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);
  101138. }
  101139. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  101140. 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) {
  101141. complex = t1[_i];
  101142. compound = complex.get$singleCompound();
  101143. if (compound == null)
  101144. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  101145. t4 = compound.components;
  101146. simple = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  101147. if (simple == null)
  101148. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  101149. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, simple, node, _this._evaluate0$_mediaQueries);
  101150. }
  101151. return _null;
  101152. },
  101153. visitAtRule$1(_, node) {
  101154. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  101155. if (_this._evaluate0$_declarationName != null)
  101156. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  101157. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  101158. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  101159. children = node.children;
  101160. if (children == null) {
  101161. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  101162. return null;
  101163. }
  101164. wasInKeyframes = _this._evaluate0$_inKeyframes;
  101165. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  101166. if (A.unvendor0($name.value) === "keyframes")
  101167. _this._evaluate0$_inKeyframes = true;
  101168. else
  101169. _this._evaluate0$_inUnknownAtRule = true;
  101170. _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);
  101171. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  101172. _this._evaluate0$_inKeyframes = wasInKeyframes;
  101173. return null;
  101174. },
  101175. visitForRule$1(_, node) {
  101176. var _this = this, t1 = {},
  101177. t2 = node.from,
  101178. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  101179. t3 = node.to,
  101180. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  101181. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  101182. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  101183. direction = from > to ? -1 : 1;
  101184. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  101185. return null;
  101186. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  101187. },
  101188. visitForwardRule$1(_, node) {
  101189. var newConfiguration, t4, _i, variable, $name, _this = this,
  101190. _s8_ = "@forward",
  101191. oldConfiguration = _this._evaluate0$_configuration,
  101192. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  101193. t1 = node.configuration,
  101194. t2 = t1.length,
  101195. t3 = node.url;
  101196. if (t2 !== 0) {
  101197. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  101198. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  101199. t3 = type$.String;
  101200. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101201. for (_i = 0; _i < t2; ++_i) {
  101202. variable = t1[_i];
  101203. if (!variable.isGuarded)
  101204. t4.add$1(0, variable.name);
  101205. }
  101206. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  101207. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101208. for (_i = 0; _i < t2; ++_i)
  101209. t3.add$1(0, t1[_i].name);
  101210. for (t1 = newConfiguration._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t4 = t2.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101211. $name = t2[_i];
  101212. if (!t3.contains$1(0, $name))
  101213. if (!t1.get$isEmpty(t1))
  101214. t1.remove$1(0, $name);
  101215. }
  101216. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  101217. } else {
  101218. _this._evaluate0$_configuration = adjustedConfiguration;
  101219. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  101220. _this._evaluate0$_configuration = oldConfiguration;
  101221. }
  101222. return null;
  101223. },
  101224. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  101225. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  101226. t1 = configuration._configuration0$_values,
  101227. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101228. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101229. variable = t2[_i];
  101230. if (variable.isGuarded) {
  101231. t4 = variable.name;
  101232. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  101233. if (_0_0 != null) {
  101234. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  101235. oldValue = _0_0;
  101236. } else {
  101237. oldValue = _null;
  101238. t5 = false;
  101239. }
  101240. if (t5) {
  101241. newValues.$indexSet(0, t4, oldValue);
  101242. continue;
  101243. }
  101244. }
  101245. t4 = variable.expression;
  101246. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101247. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101248. }
  101249. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101250. return new A.ExplicitConfiguration0(node, newValues, _null);
  101251. else
  101252. return new A.Configuration0(newValues, _null);
  101253. },
  101254. _evaluate0$_registerCommentsForModule$1(module) {
  101255. var _this = this, _s5_ = "_root",
  101256. t1 = _this._evaluate0$__root;
  101257. if (t1 == null)
  101258. return;
  101259. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101260. return;
  101261. t1 = _this._evaluate0$_preModuleComments;
  101262. if (t1 == null)
  101263. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101264. 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));
  101265. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101266. _this._evaluate0$__endOfImports = 0;
  101267. },
  101268. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101269. var t1, t2, t3, t4, _i, $name;
  101270. for (t1 = upstream._configuration0$_values, t2 = t1.get$keys(t1), t2 = t2.toList$0(t2), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  101271. $name = t2[_i];
  101272. if (except.contains$1(0, $name))
  101273. continue;
  101274. if (!t4.containsKey$1($name))
  101275. if (!t1.get$isEmpty(t1))
  101276. t1.remove$1(0, $name);
  101277. }
  101278. },
  101279. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101280. var t1, _0_0;
  101281. if (!(configuration instanceof A.ExplicitConfiguration0))
  101282. return;
  101283. t1 = configuration._configuration0$_values;
  101284. if (t1.get$isEmpty(t1))
  101285. return;
  101286. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101287. _0_0 = t1.get$first(t1);
  101288. t1 = nameInError ? "$" + _0_0._0 + string$.x20was_n : string$.This_v;
  101289. throw A.wrapException(this._evaluate0$_exception$2(t1, _0_0._1.configurationSpan));
  101290. },
  101291. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101292. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101293. },
  101294. visitFunctionRule$1(_, node) {
  101295. var t1 = this._evaluate0$_environment,
  101296. t2 = t1.closure$0(),
  101297. t3 = this._evaluate0$_inDependency,
  101298. t4 = t1._environment0$_functions,
  101299. index = t4.length - 1,
  101300. t5 = node.name;
  101301. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101302. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101303. return null;
  101304. },
  101305. visitIfRule$1(_, node) {
  101306. var t1, t2, _i, clauseToCheck,
  101307. clause = node.lastClause;
  101308. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101309. clauseToCheck = t1[_i];
  101310. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101311. clause = clauseToCheck;
  101312. break;
  101313. }
  101314. }
  101315. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101316. },
  101317. visitImportRule$1(_, node) {
  101318. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101319. _s8_ = "__parent",
  101320. _s5_ = "_root",
  101321. _s13_ = "_endOfImports";
  101322. 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) {
  101323. $import = t1[_i];
  101324. if ($import instanceof A.DynamicImport0)
  101325. _this._evaluate0$_visitDynamicImport$1($import);
  101326. else {
  101327. t5._as($import);
  101328. t7 = $import.url;
  101329. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101330. $self = $import.modifiers;
  101331. t8 = $self == null ? null : t4.call$1($self);
  101332. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101333. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101334. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101335. 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)) {
  101336. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101337. node._node$_parent = t7;
  101338. t7 = t7._node$_children;
  101339. node._node$_indexInParent = t7.length;
  101340. t7.push(node);
  101341. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101342. } else {
  101343. t7 = _this._evaluate0$_outOfOrderImports;
  101344. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101345. }
  101346. }
  101347. }
  101348. return null;
  101349. },
  101350. _evaluate0$_visitDynamicImport$1($import) {
  101351. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101352. },
  101353. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101354. 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,
  101355. _s11_ = "_stylesheet";
  101356. baseUrl = baseUrl;
  101357. try {
  101358. _this._evaluate0$_importSpan = span;
  101359. _0_0 = _this._evaluate0$_importCache;
  101360. importCache = null;
  101361. if (_0_0 != null) {
  101362. importCache = _0_0;
  101363. if (baseUrl == null)
  101364. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  101365. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  101366. importer = null;
  101367. canonicalUrl = null;
  101368. originalUrl = null;
  101369. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  101370. importer = _1_0._0;
  101371. canonicalUrl = _1_0._1;
  101372. originalUrl = _1_0._2;
  101373. if (canonicalUrl.get$scheme() === "")
  101374. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  101375. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  101376. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  101377. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  101378. stylesheet = null;
  101379. if (_2_0 != null) {
  101380. stylesheet = _2_0;
  101381. t1 = stylesheet;
  101382. t2 = importer;
  101383. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  101384. }
  101385. }
  101386. }
  101387. if (_this._nodeImporter != null) {
  101388. t1 = baseUrl;
  101389. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  101390. result = null;
  101391. if (_3_0 != null) {
  101392. result = _3_0;
  101393. t1 = _this._evaluate0$_loadedUrls;
  101394. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  101395. t1 = result;
  101396. return t1;
  101397. }
  101398. }
  101399. t1 = B.JSString_methods.startsWith$1(url, "package:");
  101400. if (t1)
  101401. throw A.wrapException(string$.x22packa);
  101402. else
  101403. throw A.wrapException("Can't find stylesheet to import.");
  101404. } catch (exception) {
  101405. t1 = A.unwrapException(exception);
  101406. if (t1 instanceof A.SassException0)
  101407. throw exception;
  101408. else if (t1 instanceof A.ArgumentError) {
  101409. error = t1;
  101410. stackTrace = A.getTraceFromException(exception);
  101411. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  101412. } else {
  101413. error0 = t1;
  101414. stackTrace0 = A.getTraceFromException(exception);
  101415. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  101416. }
  101417. } finally {
  101418. _this._evaluate0$_importSpan = null;
  101419. }
  101420. },
  101421. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  101422. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  101423. },
  101424. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  101425. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  101426. },
  101427. _importLikeNode$3(originalUrl, previous, forImport) {
  101428. var isDependency, url,
  101429. t1 = this._nodeImporter,
  101430. result = t1.loadRelative$3(originalUrl, previous, forImport);
  101431. if (result != null)
  101432. isDependency = this._evaluate0$_inDependency;
  101433. else {
  101434. result = t1.load$3(0, originalUrl, previous, forImport);
  101435. if (result == null)
  101436. return null;
  101437. isDependency = true;
  101438. }
  101439. url = result._1;
  101440. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  101441. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  101442. },
  101443. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  101444. var t1, _0_0, t2, _1_8, t3, _this = this,
  101445. _s37_ = "Mixin doesn't accept a content block.",
  101446. _s10_ = "invocation";
  101447. $label0$0: {
  101448. if (mixin == null)
  101449. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  101450. t1 = mixin instanceof A.BuiltInCallable0;
  101451. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  101452. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  101453. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  101454. 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));
  101455. }
  101456. if (t1) {
  101457. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  101458. break $label0$0;
  101459. }
  101460. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  101461. t2 = false;
  101462. if (t1) {
  101463. _1_8 = mixin.declaration;
  101464. t3 = _1_8;
  101465. if (t3 instanceof A.MixinRule0)
  101466. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  101467. }
  101468. if (t2)
  101469. 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));
  101470. if (t1) {
  101471. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  101472. break $label0$0;
  101473. }
  101474. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  101475. }
  101476. },
  101477. visitIncludeRule$1(_, node) {
  101478. var _this = this,
  101479. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  101480. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  101481. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  101482. _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)));
  101483. return null;
  101484. },
  101485. visitMixinRule$1(_, node) {
  101486. var t1 = this._evaluate0$_environment,
  101487. t2 = t1.closure$0(),
  101488. t3 = this._evaluate0$_inDependency,
  101489. t4 = t1._environment0$_mixins,
  101490. index = t4.length - 1,
  101491. t5 = node.name;
  101492. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  101493. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101494. return null;
  101495. },
  101496. visitLoudComment$1(_, node) {
  101497. var t1, text, _this = this,
  101498. _s8_ = "__parent",
  101499. _s13_ = "_endOfImports";
  101500. if (_this._evaluate0$_inFunction)
  101501. return null;
  101502. 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))
  101503. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101504. t1 = node.text;
  101505. text = _this._evaluate0$_performInterpolation$1(t1);
  101506. if (!B.JSString_methods.endsWith$1(text, "*/"))
  101507. text += " */";
  101508. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  101509. return null;
  101510. },
  101511. visitMediaRule$1(_, node) {
  101512. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  101513. if (_this._evaluate0$_declarationName != null)
  101514. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  101515. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  101516. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  101517. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  101518. t1 = mergedQueries == null;
  101519. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  101520. return null;
  101521. if (t1)
  101522. mergedSources = B.Set_empty6;
  101523. else {
  101524. t2 = _this._evaluate0$_mediaQuerySources;
  101525. t2.toString;
  101526. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  101527. t3 = _this._evaluate0$_mediaQueries;
  101528. t3.toString;
  101529. t2.addAll$1(0, t3);
  101530. t2.addAll$1(0, queries);
  101531. mergedSources = t2;
  101532. }
  101533. t1 = t1 ? queries : mergedQueries;
  101534. _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);
  101535. return null;
  101536. },
  101537. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  101538. var t1, t2, t3, t4, _0_0, t5, result,
  101539. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  101540. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  101541. t3 = t1.get$current(t1);
  101542. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  101543. _0_0 = t3.merge$1(t4.get$current(t4));
  101544. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  101545. continue;
  101546. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  101547. return null;
  101548. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  101549. result = t5 ? _0_0 : null;
  101550. if (t5)
  101551. queries.push(result.query);
  101552. }
  101553. }
  101554. return queries;
  101555. },
  101556. visitReturnRule$1(_, node) {
  101557. var t1 = node.expression;
  101558. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  101559. },
  101560. visitSilentComment$1(_, node) {
  101561. return null;
  101562. },
  101563. visitStyleRule$1(_, node) {
  101564. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  101565. _s8_ = "__parent",
  101566. _s11_ = "_stylesheet";
  101567. if (_this._evaluate0$_declarationName != null)
  101568. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  101569. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  101570. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  101571. t1 = node.selector;
  101572. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  101573. selectorText = _0_0._0;
  101574. selectorMap = _0_0._1;
  101575. if (_this._evaluate0$_inKeyframes) {
  101576. _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);
  101577. return _null;
  101578. }
  101579. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101580. _1_0 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101581. $label0$0: {
  101582. if (_1_0 == null) {
  101583. t1 = true;
  101584. break $label0$0;
  101585. }
  101586. if (_1_0.fromPlainCss) {
  101587. t1 = false;
  101588. break $label0$0;
  101589. }
  101590. t1 = !(_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  101591. break $label0$0;
  101592. }
  101593. if (t1) {
  101594. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  101595. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101596. _2_0 = t2[_i].leadingCombinators;
  101597. if (_2_0.length >= 1) {
  101598. first = _2_0[0];
  101599. t4 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  101600. } else {
  101601. first = _null;
  101602. t4 = false;
  101603. }
  101604. if (t4)
  101605. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  101606. }
  101607. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  101608. t2 = t2 == null ? _null : t2.originalSelector;
  101609. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101610. }
  101611. 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);
  101612. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  101613. t2 = _this._evaluate0$_atRootExcludingStyleRule = false;
  101614. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  101615. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  101616. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  101617. _this._evaluate0$_warnForBogusCombinators$1(rule);
  101618. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  101619. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101620. t1 = !t1.get$isEmpty(t1);
  101621. } else
  101622. t1 = t2;
  101623. if (t1) {
  101624. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101625. t1.get$last(t1).isGroupEnd = true;
  101626. }
  101627. return _null;
  101628. },
  101629. _evaluate0$_warnForBogusCombinators$1(rule) {
  101630. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  101631. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  101632. 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) {
  101633. complex = t1[_i];
  101634. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101635. continue;
  101636. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  101637. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101638. complex.accept$1(visitor);
  101639. _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);
  101640. } else if (complex.leadingCombinators.length !== 0) {
  101641. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101642. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101643. complex.accept$1(visitor);
  101644. _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);
  101645. }
  101646. } else {
  101647. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101648. complex.accept$1(visitor);
  101649. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101650. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  101651. t8 = A.SpanExtensions_trimRight0(complex.span);
  101652. if (t5.get$length(0) === 0)
  101653. A.throwExpression(A.IterableElementError_noElement());
  101654. t9 = J.get$span$z(t5.$index(0, 0));
  101655. _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);
  101656. }
  101657. }
  101658. },
  101659. visitSupportsRule$1(_, node) {
  101660. var t1, _this = this;
  101661. if (_this._evaluate0$_declarationName != null)
  101662. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  101663. t1 = node.condition;
  101664. _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);
  101665. return null;
  101666. },
  101667. _evaluate0$_visitSupportsCondition$1(condition) {
  101668. var t1, _this = this;
  101669. $label0$0: {
  101670. if (condition instanceof A.SupportsOperation0) {
  101671. t1 = condition.operator;
  101672. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  101673. break $label0$0;
  101674. }
  101675. if (condition instanceof A.SupportsNegation0) {
  101676. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  101677. break $label0$0;
  101678. }
  101679. if (condition instanceof A.SupportsInterpolation0) {
  101680. t1 = condition.expression;
  101681. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  101682. break $label0$0;
  101683. }
  101684. t1 = {};
  101685. t1.declaration = null;
  101686. if (condition instanceof A.SupportsDeclaration0) {
  101687. t1.declaration = condition;
  101688. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  101689. break $label0$0;
  101690. }
  101691. if (condition instanceof A.SupportsFunction0) {
  101692. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  101693. break $label0$0;
  101694. }
  101695. if (condition instanceof A.SupportsAnything0) {
  101696. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  101697. break $label0$0;
  101698. }
  101699. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  101700. }
  101701. return t1;
  101702. },
  101703. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  101704. var t1,
  101705. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  101706. this._evaluate0$_inSupportsDeclaration = true;
  101707. try {
  101708. t1 = callback.call$0();
  101709. return t1;
  101710. } finally {
  101711. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  101712. }
  101713. },
  101714. _evaluate0$_withSupportsDeclaration$1(callback) {
  101715. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  101716. },
  101717. _evaluate0$_parenthesize$2(condition, operator) {
  101718. var t1;
  101719. if (!(condition instanceof A.SupportsNegation0))
  101720. if (condition instanceof A.SupportsOperation0)
  101721. t1 = operator == null || operator !== condition.operator;
  101722. else
  101723. t1 = false;
  101724. else
  101725. t1 = true;
  101726. if (t1)
  101727. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  101728. return this._evaluate0$_visitSupportsCondition$1(condition);
  101729. },
  101730. _evaluate0$_parenthesize$1(condition) {
  101731. return this._evaluate0$_parenthesize$2(condition, null);
  101732. },
  101733. visitVariableDeclaration$1(_, node) {
  101734. var t1, t2, _0_0, value, _this = this, _null = null;
  101735. if (node.isGuarded) {
  101736. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  101737. t1 = node.name;
  101738. _this._evaluate0$_environment._environment0$_configurableVariables.add$1(0, t1);
  101739. t2 = _this._evaluate0$_configuration._configuration0$_values;
  101740. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  101741. t1 = {};
  101742. t1.override = null;
  101743. if (_0_0 != null) {
  101744. t1.override = _0_0;
  101745. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  101746. } else
  101747. t2 = false;
  101748. if (t2) {
  101749. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  101750. return _null;
  101751. }
  101752. }
  101753. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  101754. if (value != null && !value.$eq(0, B.C__SassNull0))
  101755. return _null;
  101756. }
  101757. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  101758. 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.";
  101759. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  101760. }
  101761. t1 = node.expression;
  101762. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  101763. return _null;
  101764. },
  101765. visitUseRule$1(_, node) {
  101766. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  101767. t1 = node.configuration,
  101768. t2 = t1.length;
  101769. if (t2 !== 0) {
  101770. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  101771. for (_i = 0; _i < t2; ++_i) {
  101772. variable = t1[_i];
  101773. t3 = variable.expression;
  101774. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  101775. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101776. }
  101777. configuration = new A.ExplicitConfiguration0(node, values, null);
  101778. } else
  101779. configuration = B.Configuration_Map_empty_null0;
  101780. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  101781. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  101782. return null;
  101783. },
  101784. visitWarnRule$1(_, node) {
  101785. var _this = this,
  101786. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  101787. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  101788. t2 = _this._evaluate0$_stackTrace$1(node.span);
  101789. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  101790. return null;
  101791. },
  101792. visitWhileRule$1(_, node) {
  101793. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  101794. },
  101795. visitBinaryOperationExpression$1(_, node) {
  101796. var t1, _this = this;
  101797. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101798. t1 = node.operator;
  101799. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  101800. } else
  101801. t1 = false;
  101802. if (t1)
  101803. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  101804. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  101805. },
  101806. _evaluate0$_slash$3(left, right, node) {
  101807. var left0, _1_2,
  101808. result = left.dividedBy$1(right),
  101809. _1_2_isSet = left instanceof A.SassNumber0,
  101810. right0 = null,
  101811. t1 = false;
  101812. if (_1_2_isSet) {
  101813. if (right instanceof A.SassNumber0) {
  101814. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  101815. right0 = right;
  101816. }
  101817. left0 = left;
  101818. _1_2 = right;
  101819. } else {
  101820. _1_2 = null;
  101821. left0 = null;
  101822. }
  101823. if (t1)
  101824. return type$.SassNumber_2._as(result).withSlash$2(left0, right0);
  101825. if (left instanceof A.SassNumber0)
  101826. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  101827. else
  101828. t1 = false;
  101829. if (t1) {
  101830. 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);
  101831. return result;
  101832. }
  101833. return result;
  101834. },
  101835. _evaluate0$_operandAllowsSlash$1(node) {
  101836. var t1;
  101837. if (node instanceof A.FunctionExpression0)
  101838. if (node.namespace == null) {
  101839. t1 = node.name;
  101840. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  101841. } else
  101842. t1 = false;
  101843. else
  101844. t1 = true;
  101845. return t1;
  101846. },
  101847. visitValueExpression$1(_, node) {
  101848. return node.value;
  101849. },
  101850. visitVariableExpression$1(_, node) {
  101851. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  101852. if (result != null)
  101853. return result;
  101854. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  101855. },
  101856. visitUnaryOperationExpression$1(_, node) {
  101857. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  101858. },
  101859. visitBooleanExpression$1(_, node) {
  101860. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  101861. },
  101862. visitIfExpression$1(_, node) {
  101863. var condition, t1, ifTrue, ifFalse, result, _this = this,
  101864. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  101865. positional = _0_0._0,
  101866. named = _0_0._1;
  101867. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  101868. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  101869. if (condition == null) {
  101870. t1 = named.$index(0, "condition");
  101871. t1.toString;
  101872. condition = t1;
  101873. }
  101874. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  101875. if (ifTrue == null) {
  101876. t1 = named.$index(0, "if-true");
  101877. t1.toString;
  101878. ifTrue = t1;
  101879. }
  101880. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  101881. if (ifFalse == null) {
  101882. t1 = named.$index(0, "if-false");
  101883. t1.toString;
  101884. ifFalse = t1;
  101885. }
  101886. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  101887. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  101888. },
  101889. visitNullExpression$1(_, node) {
  101890. return B.C__SassNull0;
  101891. },
  101892. visitNumberExpression$1(_, node) {
  101893. return A.SassNumber_SassNumber0(node.value, node.unit);
  101894. },
  101895. visitParenthesizedExpression$1(_, node) {
  101896. var _this = this;
  101897. 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);
  101898. },
  101899. visitColorExpression$1(_, node) {
  101900. return node.value;
  101901. },
  101902. visitListExpression$1(_, node) {
  101903. var t1 = node.contents;
  101904. 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);
  101905. },
  101906. visitMapExpression$1(_, node) {
  101907. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  101908. t1 = type$.Value_2,
  101909. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  101910. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  101911. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101912. t4 = t2[_i];
  101913. key = t4._0;
  101914. keyValue = key.accept$1(this);
  101915. valueValue = t4._1.accept$1(this);
  101916. if (map.containsKey$1(keyValue)) {
  101917. t1 = keyNodes.$index(0, keyValue);
  101918. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  101919. t1 = key.get$span(key);
  101920. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  101921. if (oldValueSpan != null)
  101922. t2.$indexSet(0, oldValueSpan, "first key");
  101923. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  101924. }
  101925. map.$indexSet(0, keyValue, valueValue);
  101926. keyNodes.$indexSet(0, keyValue, key);
  101927. }
  101928. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  101929. },
  101930. visitFunctionExpression$1(_, node) {
  101931. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  101932. _s11_ = "_stylesheet",
  101933. t1 = {},
  101934. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  101935. t1.$function = $function;
  101936. if ($function == null) {
  101937. if (node.namespace != null)
  101938. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  101939. t2 = node.name;
  101940. _0_0 = t2.toLowerCase();
  101941. t3 = false;
  101942. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  101943. t3 = node.$arguments;
  101944. t4 = t3.named;
  101945. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  101946. $name = _0_0;
  101947. } else
  101948. $name = null;
  101949. if (t3)
  101950. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  101951. 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)
  101952. return _this._evaluate0$_visitCalculation$1(node);
  101953. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  101954. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  101955. } else
  101956. t2 = $function;
  101957. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  101958. _this._evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  101959. oldInFunction = _this._evaluate0$_inFunction;
  101960. _this._evaluate0$_inFunction = true;
  101961. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  101962. _this._evaluate0$_inFunction = oldInFunction;
  101963. return result;
  101964. },
  101965. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  101966. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  101967. t2 = node.$arguments,
  101968. t3 = t2.named;
  101969. if (t3.get$isNotEmpty(t3))
  101970. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  101971. else if (t2.rest != null)
  101972. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  101973. _this._evaluate0$_checkCalculationArguments$1(node);
  101974. t3 = A._setArrayType([], type$.JSArray_Object);
  101975. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  101976. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  101977. $arguments = t3;
  101978. if (_this._evaluate0$_inSupportsDeclaration)
  101979. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  101980. oldCallableNode = _this._evaluate0$_callableNode;
  101981. _this._evaluate0$_callableNode = node;
  101982. try {
  101983. t1 = null;
  101984. t3 = node.name;
  101985. _0_0 = t3.toLowerCase();
  101986. $label0$0: {
  101987. if ("calc" === _0_0) {
  101988. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  101989. break $label0$0;
  101990. }
  101991. if ("sqrt" === _0_0) {
  101992. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  101993. break $label0$0;
  101994. }
  101995. if ("sin" === _0_0) {
  101996. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  101997. break $label0$0;
  101998. }
  101999. if ("cos" === _0_0) {
  102000. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  102001. break $label0$0;
  102002. }
  102003. if ("tan" === _0_0) {
  102004. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  102005. break $label0$0;
  102006. }
  102007. if ("asin" === _0_0) {
  102008. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  102009. break $label0$0;
  102010. }
  102011. if ("acos" === _0_0) {
  102012. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  102013. break $label0$0;
  102014. }
  102015. if ("atan" === _0_0) {
  102016. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  102017. break $label0$0;
  102018. }
  102019. if ("abs" === _0_0) {
  102020. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  102021. break $label0$0;
  102022. }
  102023. if ("exp" === _0_0) {
  102024. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  102025. break $label0$0;
  102026. }
  102027. if ("sign" === _0_0) {
  102028. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  102029. break $label0$0;
  102030. }
  102031. if ("min" === _0_0) {
  102032. t1 = A.SassCalculation_min0($arguments);
  102033. break $label0$0;
  102034. }
  102035. if ("max" === _0_0) {
  102036. t1 = A.SassCalculation_max0($arguments);
  102037. break $label0$0;
  102038. }
  102039. if ("hypot" === _0_0) {
  102040. t1 = A.SassCalculation_hypot0($arguments);
  102041. break $label0$0;
  102042. }
  102043. if ("pow" === _0_0) {
  102044. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102045. break $label0$0;
  102046. }
  102047. if ("atan2" === _0_0) {
  102048. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102049. break $label0$0;
  102050. }
  102051. if ("log" === _0_0) {
  102052. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102053. break $label0$0;
  102054. }
  102055. if ("mod" === _0_0) {
  102056. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102057. break $label0$0;
  102058. }
  102059. if ("rem" === _0_0) {
  102060. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102061. break $label0$0;
  102062. }
  102063. if ("round" === _0_0) {
  102064. 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));
  102065. break $label0$0;
  102066. }
  102067. if ("clamp" === _0_0) {
  102068. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  102069. break $label0$0;
  102070. }
  102071. if ("calc-size" === _0_0) {
  102072. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102073. break $label0$0;
  102074. }
  102075. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  102076. t1 = A.throwExpression(t3);
  102077. }
  102078. t1 = t1;
  102079. return t1;
  102080. } catch (exception) {
  102081. t1 = A.unwrapException(exception);
  102082. if (t1 instanceof A.SassScriptException0) {
  102083. error = t1;
  102084. stackTrace = A.getTraceFromException(exception);
  102085. if (B.JSString_methods.contains$1(error.message, "compatible"))
  102086. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  102087. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  102088. } else
  102089. throw exception;
  102090. } finally {
  102091. _this._evaluate0$_callableNode = oldCallableNode;
  102092. }
  102093. },
  102094. _evaluate0$_visitCalculation$1(node) {
  102095. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  102096. },
  102097. _evaluate0$_checkCalculationArguments$1(node) {
  102098. var t1, _0_0,
  102099. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  102100. $label0$0: {
  102101. t1 = node.name;
  102102. _0_0 = t1.toLowerCase();
  102103. 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) {
  102104. check.call$1(1);
  102105. break $label0$0;
  102106. }
  102107. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  102108. check.call$0();
  102109. break $label0$0;
  102110. }
  102111. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  102112. check.call$1(2);
  102113. break $label0$0;
  102114. }
  102115. if ("round" === _0_0 || "clamp" === _0_0) {
  102116. check.call$1(3);
  102117. break $label0$0;
  102118. }
  102119. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  102120. }
  102121. },
  102122. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  102123. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  102124. for (i = 0; t1 = args.length, i < t1; ++i) {
  102125. _0_0 = args[i];
  102126. if (_0_0 instanceof A.SassNumber0) {
  102127. t1 = _0_0.get$hasComplexUnits();
  102128. arg = _0_0;
  102129. } else {
  102130. arg = null;
  102131. t1 = false;
  102132. }
  102133. if (t1) {
  102134. t1 = A.S(arg);
  102135. t2 = nodesWithSpans[i];
  102136. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  102137. }
  102138. }
  102139. for (i = 0; i < t1 - 1; ++i) {
  102140. number1 = args[i];
  102141. if (!(number1 instanceof A.SassNumber0))
  102142. continue;
  102143. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  102144. number2 = args[j];
  102145. if (!(number2 instanceof A.SassNumber0))
  102146. continue;
  102147. if (number1.hasPossiblyCompatibleUnits$1(number2))
  102148. continue;
  102149. t1 = number1.toString$0(0);
  102150. t2 = number2.toString$0(0);
  102151. t3 = nodesWithSpans[i];
  102152. t3 = t3.get$span(t3);
  102153. t4 = number1.toString$0(0);
  102154. t5 = nodesWithSpans[j];
  102155. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  102156. t6 = nodesWithSpans[i];
  102157. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  102158. }
  102159. }
  102160. },
  102161. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  102162. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  102163. t1 = node instanceof A.ParenthesizedExpression0,
  102164. inner = t1 ? node.expression : _null;
  102165. if (t1) {
  102166. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  102167. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  102168. }
  102169. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  102170. t1 = node.text;
  102171. t2 = t1.get$asPlain();
  102172. _0_0 = t2 == null ? _null : t2.toLowerCase();
  102173. $label0$0: {
  102174. if ("pi" === _0_0) {
  102175. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  102176. break $label0$0;
  102177. }
  102178. if ("e" === _0_0) {
  102179. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  102180. break $label0$0;
  102181. }
  102182. if ("infinity" === _0_0) {
  102183. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  102184. break $label0$0;
  102185. }
  102186. if ("-infinity" === _0_0) {
  102187. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  102188. break $label0$0;
  102189. }
  102190. if ("nan" === _0_0) {
  102191. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  102192. break $label0$0;
  102193. }
  102194. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  102195. break $label0$0;
  102196. }
  102197. return t1;
  102198. }
  102199. _box_0 = {};
  102200. _box_0.right = _box_0.left = _box_0.operator = null;
  102201. t1 = node instanceof A.BinaryOperationExpression0;
  102202. if (t1) {
  102203. _box_0.operator = node.operator;
  102204. _box_0.left = node.left;
  102205. _box_0.right = node.right;
  102206. }
  102207. if (t1) {
  102208. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  102209. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  102210. }
  102211. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  102212. _1_0 = node.accept$1(_this);
  102213. $label1$1: {
  102214. if (_1_0 instanceof A.SassNumber0) {
  102215. t1 = _1_0;
  102216. break $label1$1;
  102217. }
  102218. if (_1_0 instanceof A.SassCalculation0) {
  102219. t1 = _1_0;
  102220. break $label1$1;
  102221. }
  102222. if (_1_0 instanceof A.SassString0) {
  102223. t1 = !_1_0._string0$_hasQuotes;
  102224. result = _1_0;
  102225. } else {
  102226. result = _null;
  102227. t1 = false;
  102228. }
  102229. if (t1) {
  102230. t1 = result;
  102231. break $label1$1;
  102232. }
  102233. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  102234. }
  102235. return t1;
  102236. }
  102237. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2) {
  102238. t1 = A._setArrayType([], type$.JSArray_Object);
  102239. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  102240. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102241. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  102242. for (i = 0; i < t1.length; ++i) {
  102243. t3 = t1[i];
  102244. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  102245. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  102246. }
  102247. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102248. }
  102249. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102250. },
  102251. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102252. var t2, t3, t4, textBetweenOperands, first, last,
  102253. t1 = node.operator;
  102254. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  102255. return;
  102256. t1 = node.left;
  102257. t2 = t1.get$span(t1);
  102258. t2 = t2.get$file(t2);
  102259. t3 = node.right;
  102260. t4 = t3.get$span(t3);
  102261. if (t2 !== t4.get$file(t4))
  102262. return;
  102263. t2 = t1.get$span(t1);
  102264. t2 = t2.get$end(t2);
  102265. t4 = t3.get$span(t3);
  102266. if (t2.offset >= t4.get$start(t4).offset)
  102267. return;
  102268. t2 = t1.get$span(t1);
  102269. t2 = t2.get$file(t2);
  102270. t1 = t1.get$span(t1);
  102271. t1 = t1.get$end(t1);
  102272. t3 = t3.get$span(t3);
  102273. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102274. first = textBetweenOperands.charCodeAt(0);
  102275. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102276. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102277. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102278. else
  102279. t1 = true;
  102280. if (t1)
  102281. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102282. },
  102283. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102284. var t1;
  102285. $label0$0: {
  102286. if (B.BinaryOperator_Swh0 === operator) {
  102287. t1 = B.CalculationOperator_F7i0;
  102288. break $label0$0;
  102289. }
  102290. if (B.BinaryOperator_QG10 === operator) {
  102291. t1 = B.CalculationOperator_oum0;
  102292. break $label0$0;
  102293. }
  102294. if (B.BinaryOperator_tht0 === operator) {
  102295. t1 = B.CalculationOperator_kkN0;
  102296. break $label0$0;
  102297. }
  102298. if (B.BinaryOperator_Mh50 === operator) {
  102299. t1 = B.CalculationOperator_bo50;
  102300. break $label0$0;
  102301. }
  102302. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102303. }
  102304. return t1;
  102305. },
  102306. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102307. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102308. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102309. t2 = i - 1;
  102310. previous = elements[t2];
  102311. current = elements[i];
  102312. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102313. continue;
  102314. t1 = node.contents;
  102315. previousNode = t1[t2];
  102316. currentNode = t1[i];
  102317. if (currentNode instanceof A.UnaryOperationExpression0) {
  102318. _0_2 = currentNode.operator;
  102319. if (B.UnaryOperator_UCP0 !== _0_2)
  102320. t1 = B.UnaryOperator_Rbl0 === _0_2;
  102321. else
  102322. t1 = true;
  102323. } else
  102324. t1 = false;
  102325. if (!t1)
  102326. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102327. else
  102328. t1 = true;
  102329. if (t1)
  102330. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102331. else
  102332. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102333. }
  102334. },
  102335. visitInterpolatedFunctionExpression$1(_, node) {
  102336. var result, _this = this,
  102337. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102338. oldInFunction = _this._evaluate0$_inFunction;
  102339. _this._evaluate0$_inFunction = true;
  102340. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102341. _this._evaluate0$_inFunction = oldInFunction;
  102342. return result;
  102343. },
  102344. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102345. var oldInDependency, result, _this = this,
  102346. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102347. $name = callable.declaration.name;
  102348. if ($name !== "@content")
  102349. $name += "()";
  102350. oldInDependency = _this._evaluate0$_inDependency;
  102351. _this._evaluate0$_inDependency = callable.inDependency;
  102352. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102353. _this._evaluate0$_inDependency = oldInDependency;
  102354. return result;
  102355. },
  102356. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  102357. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  102358. if (callable instanceof A.BuiltInCallable0)
  102359. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  102360. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  102361. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  102362. else if (callable instanceof A.PlainCssCallable0) {
  102363. t1 = $arguments.named;
  102364. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  102365. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  102366. buffer = new A.StringBuffer(callable.name + "(");
  102367. try {
  102368. first = true;
  102369. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102370. argument = t1[_i];
  102371. if (first)
  102372. first = false;
  102373. else
  102374. buffer._contents += ", ";
  102375. t3 = buffer;
  102376. t4 = argument;
  102377. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  102378. t3._contents += t4;
  102379. }
  102380. restArg = $arguments.rest;
  102381. if (restArg != null) {
  102382. rest = restArg.accept$1(_this);
  102383. if (!first)
  102384. buffer._contents += ", ";
  102385. t1 = buffer;
  102386. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  102387. t1._contents += t2;
  102388. }
  102389. } catch (exception) {
  102390. t1 = A.unwrapException(exception);
  102391. if (type$.SassRuntimeException_2._is(t1)) {
  102392. error = t1;
  102393. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  102394. throw exception;
  102395. 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));
  102396. } else
  102397. throw exception;
  102398. }
  102399. t1 = buffer;
  102400. t2 = A.Primitives_stringFromCharCode(41);
  102401. t1._contents += t2;
  102402. t2 = buffer._contents;
  102403. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  102404. } else
  102405. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  102406. },
  102407. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  102408. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  102409. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102410. oldCallableNode = _this._evaluate0$_callableNode;
  102411. _this._evaluate0$_callableNode = nodeWithSpan;
  102412. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  102413. _box_0.callback = _box_0.overload = null;
  102414. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  102415. _box_0.overload = _0_0._0;
  102416. _box_0.callback = _0_0._1;
  102417. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  102418. parameters = _box_0.overload.parameters;
  102419. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  102420. parameter = parameters[i];
  102421. t2 = evaluated._values[2];
  102422. t3 = evaluated._values[0].remove$1(0, parameter.name);
  102423. if (t3 == null) {
  102424. t3 = parameter.defaultValue;
  102425. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  102426. }
  102427. t2.push(t3);
  102428. }
  102429. if (_box_0.overload.restParameter != null) {
  102430. if (evaluated._values[2].length > t1) {
  102431. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  102432. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  102433. } else
  102434. rest = B.List_empty22;
  102435. t1 = evaluated._values[0];
  102436. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  102437. evaluated._values[2].push(argumentList);
  102438. } else
  102439. argumentList = null;
  102440. result = null;
  102441. try {
  102442. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  102443. } catch (exception) {
  102444. t1 = A.unwrapException(exception);
  102445. if (t1 instanceof A.SassException0)
  102446. throw exception;
  102447. else {
  102448. error = t1;
  102449. stackTrace = A.getTraceFromException(exception);
  102450. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  102451. }
  102452. }
  102453. _this._evaluate0$_callableNode = oldCallableNode;
  102454. if (argumentList == null)
  102455. return result;
  102456. if (evaluated._values[0].__js_helper$_length === 0)
  102457. return result;
  102458. if (argumentList._argument_list$_wereKeywordsAccessed)
  102459. return result;
  102460. 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));
  102461. },
  102462. _evaluate0$_evaluateArguments$1($arguments) {
  102463. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  102464. positional = A._setArrayType([], type$.JSArray_Value_2),
  102465. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  102466. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102467. expression = t1[_i];
  102468. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  102469. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  102470. positionalNodes.push(nodeForSpan);
  102471. }
  102472. t1 = type$.String;
  102473. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  102474. t2 = type$.AstNode_2;
  102475. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102476. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102477. t4 = t3.get$current(t3);
  102478. $name = t4._0;
  102479. value = t4._1;
  102480. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  102481. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  102482. namedNodes.$indexSet(0, $name, nodeForSpan);
  102483. }
  102484. restArgs = $arguments.rest;
  102485. if (restArgs == null)
  102486. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  102487. rest = restArgs.accept$1(_this);
  102488. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  102489. if (rest instanceof A.SassMap0) {
  102490. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  102491. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102492. for (t4 = rest._map0$_contents, t4 = t4.get$keys(t4), t4 = t4.get$iterator(t4), t5 = type$.SassString_2; t4.moveNext$0();)
  102493. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  102494. namedNodes.addAll$1(0, t3);
  102495. separator = B.ListSeparator_undecided_null_undecided0;
  102496. } else if (rest instanceof A.SassList0) {
  102497. t3 = rest._list1$_contents;
  102498. 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>")));
  102499. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  102500. separator = rest._list1$_separator;
  102501. if (rest instanceof A.SassArgumentList0) {
  102502. rest._argument_list$_wereKeywordsAccessed = true;
  102503. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  102504. }
  102505. } else {
  102506. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  102507. positionalNodes.push(restNodeForSpan);
  102508. separator = B.ListSeparator_undecided_null_undecided0;
  102509. }
  102510. keywordRestArgs = $arguments.keywordRest;
  102511. if (keywordRestArgs == null)
  102512. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102513. keywordRest = keywordRestArgs.accept$1(_this);
  102514. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  102515. if (keywordRest instanceof A.SassMap0) {
  102516. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  102517. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102518. for (t2 = keywordRest._map0$_contents, t2 = t2.get$keys(t2), t2 = t2.get$iterator(t2), t3 = type$.SassString_2; t2.moveNext$0();)
  102519. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  102520. namedNodes.addAll$1(0, t1);
  102521. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102522. } else
  102523. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  102524. },
  102525. _evaluate0$_evaluateMacroArguments$1(invocation) {
  102526. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  102527. t1 = invocation.$arguments,
  102528. restArgs_ = t1.rest;
  102529. if (restArgs_ == null)
  102530. return new A._Record_2(t1.positional, t1.named);
  102531. t2 = t1.positional;
  102532. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102533. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  102534. rest = restArgs_.accept$1(_this);
  102535. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  102536. if (rest instanceof A.SassMap0)
  102537. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  102538. else if (rest instanceof A.SassList0) {
  102539. t2 = rest._list1$_contents;
  102540. 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>")));
  102541. if (rest instanceof A.SassArgumentList0) {
  102542. rest._argument_list$_wereKeywordsAccessed = true;
  102543. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  102544. }
  102545. } else
  102546. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  102547. keywordRestArgs_ = t1.keywordRest;
  102548. if (keywordRestArgs_ == null)
  102549. return new A._Record_2(positional, named);
  102550. keywordRest = keywordRestArgs_.accept$1(_this);
  102551. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  102552. if (keywordRest instanceof A.SassMap0) {
  102553. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  102554. return new A._Record_2(positional, named);
  102555. } else
  102556. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  102557. },
  102558. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  102559. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  102560. },
  102561. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  102562. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  102563. },
  102564. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  102565. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  102566. },
  102567. visitSelectorExpression$1(_, node) {
  102568. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  102569. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  102570. return t1 == null ? B.C__SassNull0 : t1;
  102571. },
  102572. visitStringExpression$1(_, node) {
  102573. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  102574. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102575. _this._evaluate0$_inSupportsDeclaration = false;
  102576. t1 = A._setArrayType([], type$.JSArray_String);
  102577. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102578. value = t2[_i];
  102579. $label0$0: {
  102580. if (typeof value == "string") {
  102581. t4 = value;
  102582. break $label0$0;
  102583. }
  102584. if (value instanceof A.Expression0) {
  102585. _0_0 = value.accept$1(_this);
  102586. $label1$1: {
  102587. if (_0_0 instanceof A.SassString0) {
  102588. text = _0_0._string0$_text;
  102589. t4 = text;
  102590. break $label1$1;
  102591. }
  102592. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  102593. break $label1$1;
  102594. }
  102595. break $label0$0;
  102596. }
  102597. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  102598. }
  102599. t1.push(t4);
  102600. }
  102601. t1 = B.JSArray_methods.join$0(t1);
  102602. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102603. return new A.SassString0(t1, node.hasQuotes);
  102604. },
  102605. visitSupportsExpression$1(_, expression) {
  102606. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  102607. },
  102608. visitCssAtRule$1(node) {
  102609. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  102610. if (_this._evaluate0$_declarationName != null)
  102611. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  102612. if (node.isChildless) {
  102613. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  102614. return;
  102615. }
  102616. wasInKeyframes = _this._evaluate0$_inKeyframes;
  102617. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  102618. t1 = node.name;
  102619. if (A.unvendor0(t1.value) === "keyframes")
  102620. _this._evaluate0$_inKeyframes = true;
  102621. else
  102622. _this._evaluate0$_inUnknownAtRule = true;
  102623. _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);
  102624. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  102625. _this._evaluate0$_inKeyframes = wasInKeyframes;
  102626. },
  102627. visitCssComment$1(node) {
  102628. var _this = this,
  102629. _s8_ = "__parent",
  102630. _s13_ = "_endOfImports";
  102631. 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))
  102632. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102633. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  102634. },
  102635. visitCssDeclaration$1(node) {
  102636. 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));
  102637. },
  102638. visitCssImport$1(node) {
  102639. var t1, _this = this,
  102640. _s8_ = "__parent",
  102641. _s5_ = "_root",
  102642. _s13_ = "_endOfImports",
  102643. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  102644. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  102645. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  102646. 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)) {
  102647. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  102648. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102649. } else {
  102650. t1 = _this._evaluate0$_outOfOrderImports;
  102651. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  102652. }
  102653. },
  102654. visitCssKeyframeBlock$1(node) {
  102655. 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);
  102656. },
  102657. visitCssMediaRule$1(node) {
  102658. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102659. if (_this._evaluate0$_declarationName != null)
  102660. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102661. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  102662. t1 = mergedQueries == null;
  102663. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102664. return;
  102665. if (t1)
  102666. mergedSources = B.Set_empty6;
  102667. else {
  102668. t2 = _this._evaluate0$_mediaQuerySources;
  102669. t2.toString;
  102670. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102671. t3 = _this._evaluate0$_mediaQueries;
  102672. t3.toString;
  102673. t2.addAll$1(0, t3);
  102674. t2.addAll$1(0, node.queries);
  102675. mergedSources = t2;
  102676. }
  102677. t1 = t1 ? node.queries : mergedQueries;
  102678. _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);
  102679. },
  102680. visitCssStyleRule$1(node) {
  102681. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  102682. _s8_ = "__parent";
  102683. if (_this._evaluate0$_declarationName != null)
  102684. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102685. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102686. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102687. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  102688. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102689. _0_0 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102690. $label0$0: {
  102691. if (_0_0 == null) {
  102692. t1 = true;
  102693. break $label0$0;
  102694. }
  102695. if (_0_0.fromPlainCss) {
  102696. t1 = false;
  102697. break $label0$0;
  102698. }
  102699. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  102700. break $label0$0;
  102701. }
  102702. t2 = node._style_rule0$_selector._box0$_inner;
  102703. if (t1) {
  102704. t2 = t2.value;
  102705. t3 = styleRule == null ? _null : styleRule.originalSelector;
  102706. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  102707. } else
  102708. originalSelector = t2.value;
  102709. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  102710. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102711. _this._evaluate0$_atRootExcludingStyleRule = false;
  102712. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  102713. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102714. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102715. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  102716. t2 = J.getInterceptor$asx(t1);
  102717. _1_1 = t2.get$length(t1);
  102718. if (_1_1 >= 1) {
  102719. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  102720. t1 = styleRule == null;
  102721. } else {
  102722. lastChild = _null;
  102723. t1 = false;
  102724. }
  102725. if (t1)
  102726. lastChild.isGroupEnd = true;
  102727. },
  102728. visitCssStylesheet$1(node) {
  102729. var t1;
  102730. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  102731. t1.get$current(t1).accept$1(this);
  102732. },
  102733. visitCssSupportsRule$1(node) {
  102734. var _this = this;
  102735. if (_this._evaluate0$_declarationName != null)
  102736. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102737. _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);
  102738. },
  102739. _evaluate0$_handleReturn$1$2(list, callback) {
  102740. var t1, _i, _0_0;
  102741. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  102742. _0_0 = callback.call$1(list[_i]);
  102743. if (_0_0 != null)
  102744. return _0_0;
  102745. }
  102746. return null;
  102747. },
  102748. _evaluate0$_handleReturn$2(list, callback) {
  102749. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  102750. },
  102751. _evaluate0$_withEnvironment$1$2(environment, callback) {
  102752. var result,
  102753. oldEnvironment = this._evaluate0$_environment;
  102754. this._evaluate0$_environment = environment;
  102755. result = callback.call$0();
  102756. this._evaluate0$_environment = oldEnvironment;
  102757. return result;
  102758. },
  102759. _evaluate0$_withEnvironment$2(environment, callback) {
  102760. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  102761. },
  102762. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  102763. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  102764. t1 = trim ? A.trimAscii0(result, true) : result;
  102765. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  102766. },
  102767. _evaluate0$_interpolationToValue$1(interpolation) {
  102768. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  102769. },
  102770. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  102771. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  102772. },
  102773. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  102774. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  102775. },
  102776. _evaluate0$_performInterpolation$1(interpolation) {
  102777. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  102778. },
  102779. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  102780. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  102781. map = _0_0._1;
  102782. map.toString;
  102783. return new A._Record_2(_0_0._0, map);
  102784. },
  102785. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  102786. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  102787. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  102788. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102789. _this._evaluate0$_inSupportsDeclaration = false;
  102790. 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) {
  102791. value = t1[_i];
  102792. if (!first)
  102793. if (!t4)
  102794. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  102795. if (typeof value == "string") {
  102796. t7 += value;
  102797. continue;
  102798. }
  102799. t3._as(value);
  102800. result = value.accept$1(_this);
  102801. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  102802. result0 = A.List_List$from([""], false, t6);
  102803. result0.$flags = 3;
  102804. t8 = $.$get$namesByColor0();
  102805. _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));
  102806. }
  102807. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  102808. }
  102809. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102810. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  102811. },
  102812. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  102813. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  102814. },
  102815. _evaluate0$_serialize$2(value, nodeWithSpan) {
  102816. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  102817. },
  102818. _evaluate0$_expressionNode$1(expression) {
  102819. var t1;
  102820. if (expression instanceof A.VariableExpression0) {
  102821. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  102822. return t1 == null ? expression : t1;
  102823. } else
  102824. return expression;
  102825. },
  102826. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  102827. var oldParent, result, _this = this;
  102828. _this._evaluate0$_addChild$2$through(node, through);
  102829. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  102830. _this._evaluate0$__parent = node;
  102831. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  102832. _this._evaluate0$__parent = oldParent;
  102833. return result;
  102834. },
  102835. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  102836. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  102837. },
  102838. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  102839. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  102840. },
  102841. _evaluate0$_addChild$2$through(node, through) {
  102842. var _0_0, grandparent, t1,
  102843. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  102844. if (through != null) {
  102845. for (; through.call$1($parent); $parent = _0_0) {
  102846. _0_0 = $parent._node$_parent;
  102847. if (_0_0 == null)
  102848. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  102849. }
  102850. if ($parent.get$hasFollowingSibling()) {
  102851. grandparent = $parent._node$_parent;
  102852. t1 = grandparent.children;
  102853. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  102854. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  102855. else {
  102856. $parent = $parent.copyWithoutChildren$0();
  102857. grandparent.addChild$1($parent);
  102858. }
  102859. }
  102860. }
  102861. $parent.addChild$1(node);
  102862. },
  102863. _evaluate0$_addChild$1(node) {
  102864. return this._evaluate0$_addChild$2$through(node, null);
  102865. },
  102866. _evaluate0$_withStyleRule$1$2(rule, callback) {
  102867. var result,
  102868. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  102869. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  102870. result = callback.call$0();
  102871. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  102872. return result;
  102873. },
  102874. _evaluate0$_withStyleRule$2(rule, callback) {
  102875. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  102876. },
  102877. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  102878. var result, _this = this,
  102879. oldMediaQueries = _this._evaluate0$_mediaQueries,
  102880. oldSources = _this._evaluate0$_mediaQuerySources;
  102881. _this._evaluate0$_mediaQueries = queries;
  102882. _this._evaluate0$_mediaQuerySources = sources;
  102883. result = callback.call$0();
  102884. _this._evaluate0$_mediaQueries = oldMediaQueries;
  102885. _this._evaluate0$_mediaQuerySources = oldSources;
  102886. return result;
  102887. },
  102888. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  102889. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  102890. },
  102891. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  102892. var oldMember, result, _this = this,
  102893. t1 = _this._evaluate0$_stack;
  102894. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  102895. oldMember = _this._evaluate0$_member;
  102896. _this._evaluate0$_member = member;
  102897. result = callback.call$0();
  102898. _this._evaluate0$_member = oldMember;
  102899. t1.pop();
  102900. return result;
  102901. },
  102902. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  102903. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  102904. },
  102905. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  102906. var t1;
  102907. if (value instanceof A.SassNumber0)
  102908. t1 = value.asSlash != null;
  102909. else
  102910. t1 = false;
  102911. if (t1)
  102912. 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);
  102913. return value.withoutSlash$0();
  102914. },
  102915. _evaluate0$_stackFrame$2(member, span) {
  102916. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  102917. },
  102918. _evaluate0$_stackTrace$1(span) {
  102919. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  102920. t1 = A._setArrayType([], type$.JSArray_Frame);
  102921. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  102922. t4 = t2[_i];
  102923. nodeWithSpan = t4._1;
  102924. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  102925. }
  102926. if (span != null)
  102927. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  102928. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  102929. },
  102930. _evaluate0$_stackTrace$0() {
  102931. return this._evaluate0$_stackTrace$1(null);
  102932. },
  102933. _evaluate0$_warn$3(message, span, deprecation) {
  102934. var trace, t1, _this = this;
  102935. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  102936. return;
  102937. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  102938. return;
  102939. trace = _this._evaluate0$_stackTrace$1(span);
  102940. t1 = _this._evaluate0$_logger;
  102941. if (deprecation == null)
  102942. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  102943. else
  102944. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  102945. },
  102946. _evaluate0$_warn$2(message, span) {
  102947. return this._evaluate0$_warn$3(message, span, null);
  102948. },
  102949. _evaluate0$_exception$2(message, span) {
  102950. var t1, t2;
  102951. if (span == null) {
  102952. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102953. t1 = t1.get$span(t1);
  102954. } else
  102955. t1 = span;
  102956. t2 = this._evaluate0$_stackTrace$1(span);
  102957. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  102958. },
  102959. _evaluate0$_exception$1(message) {
  102960. return this._evaluate0$_exception$2(message, null);
  102961. },
  102962. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  102963. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  102964. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  102965. },
  102966. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102967. var error, stackTrace, t1, exception;
  102968. try {
  102969. t1 = callback.call$0();
  102970. return t1;
  102971. } catch (exception) {
  102972. t1 = A.unwrapException(exception);
  102973. if (t1 instanceof A.SassScriptException0) {
  102974. error = t1;
  102975. stackTrace = A.getTraceFromException(exception);
  102976. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  102977. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  102978. } else
  102979. throw exception;
  102980. }
  102981. },
  102982. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  102983. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  102984. },
  102985. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  102986. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  102987. },
  102988. _evaluate0$_addExceptionTrace$1$1(callback) {
  102989. var error, stackTrace, t1, exception, t2;
  102990. try {
  102991. t1 = callback.call$0();
  102992. return t1;
  102993. } catch (exception) {
  102994. t1 = A.unwrapException(exception);
  102995. if (type$.SassRuntimeException_2._is(t1))
  102996. throw exception;
  102997. else if (t1 instanceof A.SassException0) {
  102998. error = t1;
  102999. stackTrace = A.getTraceFromException(exception);
  103000. t1 = error;
  103001. t2 = J.getInterceptor$z(t1);
  103002. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  103003. } else
  103004. throw exception;
  103005. }
  103006. },
  103007. _evaluate0$_addExceptionTrace$1(callback) {
  103008. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  103009. },
  103010. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  103011. var error, stackTrace, t1, exception, t2, t3;
  103012. try {
  103013. t1 = callback.call$0();
  103014. return t1;
  103015. } catch (exception) {
  103016. t1 = A.unwrapException(exception);
  103017. if (type$.SassRuntimeException_2._is(t1)) {
  103018. error = t1;
  103019. stackTrace = A.getTraceFromException(exception);
  103020. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  103021. throw exception;
  103022. t1 = error._span_exception$_message;
  103023. t2 = nodeWithSpan.get$span(nodeWithSpan);
  103024. t3 = this._evaluate0$_stackTrace$0();
  103025. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  103026. } else
  103027. throw exception;
  103028. }
  103029. },
  103030. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  103031. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  103032. },
  103033. _evaluate0$_getErrorMessage$1(error) {
  103034. var t1, exception;
  103035. if (type$.Error._is(error))
  103036. return error.toString$0(0);
  103037. try {
  103038. t1 = A._asString(J.get$message$x(error));
  103039. return t1;
  103040. } catch (exception) {
  103041. t1 = J.toString$0$(error);
  103042. return t1;
  103043. }
  103044. },
  103045. $isExpressionVisitor: 1,
  103046. $isStatementVisitor: 1
  103047. };
  103048. A._EvaluateVisitor_closure25.prototype = {
  103049. call$1($arguments) {
  103050. var module, t2,
  103051. t1 = J.getInterceptor$asx($arguments),
  103052. variable = t1.$index($arguments, 0).assertString$1("name");
  103053. t1 = t1.$index($arguments, 1).get$realNull();
  103054. module = t1 == null ? null : t1.assertString$1("module");
  103055. t1 = this.$this._evaluate0$_environment;
  103056. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103057. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103058. },
  103059. $signature: 11
  103060. };
  103061. A._EvaluateVisitor_closure26.prototype = {
  103062. call$1($arguments) {
  103063. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  103064. t1 = this.$this._evaluate0$_environment;
  103065. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103066. },
  103067. $signature: 11
  103068. };
  103069. A._EvaluateVisitor_closure27.prototype = {
  103070. call$1($arguments) {
  103071. var module, t2, t3, t4,
  103072. t1 = J.getInterceptor$asx($arguments),
  103073. variable = t1.$index($arguments, 0).assertString$1("name");
  103074. t1 = t1.$index($arguments, 1).get$realNull();
  103075. module = t1 == null ? null : t1.assertString$1("module");
  103076. t1 = this.$this;
  103077. t2 = t1._evaluate0$_environment;
  103078. t3 = variable._string0$_text;
  103079. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  103080. 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;
  103081. },
  103082. $signature: 11
  103083. };
  103084. A._EvaluateVisitor_closure28.prototype = {
  103085. call$1($arguments) {
  103086. var module, t2,
  103087. t1 = J.getInterceptor$asx($arguments),
  103088. variable = t1.$index($arguments, 0).assertString$1("name");
  103089. t1 = t1.$index($arguments, 1).get$realNull();
  103090. module = t1 == null ? null : t1.assertString$1("module");
  103091. t1 = this.$this._evaluate0$_environment;
  103092. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103093. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103094. },
  103095. $signature: 11
  103096. };
  103097. A._EvaluateVisitor_closure29.prototype = {
  103098. call$1($arguments) {
  103099. var t1 = this.$this._evaluate0$_environment;
  103100. if (!t1._environment0$_inMixin)
  103101. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  103102. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103103. },
  103104. $signature: 11
  103105. };
  103106. A._EvaluateVisitor_closure30.prototype = {
  103107. call$1($arguments) {
  103108. var t2, t3, t4,
  103109. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103110. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  103111. if (module == null)
  103112. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  103113. t1 = type$.Value_2;
  103114. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103115. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103116. t4 = t3.get$current(t3);
  103117. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  103118. }
  103119. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103120. },
  103121. $signature: 38
  103122. };
  103123. A._EvaluateVisitor_closure31.prototype = {
  103124. call$1($arguments) {
  103125. var t3, t4, t5,
  103126. t1 = this.$this,
  103127. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103128. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103129. if (module == null)
  103130. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103131. t2 = type$.Value_2;
  103132. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103133. 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();) {
  103134. t5 = t4.get$current(t4);
  103135. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  103136. }
  103137. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103138. },
  103139. $signature: 38
  103140. };
  103141. A._EvaluateVisitor_closure32.prototype = {
  103142. call$1($arguments) {
  103143. var t3, t4, t5,
  103144. t1 = this.$this,
  103145. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103146. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103147. if (module == null)
  103148. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103149. t2 = type$.Value_2;
  103150. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103151. 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();) {
  103152. t5 = t4.get$current(t4);
  103153. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  103154. }
  103155. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103156. },
  103157. $signature: 38
  103158. };
  103159. A._EvaluateVisitor_closure33.prototype = {
  103160. call$1($arguments) {
  103161. var module, t2, callable,
  103162. t1 = J.getInterceptor$asx($arguments),
  103163. $name = t1.$index($arguments, 0).assertString$1("name"),
  103164. css = t1.$index($arguments, 1).get$isTruthy();
  103165. t1 = t1.$index($arguments, 2).get$realNull();
  103166. module = t1 == null ? null : t1.assertString$1("module");
  103167. if (css) {
  103168. if (module != null)
  103169. throw A.wrapException(string$.x24css_a);
  103170. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._evaluate0$_compileContext);
  103171. }
  103172. t1 = this.$this;
  103173. t2 = t1._evaluate0$_callableNode;
  103174. t2.toString;
  103175. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  103176. if (callable == null)
  103177. throw A.wrapException("Function not found: " + $name.toString$0(0));
  103178. return new A.SassFunction0(callable, t1._evaluate0$_compileContext);
  103179. },
  103180. $signature: 205
  103181. };
  103182. A._EvaluateVisitor__closure10.prototype = {
  103183. call$0() {
  103184. var local,
  103185. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103186. t1 = this.module,
  103187. namespace = t1 == null ? null : t1._string0$_text;
  103188. t1 = this.$this;
  103189. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  103190. if (local != null || namespace != null)
  103191. return local;
  103192. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  103193. },
  103194. $signature: 98
  103195. };
  103196. A._EvaluateVisitor_closure34.prototype = {
  103197. call$1($arguments) {
  103198. var module, t2, callable,
  103199. t1 = J.getInterceptor$asx($arguments),
  103200. $name = t1.$index($arguments, 0).assertString$1("name");
  103201. t1 = t1.$index($arguments, 1).get$realNull();
  103202. module = t1 == null ? null : t1.assertString$1("module");
  103203. t1 = this.$this;
  103204. t2 = t1._evaluate0$_callableNode;
  103205. t2.toString;
  103206. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  103207. if (callable == null)
  103208. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  103209. return new A.SassMixin0(callable, t1._evaluate0$_compileContext);
  103210. },
  103211. $signature: 206
  103212. };
  103213. A._EvaluateVisitor__closure9.prototype = {
  103214. call$0() {
  103215. var t1 = this.$this._evaluate0$_environment,
  103216. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103217. t3 = this.module;
  103218. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  103219. },
  103220. $signature: 98
  103221. };
  103222. A._EvaluateVisitor_closure35.prototype = {
  103223. call$1($arguments) {
  103224. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  103225. t1 = J.getInterceptor$asx($arguments),
  103226. $function = t1.$index($arguments, 0),
  103227. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103228. t1 = this.$this;
  103229. t2 = t1._evaluate0$_callableNode;
  103230. t2.toString;
  103231. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  103232. t4 = type$.String;
  103233. t5 = type$.Expression_2;
  103234. t6 = t2.get$span(t2);
  103235. t7 = t2.get$span(t2);
  103236. args._argument_list$_wereKeywordsAccessed = true;
  103237. t8 = args._argument_list$_keywords;
  103238. if (t8.get$isEmpty(t8))
  103239. t2 = null;
  103240. else {
  103241. t9 = type$.Value_2;
  103242. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  103243. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  103244. t11 = t8.get$current(t8);
  103245. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  103246. }
  103247. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  103248. }
  103249. 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);
  103250. if ($function instanceof A.SassString0) {
  103251. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  103252. callableNode = t1._evaluate0$_callableNode;
  103253. t2 = $function._string0$_text;
  103254. t3 = callableNode.get$span(callableNode);
  103255. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103256. }
  103257. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103258. if (type$.Callable_2._is(callable)) {
  103259. t2 = t1._evaluate0$_callableNode;
  103260. t2.toString;
  103261. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103262. } else
  103263. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103264. },
  103265. $signature: 3
  103266. };
  103267. A._EvaluateVisitor_closure36.prototype = {
  103268. call$1($arguments) {
  103269. var withMap, t2, values, configuration, t3,
  103270. t1 = J.getInterceptor$asx($arguments),
  103271. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103272. t1 = t1.$index($arguments, 1).get$realNull();
  103273. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103274. t1 = this.$this;
  103275. t2 = t1._evaluate0$_callableNode;
  103276. t2.toString;
  103277. if (withMap != null) {
  103278. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103279. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  103280. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103281. } else
  103282. configuration = B.Configuration_Map_empty_null0;
  103283. t3 = t2.get$span(t2);
  103284. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103285. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103286. },
  103287. $signature: 239
  103288. };
  103289. A._EvaluateVisitor__closure7.prototype = {
  103290. call$2(variable, value) {
  103291. var t1 = variable.assertString$1("with key"),
  103292. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103293. t1 = this.values;
  103294. if (t1.containsKey$1($name))
  103295. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103296. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  103297. },
  103298. $signature: 107
  103299. };
  103300. A._EvaluateVisitor__closure8.prototype = {
  103301. call$2(module, _) {
  103302. var t1 = this.$this;
  103303. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103304. },
  103305. $signature: 89
  103306. };
  103307. A._EvaluateVisitor_closure37.prototype = {
  103308. call$1($arguments) {
  103309. var callableNode, t2, t3, t4, t5, callable, $content,
  103310. t1 = J.getInterceptor$asx($arguments),
  103311. mixin = t1.$index($arguments, 0),
  103312. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103313. t1 = this.$this;
  103314. callableNode = t1._evaluate0$_callableNode;
  103315. t2 = callableNode.get$span(callableNode);
  103316. t3 = callableNode.get$span(callableNode);
  103317. t4 = type$.Expression_2;
  103318. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  103319. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103320. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103321. $content = t1._evaluate0$_environment._environment0$_content;
  103322. if (type$.Callable_2._is(callable))
  103323. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  103324. else
  103325. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  103326. },
  103327. $signature: 239
  103328. };
  103329. A._EvaluateVisitor_run_closure1.prototype = {
  103330. call$0() {
  103331. var module, t2, _this = this,
  103332. t1 = _this.node,
  103333. _0_0 = t1.span.file.url,
  103334. url = null;
  103335. if (_0_0 != null) {
  103336. url = _0_0;
  103337. t2 = _this.$this;
  103338. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  103339. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  103340. t2._evaluate0$_loadedUrls.add$1(0, url);
  103341. }
  103342. t2 = _this.$this;
  103343. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  103344. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  103345. },
  103346. $signature: 453
  103347. };
  103348. A._EvaluateVisitor_run__closure1.prototype = {
  103349. call$0() {
  103350. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  103351. },
  103352. $signature: 454
  103353. };
  103354. A._EvaluateVisitor__loadModule_closure3.prototype = {
  103355. call$0() {
  103356. return this.callback.call$2(this._box_0.builtInModule, false);
  103357. },
  103358. $signature: 0
  103359. };
  103360. A._EvaluateVisitor__loadModule_closure4.prototype = {
  103361. call$0() {
  103362. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  103363. t2 = _this.$this,
  103364. t3 = _this.nodeWithSpan,
  103365. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  103366. stylesheet = _1_0._0;
  103367. importer = _1_0._1;
  103368. canonicalUrl = stylesheet.span.file.url;
  103369. if (canonicalUrl != null) {
  103370. t4 = t2._evaluate0$_activeModules;
  103371. if (t4.containsKey$1(canonicalUrl)) {
  103372. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  103373. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  103374. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  103375. } else
  103376. t4.$indexSet(0, canonicalUrl, t3);
  103377. }
  103378. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  103379. oldInDependency = t2._evaluate0$_inDependency;
  103380. t2._evaluate0$_inDependency = _1_0._2;
  103381. t1.module = null;
  103382. try {
  103383. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  103384. } finally {
  103385. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  103386. t2._evaluate0$_inDependency = oldInDependency;
  103387. }
  103388. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  103389. },
  103390. $signature: 1
  103391. };
  103392. A._EvaluateVisitor__loadModule__closure3.prototype = {
  103393. call$1(previousLoad) {
  103394. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  103395. },
  103396. $signature: 99
  103397. };
  103398. A._EvaluateVisitor__loadModule__closure4.prototype = {
  103399. call$0() {
  103400. return this.callback.call$2(this._box_1.module, this.firstLoad);
  103401. },
  103402. $signature: 0
  103403. };
  103404. A._EvaluateVisitor__execute_closure1.prototype = {
  103405. call$0() {
  103406. var t3, t4, t5, t6, _this = this,
  103407. t1 = _this.$this,
  103408. oldImporter = t1._evaluate0$_importer,
  103409. oldStylesheet = t1._evaluate0$__stylesheet,
  103410. oldRoot = t1._evaluate0$__root,
  103411. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  103412. oldParent = t1._evaluate0$__parent,
  103413. oldEndOfImports = t1._evaluate0$__endOfImports,
  103414. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103415. oldExtensionStore = t1._evaluate0$__extensionStore,
  103416. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  103417. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  103418. oldMediaQueries = t1._evaluate0$_mediaQueries,
  103419. oldDeclarationName = t1._evaluate0$_declarationName,
  103420. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  103421. oldInKeyframes = t1._evaluate0$_inKeyframes,
  103422. oldConfiguration = t1._evaluate0$_configuration;
  103423. t1._evaluate0$_importer = _this.importer;
  103424. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  103425. t4 = t3.span;
  103426. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  103427. t1._evaluate0$__endOfImports = 0;
  103428. t1._evaluate0$_outOfOrderImports = null;
  103429. t1._evaluate0$__extensionStore = _this.extensionStore;
  103430. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  103431. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  103432. t6 = _this.configuration;
  103433. if (t6 != null)
  103434. t1._evaluate0$_configuration = t6;
  103435. t1.visitStylesheet$1(0, t3);
  103436. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  103437. _this.css.__late_helper$_value = t3;
  103438. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  103439. t1._evaluate0$_importer = oldImporter;
  103440. t1._evaluate0$__stylesheet = oldStylesheet;
  103441. t1._evaluate0$__root = oldRoot;
  103442. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  103443. t1._evaluate0$__parent = oldParent;
  103444. t1._evaluate0$__endOfImports = oldEndOfImports;
  103445. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103446. t1._evaluate0$__extensionStore = oldExtensionStore;
  103447. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  103448. t1._evaluate0$_mediaQueries = oldMediaQueries;
  103449. t1._evaluate0$_declarationName = oldDeclarationName;
  103450. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  103451. t1._evaluate0$_atRootExcludingStyleRule = t2;
  103452. t1._evaluate0$_inKeyframes = oldInKeyframes;
  103453. t1._evaluate0$_configuration = oldConfiguration;
  103454. },
  103455. $signature: 1
  103456. };
  103457. A._EvaluateVisitor__combineCss_closure3.prototype = {
  103458. call$1(module) {
  103459. return module.get$transitivelyContainsCss();
  103460. },
  103461. $signature: 92
  103462. };
  103463. A._EvaluateVisitor__combineCss_closure4.prototype = {
  103464. call$1(target) {
  103465. return !this.selectors.contains$1(0, target);
  103466. },
  103467. $signature: 13
  103468. };
  103469. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  103470. call$1(module) {
  103471. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  103472. if (!_this.seen.add$1(0, module))
  103473. return;
  103474. if (_this.clone)
  103475. module = module.cloneCss$0();
  103476. 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) {
  103477. upstream = t1[_i];
  103478. if (upstream.get$transitivelyContainsCss()) {
  103479. _1_0 = module.get$preModuleComments().$index(0, upstream);
  103480. if (_1_0 != null)
  103481. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  103482. _this.call$1(upstream);
  103483. }
  103484. }
  103485. _this.sorted.addFirst$1(module);
  103486. t1 = module.get$css(module);
  103487. statements = t1.get$children(t1);
  103488. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  103489. t1 = J.getInterceptor$ax(statements);
  103490. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  103491. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  103492. },
  103493. $signature: 455
  103494. };
  103495. A._EvaluateVisitor__extendModules_closure3.prototype = {
  103496. call$1(target) {
  103497. return !this.originalSelectors.contains$1(0, target);
  103498. },
  103499. $signature: 13
  103500. };
  103501. A._EvaluateVisitor__extendModules_closure4.prototype = {
  103502. call$0() {
  103503. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  103504. },
  103505. $signature: 209
  103506. };
  103507. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  103508. call$0() {
  103509. var t1, t2, t3, _i;
  103510. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103511. t1[_i].accept$1(t3);
  103512. },
  103513. $signature: 1
  103514. };
  103515. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  103516. call$0() {
  103517. var t1, t2, t3, _i;
  103518. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103519. t1[_i].accept$1(t3);
  103520. },
  103521. $signature: 0
  103522. };
  103523. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  103524. call$1(callback) {
  103525. var t1 = this.$this,
  103526. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  103527. t1._evaluate0$__parent = this.newParent;
  103528. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  103529. t1._evaluate0$__parent = oldParent;
  103530. },
  103531. $signature: 37
  103532. };
  103533. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  103534. call$1(callback) {
  103535. var t1 = this.$this,
  103536. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  103537. t1._evaluate0$_atRootExcludingStyleRule = true;
  103538. this.innerScope.call$1(callback);
  103539. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103540. },
  103541. $signature: 37
  103542. };
  103543. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  103544. call$1(callback) {
  103545. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  103546. },
  103547. $signature: 37
  103548. };
  103549. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  103550. call$0() {
  103551. return this.innerScope.call$1(this.callback);
  103552. },
  103553. $signature: 1
  103554. };
  103555. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  103556. call$1(callback) {
  103557. var t1 = this.$this,
  103558. wasInKeyframes = t1._evaluate0$_inKeyframes;
  103559. t1._evaluate0$_inKeyframes = false;
  103560. this.innerScope.call$1(callback);
  103561. t1._evaluate0$_inKeyframes = wasInKeyframes;
  103562. },
  103563. $signature: 37
  103564. };
  103565. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  103566. call$1($parent) {
  103567. return $parent instanceof A.ModifiableCssAtRule0;
  103568. },
  103569. $signature: 210
  103570. };
  103571. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  103572. call$1(callback) {
  103573. var t1 = this.$this,
  103574. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  103575. t1._evaluate0$_inUnknownAtRule = false;
  103576. this.innerScope.call$1(callback);
  103577. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103578. },
  103579. $signature: 37
  103580. };
  103581. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  103582. call$0() {
  103583. var t1, t2, t3, _i;
  103584. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103585. t1[_i].accept$1(t3);
  103586. return null;
  103587. },
  103588. $signature: 1
  103589. };
  103590. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  103591. call$0() {
  103592. var t1, t2, t3, _i;
  103593. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103594. t1[_i].accept$1(t3);
  103595. },
  103596. $signature: 1
  103597. };
  103598. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  103599. call$1(value) {
  103600. var t1 = this.$this,
  103601. t2 = this.nodeWithSpan;
  103602. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  103603. },
  103604. $signature: 66
  103605. };
  103606. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  103607. call$1(value) {
  103608. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  103609. },
  103610. $signature: 66
  103611. };
  103612. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  103613. call$0() {
  103614. var _this = this,
  103615. t1 = _this.$this;
  103616. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  103617. },
  103618. $signature: 43
  103619. };
  103620. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  103621. call$1(element) {
  103622. var t1;
  103623. this.setVariables.call$1(element);
  103624. t1 = this.$this;
  103625. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  103626. },
  103627. $signature: 240
  103628. };
  103629. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  103630. call$1(child) {
  103631. return child.accept$1(this.$this);
  103632. },
  103633. $signature: 90
  103634. };
  103635. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  103636. call$1(value) {
  103637. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  103638. },
  103639. $signature: 458
  103640. };
  103641. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  103642. call$0() {
  103643. var t2, t3, _i, _this = this,
  103644. t1 = _this.$this,
  103645. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103646. if (styleRule == null || t1._evaluate0$_inKeyframes || _this.name.value === "font-face")
  103647. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103648. t2[_i].accept$1(t1);
  103649. else
  103650. 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);
  103651. },
  103652. $signature: 1
  103653. };
  103654. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  103655. call$0() {
  103656. var t1, t2, t3, _i;
  103657. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103658. t1[_i].accept$1(t3);
  103659. },
  103660. $signature: 1
  103661. };
  103662. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  103663. call$1(node) {
  103664. return node instanceof A.ModifiableCssStyleRule0;
  103665. },
  103666. $signature: 8
  103667. };
  103668. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  103669. call$0() {
  103670. return this.node.from.accept$1(this.$this).assertNumber$0();
  103671. },
  103672. $signature: 241
  103673. };
  103674. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  103675. call$0() {
  103676. return this.node.to.accept$1(this.$this).assertNumber$0();
  103677. },
  103678. $signature: 241
  103679. };
  103680. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  103681. call$0() {
  103682. return this.fromNumber.assertInt$0();
  103683. },
  103684. $signature: 10
  103685. };
  103686. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  103687. call$0() {
  103688. var t1 = this.fromNumber;
  103689. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  103690. },
  103691. $signature: 10
  103692. };
  103693. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  103694. call$0() {
  103695. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  103696. t1 = _this.$this,
  103697. t2 = _this.node,
  103698. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  103699. 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) {
  103700. t7 = t1._evaluate0$_environment;
  103701. t8 = t6.get$numeratorUnits(t6);
  103702. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  103703. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  103704. if (_0_0 != null)
  103705. return _0_0;
  103706. }
  103707. return null;
  103708. },
  103709. $signature: 43
  103710. };
  103711. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  103712. call$1(child) {
  103713. return child.accept$1(this.$this);
  103714. },
  103715. $signature: 90
  103716. };
  103717. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  103718. call$2(module, firstLoad) {
  103719. if (firstLoad)
  103720. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103721. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103722. },
  103723. $signature: 89
  103724. };
  103725. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  103726. call$2(module, firstLoad) {
  103727. if (firstLoad)
  103728. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103729. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103730. },
  103731. $signature: 89
  103732. };
  103733. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  103734. call$0() {
  103735. return A._setArrayType([], type$.JSArray_CssComment_2);
  103736. },
  103737. $signature: 214
  103738. };
  103739. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  103740. call$1(clause) {
  103741. var t1 = this.$this;
  103742. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  103743. },
  103744. $signature: 460
  103745. };
  103746. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  103747. call$0() {
  103748. var t1 = this.$this;
  103749. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  103750. },
  103751. $signature: 43
  103752. };
  103753. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  103754. call$1(child) {
  103755. return child.accept$1(this.$this);
  103756. },
  103757. $signature: 90
  103758. };
  103759. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  103760. call$0() {
  103761. 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 = {};
  103762. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  103763. t1 = this.$this;
  103764. t2 = this.$import;
  103765. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  103766. stylesheet = _box_0.stylesheet = _0_0._0;
  103767. importer = _0_0._1;
  103768. _box_0.importer = importer;
  103769. isDependency = _0_0._2;
  103770. _box_0.isDependency = isDependency;
  103771. url = stylesheet.span.file.url;
  103772. if (url != null) {
  103773. t3 = t1._evaluate0$_activeModules;
  103774. if (t3.containsKey$1(url)) {
  103775. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  103776. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  103777. }
  103778. t3.$indexSet(0, url, t2);
  103779. }
  103780. t2 = stylesheet._stylesheet1$_uses;
  103781. t3 = type$.UnmodifiableListView_UseRule_2;
  103782. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  103783. oldImporter = t1._evaluate0$_importer;
  103784. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  103785. oldInDependency = t1._evaluate0$_inDependency;
  103786. t1._evaluate0$_importer = importer;
  103787. t1._evaluate0$__stylesheet = stylesheet;
  103788. t1._evaluate0$_inDependency = isDependency;
  103789. t1.visitStylesheet$1(0, stylesheet);
  103790. t1._evaluate0$_importer = oldImporter;
  103791. t1._evaluate0$__stylesheet = oldStylesheet;
  103792. t1._evaluate0$_inDependency = oldInDependency;
  103793. t1._evaluate0$_activeModules.remove$1(0, url);
  103794. return;
  103795. }
  103796. t2 = new A.UnmodifiableListView(t2, t3);
  103797. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  103798. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103799. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  103800. } else
  103801. loadsUserDefinedModules = true;
  103802. children = A._Cell$();
  103803. t2 = t1._evaluate0$_environment;
  103804. t3 = type$.String;
  103805. t4 = type$.Module_Callable_2;
  103806. t5 = type$.AstNode_2;
  103807. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  103808. t7 = t2._environment0$_variables;
  103809. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  103810. t8 = t2._environment0$_variableNodes;
  103811. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  103812. t9 = t2._environment0$_functions;
  103813. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  103814. t10 = t2._environment0$_mixins;
  103815. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  103816. 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);
  103817. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  103818. module = environment.toDummyModule$0();
  103819. t1._evaluate0$_environment.importForwards$1(module);
  103820. if (loadsUserDefinedModules) {
  103821. if (module.transitivelyContainsCss)
  103822. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  103823. visitor = new A._ImportedCssVisitor1(t1);
  103824. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  103825. t2.get$current(t2).accept$1(visitor);
  103826. }
  103827. t1._evaluate0$_activeModules.remove$1(0, url);
  103828. },
  103829. $signature: 0
  103830. };
  103831. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  103832. call$1(previousLoad) {
  103833. 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));
  103834. },
  103835. $signature: 99
  103836. };
  103837. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  103838. call$1(rule) {
  103839. return rule.url.get$scheme() !== "sass";
  103840. },
  103841. $signature: 215
  103842. };
  103843. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  103844. call$1(rule) {
  103845. return rule.url.get$scheme() !== "sass";
  103846. },
  103847. $signature: 216
  103848. };
  103849. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  103850. call$0() {
  103851. var t3, t4, _this = this,
  103852. t1 = _this.$this,
  103853. oldImporter = t1._evaluate0$_importer,
  103854. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  103855. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  103856. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  103857. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  103858. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103859. oldConfiguration = t1._evaluate0$_configuration,
  103860. oldInDependency = t1._evaluate0$_inDependency,
  103861. t2 = _this._box_0;
  103862. t1._evaluate0$_importer = t2.importer;
  103863. t3 = t2.stylesheet;
  103864. t1._evaluate0$__stylesheet = t3;
  103865. t4 = _this.loadsUserDefinedModules;
  103866. if (t4) {
  103867. t3 = A.ModifiableCssStylesheet$0(t3.span);
  103868. t1._evaluate0$__root = t3;
  103869. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  103870. t1._evaluate0$__endOfImports = 0;
  103871. t1._evaluate0$_outOfOrderImports = null;
  103872. }
  103873. t1._evaluate0$_inDependency = t2.isDependency;
  103874. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103875. if (!t3.get$isEmpty(t3))
  103876. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  103877. t1.visitStylesheet$1(0, t2.stylesheet);
  103878. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  103879. _this.children.__late_helper$_value = t2;
  103880. t1._evaluate0$_importer = oldImporter;
  103881. t1._evaluate0$__stylesheet = oldStylesheet;
  103882. if (t4) {
  103883. t1._evaluate0$__root = oldRoot;
  103884. t1._evaluate0$__parent = oldParent;
  103885. t1._evaluate0$__endOfImports = oldEndOfImports;
  103886. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103887. }
  103888. t1._evaluate0$_configuration = oldConfiguration;
  103889. t1._evaluate0$_inDependency = oldInDependency;
  103890. },
  103891. $signature: 1
  103892. };
  103893. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  103894. call$0() {
  103895. var _this = this,
  103896. t1 = _this.$this;
  103897. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  103898. },
  103899. $signature: 0
  103900. };
  103901. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  103902. call$0() {
  103903. var _this = this;
  103904. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  103905. },
  103906. $signature: 0
  103907. };
  103908. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  103909. call$0() {
  103910. var _this = this,
  103911. t1 = _this.$this;
  103912. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  103913. },
  103914. $signature: 1
  103915. };
  103916. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  103917. call$0() {
  103918. var t1 = this.$this;
  103919. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  103920. },
  103921. $signature: 0
  103922. };
  103923. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  103924. call$0() {
  103925. var t1, t2, t3, t4, _i;
  103926. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  103927. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  103928. },
  103929. $signature: 0
  103930. };
  103931. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  103932. call$0() {
  103933. return this.statement.accept$1(this.$this);
  103934. },
  103935. $signature: 43
  103936. };
  103937. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  103938. call$0() {
  103939. var t1 = this.node;
  103940. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  103941. },
  103942. $signature: 98
  103943. };
  103944. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  103945. call$1($content) {
  103946. var t1 = this.$this;
  103947. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  103948. },
  103949. $signature: 461
  103950. };
  103951. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  103952. call$0() {
  103953. return this.node.get$spanWithoutContent();
  103954. },
  103955. $signature: 28
  103956. };
  103957. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  103958. call$1(mediaQueries) {
  103959. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  103960. },
  103961. $signature: 104
  103962. };
  103963. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  103964. call$0() {
  103965. var _this = this,
  103966. t1 = _this.$this,
  103967. t2 = _this.mergedQueries;
  103968. if (t2 == null)
  103969. t2 = _this.queries;
  103970. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  103971. },
  103972. $signature: 1
  103973. };
  103974. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  103975. call$0() {
  103976. var t2, t3, _i,
  103977. t1 = this.$this,
  103978. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103979. if (_0_0 != null)
  103980. 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);
  103981. else
  103982. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103983. t2[_i].accept$1(t1);
  103984. },
  103985. $signature: 1
  103986. };
  103987. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  103988. call$0() {
  103989. var t1, t2, t3, _i;
  103990. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103991. t1[_i].accept$1(t3);
  103992. },
  103993. $signature: 1
  103994. };
  103995. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  103996. call$1(node) {
  103997. var t1;
  103998. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  103999. t1 = this.mergedSources;
  104000. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104001. } else
  104002. t1 = true;
  104003. return t1;
  104004. },
  104005. $signature: 8
  104006. };
  104007. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  104008. call$0() {
  104009. var t1, t2, t3, _i;
  104010. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104011. t1[_i].accept$1(t3);
  104012. },
  104013. $signature: 1
  104014. };
  104015. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  104016. call$1(node) {
  104017. return node instanceof A.ModifiableCssStyleRule0;
  104018. },
  104019. $signature: 8
  104020. };
  104021. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  104022. call$0() {
  104023. var t1 = this.$this;
  104024. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  104025. },
  104026. $signature: 1
  104027. };
  104028. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  104029. call$0() {
  104030. var t1, t2, t3, _i;
  104031. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104032. t1[_i].accept$1(t3);
  104033. },
  104034. $signature: 1
  104035. };
  104036. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  104037. call$1(node) {
  104038. return node instanceof A.ModifiableCssStyleRule0;
  104039. },
  104040. $signature: 8
  104041. };
  104042. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  104043. call$1(child) {
  104044. return child instanceof A.ModifiableCssComment0;
  104045. },
  104046. $signature: 8
  104047. };
  104048. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  104049. call$0() {
  104050. var t2, t3, _i,
  104051. t1 = this.$this,
  104052. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104053. if (_0_0 != null)
  104054. 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);
  104055. else
  104056. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104057. t2[_i].accept$1(t1);
  104058. },
  104059. $signature: 1
  104060. };
  104061. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  104062. call$0() {
  104063. var t1, t2, t3, _i;
  104064. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104065. t1[_i].accept$1(t3);
  104066. },
  104067. $signature: 1
  104068. };
  104069. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  104070. call$1(node) {
  104071. return node instanceof A.ModifiableCssStyleRule0;
  104072. },
  104073. $signature: 8
  104074. };
  104075. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  104076. call$0() {
  104077. var t4,
  104078. t1 = this.$this,
  104079. t2 = this._box_0,
  104080. t3 = t2.declaration.name;
  104081. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  104082. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  104083. t2 = t2.declaration.value;
  104084. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  104085. },
  104086. $signature: 27
  104087. };
  104088. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  104089. call$0() {
  104090. var t1 = this.$this._evaluate0$_environment,
  104091. t2 = this._box_0.override;
  104092. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  104093. },
  104094. $signature: 1
  104095. };
  104096. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  104097. call$0() {
  104098. var t1 = this.node;
  104099. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104100. },
  104101. $signature: 43
  104102. };
  104103. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  104104. call$0() {
  104105. var t1 = this.$this,
  104106. t2 = this.node;
  104107. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  104108. },
  104109. $signature: 1
  104110. };
  104111. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  104112. call$2(module, firstLoad) {
  104113. var t1, t2, t3, _0_0, t4, t5, span;
  104114. if (firstLoad)
  104115. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104116. t1 = this.$this._evaluate0$_environment;
  104117. t2 = this.node;
  104118. t3 = t2.namespace;
  104119. if (t3 == null) {
  104120. t1._environment0$_globalModules.$indexSet(0, module, t2);
  104121. t1._environment0$_allModules.push(module);
  104122. t1 = B.JSArray_methods.get$first(t1._environment0$_variables);
  104123. _0_0 = A.IterableExtension_firstWhereOrNull(t1.get$keys(t1), module.get$variables().get$containsKey());
  104124. if (_0_0 != null)
  104125. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  104126. } else {
  104127. t4 = t1._environment0$_modules;
  104128. if (t4.containsKey$1(t3)) {
  104129. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  104130. span = t5 == null ? null : t5.span;
  104131. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  104132. if (span != null)
  104133. t5.$indexSet(0, span, "original @use");
  104134. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  104135. }
  104136. t4.$indexSet(0, t3, module);
  104137. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  104138. t1._environment0$_allModules.push(module);
  104139. }
  104140. },
  104141. $signature: 89
  104142. };
  104143. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  104144. call$0() {
  104145. return this.node.expression.accept$1(this.$this);
  104146. },
  104147. $signature: 50
  104148. };
  104149. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  104150. call$0() {
  104151. var t1, t2, t3, _0_0;
  104152. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  104153. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  104154. if (_0_0 != null)
  104155. return _0_0;
  104156. }
  104157. return null;
  104158. },
  104159. $signature: 43
  104160. };
  104161. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  104162. call$1(child) {
  104163. return child.accept$1(this.$this);
  104164. },
  104165. $signature: 90
  104166. };
  104167. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  104168. call$0() {
  104169. var t1 = this.node,
  104170. t2 = this.$this,
  104171. left = t1.left.accept$1(t2);
  104172. switch (t1.operator) {
  104173. case B.BinaryOperator_Kyq0:
  104174. t1 = t1.right.accept$1(t2);
  104175. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  104176. break;
  104177. case B.BinaryOperator_tKu0:
  104178. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  104179. break;
  104180. case B.BinaryOperator_uke0:
  104181. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  104182. break;
  104183. case B.BinaryOperator_r840:
  104184. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104185. break;
  104186. case B.BinaryOperator_qGq0:
  104187. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104188. break;
  104189. case B.BinaryOperator_o8O0:
  104190. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  104191. break;
  104192. case B.BinaryOperator_JiR0:
  104193. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  104194. break;
  104195. case B.BinaryOperator_qHy0:
  104196. t1 = left.lessThan$1(t1.right.accept$1(t2));
  104197. break;
  104198. case B.BinaryOperator_FPG0:
  104199. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  104200. break;
  104201. case B.BinaryOperator_Swh0:
  104202. t1 = left.plus$1(t1.right.accept$1(t2));
  104203. break;
  104204. case B.BinaryOperator_QG10:
  104205. t1 = left.minus$1(t1.right.accept$1(t2));
  104206. break;
  104207. case B.BinaryOperator_tht0:
  104208. t1 = left.times$1(t1.right.accept$1(t2));
  104209. break;
  104210. case B.BinaryOperator_Mh50:
  104211. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  104212. break;
  104213. case B.BinaryOperator_s7T0:
  104214. t1 = left.modulo$1(t1.right.accept$1(t2));
  104215. break;
  104216. default:
  104217. t1 = null;
  104218. }
  104219. return t1;
  104220. },
  104221. $signature: 50
  104222. };
  104223. A._EvaluateVisitor__slash_recommendation1.prototype = {
  104224. call$1(expression) {
  104225. var t1;
  104226. $label0$0: {
  104227. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  104228. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  104229. break $label0$0;
  104230. }
  104231. if (expression instanceof A.ParenthesizedExpression0) {
  104232. t1 = expression.expression.toString$0(0);
  104233. break $label0$0;
  104234. }
  104235. t1 = expression.toString$0(0);
  104236. break $label0$0;
  104237. }
  104238. return t1;
  104239. },
  104240. $signature: 118
  104241. };
  104242. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  104243. call$0() {
  104244. var t1 = this.node;
  104245. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104246. },
  104247. $signature: 43
  104248. };
  104249. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104250. call$0() {
  104251. var t1, _this = this;
  104252. switch (_this.node.operator) {
  104253. case B.UnaryOperator_Rbl0:
  104254. t1 = _this.operand.unaryPlus$0();
  104255. break;
  104256. case B.UnaryOperator_UCP0:
  104257. t1 = _this.operand.unaryMinus$0();
  104258. break;
  104259. case B.UnaryOperator_lZV0:
  104260. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104261. break;
  104262. case B.UnaryOperator_not_not_not0:
  104263. t1 = _this.operand.unaryNot$0();
  104264. break;
  104265. default:
  104266. t1 = null;
  104267. }
  104268. return t1;
  104269. },
  104270. $signature: 50
  104271. };
  104272. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104273. call$1(expression) {
  104274. return expression.accept$1(this.$this);
  104275. },
  104276. $signature: 462
  104277. };
  104278. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104279. call$0() {
  104280. var t1 = this.node;
  104281. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104282. },
  104283. $signature: 98
  104284. };
  104285. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104286. call$1(argument) {
  104287. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104288. },
  104289. $signature: 117
  104290. };
  104291. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104292. call$0() {
  104293. var t1 = this.node;
  104294. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104295. },
  104296. $signature: 50
  104297. };
  104298. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104299. call$2(message, deprecation) {
  104300. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104301. },
  104302. call$1(message) {
  104303. return this.call$2(message, null);
  104304. },
  104305. $signature: 110
  104306. };
  104307. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104308. call$1(maxArgs) {
  104309. var t1 = this.node,
  104310. t2 = t1.$arguments.positional.length;
  104311. if (t2 === 0)
  104312. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104313. else if (maxArgs != null && t2 > maxArgs)
  104314. 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));
  104315. },
  104316. call$0() {
  104317. return this.call$1(null);
  104318. },
  104319. $signature: 85
  104320. };
  104321. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  104322. call$0() {
  104323. var _this = this,
  104324. t1 = _this.$this,
  104325. t2 = _this._box_0,
  104326. t3 = _this.node,
  104327. t4 = _this.inLegacySassFunction;
  104328. 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));
  104329. },
  104330. $signature: 91
  104331. };
  104332. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  104333. call$2(message, deprecation) {
  104334. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  104335. },
  104336. call$1(message) {
  104337. return this.call$2(message, null);
  104338. },
  104339. $signature: 110
  104340. };
  104341. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  104342. call$0() {
  104343. var t1 = this.node;
  104344. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  104345. },
  104346. $signature: 50
  104347. };
  104348. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  104349. call$0() {
  104350. var _this = this,
  104351. t1 = _this.$this,
  104352. t2 = _this.callable;
  104353. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  104354. },
  104355. $signature() {
  104356. return this.V._eval$1("0()");
  104357. }
  104358. };
  104359. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  104360. call$0() {
  104361. var _this = this,
  104362. t1 = _this.$this,
  104363. t2 = _this.V;
  104364. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  104365. },
  104366. $signature() {
  104367. return this.V._eval$1("0()");
  104368. }
  104369. };
  104370. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  104371. call$0() {
  104372. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  104373. t1 = _this.$this,
  104374. t2 = _this.evaluated._values,
  104375. t3 = _this.callable.declaration.parameters,
  104376. t4 = _this.nodeWithSpan;
  104377. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  104378. parameters = t3.parameters;
  104379. t5 = parameters.length;
  104380. minLength = Math.min(t2[2].length, t5);
  104381. for (i = 0; i < minLength; ++i)
  104382. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  104383. for (i = t2[2].length; i < t5; ++i) {
  104384. parameter = parameters[i];
  104385. t6 = parameter.name;
  104386. value = t2[0].remove$1(0, t6);
  104387. if (value == null) {
  104388. t7 = parameter.defaultValue;
  104389. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  104390. }
  104391. t7 = t1._evaluate0$_environment;
  104392. t8 = t2[1].$index(0, t6);
  104393. if (t8 == null) {
  104394. t8 = parameter.defaultValue;
  104395. t8.toString;
  104396. t8 = t1._evaluate0$_expressionNode$1(t8);
  104397. }
  104398. t7.setLocalVariable$3(t6, value, t8);
  104399. }
  104400. restParameter = t3.restParameter;
  104401. if (restParameter != null) {
  104402. t6 = t2[2];
  104403. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty22;
  104404. t5 = t2[0];
  104405. t6 = t2[4];
  104406. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  104407. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  104408. } else
  104409. argumentList = null;
  104410. result = _this.run.call$0();
  104411. if (argumentList == null)
  104412. return result;
  104413. t5 = t2[0].__js_helper$_length;
  104414. if (t5 === 0)
  104415. return result;
  104416. if (argumentList._argument_list$_wereKeywordsAccessed)
  104417. return result;
  104418. parameterWord = A.pluralize0("parameter", t5, null);
  104419. t2 = t2[0];
  104420. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  104421. 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));
  104422. },
  104423. $signature() {
  104424. return this.V._eval$1("0()");
  104425. }
  104426. };
  104427. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  104428. call$1($name) {
  104429. return "$" + $name;
  104430. },
  104431. $signature: 6
  104432. };
  104433. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  104434. call$0() {
  104435. var t1, t2, t3, t4, _i, $returnValue;
  104436. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  104437. $returnValue = t2[_i].accept$1(t4);
  104438. if ($returnValue instanceof A.Value0)
  104439. return $returnValue;
  104440. }
  104441. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  104442. },
  104443. $signature: 50
  104444. };
  104445. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  104446. call$0() {
  104447. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  104448. },
  104449. $signature: 0
  104450. };
  104451. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  104452. call$0() {
  104453. return this._box_0.callback.call$1(this.evaluated._values[2]);
  104454. },
  104455. $signature: 50
  104456. };
  104457. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  104458. call$1($name) {
  104459. return "$" + $name;
  104460. },
  104461. $signature: 6
  104462. };
  104463. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  104464. call$1(value) {
  104465. return value;
  104466. },
  104467. $signature: 44
  104468. };
  104469. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  104470. call$1(value) {
  104471. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  104472. },
  104473. $signature: 44
  104474. };
  104475. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  104476. call$2(key, value) {
  104477. var _this = this,
  104478. t1 = _this.restNodeForSpan;
  104479. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  104480. _this.namedNodes.$indexSet(0, key, t1);
  104481. },
  104482. $signature: 112
  104483. };
  104484. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  104485. call$1(value) {
  104486. return value;
  104487. },
  104488. $signature: 44
  104489. };
  104490. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  104491. call$1(value) {
  104492. var t1 = this.restArgs;
  104493. return new A.ValueExpression0(value, t1.get$span(t1));
  104494. },
  104495. $signature: 57
  104496. };
  104497. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  104498. call$1(value) {
  104499. var t1 = this.restArgs;
  104500. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  104501. },
  104502. $signature: 57
  104503. };
  104504. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  104505. call$2(key, value) {
  104506. var _this = this,
  104507. t1 = _this.restArgs;
  104508. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  104509. },
  104510. $signature: 112
  104511. };
  104512. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  104513. call$1(value) {
  104514. var t1 = this.keywordRestArgs;
  104515. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  104516. },
  104517. $signature: 57
  104518. };
  104519. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  104520. call$2(key, value) {
  104521. var t2, _this = this,
  104522. t1 = _this.$this;
  104523. if (key instanceof A.SassString0)
  104524. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  104525. else {
  104526. t2 = _this.nodeWithSpan;
  104527. 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)));
  104528. }
  104529. },
  104530. $signature: 107
  104531. };
  104532. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  104533. call$0() {
  104534. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  104535. },
  104536. $signature: 0
  104537. };
  104538. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  104539. call$0() {
  104540. var t1, t2, t3, t4;
  104541. 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();) {
  104542. t4 = t1.__internal$_current;
  104543. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104544. }
  104545. },
  104546. $signature: 1
  104547. };
  104548. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  104549. call$1(node) {
  104550. return node instanceof A.ModifiableCssStyleRule0;
  104551. },
  104552. $signature: 8
  104553. };
  104554. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  104555. call$0() {
  104556. var t1, t2, t3, t4;
  104557. 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();) {
  104558. t4 = t1.__internal$_current;
  104559. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104560. }
  104561. },
  104562. $signature: 1
  104563. };
  104564. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  104565. call$1(node) {
  104566. return node instanceof A.ModifiableCssStyleRule0;
  104567. },
  104568. $signature: 8
  104569. };
  104570. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  104571. call$1(mediaQueries) {
  104572. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  104573. },
  104574. $signature: 104
  104575. };
  104576. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  104577. call$0() {
  104578. var _this = this,
  104579. t1 = _this.$this,
  104580. t2 = _this.mergedQueries;
  104581. if (t2 == null)
  104582. t2 = _this.node.queries;
  104583. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  104584. },
  104585. $signature: 1
  104586. };
  104587. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  104588. call$0() {
  104589. var t2, t3, t4,
  104590. t1 = this.$this,
  104591. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104592. if (_0_0 != null)
  104593. t1._evaluate0$_withParent$2$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);
  104594. else
  104595. for (t2 = this.node.children, t3 = t2.$ti, t2 = new A.ListIterator(t2, t2.get$length(0), t3._eval$1("ListIterator<ListBase.E>")), t3 = t3._eval$1("ListBase.E"); t2.moveNext$0();) {
  104596. t4 = t2.__internal$_current;
  104597. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104598. }
  104599. },
  104600. $signature: 1
  104601. };
  104602. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  104603. call$0() {
  104604. var t1, t2, t3, t4;
  104605. for (t1 = this.node.children, t2 = t1.$ti, t1 = new A.ListIterator(t1, t1.get$length(0), t2._eval$1("ListIterator<ListBase.E>")), t3 = this.$this, t2 = t2._eval$1("ListBase.E"); t1.moveNext$0();) {
  104606. t4 = t1.__internal$_current;
  104607. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104608. }
  104609. },
  104610. $signature: 1
  104611. };
  104612. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  104613. call$1(node) {
  104614. var t1;
  104615. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104616. t1 = this.mergedSources;
  104617. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104618. } else
  104619. t1 = true;
  104620. return t1;
  104621. },
  104622. $signature: 8
  104623. };
  104624. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  104625. call$0() {
  104626. var t1 = this.$this;
  104627. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  104628. },
  104629. $signature: 1
  104630. };
  104631. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  104632. call$0() {
  104633. var t1, t2, t3, t4;
  104634. 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();) {
  104635. t4 = t1.__internal$_current;
  104636. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104637. }
  104638. },
  104639. $signature: 1
  104640. };
  104641. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  104642. call$1(node) {
  104643. return node instanceof A.ModifiableCssStyleRule0;
  104644. },
  104645. $signature: 8
  104646. };
  104647. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  104648. call$0() {
  104649. var t2, t3, t4,
  104650. t1 = this.$this,
  104651. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104652. if (_0_0 != null)
  104653. 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);
  104654. else
  104655. 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();) {
  104656. t4 = t2.__internal$_current;
  104657. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104658. }
  104659. },
  104660. $signature: 1
  104661. };
  104662. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  104663. call$0() {
  104664. var t1, t2, t3, t4;
  104665. 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();) {
  104666. t4 = t1.__internal$_current;
  104667. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104668. }
  104669. },
  104670. $signature: 1
  104671. };
  104672. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  104673. call$1(node) {
  104674. return node instanceof A.ModifiableCssStyleRule0;
  104675. },
  104676. $signature: 8
  104677. };
  104678. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  104679. call$1(targetLocations) {
  104680. return A.InterpolationMap$0(this.interpolation, targetLocations);
  104681. },
  104682. $signature: 218
  104683. };
  104684. A._EvaluateVisitor__serialize_closure1.prototype = {
  104685. call$0() {
  104686. return A.serializeValue0(this.value, false, this.quote);
  104687. },
  104688. $signature: 27
  104689. };
  104690. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  104691. call$0() {
  104692. var t1 = this.expression;
  104693. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  104694. },
  104695. $signature: 219
  104696. };
  104697. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  104698. call$1(number) {
  104699. var before, after, t1,
  104700. _1_0 = number.asSlash;
  104701. $label0$0: {
  104702. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  104703. before = _1_0._0;
  104704. after = _1_0._1;
  104705. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  104706. break $label0$0;
  104707. }
  104708. t1 = A.serializeValue0(number, true, true);
  104709. break $label0$0;
  104710. }
  104711. return t1;
  104712. },
  104713. $signature: 220
  104714. };
  104715. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  104716. call$1(url) {
  104717. var t1 = this.$this._evaluate0$_importCache;
  104718. t1 = t1 == null ? null : t1.humanize$1(url);
  104719. return t1 == null ? url : t1;
  104720. },
  104721. $signature: 48
  104722. };
  104723. A._ImportedCssVisitor1.prototype = {
  104724. visitCssAtRule$1(node) {
  104725. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  104726. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  104727. },
  104728. visitCssComment$1(node) {
  104729. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  104730. },
  104731. visitCssDeclaration$1(node) {
  104732. },
  104733. visitCssImport$1(node) {
  104734. var t2,
  104735. _s13_ = "_endOfImports",
  104736. t1 = this._evaluate0$_visitor;
  104737. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  104738. t1._evaluate0$_addChild$1(node);
  104739. 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)) {
  104740. t1._evaluate0$_addChild$1(node);
  104741. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  104742. } else {
  104743. t2 = t1._evaluate0$_outOfOrderImports;
  104744. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  104745. }
  104746. },
  104747. visitCssKeyframeBlock$1(node) {
  104748. },
  104749. visitCssMediaRule$1(node) {
  104750. var t1 = this._evaluate0$_visitor,
  104751. mediaQueries = t1._evaluate0$_mediaQueries;
  104752. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  104753. },
  104754. visitCssStyleRule$1(node) {
  104755. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  104756. },
  104757. visitCssStylesheet$1(node) {
  104758. var t1, t2, t3;
  104759. 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();) {
  104760. t3 = t1.__internal$_current;
  104761. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  104762. }
  104763. },
  104764. visitCssSupportsRule$1(node) {
  104765. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  104766. }
  104767. };
  104768. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  104769. call$1(node) {
  104770. return node instanceof A.ModifiableCssStyleRule0;
  104771. },
  104772. $signature: 8
  104773. };
  104774. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  104775. call$1(node) {
  104776. var t1;
  104777. if (!(node instanceof A.ModifiableCssStyleRule0))
  104778. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  104779. else
  104780. t1 = true;
  104781. return t1;
  104782. },
  104783. $signature: 8
  104784. };
  104785. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  104786. call$1(node) {
  104787. return node instanceof A.ModifiableCssStyleRule0;
  104788. },
  104789. $signature: 8
  104790. };
  104791. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  104792. call$1(node) {
  104793. return node instanceof A.ModifiableCssStyleRule0;
  104794. },
  104795. $signature: 8
  104796. };
  104797. A._EvaluationContext1.prototype = {
  104798. get$currentCallableSpan() {
  104799. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  104800. if (_0_0 != null)
  104801. return _0_0.get$span(_0_0);
  104802. throw A.wrapException(A.StateError$(string$.No_Sasc));
  104803. },
  104804. warn$2(_, message, deprecation) {
  104805. var t1 = this._evaluate0$_visitor,
  104806. t2 = t1._evaluate0$_importSpan;
  104807. if (t2 == null) {
  104808. t2 = t1._evaluate0$_callableNode;
  104809. t2 = t2 == null ? null : t2.get$span(t2);
  104810. }
  104811. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  104812. },
  104813. $isEvaluationContext0: 1
  104814. };
  104815. A.EveryCssVisitor0.prototype = {
  104816. visitCssAtRule$1(node) {
  104817. var t1 = node.children;
  104818. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  104819. },
  104820. visitCssComment$1(node) {
  104821. return false;
  104822. },
  104823. visitCssDeclaration$1(node) {
  104824. return false;
  104825. },
  104826. visitCssImport$1(node) {
  104827. return false;
  104828. },
  104829. visitCssKeyframeBlock$1(node) {
  104830. var t1 = node.children;
  104831. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  104832. },
  104833. visitCssMediaRule$1(node) {
  104834. var t1 = node.children;
  104835. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  104836. },
  104837. visitCssStyleRule$1(node) {
  104838. var t1 = node.children;
  104839. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  104840. },
  104841. visitCssStylesheet$1(node) {
  104842. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  104843. },
  104844. visitCssSupportsRule$1(node) {
  104845. var t1 = node.children;
  104846. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  104847. }
  104848. };
  104849. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  104850. call$1(child) {
  104851. return child.accept$1(this.$this);
  104852. },
  104853. $signature: 8
  104854. };
  104855. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  104856. call$1(child) {
  104857. return child.accept$1(this.$this);
  104858. },
  104859. $signature: 8
  104860. };
  104861. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  104862. call$1(child) {
  104863. return child.accept$1(this.$this);
  104864. },
  104865. $signature: 8
  104866. };
  104867. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  104868. call$1(child) {
  104869. return child.accept$1(this.$this);
  104870. },
  104871. $signature: 8
  104872. };
  104873. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  104874. call$1(child) {
  104875. return child.accept$1(this.$this);
  104876. },
  104877. $signature: 8
  104878. };
  104879. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  104880. call$1(child) {
  104881. return child.accept$1(this.$this);
  104882. },
  104883. $signature: 8
  104884. };
  104885. A._NodeException.prototype = {};
  104886. A.exceptionClass_closure.prototype = {
  104887. call$0() {
  104888. 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());
  104889. A.defineGetter(jsClass, "name", null, "sass.Exception");
  104890. 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));
  104891. return jsClass;
  104892. },
  104893. $signature: 15
  104894. };
  104895. A.exceptionClass__closure.prototype = {
  104896. call$1(exception) {
  104897. return J.get$_dartException$x(exception)._span_exception$_message;
  104898. },
  104899. $signature: 242
  104900. };
  104901. A.exceptionClass__closure0.prototype = {
  104902. call$1(exception) {
  104903. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  104904. },
  104905. $signature: 242
  104906. };
  104907. A.exceptionClass__closure1.prototype = {
  104908. call$1(exception) {
  104909. var t1 = J.get$_dartException$x(exception),
  104910. t2 = J.getInterceptor$z(t1);
  104911. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  104912. },
  104913. $signature: 464
  104914. };
  104915. A.SassException0.prototype = {
  104916. get$trace(_) {
  104917. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  104918. },
  104919. get$span(_) {
  104920. return A.SourceSpanException.prototype.get$span.call(this, 0);
  104921. },
  104922. withAdditionalSpan$2(span, label) {
  104923. 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);
  104924. },
  104925. withTrace$1(trace) {
  104926. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104927. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  104928. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  104929. },
  104930. withLoadedUrls$1(loadedUrls) {
  104931. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  104932. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  104933. return new A.SassException0(t2, this._span_exception$_message, t1);
  104934. },
  104935. toString$1$color(_, color) {
  104936. var t2, _i, frame, _this = this,
  104937. buffer = new A.StringBuffer(""),
  104938. t1 = "Error: " + _this._span_exception$_message + "\n";
  104939. buffer._contents = t1;
  104940. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  104941. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104942. frame = t1[_i];
  104943. if (frame.length === 0)
  104944. continue;
  104945. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  104946. }
  104947. t1 = buffer._contents;
  104948. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104949. },
  104950. toString$0(_) {
  104951. return this.toString$1$color(0, null);
  104952. }
  104953. };
  104954. A.MultiSpanSassException0.prototype = {
  104955. withAdditionalSpan$2(span, label) {
  104956. var _this = this,
  104957. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  104958. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  104959. t2.$indexSet(0, span, label);
  104960. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  104961. },
  104962. withTrace$1(trace) {
  104963. var _this = this;
  104964. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  104965. },
  104966. withLoadedUrls$1(loadedUrls) {
  104967. var _this = this;
  104968. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  104969. },
  104970. toString$1$color(_, color) {
  104971. var t1, t2, _i, frame, _this = this,
  104972. useColor = color === true,
  104973. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  104974. 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));
  104975. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104976. frame = t1[_i];
  104977. if (frame.length === 0)
  104978. continue;
  104979. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  104980. }
  104981. t1 = buffer._contents;
  104982. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104983. },
  104984. toString$0(_) {
  104985. return this.toString$1$color(0, null);
  104986. },
  104987. get$primaryLabel() {
  104988. return this.primaryLabel;
  104989. },
  104990. get$secondarySpans() {
  104991. return this.secondarySpans;
  104992. }
  104993. };
  104994. A.SassRuntimeException0.prototype = {
  104995. withAdditionalSpan$2(span, label) {
  104996. var _this = this;
  104997. 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);
  104998. },
  104999. withLoadedUrls$1(loadedUrls) {
  105000. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105001. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105002. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  105003. },
  105004. get$trace(receiver) {
  105005. return this.trace;
  105006. }
  105007. };
  105008. A.MultiSpanSassRuntimeException0.prototype = {
  105009. withAdditionalSpan$2(span, label) {
  105010. var _this = this,
  105011. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105012. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105013. t2.$indexSet(0, span, label);
  105014. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  105015. },
  105016. withLoadedUrls$1(loadedUrls) {
  105017. var _this = this;
  105018. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  105019. },
  105020. $isSassRuntimeException0: 1,
  105021. get$trace(receiver) {
  105022. return this.trace;
  105023. }
  105024. };
  105025. A.SassFormatException0.prototype = {
  105026. get$source() {
  105027. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105028. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105029. },
  105030. withAdditionalSpan$2(span, label) {
  105031. 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);
  105032. },
  105033. withLoadedUrls$1(loadedUrls) {
  105034. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105035. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105036. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  105037. },
  105038. $isFormatException: 1,
  105039. $isSourceSpanFormatException: 1
  105040. };
  105041. A.MultiSpanSassFormatException0.prototype = {
  105042. get$source() {
  105043. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105044. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105045. },
  105046. withAdditionalSpan$2(span, label) {
  105047. var _this = this,
  105048. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105049. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105050. t2.$indexSet(0, span, label);
  105051. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  105052. },
  105053. withLoadedUrls$1(loadedUrls) {
  105054. var _this = this;
  105055. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  105056. },
  105057. $isFormatException: 1,
  105058. $isSourceSpanFormatException: 1,
  105059. $isMultiSourceSpanFormatException: 1,
  105060. $isSassFormatException0: 1
  105061. };
  105062. A.SassScriptException0.prototype = {
  105063. withSpan$1(span) {
  105064. return new A.SassException0(B.Set_empty, this.message, span);
  105065. },
  105066. toString$0(_) {
  105067. return this.message + string$.x0a_BUG_;
  105068. },
  105069. get$message(receiver) {
  105070. return this.message;
  105071. }
  105072. };
  105073. A.MultiSpanSassScriptException0.prototype = {
  105074. withSpan$1(span) {
  105075. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  105076. }
  105077. };
  105078. A.Exports.prototype = {};
  105079. A.LoggerNamespace.prototype = {};
  105080. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  105081. A.JSExpressionVisitor.prototype = {
  105082. visitBinaryOperationExpression$1(_, node) {
  105083. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  105084. },
  105085. visitBooleanExpression$1(_, node) {
  105086. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  105087. },
  105088. visitColorExpression$1(_, node) {
  105089. return J.visitColorExpression$1$x(this._expression$_inner, node);
  105090. },
  105091. visitInterpolatedFunctionExpression$1(_, node) {
  105092. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  105093. },
  105094. visitFunctionExpression$1(_, node) {
  105095. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  105096. },
  105097. visitIfExpression$1(_, node) {
  105098. return J.visitIfExpression$1$x(this._expression$_inner, node);
  105099. },
  105100. visitListExpression$1(_, node) {
  105101. return J.visitListExpression$1$x(this._expression$_inner, node);
  105102. },
  105103. visitMapExpression$1(_, node) {
  105104. return J.visitMapExpression$1$x(this._expression$_inner, node);
  105105. },
  105106. visitNullExpression$1(_, node) {
  105107. return J.visitNullExpression$1$x(this._expression$_inner, node);
  105108. },
  105109. visitNumberExpression$1(_, node) {
  105110. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  105111. },
  105112. visitParenthesizedExpression$1(_, node) {
  105113. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  105114. },
  105115. visitSelectorExpression$1(_, node) {
  105116. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  105117. },
  105118. visitStringExpression$1(_, node) {
  105119. return J.visitStringExpression$1$x(this._expression$_inner, node);
  105120. },
  105121. visitSupportsExpression$1(_, node) {
  105122. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  105123. },
  105124. visitUnaryOperationExpression$1(_, node) {
  105125. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  105126. },
  105127. visitValueExpression$1(_, node) {
  105128. return J.visitValueExpression$1$x(this._expression$_inner, node);
  105129. },
  105130. visitVariableExpression$1(_, node) {
  105131. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  105132. },
  105133. $isExpressionVisitor: 1
  105134. };
  105135. A.JSExpressionVisitorObject.prototype = {};
  105136. A._MakeExpressionCalculationSafe0.prototype = {
  105137. visitBinaryOperationExpression$1(_, node) {
  105138. var t1, t2, t3, t4;
  105139. if (node.operator === B.BinaryOperator_s7T0) {
  105140. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  105141. t2 = node.get$span(0);
  105142. t3 = type$.Expression_2;
  105143. t1 = A.List_List$unmodifiable(t1, t3);
  105144. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  105145. t4 = node.get$span(0);
  105146. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  105147. } else
  105148. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  105149. return t1;
  105150. },
  105151. visitInterpolatedFunctionExpression$1(_, node) {
  105152. return node;
  105153. },
  105154. visitUnaryOperationExpression$1(_, node) {
  105155. var t1,
  105156. _0_0 = node.operator;
  105157. $label0$0: {
  105158. if (B.UnaryOperator_Rbl0 === _0_0) {
  105159. t1 = node.operand;
  105160. break $label0$0;
  105161. }
  105162. if (B.UnaryOperator_UCP0 === _0_0) {
  105163. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_tht0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  105164. break $label0$0;
  105165. }
  105166. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  105167. break $label0$0;
  105168. }
  105169. return t1;
  105170. },
  105171. $isExpressionVisitor: 1
  105172. };
  105173. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  105174. A.ExtendRule0.prototype = {
  105175. accept$1$1(visitor) {
  105176. return visitor.visitExtendRule$1(0, this);
  105177. },
  105178. accept$1(visitor) {
  105179. return this.accept$1$1(visitor, type$.dynamic);
  105180. },
  105181. toString$0(_) {
  105182. var t1 = this.selector.toString$0(0),
  105183. t2 = this.isOptional ? " !optional" : "";
  105184. return "@extend " + t1 + t2 + ";";
  105185. },
  105186. get$span(receiver) {
  105187. return this.span;
  105188. }
  105189. };
  105190. A.Extension0.prototype = {
  105191. toString$0(_) {
  105192. var t1 = this.extender.toString$0(0),
  105193. t2 = this.target.toString$0(0),
  105194. t3 = this.isOptional ? " !optional" : "";
  105195. return t1 + " {@extend " + t2 + t3 + "}";
  105196. }
  105197. };
  105198. A.Extender0.prototype = {
  105199. assertCompatibleMediaContext$1(mediaContext) {
  105200. var expectedMediaContext,
  105201. extension = this._extension$_extension;
  105202. if (extension == null)
  105203. return;
  105204. expectedMediaContext = extension.mediaContext;
  105205. if (expectedMediaContext == null)
  105206. return;
  105207. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  105208. return;
  105209. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  105210. },
  105211. toString$0(_) {
  105212. return A.serializeSelector0(this.selector, true);
  105213. }
  105214. };
  105215. A.ExtensionStore0.prototype = {
  105216. get$isEmpty(_) {
  105217. return this._extension_store$_extensions.__js_helper$_length === 0;
  105218. },
  105219. get$simpleSelectors() {
  105220. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  105221. },
  105222. extensionsWhereTarget$1(callback) {
  105223. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  105224. },
  105225. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  105226. var $async$self = this;
  105227. return function() {
  105228. var callback = $async$callback;
  105229. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  105230. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  105231. if ($async$errorCode === 1) {
  105232. $async$errorStack.push($async$result);
  105233. $async$goto = $async$handler;
  105234. }
  105235. while (true)
  105236. switch ($async$goto) {
  105237. case 0:
  105238. // Function start
  105239. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  105240. case 2:
  105241. // for condition
  105242. if (!t1.moveNext$0()) {
  105243. // goto after for
  105244. $async$goto = 3;
  105245. break;
  105246. }
  105247. t2 = t1.get$current(t1);
  105248. simple = t2._0;
  105249. sources = t2._1;
  105250. if (!callback.call$1(simple)) {
  105251. // goto for condition
  105252. $async$goto = 2;
  105253. break;
  105254. }
  105255. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105256. case 4:
  105257. // for condition
  105258. if (!t2.moveNext$0()) {
  105259. // goto after for
  105260. $async$goto = 5;
  105261. break;
  105262. }
  105263. t3 = t2.get$current(t2);
  105264. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105265. break;
  105266. case 6:
  105267. // then
  105268. t3 = t3.unmerge$0();
  105269. $async$goto = 9;
  105270. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105271. case 9:
  105272. // after yield
  105273. // goto join
  105274. $async$goto = 7;
  105275. break;
  105276. case 8:
  105277. // else
  105278. $async$goto = !t3.isOptional ? 10 : 11;
  105279. break;
  105280. case 10:
  105281. // then
  105282. $async$goto = 12;
  105283. return $async$iterator._async$_current = t3, 1;
  105284. case 12:
  105285. // after yield
  105286. case 11:
  105287. // join
  105288. case 7:
  105289. // join
  105290. // goto for condition
  105291. $async$goto = 4;
  105292. break;
  105293. case 5:
  105294. // after for
  105295. // goto for condition
  105296. $async$goto = 2;
  105297. break;
  105298. case 3:
  105299. // after for
  105300. // implicit return
  105301. return 0;
  105302. case 1:
  105303. // rethrow
  105304. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105305. }
  105306. };
  105307. };
  105308. },
  105309. addSelector$2(selector, mediaContext) {
  105310. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105311. selector = selector;
  105312. originalSelector = selector;
  105313. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105314. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105315. t1 = _this._extension_store$_extensions;
  105316. if (t1.__js_helper$_length !== 0)
  105317. try {
  105318. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105319. } catch (exception) {
  105320. t1 = A.unwrapException(exception);
  105321. if (t1 instanceof A.SassException0) {
  105322. error = t1;
  105323. stackTrace = A.getTraceFromException(exception);
  105324. t1 = error;
  105325. t2 = J.getInterceptor$z(t1);
  105326. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  105327. t2 = error._span_exception$_message;
  105328. t3 = error;
  105329. t4 = J.getInterceptor$z(t3);
  105330. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  105331. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  105332. } else
  105333. throw exception;
  105334. }
  105335. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  105336. if (mediaContext != null)
  105337. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  105338. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  105339. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  105340. },
  105341. _extension_store$_registerSelector$2(list, selector) {
  105342. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  105343. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  105344. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  105345. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  105346. simple = t7[_i1];
  105347. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  105348. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105349. _0_2 = null;
  105350. if (_0_2_isSet) {
  105351. _0_2 = simple.selector;
  105352. t9 = _0_2;
  105353. t9 = t9 != null;
  105354. } else
  105355. t9 = false;
  105356. if (t9) {
  105357. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  105358. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  105359. }
  105360. }
  105361. },
  105362. addExtension$4(extender, target, extend, mediaContext) {
  105363. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  105364. selectors = _this._extension_store$_selectors.$index(0, target),
  105365. t1 = _this._extension_store$_extensionsByExtender,
  105366. existingExtensions = t1.$index(0, target),
  105367. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  105368. 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) {
  105369. complex = t2[_i];
  105370. if (complex.accept$1(B.C__IsUselessVisitor0))
  105371. continue;
  105372. complex.get$specificity();
  105373. t11 = new A.Extender0(complex, false);
  105374. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  105375. _0_0 = sources.$index(0, complex);
  105376. if (_0_0 != null) {
  105377. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  105378. continue;
  105379. }
  105380. sources.$indexSet(0, complex, extension);
  105381. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  105382. t12 = t11._async$_current;
  105383. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  105384. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  105385. }
  105386. if (!t4 || t8) {
  105387. if (newExtensions == null)
  105388. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  105389. newExtensions.$indexSet(0, complex, extension);
  105390. }
  105391. }
  105392. if (newExtensions == null)
  105393. return;
  105394. t1 = type$.SimpleSelector_2;
  105395. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  105396. if (t8) {
  105397. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  105398. if (additionalExtensions != null)
  105399. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  105400. }
  105401. if (!t4)
  105402. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  105403. },
  105404. _extension_store$_simpleSelectors$1(complex) {
  105405. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  105406. },
  105407. _simpleSelectors$body$ExtensionStore0($async$complex) {
  105408. var $async$self = this;
  105409. return function() {
  105410. var complex = $async$complex;
  105411. 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;
  105412. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  105413. if ($async$errorCode === 1) {
  105414. $async$errorStack.push($async$result);
  105415. $async$goto = $async$handler;
  105416. }
  105417. while (true)
  105418. switch ($async$goto) {
  105419. case 0:
  105420. // Function start
  105421. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  105422. case 2:
  105423. // for condition
  105424. if (!(_i < t2)) {
  105425. // goto after for
  105426. $async$goto = 4;
  105427. break;
  105428. }
  105429. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  105430. case 5:
  105431. // for condition
  105432. if (!(_i0 < t5)) {
  105433. // goto after for
  105434. $async$goto = 7;
  105435. break;
  105436. }
  105437. simple = t4[_i0];
  105438. $async$goto = 8;
  105439. return $async$iterator._async$_current = simple, 1;
  105440. case 8:
  105441. // after yield
  105442. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105443. _0_2 = null;
  105444. if (_0_2_isSet) {
  105445. _0_2 = simple.selector;
  105446. t6 = _0_2;
  105447. t6 = t6 != null;
  105448. } else
  105449. t6 = false;
  105450. $async$goto = t6 ? 9 : 10;
  105451. break;
  105452. case 9:
  105453. // then
  105454. selector = _0_2_isSet ? _0_2 : simple.selector;
  105455. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  105456. case 11:
  105457. // for condition
  105458. if (!(_i1 < t7)) {
  105459. // goto after for
  105460. $async$goto = 13;
  105461. break;
  105462. }
  105463. $async$goto = 14;
  105464. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  105465. case 14:
  105466. // after yield
  105467. case 12:
  105468. // for update
  105469. ++_i1;
  105470. // goto for condition
  105471. $async$goto = 11;
  105472. break;
  105473. case 13:
  105474. // after for
  105475. case 10:
  105476. // join
  105477. case 6:
  105478. // for update
  105479. ++_i0;
  105480. // goto for condition
  105481. $async$goto = 5;
  105482. break;
  105483. case 7:
  105484. // after for
  105485. case 3:
  105486. // for update
  105487. ++_i;
  105488. // goto for condition
  105489. $async$goto = 2;
  105490. break;
  105491. case 4:
  105492. // after for
  105493. // implicit return
  105494. return 0;
  105495. case 1:
  105496. // rethrow
  105497. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105498. }
  105499. };
  105500. };
  105501. },
  105502. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  105503. 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;
  105504. 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) {
  105505. extension = t1[_i];
  105506. t7 = t6.$index(0, extension.target);
  105507. t7.toString;
  105508. selectors = null;
  105509. try {
  105510. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  105511. if (selectors == null)
  105512. continue;
  105513. } catch (exception) {
  105514. t8 = A.unwrapException(exception);
  105515. if (t8 instanceof A.SassException0) {
  105516. error = t8;
  105517. stackTrace = A.getTraceFromException(exception);
  105518. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  105519. } else
  105520. throw exception;
  105521. }
  105522. t8 = J.get$first$ax(selectors);
  105523. t9 = extension.extender.selector;
  105524. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  105525. t8 = selectors;
  105526. t9 = A._arrayInstanceType(t8);
  105527. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  105528. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  105529. selectors = selectors0;
  105530. }
  105531. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  105532. t9 = t8.get$current(t8);
  105533. t10 = extension;
  105534. t11 = t10.target;
  105535. t12 = t10.span;
  105536. t13 = t10.mediaContext;
  105537. t10 = t10.isOptional;
  105538. t9.get$specificity();
  105539. t14 = new A.Extender0(t9, false);
  105540. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  105541. _0_0 = t7.$index(0, t9);
  105542. if (_0_0 != null)
  105543. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  105544. else {
  105545. t7.$indexSet(0, t9, withExtender);
  105546. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  105547. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  105548. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  105549. if (newExtensions.containsKey$1(extension.target)) {
  105550. if (additionalExtensions == null)
  105551. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  105552. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  105553. }
  105554. }
  105555. }
  105556. }
  105557. return additionalExtensions;
  105558. },
  105559. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  105560. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  105561. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  105562. selector = t1.get$current(t1);
  105563. oldValue = selector.value;
  105564. try {
  105565. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  105566. } catch (exception) {
  105567. t3 = A.unwrapException(exception);
  105568. if (t3 instanceof A.SassException0) {
  105569. error = t3;
  105570. stackTrace = A.getTraceFromException(exception);
  105571. t3 = selector.value.span.message$1(0, "");
  105572. t4 = error._span_exception$_message;
  105573. t5 = error;
  105574. t6 = J.getInterceptor$z(t5);
  105575. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  105576. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  105577. } else
  105578. throw exception;
  105579. }
  105580. if (oldValue === selector.value)
  105581. continue;
  105582. this._extension_store$_registerSelector$2(selector.value, selector);
  105583. }
  105584. },
  105585. addExtensions$1(extensionStores) {
  105586. 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;
  105587. 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();) {
  105588. t12 = t1.get$current(t1);
  105589. if (t12.get$isEmpty(t12))
  105590. continue;
  105591. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  105592. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  105593. t13 = t12.get$current(t12);
  105594. target = t13._0;
  105595. newSources = t13._1;
  105596. if (target instanceof A.PlaceholderSelector0) {
  105597. first = target.name.charCodeAt(0);
  105598. t13 = first === 45 || first === 95;
  105599. } else
  105600. t13 = false;
  105601. if (t13)
  105602. continue;
  105603. extensionsForTarget = t8.$index(0, target);
  105604. t13 = extensionsForTarget == null;
  105605. if (!t13) {
  105606. if (extensionsToExtend == null) {
  105607. extensionsToExtend = A._setArrayType([], t9);
  105608. t14 = extensionsToExtend;
  105609. } else
  105610. t14 = extensionsToExtend;
  105611. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  105612. }
  105613. selectorsForTarget = t7.$index(0, target);
  105614. t14 = selectorsForTarget != null;
  105615. if (t14) {
  105616. if (selectorsToExtend == null) {
  105617. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  105618. t15 = selectorsToExtend;
  105619. } else
  105620. t15 = selectorsToExtend;
  105621. t15.addAll$1(0, selectorsForTarget);
  105622. }
  105623. _2_0 = t4.$index(0, target);
  105624. if (_2_0 != null)
  105625. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  105626. t16 = t15.get$current(t15);
  105627. extender = t16._0;
  105628. extension = t16._1;
  105629. if (_2_0.containsKey$1(extender)) {
  105630. t16 = _2_0.$index(0, extender);
  105631. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  105632. _2_0.$indexSet(0, extender, extension);
  105633. } else
  105634. _2_0.$indexSet(0, extender, extension);
  105635. if (!t13 || t14) {
  105636. if (newExtensions == null) {
  105637. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105638. t16 = newExtensions;
  105639. } else
  105640. t16 = newExtensions;
  105641. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  105642. }
  105643. }
  105644. else {
  105645. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105646. t15.addAll$1(0, newSources);
  105647. t4.$indexSet(0, target, t15);
  105648. if (!t13 || t14) {
  105649. if (newExtensions == null) {
  105650. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105651. t13 = newExtensions;
  105652. } else
  105653. t13 = newExtensions;
  105654. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105655. t14.addAll$1(0, newSources);
  105656. t13.$indexSet(0, target, t14);
  105657. }
  105658. }
  105659. }
  105660. }
  105661. if (newExtensions != null) {
  105662. if (extensionsToExtend != null)
  105663. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  105664. if (selectorsToExtend != null)
  105665. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  105666. }
  105667. },
  105668. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  105669. var t1, t2, t3, extended, i, complex, result, t4;
  105670. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  105671. complex = t1[i];
  105672. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  105673. if (result == null) {
  105674. if (extended != null)
  105675. extended.push(complex);
  105676. } else {
  105677. if (extended == null)
  105678. if (i === 0)
  105679. extended = A._setArrayType([], t3);
  105680. else {
  105681. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  105682. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  105683. }
  105684. B.JSArray_methods.addAll$1(extended, result);
  105685. }
  105686. }
  105687. if (extended == null)
  105688. return list;
  105689. t1 = this._extension_store$_originals;
  105690. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  105691. },
  105692. _extension_store$_extendList$2(list, extensions) {
  105693. return this._extension_store$_extendList$3(list, extensions, null);
  105694. },
  105695. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  105696. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  105697. t1 = complex.leadingCombinators,
  105698. t2 = t1.length;
  105699. if (t2 > 1)
  105700. return null;
  105701. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  105702. 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) {
  105703. component = t3[i];
  105704. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  105705. if (extended == null) {
  105706. if (extendedNotExpanded != null)
  105707. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty16, A._setArrayType([component], t10), t8, t6)], t9));
  105708. } else if (extendedNotExpanded != null)
  105709. extendedNotExpanded.push(extended);
  105710. else if (i !== 0) {
  105711. t11 = A._arrayInstanceType(t3);
  105712. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  105713. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  105714. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  105715. } else if (t2)
  105716. extendedNotExpanded = A._setArrayType([extended], t5);
  105717. else {
  105718. t11 = A._setArrayType([], t9);
  105719. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  105720. t13 = t12.get$current(t12);
  105721. t14 = t13.leadingCombinators;
  105722. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  105723. t14 = t13.components;
  105724. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  105725. }
  105726. }
  105727. extendedNotExpanded = A._setArrayType([t11], t5);
  105728. }
  105729. }
  105730. if (extendedNotExpanded == null)
  105731. return null;
  105732. _box_0.first = true;
  105733. t1 = type$.ComplexSelector_2;
  105734. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  105735. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  105736. return t1;
  105737. },
  105738. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  105739. 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,
  105740. t1 = _this._extension_store$_mode,
  105741. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  105742. t2 = component.selector,
  105743. simples = t2.components;
  105744. 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) {
  105745. simple = simples[i];
  105746. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  105747. if (extended == null) {
  105748. if (options != null)
  105749. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  105750. } else {
  105751. if (options == null) {
  105752. options = A._setArrayType([], t4);
  105753. if (i !== 0) {
  105754. t12 = new A.SubListIterable(simples, 0, i, t8);
  105755. t12.SubListIterable$3(simples, 0, i, t9);
  105756. result = A.List_List$from(t12, false, t11);
  105757. result.$flags = 3;
  105758. t12 = result;
  105759. compound = new A.CompoundSelector0(t12, t10);
  105760. if (t12.length === 0)
  105761. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  105762. result = A.List_List$from(B.List_empty16, false, t6);
  105763. result.$flags = 3;
  105764. t12 = A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  105765. _this._extension_store$_sourceSpecificityFor$1(compound);
  105766. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  105767. }
  105768. }
  105769. B.JSArray_methods.addAll$1(options, extended);
  105770. }
  105771. }
  105772. if (options == null)
  105773. return _null;
  105774. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  105775. return _null;
  105776. if (options.length === 1) {
  105777. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  105778. t4 = t1.get$current(t1);
  105779. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  105780. complex = t4.selector.withAdditionalCombinators$1(t2);
  105781. if (complex.accept$1(B.C__IsUselessVisitor0))
  105782. continue;
  105783. if (result == null)
  105784. result = A._setArrayType([], t3);
  105785. result.push(complex);
  105786. }
  105787. return result;
  105788. }
  105789. extenderPaths = A.paths0(options, type$.Extender_2);
  105790. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105791. t1 = t1 === B.ExtendMode_replace_replace0;
  105792. t4 = !t1;
  105793. if (t4)
  105794. 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));
  105795. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  105796. t5 = t2.$ti;
  105797. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  105798. t6 = component.combinators;
  105799. t5 = t5._eval$1("ListIterable.E");
  105800. for (; t2.moveNext$0();) {
  105801. t1 = t2.__internal$_current;
  105802. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  105803. if (extended == null)
  105804. continue;
  105805. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  105806. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  105807. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  105808. t3.push(withCombinators);
  105809. }
  105810. }
  105811. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  105812. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  105813. },
  105814. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  105815. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  105816. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  105817. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  105818. t4 = t2.get$current(t2);
  105819. if (t4.isOriginal) {
  105820. if (originals == null)
  105821. originals = A._setArrayType([], t3);
  105822. t4 = t4.selector;
  105823. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  105824. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  105825. } else {
  105826. t4 = t4.selector;
  105827. if (t4.accept$1(B.C__IsUselessVisitor0))
  105828. return _null;
  105829. else
  105830. toUnify._queue_list$_add$1(t4);
  105831. }
  105832. }
  105833. if (originals != null)
  105834. 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));
  105835. complexes = A.unifyComplex0(toUnify, span);
  105836. if (complexes == null)
  105837. return _null;
  105838. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  105839. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  105840. return complexes;
  105841. },
  105842. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  105843. var t2, _1_0,
  105844. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  105845. if (simple instanceof A.PseudoSelector0)
  105846. t2 = simple.selector != null;
  105847. else
  105848. t2 = false;
  105849. if (t2) {
  105850. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  105851. if (_1_0 != null)
  105852. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  105853. }
  105854. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  105855. },
  105856. _extension_store$_extenderForSimple$1(simple) {
  105857. var t1 = simple.span;
  105858. 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);
  105859. this._extension_store$_sourceSpecificity.$index(0, simple);
  105860. return new A.Extender0(t1, true);
  105861. },
  105862. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  105863. var extended, complexes, t1, result,
  105864. selector = pseudo.selector;
  105865. if (selector == null)
  105866. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  105867. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  105868. if (extended === selector)
  105869. return null;
  105870. complexes = extended.components;
  105871. t1 = pseudo.normalizedName === "not";
  105872. 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()))
  105873. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  105874. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  105875. if (t1 && selector.components.length === 1) {
  105876. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  105877. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  105878. return result.length === 0 ? null : result;
  105879. } else
  105880. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  105881. },
  105882. _extension_store$_trim$2(selectors, isOriginal) {
  105883. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  105884. if (selectors.length > 100)
  105885. return selectors;
  105886. result = A.QueueList$(null, type$.ComplexSelector_2);
  105887. $label0$0:
  105888. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  105889. _box_0 = {};
  105890. complex1 = selectors[i];
  105891. if (isOriginal.call$1(complex1)) {
  105892. for (j = 0; j < numOriginals; ++j)
  105893. if (result.$index(0, j).$eq(0, complex1)) {
  105894. A.rotateSlice0(result, 0, j + 1);
  105895. continue $label0$0;
  105896. }
  105897. ++numOriginals;
  105898. result.addFirst$1(complex1);
  105899. continue $label0$0;
  105900. }
  105901. _box_0.maxSpecificity = 0;
  105902. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  105903. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  105904. _box_0.maxSpecificity = maxSpecificity;
  105905. }
  105906. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  105907. continue $label0$0;
  105908. t3 = new A.SubListIterable(selectors, 0, i, t1);
  105909. t3.SubListIterable$3(selectors, 0, i, t2);
  105910. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  105911. continue $label0$0;
  105912. result.addFirst$1(complex1);
  105913. }
  105914. return result;
  105915. },
  105916. _extension_store$_sourceSpecificityFor$1(compound) {
  105917. var t1, t2, t3, specificity, _i, t4;
  105918. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  105919. t4 = t3.$index(0, t1[_i]);
  105920. if (t4 == null)
  105921. t4 = 0;
  105922. specificity = Math.max(specificity, t4);
  105923. }
  105924. return specificity;
  105925. },
  105926. clone$0() {
  105927. var t2, t3, t4, _this = this,
  105928. t1 = type$.SimpleSelector_2,
  105929. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  105930. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  105931. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  105932. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  105933. t2 = type$.Extension_2;
  105934. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  105935. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  105936. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  105937. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  105938. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  105939. t4.addAll$1(0, _this._extension_store$_originals);
  105940. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  105941. },
  105942. get$_extension_store$_extensions() {
  105943. return this._extension_store$_extensions;
  105944. },
  105945. get$_extension_store$_sourceSpecificity() {
  105946. return this._extension_store$_sourceSpecificity;
  105947. }
  105948. };
  105949. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  105950. call$1(extension) {
  105951. return !extension.isOptional;
  105952. },
  105953. $signature: 465
  105954. };
  105955. A.ExtensionStore__registerSelector_closure0.prototype = {
  105956. call$0() {
  105957. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  105958. },
  105959. $signature: 466
  105960. };
  105961. A.ExtensionStore_addExtension_closure2.prototype = {
  105962. call$0() {
  105963. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105964. },
  105965. $signature: 131
  105966. };
  105967. A.ExtensionStore_addExtension_closure3.prototype = {
  105968. call$0() {
  105969. return A._setArrayType([], type$.JSArray_Extension_2);
  105970. },
  105971. $signature: 244
  105972. };
  105973. A.ExtensionStore_addExtension_closure4.prototype = {
  105974. call$0() {
  105975. return this.complex.get$specificity();
  105976. },
  105977. $signature: 10
  105978. };
  105979. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  105980. call$0() {
  105981. return A._setArrayType([], type$.JSArray_Extension_2);
  105982. },
  105983. $signature: 244
  105984. };
  105985. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  105986. call$0() {
  105987. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105988. },
  105989. $signature: 131
  105990. };
  105991. A.ExtensionStore_addExtensions_closure0.prototype = {
  105992. call$0() {
  105993. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  105994. },
  105995. $signature: 131
  105996. };
  105997. A.ExtensionStore__extendComplex_closure0.prototype = {
  105998. call$1(path) {
  105999. var t1 = this.complex;
  106000. 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);
  106001. },
  106002. $signature: 469
  106003. };
  106004. A.ExtensionStore__extendComplex__closure0.prototype = {
  106005. call$1(outputComplex) {
  106006. var _this = this,
  106007. t1 = _this._box_0;
  106008. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  106009. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  106010. t1.first = false;
  106011. return outputComplex;
  106012. },
  106013. $signature: 58
  106014. };
  106015. A.ExtensionStore__extendCompound_closure2.prototype = {
  106016. call$1(extender) {
  106017. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  106018. },
  106019. $signature: 471
  106020. };
  106021. A.ExtensionStore__extendCompound_closure3.prototype = {
  106022. call$1(_) {
  106023. return false;
  106024. },
  106025. $signature: 21
  106026. };
  106027. A.ExtensionStore__extendCompound_closure4.prototype = {
  106028. call$1(complex) {
  106029. return complex.$eq(0, this.original);
  106030. },
  106031. $signature: 21
  106032. };
  106033. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  106034. call$1(simple) {
  106035. var t1, t2,
  106036. extensionsForSimple = this.extensions.$index(0, simple);
  106037. if (extensionsForSimple == null)
  106038. return null;
  106039. t1 = this.targetsUsed;
  106040. if (t1 != null)
  106041. t1.add$1(0, simple);
  106042. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  106043. t2 = this.$this;
  106044. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  106045. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  106046. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  106047. t1.push(t2.get$current(t2).extender);
  106048. return t1;
  106049. },
  106050. $signature: 472
  106051. };
  106052. A.ExtensionStore__extendSimple_closure1.prototype = {
  106053. call$1(pseudo) {
  106054. var t1 = this.withoutPseudo.call$1(pseudo);
  106055. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  106056. },
  106057. $signature: 473
  106058. };
  106059. A.ExtensionStore__extendSimple_closure2.prototype = {
  106060. call$1(result) {
  106061. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  106062. },
  106063. $signature: 474
  106064. };
  106065. A.ExtensionStore__extendPseudo_closure4.prototype = {
  106066. call$1(complex) {
  106067. return complex.components.length > 1;
  106068. },
  106069. $signature: 21
  106070. };
  106071. A.ExtensionStore__extendPseudo_closure5.prototype = {
  106072. call$1(complex) {
  106073. return complex.components.length === 1;
  106074. },
  106075. $signature: 21
  106076. };
  106077. A.ExtensionStore__extendPseudo_closure6.prototype = {
  106078. call$1(complex) {
  106079. return complex.components.length <= 1;
  106080. },
  106081. $signature: 21
  106082. };
  106083. A.ExtensionStore__extendPseudo_closure7.prototype = {
  106084. call$1(complex) {
  106085. var innerPseudo, innerSelector,
  106086. t1 = complex.get$singleCompound();
  106087. if (t1 == null)
  106088. innerPseudo = null;
  106089. else {
  106090. t1 = t1.components;
  106091. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  106092. }
  106093. if (!(innerPseudo instanceof A.PseudoSelector0))
  106094. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106095. innerSelector = innerPseudo.selector;
  106096. if (innerSelector == null)
  106097. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106098. t1 = this.pseudo;
  106099. switch (t1.normalizedName) {
  106100. case "not":
  106101. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  106102. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106103. return innerSelector.components;
  106104. case "is":
  106105. case "matches":
  106106. case "where":
  106107. case "any":
  106108. case "current":
  106109. case "nth-child":
  106110. case "nth-last-child":
  106111. if (innerPseudo.name !== t1.name)
  106112. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106113. if (innerPseudo.argument != t1.argument)
  106114. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106115. return innerSelector.components;
  106116. case "has":
  106117. case "host":
  106118. case "host-context":
  106119. case "slotted":
  106120. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106121. default:
  106122. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106123. }
  106124. },
  106125. $signature: 475
  106126. };
  106127. A.ExtensionStore__extendPseudo_closure8.prototype = {
  106128. call$1(complex) {
  106129. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  106130. },
  106131. $signature: 476
  106132. };
  106133. A.ExtensionStore__trim_closure1.prototype = {
  106134. call$1(complex2) {
  106135. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106136. },
  106137. $signature: 21
  106138. };
  106139. A.ExtensionStore__trim_closure2.prototype = {
  106140. call$1(complex2) {
  106141. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106142. },
  106143. $signature: 21
  106144. };
  106145. A.ExtensionStore_clone_closure0.prototype = {
  106146. call$2(simple, selectors) {
  106147. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  106148. t1 = type$.ModifiableBox_SelectorList_2,
  106149. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  106150. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  106151. 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();) {
  106152. t7 = t2.get$current(t2);
  106153. newSelector = new A.ModifiableBox0(t7.value, t1);
  106154. newSelectorSet.add$1(0, newSelector);
  106155. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  106156. _0_0 = t5.$index(0, t7);
  106157. if (_0_0 != null)
  106158. t6.$indexSet(0, newSelector, _0_0);
  106159. }
  106160. },
  106161. $signature: 477
  106162. };
  106163. A.FiberClass.prototype = {};
  106164. A.Fiber.prototype = {};
  106165. A.JSToDartFileImporter.prototype = {
  106166. canonicalize$1(_, url) {
  106167. var result, t1, resultUrl;
  106168. if (url.get$scheme() === "file")
  106169. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  106170. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  106171. if (result == null)
  106172. return null;
  106173. t1 = self.Promise;
  106174. if (result instanceof t1)
  106175. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  106176. else {
  106177. t1 = self.URL;
  106178. if (!(result instanceof t1))
  106179. A.jsThrow(new self.Error(string$.The_fie));
  106180. }
  106181. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  106182. if (resultUrl.get$scheme() !== "file")
  106183. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  106184. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  106185. },
  106186. load$1(_, url) {
  106187. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  106188. },
  106189. isNonCanonicalScheme$1(scheme) {
  106190. return scheme !== "file";
  106191. }
  106192. };
  106193. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  106194. call$0() {
  106195. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  106196. },
  106197. $signature: 36
  106198. };
  106199. A.FilesystemImporter0.prototype = {
  106200. canonicalize$1(_, url) {
  106201. var resolved;
  106202. if (url.get$scheme() === "file")
  106203. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  106204. else if (url.get$scheme() !== "")
  106205. return null;
  106206. else {
  106207. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  106208. if (resolved != null && this._filesystem$_loadPathDeprecated)
  106209. A.warnForDeprecation0(string$.Using_t, B.Deprecation_Ds6);
  106210. }
  106211. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  106212. },
  106213. load$1(_, url) {
  106214. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  106215. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  106216. },
  106217. toString$0(_) {
  106218. return this._filesystem$_loadPath;
  106219. }
  106220. };
  106221. A.FilesystemImporter_canonicalize_closure0.prototype = {
  106222. call$1(resolved) {
  106223. var t2, t0, _null = null,
  106224. t1 = A.isNodeJs() ? self.process : _null;
  106225. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  106226. t1 = A.isNodeJs() ? self.process : _null;
  106227. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  106228. } else
  106229. t1 = true;
  106230. if (t1) {
  106231. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  106232. t2 = $.$get$context();
  106233. t1 = A._realCasePath0(t2.normalize$1(t1));
  106234. } else {
  106235. t1 = $.$get$context();
  106236. t2 = t1.canonicalize$1(0, resolved);
  106237. t0 = t2;
  106238. t2 = t1;
  106239. t1 = t0;
  106240. }
  106241. return t2.toUri$1(t1);
  106242. },
  106243. $signature: 127
  106244. };
  106245. A.ForRule0.prototype = {
  106246. accept$1$1(visitor) {
  106247. return visitor.visitForRule$1(0, this);
  106248. },
  106249. accept$1(visitor) {
  106250. return this.accept$1$1(visitor, type$.dynamic);
  106251. },
  106252. toString$0(_) {
  106253. var _this = this,
  106254. t1 = _this.from.toString$0(0),
  106255. t2 = _this.isExclusive ? "to" : "through";
  106256. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + B.JSArray_methods.join$1(_this.children, " ") + "}";
  106257. },
  106258. get$span(receiver) {
  106259. return this.span;
  106260. }
  106261. };
  106262. A.ForwardRule0.prototype = {
  106263. accept$1$1(visitor) {
  106264. return visitor.visitForwardRule$1(0, this);
  106265. },
  106266. accept$1(visitor) {
  106267. return this.accept$1$1(visitor, type$.dynamic);
  106268. },
  106269. toString$0(_) {
  106270. var t2, prefix, _this = this,
  106271. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106272. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106273. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106274. if (shownMixinsAndFunctions != null) {
  106275. t2 = _this.shownVariables;
  106276. t2.toString;
  106277. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106278. t1 = t2;
  106279. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106280. t2 = _this.hiddenVariables;
  106281. t2.toString;
  106282. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106283. t1 = t2;
  106284. }
  106285. prefix = _this.prefix;
  106286. if (prefix != null)
  106287. t1 += " as " + prefix + "*";
  106288. t2 = _this.configuration;
  106289. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106290. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106291. },
  106292. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106293. var t2,
  106294. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  106295. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106296. t1.push("$" + t2.get$current(0));
  106297. return B.JSArray_methods.join$1(t1, ", ");
  106298. },
  106299. get$span(receiver) {
  106300. return this.span;
  106301. }
  106302. };
  106303. A.ForwardedModuleView0.prototype = {
  106304. get$url(_) {
  106305. var t1 = this._forwarded_view0$_inner;
  106306. return t1.get$url(t1);
  106307. },
  106308. get$upstream() {
  106309. return this._forwarded_view0$_inner.get$upstream();
  106310. },
  106311. get$extensionStore() {
  106312. return this._forwarded_view0$_inner.get$extensionStore();
  106313. },
  106314. get$css(_) {
  106315. var t1 = this._forwarded_view0$_inner;
  106316. return t1.get$css(t1);
  106317. },
  106318. get$preModuleComments() {
  106319. return this._forwarded_view0$_inner.get$preModuleComments();
  106320. },
  106321. get$transitivelyContainsCss() {
  106322. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  106323. },
  106324. get$transitivelyContainsExtensions() {
  106325. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  106326. },
  106327. setVariable$3($name, value, nodeWithSpan) {
  106328. var t2, _1_0, _2_0,
  106329. _s19_ = "Undefined variable.",
  106330. t1 = this._forwarded_view0$_rule,
  106331. _0_0 = t1.shownVariables;
  106332. if (_0_0 != null)
  106333. t2 = !_0_0._base.contains$1(0, $name);
  106334. else
  106335. t2 = false;
  106336. if (t2)
  106337. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106338. else {
  106339. _1_0 = t1.hiddenVariables;
  106340. if (_1_0 != null)
  106341. t2 = _1_0._base.contains$1(0, $name);
  106342. else
  106343. t2 = false;
  106344. if (t2)
  106345. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106346. }
  106347. _2_0 = t1.prefix;
  106348. if (_2_0 != null) {
  106349. if (!B.JSString_methods.startsWith$1($name, _2_0))
  106350. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106351. $name = B.JSString_methods.substring$1($name, _2_0.length);
  106352. }
  106353. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  106354. },
  106355. variableIdentity$1($name) {
  106356. var _0_0 = this._forwarded_view0$_rule.prefix;
  106357. if (_0_0 != null)
  106358. $name = B.JSString_methods.substring$1($name, _0_0.length);
  106359. return this._forwarded_view0$_inner.variableIdentity$1($name);
  106360. },
  106361. couldHaveBeenConfigured$1(variables) {
  106362. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  106363. t1 = _this._forwarded_view0$_rule,
  106364. t2 = t1.prefix,
  106365. t3 = t2 == null,
  106366. t4 = false;
  106367. if (t3)
  106368. if (t1.shownVariables == null) {
  106369. t4 = t1.hiddenVariables;
  106370. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  106371. t4 = t4 !== false;
  106372. }
  106373. if (t4)
  106374. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables);
  106375. if (!t3) {
  106376. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  106377. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  106378. t6 = t4.get$current(t4);
  106379. if (B.JSString_methods.startsWith$1(t6, t2))
  106380. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  106381. }
  106382. variables = t3;
  106383. }
  106384. _1_0 = t1.shownVariables;
  106385. if (_1_0 != null)
  106386. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  106387. else {
  106388. _2_0 = t1.hiddenVariables;
  106389. if (_2_0 != null) {
  106390. t1 = _2_0._base.get$isNotEmpty(0);
  106391. blocklist = _2_0;
  106392. } else {
  106393. blocklist = null;
  106394. t1 = false;
  106395. }
  106396. t2 = _this._forwarded_view0$_inner;
  106397. if (t1)
  106398. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  106399. else
  106400. return t2.couldHaveBeenConfigured$1(variables);
  106401. }
  106402. },
  106403. $eq(_, other) {
  106404. if (other == null)
  106405. return false;
  106406. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  106407. },
  106408. get$hashCode(_) {
  106409. var t1 = this._forwarded_view0$_inner;
  106410. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  106411. },
  106412. cloneCss$0() {
  106413. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  106414. },
  106415. toString$0(_) {
  106416. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  106417. },
  106418. $isModule1: 1,
  106419. get$variables() {
  106420. return this.variables;
  106421. },
  106422. get$variableNodes() {
  106423. return this.variableNodes;
  106424. },
  106425. get$functions(receiver) {
  106426. return this.functions;
  106427. },
  106428. get$mixins() {
  106429. return this.mixins;
  106430. }
  106431. };
  106432. A.FunctionExpression0.prototype = {
  106433. get$nameSpan() {
  106434. if (this.namespace == null)
  106435. return A.SpanExtensions_initialIdentifier0(this.span);
  106436. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  106437. },
  106438. accept$1$1(visitor) {
  106439. return visitor.visitFunctionExpression$1(0, this);
  106440. },
  106441. accept$1(visitor) {
  106442. return this.accept$1$1(visitor, type$.dynamic);
  106443. },
  106444. toString$0(_) {
  106445. var t1 = this.namespace;
  106446. t1 = t1 != null ? t1 + "." : "";
  106447. t1 += this.originalName + this.$arguments.toString$0(0);
  106448. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106449. },
  106450. get$span(receiver) {
  106451. return this.span;
  106452. }
  106453. };
  106454. A.JSFunction0.prototype = {};
  106455. A.SupportsFunction0.prototype = {
  106456. toInterpolation$0() {
  106457. var t4, t5,
  106458. t1 = new A.StringBuffer(""),
  106459. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  106460. t3 = this.name;
  106461. t2.addInterpolation$1(t3);
  106462. t4 = this.$arguments;
  106463. t5 = t4.span;
  106464. t3 = A.SpanExtensions_between(t3.span, t5);
  106465. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  106466. t1._contents += t3;
  106467. t2.addInterpolation$1(t4);
  106468. t4 = this.span;
  106469. t5 = A.SpanExtensions_after(t4, t5);
  106470. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  106471. t1._contents += t5;
  106472. return t2.interpolation$1(t4);
  106473. },
  106474. withSpan$1(span) {
  106475. return new A.SupportsFunction0(this.name, this.$arguments, span);
  106476. },
  106477. toString$0(_) {
  106478. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  106479. },
  106480. $isAstNode0: 1,
  106481. $isSassNode: 1,
  106482. $isSupportsCondition: 1,
  106483. get$span(receiver) {
  106484. return this.span;
  106485. }
  106486. };
  106487. A.functionClass_closure.prototype = {
  106488. call$0() {
  106489. var t1 = type$.JSClass,
  106490. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  106491. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null), null).constructor), jsClass);
  106492. return jsClass;
  106493. },
  106494. $signature: 15
  106495. };
  106496. A.functionClass__closure.prototype = {
  106497. call$3($self, signature, callback) {
  106498. var paren = B.JSString_methods.indexOf$1(signature, "(");
  106499. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  106500. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  106501. 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);
  106502. },
  106503. "call*": "call$3",
  106504. $requiredArgCount: 3,
  106505. $signature: 478
  106506. };
  106507. A.functionClass__closure0.prototype = {
  106508. call$1(_) {
  106509. return B.C__SassNull0;
  106510. },
  106511. $signature: 3
  106512. };
  106513. A.SassFunction0.prototype = {
  106514. accept$1$1(visitor) {
  106515. var t1, t2;
  106516. if (!visitor._serialize0$_inspect)
  106517. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  106518. t1 = visitor._serialize0$_buffer;
  106519. t1.write$1(0, "get-function(");
  106520. t2 = this.callable;
  106521. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  106522. t1.writeCharCode$1(41);
  106523. return null;
  106524. },
  106525. accept$1(visitor) {
  106526. return this.accept$1$1(visitor, type$.dynamic);
  106527. },
  106528. assertFunction$1($name) {
  106529. return this;
  106530. },
  106531. assertCompileContext$1(compileContext) {
  106532. var t1 = this._function0$_compileContext;
  106533. if (t1 != null)
  106534. t1 = t1 !== compileContext;
  106535. else
  106536. t1 = false;
  106537. if (t1)
  106538. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  106539. return this;
  106540. },
  106541. $eq(_, other) {
  106542. if (other == null)
  106543. return false;
  106544. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  106545. },
  106546. get$hashCode(_) {
  106547. var t1 = this.callable;
  106548. return t1.get$hashCode(t1);
  106549. }
  106550. };
  106551. A.FunctionRule0.prototype = {
  106552. accept$1$1(visitor) {
  106553. return visitor.visitFunctionRule$1(0, this);
  106554. },
  106555. accept$1(visitor) {
  106556. return this.accept$1$1(visitor, type$.dynamic);
  106557. },
  106558. toString$0(_) {
  106559. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  106560. }
  106561. };
  106562. A.unifyComplex_closure0.prototype = {
  106563. call$1(complex) {
  106564. return complex.lineBreak;
  106565. },
  106566. $signature: 21
  106567. };
  106568. A._weaveParents_closure3.prototype = {
  106569. call$2(group1, group2) {
  106570. var t1, unified;
  106571. if (B.C_ListEquality.equals$2(0, group1, group2))
  106572. return group1;
  106573. if (A._complexIsParentSuperselector0(group1, group2))
  106574. return group2;
  106575. if (A._complexIsParentSuperselector0(group2, group1))
  106576. return group1;
  106577. if (!A._mustUnify0(group1, group2))
  106578. return null;
  106579. t1 = this.span;
  106580. 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);
  106581. if (unified == null)
  106582. t1 = null;
  106583. else {
  106584. t1 = A.IterableExtension_get_singleOrNull(unified);
  106585. t1 = t1 == null ? null : t1.components;
  106586. }
  106587. return t1;
  106588. },
  106589. $signature: 479
  106590. };
  106591. A._weaveParents_closure4.prototype = {
  106592. call$1(sequence) {
  106593. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  106594. },
  106595. $signature: 245
  106596. };
  106597. A._weaveParents_closure5.prototype = {
  106598. call$1(sequence) {
  106599. return sequence.get$length(0) === 0;
  106600. },
  106601. $signature: 245
  106602. };
  106603. A._weaveParents_closure6.prototype = {
  106604. call$1(choice) {
  106605. return J.get$isNotEmpty$asx(choice);
  106606. },
  106607. $signature: 481
  106608. };
  106609. A._mustUnify_closure0.prototype = {
  106610. call$1(component) {
  106611. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  106612. },
  106613. $signature: 54
  106614. };
  106615. A._mustUnify__closure0.prototype = {
  106616. call$1(simple) {
  106617. var t1;
  106618. if (!(simple instanceof A.IDSelector0))
  106619. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  106620. else
  106621. t1 = true;
  106622. return t1 && this.uniqueSelectors.contains$1(0, simple);
  106623. },
  106624. $signature: 13
  106625. };
  106626. A.paths_closure0.prototype = {
  106627. call$2(paths, choice) {
  106628. var t1 = this.T;
  106629. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  106630. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  106631. return t1;
  106632. },
  106633. $signature() {
  106634. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  106635. }
  106636. };
  106637. A.paths__closure0.prototype = {
  106638. call$1(option) {
  106639. var t1 = this.T;
  106640. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  106641. },
  106642. $signature() {
  106643. return this.T._eval$1("Iterable<List<0>>(0)");
  106644. }
  106645. };
  106646. A.paths___closure0.prototype = {
  106647. call$1(path) {
  106648. var t1 = A.List_List$_of(path, this.T);
  106649. t1.push(this.option);
  106650. return t1;
  106651. },
  106652. $signature() {
  106653. return this.T._eval$1("List<0>(List<0>)");
  106654. }
  106655. };
  106656. A.listIsSuperselector_closure0.prototype = {
  106657. call$1(complex1) {
  106658. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  106659. },
  106660. $signature: 21
  106661. };
  106662. A.listIsSuperselector__closure0.prototype = {
  106663. call$1(complex2) {
  106664. return complex2.isSuperselector$1(this.complex1);
  106665. },
  106666. $signature: 21
  106667. };
  106668. A.complexIsSuperselector_closure1.prototype = {
  106669. call$1($parent) {
  106670. return $parent.combinators.length > 1;
  106671. },
  106672. $signature: 54
  106673. };
  106674. A.complexIsSuperselector_closure2.prototype = {
  106675. call$1(component) {
  106676. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  106677. },
  106678. $signature: 54
  106679. };
  106680. A._compatibleWithPreviousCombinator_closure0.prototype = {
  106681. call$1(component) {
  106682. var t1 = component.combinators,
  106683. t2 = A.IterableExtension_get_firstOrNull(t1);
  106684. if ((t2 == null ? null : t2.value) !== B.Combinator_55N0) {
  106685. t1 = A.IterableExtension_get_firstOrNull(t1);
  106686. t1 = (t1 == null ? null : t1.value) === B.Combinator_bOP0;
  106687. } else
  106688. t1 = true;
  106689. return t1;
  106690. },
  106691. $signature: 54
  106692. };
  106693. A.compoundIsSuperselector_closure0.prototype = {
  106694. call$1(simple1) {
  106695. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  106696. },
  106697. $signature: 13
  106698. };
  106699. A._selectorPseudoIsSuperselector_closure6.prototype = {
  106700. call$1(selector2) {
  106701. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106702. },
  106703. $signature: 73
  106704. };
  106705. A._selectorPseudoIsSuperselector_closure7.prototype = {
  106706. call$1(complex1) {
  106707. var t1, t2;
  106708. if (complex1.leadingCombinators.length === 0) {
  106709. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  106710. t2 = this.parents;
  106711. if (t2 != null)
  106712. B.JSArray_methods.addAll$1(t1, t2);
  106713. t2 = this.compound2;
  106714. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), t2.span));
  106715. t1 = A.complexIsSuperselector0(complex1.components, t1);
  106716. } else
  106717. t1 = false;
  106718. return t1;
  106719. },
  106720. $signature: 21
  106721. };
  106722. A._selectorPseudoIsSuperselector_closure8.prototype = {
  106723. call$1(selector2) {
  106724. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106725. },
  106726. $signature: 73
  106727. };
  106728. A._selectorPseudoIsSuperselector_closure9.prototype = {
  106729. call$1(selector2) {
  106730. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106731. },
  106732. $signature: 73
  106733. };
  106734. A._selectorPseudoIsSuperselector_closure10.prototype = {
  106735. call$1(complex) {
  106736. if (complex.accept$1(B._IsBogusVisitor_true0))
  106737. return false;
  106738. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  106739. },
  106740. $signature: 21
  106741. };
  106742. A._selectorPseudoIsSuperselector__closure0.prototype = {
  106743. call$1(simple2) {
  106744. var t1, selector2, _0_4, _this = this;
  106745. $label0$1: {
  106746. if (simple2 instanceof A.TypeSelector0) {
  106747. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  106748. break $label0$1;
  106749. }
  106750. if (simple2 instanceof A.IDSelector0) {
  106751. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  106752. break $label0$1;
  106753. }
  106754. selector2 = null;
  106755. t1 = false;
  106756. if (simple2 instanceof A.PseudoSelector0) {
  106757. _0_4 = simple2.selector;
  106758. if (_0_4 != null) {
  106759. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  106760. t1 = simple2.name === _this.pseudo1.name;
  106761. }
  106762. }
  106763. if (t1) {
  106764. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  106765. break $label0$1;
  106766. }
  106767. t1 = false;
  106768. break $label0$1;
  106769. }
  106770. return t1;
  106771. },
  106772. $signature: 13
  106773. };
  106774. A._selectorPseudoIsSuperselector___closure1.prototype = {
  106775. call$1(simple1) {
  106776. var t1;
  106777. if (simple1 instanceof A.TypeSelector0) {
  106778. t1 = this.simple2.name.$eq(0, simple1.name);
  106779. t1 = !t1;
  106780. } else
  106781. t1 = false;
  106782. return t1;
  106783. },
  106784. $signature: 13
  106785. };
  106786. A._selectorPseudoIsSuperselector___closure2.prototype = {
  106787. call$1(simple1) {
  106788. var t1;
  106789. if (simple1 instanceof A.IDSelector0)
  106790. t1 = this.simple2.name !== simple1.name;
  106791. else
  106792. t1 = false;
  106793. return t1;
  106794. },
  106795. $signature: 13
  106796. };
  106797. A._selectorPseudoIsSuperselector_closure11.prototype = {
  106798. call$1(selector2) {
  106799. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  106800. return t1;
  106801. },
  106802. $signature: 73
  106803. };
  106804. A._selectorPseudoIsSuperselector_closure12.prototype = {
  106805. call$1(pseudo2) {
  106806. var t1, selector2;
  106807. if (!(pseudo2 instanceof A.PseudoSelector0))
  106808. return false;
  106809. t1 = this.pseudo1;
  106810. if (pseudo2.name !== t1.name)
  106811. return false;
  106812. if (pseudo2.argument != t1.argument)
  106813. return false;
  106814. selector2 = pseudo2.selector;
  106815. if (selector2 == null)
  106816. return false;
  106817. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106818. },
  106819. $signature: 13
  106820. };
  106821. A._selectorPseudoArgs_closure1.prototype = {
  106822. call$1(pseudo) {
  106823. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  106824. },
  106825. $signature: 483
  106826. };
  106827. A._selectorPseudoArgs_closure2.prototype = {
  106828. call$1(pseudo) {
  106829. return pseudo.selector;
  106830. },
  106831. $signature: 484
  106832. };
  106833. A.globalFunctions_closure0.prototype = {
  106834. call$1($arguments) {
  106835. var t1 = J.getInterceptor$asx($arguments);
  106836. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  106837. },
  106838. $signature: 3
  106839. };
  106840. A.GamutMapMethod0.prototype = {
  106841. toString$0(_) {
  106842. return this.name;
  106843. }
  106844. };
  106845. A.HslColorSpace0.prototype = {
  106846. get$isBoundedInternal() {
  106847. return true;
  106848. },
  106849. get$isLegacyInternal() {
  106850. return true;
  106851. },
  106852. get$isPolarInternal() {
  106853. return true;
  106854. },
  106855. convert$5(dest, hue, saturation, lightness, alpha) {
  106856. var t1 = hue == null,
  106857. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  106858. t2 = saturation == null,
  106859. scaledSaturation = (t2 ? 0 : saturation) / 100,
  106860. t3 = lightness == null,
  106861. scaledLightness = (t3 ? 0 : lightness) / 100,
  106862. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  106863. m1 = scaledLightness * 2 - m2;
  106864. 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);
  106865. }
  106866. };
  106867. A.HwbColorSpace0.prototype = {
  106868. get$isBoundedInternal() {
  106869. return true;
  106870. },
  106871. get$isLegacyInternal() {
  106872. return true;
  106873. },
  106874. get$isPolarInternal() {
  106875. return true;
  106876. },
  106877. convert$5(dest, hue, whiteness, blackness, alpha) {
  106878. var t3, t1 = {},
  106879. t2 = hue == null,
  106880. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  106881. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  106882. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  106883. sum = scaledWhiteness + scaledBlackness;
  106884. if (sum > 1) {
  106885. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  106886. scaledBlackness /= sum;
  106887. } else
  106888. t3 = scaledWhiteness;
  106889. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  106890. 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);
  106891. }
  106892. };
  106893. A.HwbColorSpace_convert_toRgb0.prototype = {
  106894. call$1(hue) {
  106895. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  106896. },
  106897. $signature: 16
  106898. };
  106899. A.IDSelector0.prototype = {
  106900. get$specificity() {
  106901. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  106902. },
  106903. accept$1$1(visitor) {
  106904. return visitor.visitIDSelector$1(this);
  106905. },
  106906. accept$1(visitor) {
  106907. return this.accept$1$1(visitor, type$.dynamic);
  106908. },
  106909. addSuffix$1(suffix) {
  106910. return new A.IDSelector0(this.name + suffix, this.span);
  106911. },
  106912. unify$1(compound) {
  106913. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  106914. return null;
  106915. return this.super$SimpleSelector$unify0(compound);
  106916. },
  106917. $eq(_, other) {
  106918. if (other == null)
  106919. return false;
  106920. return other instanceof A.IDSelector0 && other.name === this.name;
  106921. },
  106922. get$hashCode(_) {
  106923. return B.JSString_methods.get$hashCode(this.name);
  106924. }
  106925. };
  106926. A.IDSelector_unify_closure0.prototype = {
  106927. call$1(simple) {
  106928. var t1;
  106929. if (simple instanceof A.IDSelector0)
  106930. t1 = this.$this.name !== simple.name;
  106931. else
  106932. t1 = false;
  106933. return t1;
  106934. },
  106935. $signature: 13
  106936. };
  106937. A.IfExpression0.prototype = {
  106938. accept$1$1(visitor) {
  106939. return visitor.visitIfExpression$1(0, this);
  106940. },
  106941. accept$1(visitor) {
  106942. return this.accept$1$1(visitor, type$.dynamic);
  106943. },
  106944. toString$0(_) {
  106945. return "if" + this.$arguments.toString$0(0);
  106946. },
  106947. get$span(receiver) {
  106948. return this.span;
  106949. }
  106950. };
  106951. A.IfRule0.prototype = {
  106952. accept$1$1(visitor) {
  106953. return visitor.visitIfRule$1(0, this);
  106954. },
  106955. accept$1(visitor) {
  106956. return this.accept$1$1(visitor, type$.dynamic);
  106957. },
  106958. toString$0(_) {
  106959. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  106960. lastClause = this.lastClause;
  106961. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  106962. },
  106963. get$span(receiver) {
  106964. return this.span;
  106965. }
  106966. };
  106967. A.IfRule_toString_closure0.prototype = {
  106968. call$2(index, clause) {
  106969. var t1 = index === 0 ? "if" : "else if";
  106970. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  106971. },
  106972. $signature: 485
  106973. };
  106974. A.IfRuleClause0.prototype = {};
  106975. A.IfRuleClause$__closure0.prototype = {
  106976. call$1(child) {
  106977. var t1;
  106978. $label0$0: {
  106979. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  106980. t1 = true;
  106981. break $label0$0;
  106982. }
  106983. if (child instanceof A.ImportRule0) {
  106984. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  106985. break $label0$0;
  106986. }
  106987. t1 = false;
  106988. break $label0$0;
  106989. }
  106990. return t1;
  106991. },
  106992. $signature: 246
  106993. };
  106994. A.IfRuleClause$___closure0.prototype = {
  106995. call$1($import) {
  106996. return $import instanceof A.DynamicImport0;
  106997. },
  106998. $signature: 247
  106999. };
  107000. A.IfClause0.prototype = {
  107001. toString$0(_) {
  107002. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107003. }
  107004. };
  107005. A.ElseClause0.prototype = {
  107006. toString$0(_) {
  107007. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107008. }
  107009. };
  107010. A.ImmutableList0.prototype = {};
  107011. A.ImmutableMap0.prototype = {};
  107012. A.immutableMapToDartMap_closure.prototype = {
  107013. call$3(value, key, _) {
  107014. this.dartMap.$indexSet(0, key, value);
  107015. },
  107016. "call*": "call$3",
  107017. $requiredArgCount: 3,
  107018. $signature: 488
  107019. };
  107020. A.NodeImporter.prototype = {
  107021. loadRelative$3(url, previous, forImport) {
  107022. var t1, t2, _null = null;
  107023. if ($.$get$url().style.rootLength$1(url) > 0) {
  107024. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  107025. return _null;
  107026. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  107027. }
  107028. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  107029. return _null;
  107030. t1 = $.$get$context();
  107031. previous.toString;
  107032. t2 = t1.style;
  107033. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  107034. },
  107035. load$3(_, url, previous, forImport) {
  107036. var t1, t2, _i, _0_0, _this = this,
  107037. previousString = _this._previousToString$1(previous);
  107038. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107039. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  107040. if (_0_0 != null)
  107041. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  107042. }
  107043. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107044. },
  107045. loadAsync$3(url, previous, forImport) {
  107046. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  107047. },
  107048. loadAsync$body$NodeImporter(url, previous, forImport) {
  107049. var $async$goto = 0,
  107050. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  107051. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  107052. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107053. if ($async$errorCode === 1)
  107054. return A._asyncRethrow($async$result, $async$completer);
  107055. while (true)
  107056. switch ($async$goto) {
  107057. case 0:
  107058. // Function start
  107059. previousString = $async$self._previousToString$1(previous);
  107060. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  107061. case 3:
  107062. // for condition
  107063. if (!(_i < t2)) {
  107064. // goto after for
  107065. $async$goto = 5;
  107066. break;
  107067. }
  107068. $async$goto = 6;
  107069. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  107070. case 6:
  107071. // returning from await.
  107072. _0_0 = $async$result;
  107073. if (_0_0 != null) {
  107074. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  107075. // goto return
  107076. $async$goto = 1;
  107077. break;
  107078. }
  107079. case 4:
  107080. // for update
  107081. ++_i;
  107082. // goto for condition
  107083. $async$goto = 3;
  107084. break;
  107085. case 5:
  107086. // after for
  107087. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107088. // goto return
  107089. $async$goto = 1;
  107090. break;
  107091. case 1:
  107092. // return
  107093. return A._asyncReturn($async$returnValue, $async$completer);
  107094. }
  107095. });
  107096. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  107097. },
  107098. _previousToString$1(previous) {
  107099. var t1;
  107100. $label0$0: {
  107101. if (previous == null) {
  107102. t1 = "stdin";
  107103. break $label0$0;
  107104. }
  107105. if ("file" === previous.get$scheme()) {
  107106. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  107107. break $label0$0;
  107108. }
  107109. t1 = previous.toString$0(0);
  107110. break $label0$0;
  107111. }
  107112. return t1;
  107113. },
  107114. _resolveLoadPathFromUrl$2(url, forImport) {
  107115. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  107116. },
  107117. _resolveLoadPath$2(path, forImport) {
  107118. var t1, t2, _i, t3, _1_0, _null = null,
  107119. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107120. if (_0_0 != null)
  107121. return _0_0;
  107122. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107123. t3 = A.join(t1[_i], path, _null);
  107124. _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);
  107125. if (_1_0 != null)
  107126. return _1_0;
  107127. }
  107128. return _null;
  107129. },
  107130. _tryPath$2(path, forImport) {
  107131. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  107132. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  107133. },
  107134. _handleImportResult$4(url, previous, value, forImport) {
  107135. var t1, file, contents, t2, resolved;
  107136. if (value instanceof self.Error)
  107137. throw A.wrapException(value);
  107138. if (!type$.NodeImporterResult._is(value))
  107139. return null;
  107140. t1 = J.getInterceptor$x(value);
  107141. file = t1.get$file(value);
  107142. contents = t1.get$contents(value);
  107143. t1 = contents == null;
  107144. t2 = !t1;
  107145. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  107146. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  107147. if (file == null)
  107148. return new A._Record_2(t1 ? "" : contents, url);
  107149. else if (t2)
  107150. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  107151. else {
  107152. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  107153. if (resolved == null)
  107154. resolved = this._resolveLoadPath$2(file, forImport);
  107155. if (resolved != null)
  107156. return resolved;
  107157. throw A.wrapException("Can't find stylesheet to import.");
  107158. }
  107159. },
  107160. _callImporterAsync$4(importer, url, previousString, forImport) {
  107161. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  107162. },
  107163. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  107164. var $async$goto = 0,
  107165. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  107166. $async$returnValue, $async$self = this, t1, result;
  107167. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107168. if ($async$errorCode === 1)
  107169. return A._asyncRethrow($async$result, $async$completer);
  107170. while (true)
  107171. switch ($async$goto) {
  107172. case 0:
  107173. // Function start
  107174. t1 = new A._Future($.Zone__current, type$._Future_Object);
  107175. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  107176. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  107177. break;
  107178. case 3:
  107179. // then
  107180. $async$goto = 5;
  107181. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  107182. case 5:
  107183. // returning from await.
  107184. $async$returnValue = $async$result;
  107185. // goto return
  107186. $async$goto = 1;
  107187. break;
  107188. case 4:
  107189. // join
  107190. $async$returnValue = result;
  107191. // goto return
  107192. $async$goto = 1;
  107193. break;
  107194. case 1:
  107195. // return
  107196. return A._asyncReturn($async$returnValue, $async$completer);
  107197. }
  107198. });
  107199. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  107200. },
  107201. _renderContext$1(fromImport) {
  107202. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  107203. J.set$context$x(J.get$options$x(context), context);
  107204. return context;
  107205. }
  107206. };
  107207. A.NodeImporter_load_closure.prototype = {
  107208. call$0() {
  107209. var _this = this;
  107210. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  107211. },
  107212. $signature: 36
  107213. };
  107214. A.NodeImporter__tryPath_closure.prototype = {
  107215. call$0() {
  107216. return A.resolveImportPath0(this.path);
  107217. },
  107218. $signature: 45
  107219. };
  107220. A.NodeImporter__tryPath_closure0.prototype = {
  107221. call$1(resolved) {
  107222. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  107223. },
  107224. $signature: 489
  107225. };
  107226. A.NodeImporter__callImporterAsync_closure.prototype = {
  107227. call$0() {
  107228. var _this = this;
  107229. 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));
  107230. },
  107231. $signature: 36
  107232. };
  107233. A.ModifiableCssImport0.prototype = {
  107234. accept$1$1(visitor) {
  107235. return visitor.visitCssImport$1(this);
  107236. },
  107237. accept$1(visitor) {
  107238. return this.accept$1$1(visitor, type$.dynamic);
  107239. },
  107240. get$span(receiver) {
  107241. return this.span;
  107242. }
  107243. };
  107244. A.ImportCache0.prototype = {
  107245. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  107246. 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;
  107247. if (A.isBrowser())
  107248. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  107249. else
  107250. t1 = false;
  107251. if (t1)
  107252. throw A.wrapException(string$.Custom);
  107253. if (baseImporter != null && url.get$scheme() === "") {
  107254. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  107255. if (resolvedUrl == null)
  107256. resolvedUrl = url;
  107257. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  107258. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  107259. if (relativeResult != null)
  107260. return relativeResult;
  107261. }
  107262. key = new A._Record_2_forImport(url, forImport);
  107263. t1 = _this._import_cache$_canonicalizeCache;
  107264. if (t1.containsKey$1(key))
  107265. return t1.$index(0, key);
  107266. 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) {
  107267. importer = t2[i];
  107268. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  107269. if (t4.containsKey$1(perImporterKey)) {
  107270. t7 = t4.$index(0, perImporterKey);
  107271. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  107272. } else
  107273. _1_0 = _null;
  107274. _1_2_isSet = t3._is(_1_0);
  107275. result = _null;
  107276. if (_1_2_isSet) {
  107277. _1_2 = _1_0._0;
  107278. t7 = _1_2 != null;
  107279. if (t7) {
  107280. t6._as(_1_2);
  107281. result = _1_2;
  107282. }
  107283. } else {
  107284. _1_2 = _null;
  107285. t7 = false;
  107286. }
  107287. if (t7)
  107288. return result;
  107289. if (_1_2_isSet)
  107290. t7 = _1_2 == null;
  107291. else
  107292. t7 = false;
  107293. if (t7)
  107294. continue;
  107295. $label0$1: {
  107296. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107297. _2_1 = _2_0._0;
  107298. _2_5_isSet = _2_1 != null;
  107299. _2_5 = _null;
  107300. _2_3 = _null;
  107301. t7 = false;
  107302. if (_2_5_isSet) {
  107303. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  107304. _2_3 = _2_0._1;
  107305. t7 = _2_3;
  107306. _2_5 = t7;
  107307. t7 = t7 && cacheable;
  107308. } else
  107309. result = _null;
  107310. if (t7) {
  107311. t1.$indexSet(0, key, result);
  107312. return result;
  107313. }
  107314. if (_2_5_isSet) {
  107315. t7 = _2_5;
  107316. _2_3_isSet = _2_5_isSet;
  107317. } else {
  107318. _2_3 = _2_0._1;
  107319. t7 = _2_3;
  107320. _2_3_isSet = true;
  107321. }
  107322. t7 = t7 && !cacheable;
  107323. if (t7) {
  107324. t4.$indexSet(0, perImporterKey, _2_1);
  107325. if (_2_1 != null)
  107326. return _2_1;
  107327. break $label0$1;
  107328. }
  107329. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  107330. if (t7) {
  107331. if (cacheable) {
  107332. for (j = 0; j < i; ++j)
  107333. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  107334. cacheable = false;
  107335. }
  107336. if (_2_1 != null)
  107337. return _2_1;
  107338. }
  107339. }
  107340. }
  107341. if (cacheable)
  107342. t1.$indexSet(0, key, _null);
  107343. return _null;
  107344. },
  107345. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  107346. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  107347. if (baseUrl != null)
  107348. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  107349. else
  107350. passContainingUrl = false;
  107351. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  107352. t1 = type$.nullable_Object;
  107353. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  107354. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  107355. if (result == null)
  107356. return new A._Record_2(null, cacheable);
  107357. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  107358. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  107359. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  107360. },
  107361. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  107362. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  107363. },
  107364. humanize$1(canonicalUrl) {
  107365. var t1 = this._import_cache$_canonicalizeCache,
  107366. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  107367. 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));
  107368. return t2 == null ? canonicalUrl : t2;
  107369. },
  107370. sourceMapUrl$1(_, canonicalUrl) {
  107371. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  107372. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  107373. return t1 == null ? canonicalUrl : t1;
  107374. }
  107375. };
  107376. A.ImportCache_canonicalize_closure0.prototype = {
  107377. call$0() {
  107378. var _this = this,
  107379. t1 = _this.$this,
  107380. t2 = _this.baseUrl,
  107381. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  107382. if (t2 != null)
  107383. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  107384. return _0_0._0;
  107385. },
  107386. $signature: 490
  107387. };
  107388. A.ImportCache__canonicalize_closure0.prototype = {
  107389. call$0() {
  107390. return this.importer.canonicalize$1(0, this.url);
  107391. },
  107392. $signature: 144
  107393. };
  107394. A.ImportCache_importCanonical_closure0.prototype = {
  107395. call$0() {
  107396. var t3, _this = this,
  107397. t1 = Date.now(),
  107398. t2 = _this.canonicalUrl,
  107399. result = _this.importer.load$1(0, t2);
  107400. if (result == null)
  107401. return null;
  107402. t3 = _this.$this;
  107403. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  107404. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  107405. t3 = result.contents;
  107406. t1 = result.syntax;
  107407. t2 = _this.originalUrl.resolveUri$1(t2);
  107408. return A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  107409. },
  107410. $signature: 491
  107411. };
  107412. A.ImportCache_humanize_closure3.prototype = {
  107413. call$1(result) {
  107414. return result._1.$eq(0, this.canonicalUrl);
  107415. },
  107416. $signature: 492
  107417. };
  107418. A.ImportCache_humanize_closure4.prototype = {
  107419. call$1(result) {
  107420. return result._2;
  107421. },
  107422. $signature: 493
  107423. };
  107424. A.ImportCache_humanize_closure5.prototype = {
  107425. call$1(url) {
  107426. return url.get$path(url).length;
  107427. },
  107428. $signature: 102
  107429. };
  107430. A.ImportCache_humanize_closure6.prototype = {
  107431. call$1(url) {
  107432. var t1 = $.$get$url(),
  107433. t2 = this.canonicalUrl;
  107434. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  107435. },
  107436. $signature: 48
  107437. };
  107438. A.ImportRule0.prototype = {
  107439. accept$1$1(visitor) {
  107440. return visitor.visitImportRule$1(0, this);
  107441. },
  107442. accept$1(visitor) {
  107443. return this.accept$1$1(visitor, type$.dynamic);
  107444. },
  107445. toString$0(_) {
  107446. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  107447. },
  107448. get$span(receiver) {
  107449. return this.span;
  107450. }
  107451. };
  107452. A.JSImporter.prototype = {};
  107453. A.JSImporterResult.prototype = {};
  107454. A.Importer0.prototype = {
  107455. isNonCanonicalScheme$1(scheme) {
  107456. return false;
  107457. }
  107458. };
  107459. A.NodeImporterResult0.prototype = {};
  107460. A.IncludeRule0.prototype = {
  107461. get$spanWithoutContent() {
  107462. var t2, t3,
  107463. t1 = this.span;
  107464. if (!(this.content == null)) {
  107465. t2 = t1.file;
  107466. t3 = this.$arguments.span;
  107467. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  107468. t1 = t3;
  107469. }
  107470. return t1;
  107471. },
  107472. get$nameSpan() {
  107473. var startSpan, scanner, _null = null,
  107474. t1 = this.span,
  107475. t2 = t1._file$_start,
  107476. t3 = t1._end,
  107477. t4 = t1.file._decodedChars;
  107478. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  107479. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  107480. else {
  107481. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  107482. scanner.expectChar$1(64);
  107483. A._scanIdentifier0(scanner);
  107484. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  107485. }
  107486. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  107487. },
  107488. accept$1$1(visitor) {
  107489. return visitor.visitIncludeRule$1(0, this);
  107490. },
  107491. accept$1(visitor) {
  107492. return this.accept$1$1(visitor, type$.dynamic);
  107493. },
  107494. toString$0(_) {
  107495. var t2, _this = this,
  107496. t1 = _this.namespace;
  107497. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  107498. t1 += _this.name;
  107499. t2 = _this.$arguments;
  107500. if (!t2.get$isEmpty(0))
  107501. t1 += "(" + t2.toString$0(0) + ")";
  107502. t2 = _this.content;
  107503. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  107504. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107505. },
  107506. get$span(receiver) {
  107507. return this.span;
  107508. }
  107509. };
  107510. A.InterpolatedFunctionExpression0.prototype = {
  107511. accept$1$1(visitor) {
  107512. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  107513. },
  107514. accept$1(visitor) {
  107515. return this.accept$1$1(visitor, type$.dynamic);
  107516. },
  107517. toString$0(_) {
  107518. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  107519. },
  107520. get$span(receiver) {
  107521. return this.span;
  107522. }
  107523. };
  107524. A.Interpolation0.prototype = {
  107525. get$asPlain() {
  107526. var _0_1, t1, _0_6_isSet, _0_6, first,
  107527. _0_0 = this.contents;
  107528. $label0$0: {
  107529. _0_1 = _0_0.length;
  107530. if (_0_1 <= 0) {
  107531. t1 = "";
  107532. break $label0$0;
  107533. }
  107534. _0_6_isSet = _0_1 === 1;
  107535. if (_0_6_isSet) {
  107536. _0_6 = _0_0[0];
  107537. t1 = typeof _0_6 == "string";
  107538. } else {
  107539. _0_6 = null;
  107540. t1 = false;
  107541. }
  107542. if (t1) {
  107543. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  107544. t1 = first;
  107545. break $label0$0;
  107546. }
  107547. t1 = null;
  107548. break $label0$0;
  107549. }
  107550. return t1;
  107551. },
  107552. get$initialPlain() {
  107553. var _0_4_isSet, _0_4, t1, first,
  107554. _0_0 = this.contents;
  107555. $label0$0: {
  107556. _0_4_isSet = _0_0.length >= 1;
  107557. if (_0_4_isSet) {
  107558. _0_4 = _0_0[0];
  107559. t1 = typeof _0_4 == "string";
  107560. } else {
  107561. _0_4 = null;
  107562. t1 = false;
  107563. }
  107564. if (t1) {
  107565. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  107566. t1 = first;
  107567. break $label0$0;
  107568. }
  107569. t1 = "";
  107570. break $label0$0;
  107571. }
  107572. return t1;
  107573. },
  107574. spanForElement$1(index) {
  107575. var t1, t2, t3, t4, t5, _this = this;
  107576. $label0$0: {
  107577. if (typeof _this.contents[index] == "string") {
  107578. t1 = _this.span;
  107579. t2 = t1.get$file(t1);
  107580. if (index === 0)
  107581. t3 = t1.get$start(t1);
  107582. else {
  107583. t3 = _this.spans[index - 1];
  107584. t3 = t3.get$end(t3);
  107585. }
  107586. t4 = index + 1;
  107587. t5 = _this.spans;
  107588. if (t4 === t5.length)
  107589. t1 = t1.get$end(t1);
  107590. else {
  107591. t1 = t5[t4];
  107592. t1 = t1.get$start(t1);
  107593. }
  107594. t1 = t2.span$2(0, t3.offset, t1.offset);
  107595. break $label0$0;
  107596. }
  107597. t1 = _this.spans[index];
  107598. t1.toString;
  107599. break $label0$0;
  107600. }
  107601. return t1;
  107602. },
  107603. Interpolation$30(contents, spans, span) {
  107604. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  107605. _s8_ = "contents";
  107606. if (spans.length !== J.get$length$asx(contents))
  107607. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  107608. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  107609. t5 = t1[i];
  107610. isString = typeof t5 == "string";
  107611. if (!isString && !(t5 instanceof A.Expression0))
  107612. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  107613. else if (isString) {
  107614. if (i !== 0 && typeof t1[i - 1] == "string")
  107615. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  107616. else if (i < t3 && t4[i] != null)
  107617. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  107618. } else if (i >= t3 || t4[i] == null)
  107619. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  107620. }
  107621. },
  107622. toString$0(_) {
  107623. var t1 = this.contents;
  107624. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  107625. },
  107626. $isAstNode0: 1,
  107627. $isSassNode: 1,
  107628. get$span(receiver) {
  107629. return this.span;
  107630. }
  107631. };
  107632. A.Interpolation_toString_closure0.prototype = {
  107633. call$1(value) {
  107634. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  107635. },
  107636. $signature: 132
  107637. };
  107638. A.SupportsInterpolation0.prototype = {
  107639. toInterpolation$0() {
  107640. var t1 = this.span;
  107641. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  107642. },
  107643. withSpan$1(span) {
  107644. return new A.SupportsInterpolation0(this.expression, span);
  107645. },
  107646. toString$0(_) {
  107647. return "#{" + this.expression.toString$0(0) + "}";
  107648. },
  107649. $isAstNode0: 1,
  107650. $isSassNode: 1,
  107651. $isSupportsCondition: 1,
  107652. get$span(receiver) {
  107653. return this.span;
  107654. }
  107655. };
  107656. A.InterpolationBuffer0.prototype = {
  107657. writeCharCode$1(character) {
  107658. var t1 = this._interpolation_buffer0$_text,
  107659. t2 = A.Primitives_stringFromCharCode(character);
  107660. t1._contents += t2;
  107661. return null;
  107662. },
  107663. add$2(_, expression, span) {
  107664. this._interpolation_buffer0$_flushText$0();
  107665. this._interpolation_buffer0$_contents.push(expression);
  107666. this._interpolation_buffer0$_spans.push(span);
  107667. },
  107668. addInterpolation$1(interpolation) {
  107669. var spansToAdd, _0_4_isSet, _0_4, first, rest, t2, t3, _this = this,
  107670. toAdd = interpolation.contents,
  107671. t1 = toAdd.length;
  107672. if (t1 === 0)
  107673. return;
  107674. spansToAdd = interpolation.spans;
  107675. _0_4_isSet = t1 >= 1;
  107676. if (_0_4_isSet) {
  107677. _0_4 = toAdd[0];
  107678. t1 = typeof _0_4 == "string";
  107679. } else {
  107680. _0_4 = null;
  107681. t1 = false;
  107682. }
  107683. if (t1) {
  107684. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  107685. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  107686. t1 = _this._interpolation_buffer0$_text;
  107687. t1._contents += first;
  107688. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  107689. toAdd = rest;
  107690. }
  107691. _this._interpolation_buffer0$_flushText$0();
  107692. t1 = _this._interpolation_buffer0$_contents;
  107693. B.JSArray_methods.addAll$1(t1, toAdd);
  107694. t2 = _this._interpolation_buffer0$_spans;
  107695. B.JSArray_methods.addAll$1(t2, spansToAdd);
  107696. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  107697. t3 = _this._interpolation_buffer0$_text;
  107698. t1 = A.S(t1.pop());
  107699. t3._contents += t1;
  107700. t2.pop();
  107701. }
  107702. },
  107703. _interpolation_buffer0$_flushText$0() {
  107704. var t1 = this._interpolation_buffer0$_text,
  107705. t2 = t1._contents;
  107706. if (t2.length === 0)
  107707. return;
  107708. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107709. this._interpolation_buffer0$_spans.push(null);
  107710. t1._contents = "";
  107711. },
  107712. interpolation$1(span) {
  107713. var t1 = A.List_List$_of(this._interpolation_buffer0$_contents, type$.Object),
  107714. t2 = this._interpolation_buffer0$_text,
  107715. t3 = t2._contents;
  107716. if (t3.length !== 0)
  107717. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  107718. t3 = A.List_List$_of(this._interpolation_buffer0$_spans, type$.nullable_FileSpan);
  107719. if (t2._contents.length !== 0)
  107720. t3.push(null);
  107721. return A.Interpolation$0(t1, t3, span);
  107722. },
  107723. toString$0(_) {
  107724. var t1, t2, _i, t3, element;
  107725. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  107726. element = t1[_i];
  107727. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  107728. }
  107729. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  107730. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107731. }
  107732. };
  107733. A.InterpolationMap0.prototype = {
  107734. mapException$1(error) {
  107735. var source, startIndex, endIndex, t3, t4, _this = this,
  107736. target = error.get$span(error),
  107737. t1 = _this._interpolation_map$_interpolation,
  107738. t2 = t1.contents;
  107739. if (t2.length === 0)
  107740. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  107741. source = _this.mapSpan$1(target);
  107742. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  107743. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  107744. t1 = error._span_exception$_message;
  107745. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  107746. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  107747. else {
  107748. t2 = type$.SourceSpan;
  107749. t3 = type$.String;
  107750. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  107751. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  107752. }
  107753. },
  107754. mapSpan$1(target) {
  107755. var t1, _0_2_isSet, t2, start, _0_20, end, _this = this, _null = null,
  107756. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  107757. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  107758. $label0$0: {
  107759. t1 = type$.FileSpan;
  107760. _0_2_isSet = t1._is(_0_1);
  107761. t2 = false;
  107762. if (_0_2_isSet) {
  107763. t2 = t1._is(_0_2);
  107764. start = _0_1;
  107765. _0_20 = _0_2;
  107766. } else {
  107767. start = _null;
  107768. _0_20 = start;
  107769. }
  107770. if (t2) {
  107771. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  107772. break $label0$0;
  107773. }
  107774. t2 = false;
  107775. if (t1._is(_0_1)) {
  107776. if (_0_2_isSet)
  107777. t2 = _0_20;
  107778. else {
  107779. t2 = _0_2;
  107780. _0_20 = t2;
  107781. _0_2_isSet = true;
  107782. }
  107783. t2 = t2 instanceof A.FileLocation;
  107784. start = _0_1;
  107785. } else
  107786. start = _null;
  107787. if (t2) {
  107788. t1 = _0_2_isSet ? _0_20 : _0_2;
  107789. type$.FileLocation._as(t1);
  107790. t2 = _this._interpolation_map$_interpolation.span;
  107791. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  107792. break $label0$0;
  107793. }
  107794. t2 = false;
  107795. if (_0_1 instanceof A.FileLocation) {
  107796. if (_0_2_isSet)
  107797. t2 = _0_20;
  107798. else {
  107799. t2 = _0_2;
  107800. _0_20 = t2;
  107801. _0_2_isSet = true;
  107802. }
  107803. t2 = t1._is(t2);
  107804. start = _0_1;
  107805. } else
  107806. start = _null;
  107807. if (t2) {
  107808. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  107809. t1 = _this._interpolation_map$_interpolation.span;
  107810. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  107811. break $label0$0;
  107812. }
  107813. t1 = false;
  107814. if (_0_1 instanceof A.FileLocation) {
  107815. if (_0_2_isSet)
  107816. t1 = _0_20;
  107817. else {
  107818. t1 = _0_2;
  107819. _0_20 = t1;
  107820. _0_2_isSet = true;
  107821. }
  107822. t1 = t1 instanceof A.FileLocation;
  107823. start = _0_1;
  107824. } else
  107825. start = _null;
  107826. if (t1) {
  107827. t1 = _0_2_isSet ? _0_20 : _0_2;
  107828. type$.FileLocation._as(t1);
  107829. t2 = _this._interpolation_map$_interpolation.span;
  107830. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  107831. break $label0$0;
  107832. }
  107833. t1 = A.throwExpression("[BUG] Unreachable");
  107834. }
  107835. return t1;
  107836. },
  107837. _interpolation_map$_mapLocation$1(target) {
  107838. var index, _0_0, t3, previousLocation, _this = this,
  107839. t1 = _this._interpolation_map$_interpolation,
  107840. t2 = t1.contents;
  107841. if (t2.length === 0)
  107842. return t1.span;
  107843. index = _this._interpolation_map$_indexInContents$1(target);
  107844. _0_0 = t2[index];
  107845. if (_0_0 instanceof A.Expression0)
  107846. return _0_0.get$span(_0_0);
  107847. t3 = index === 0;
  107848. t1 = t1.span;
  107849. if (t3)
  107850. previousLocation = t1.get$start(t1);
  107851. else {
  107852. t1 = t1.get$file(t1);
  107853. t2 = type$.Expression_2._as(t2[index - 1]);
  107854. t2 = t2.get$span(t2);
  107855. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  107856. }
  107857. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  107858. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  107859. },
  107860. _interpolation_map$_indexInContents$1(target) {
  107861. var t1, t2, t3, i;
  107862. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  107863. if (t3 < t1[i].get$offset())
  107864. return i;
  107865. return this._interpolation_map$_interpolation.contents.length - 1;
  107866. },
  107867. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  107868. var i0, prev, char,
  107869. source = start.file._decodedChars,
  107870. i = start.offset - 1;
  107871. for (; i >= 0;) {
  107872. i0 = i - 1;
  107873. prev = source[i];
  107874. if (prev === 123) {
  107875. if (source[i0] === 35) {
  107876. i = i0;
  107877. break;
  107878. }
  107879. i = i0;
  107880. } else if (prev === 47) {
  107881. i = i0 - 1;
  107882. if (source[i0] === 42)
  107883. for (; true;) {
  107884. i0 = i - 1;
  107885. if (source[i] !== 42) {
  107886. i = i0;
  107887. continue;
  107888. }
  107889. i = i0;
  107890. do {
  107891. i0 = i - 1;
  107892. char = source[i];
  107893. if (char === 42) {
  107894. i = i0;
  107895. continue;
  107896. } else
  107897. break;
  107898. } while (true);
  107899. if (char === 47) {
  107900. i = i0;
  107901. break;
  107902. }
  107903. i = i0;
  107904. }
  107905. } else
  107906. i = i0;
  107907. }
  107908. return i;
  107909. },
  107910. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  107911. var t1, i0, next, second, t2, char,
  107912. source = end.file._decodedChars,
  107913. i = end.offset;
  107914. for (t1 = source.length; i < t1;) {
  107915. i0 = i + 1;
  107916. next = source[i];
  107917. if (next === 125) {
  107918. i = i0;
  107919. break;
  107920. }
  107921. if (next === 47) {
  107922. i = i0 + 1;
  107923. second = source[i0];
  107924. if (second === 47) {
  107925. while (true) {
  107926. i0 = i + 1;
  107927. t2 = source[i];
  107928. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  107929. break;
  107930. i = i0;
  107931. }
  107932. i = i0;
  107933. } else if (second === 42)
  107934. for (; true;) {
  107935. i0 = i + 1;
  107936. if (source[i] !== 42) {
  107937. i = i0;
  107938. continue;
  107939. }
  107940. i = i0;
  107941. do {
  107942. i0 = i + 1;
  107943. char = source[i];
  107944. if (char === 42) {
  107945. i = i0;
  107946. continue;
  107947. } else
  107948. break;
  107949. } while (true);
  107950. if (char === 47) {
  107951. i = i0;
  107952. break;
  107953. }
  107954. i = i0;
  107955. }
  107956. } else
  107957. i = i0;
  107958. }
  107959. return i;
  107960. }
  107961. };
  107962. A.InterpolationMap_mapException_closure0.prototype = {
  107963. call$1($content) {
  107964. return $content instanceof A.Expression0;
  107965. },
  107966. $signature: 71
  107967. };
  107968. A.InterpolationMethod0.prototype = {
  107969. toString$0(_) {
  107970. var t1 = this.hue;
  107971. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  107972. return this.space.name + t1;
  107973. }
  107974. };
  107975. A.HueInterpolationMethod0.prototype = {
  107976. _enumToString$0() {
  107977. return "HueInterpolationMethod." + this._name;
  107978. }
  107979. };
  107980. A._realCasePath_helper0.prototype = {
  107981. call$2(path, realPath) {
  107982. var dirname = $.$get$context().dirname$1(path);
  107983. if (dirname === path)
  107984. return path;
  107985. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(path, realPath, this, dirname));
  107986. },
  107987. call$1(path) {
  107988. return this.call$2(path, null);
  107989. },
  107990. $signature: 149
  107991. };
  107992. A._realCasePath_helper_closure0.prototype = {
  107993. call$0() {
  107994. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  107995. t2 = _this.path;
  107996. if (!A.linkExists0(t2)) {
  107997. realPathNonNull = null;
  107998. try {
  107999. realPathNonNull0 = _this.realPath;
  108000. realPathNonNull = realPathNonNull0 == null ? A.realpath0(t2) : realPathNonNull0;
  108001. } catch (exception) {
  108002. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108003. return t2;
  108004. else
  108005. throw exception;
  108006. }
  108007. t1 = realPathNonNull;
  108008. t2 = $.$get$context();
  108009. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  108010. }
  108011. realDirname = _this.helper.call$1(_this.dirname);
  108012. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  108013. try {
  108014. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  108015. t1 = null;
  108016. _0_0 = matches;
  108017. $label0$0: {
  108018. match = null;
  108019. if (J.get$length$asx(_0_0) === 1) {
  108020. match = J.$index$asx(_0_0, 0);
  108021. t1 = match;
  108022. break $label0$0;
  108023. }
  108024. t1 = A.join(realDirname, basename, null);
  108025. break $label0$0;
  108026. }
  108027. t1 = t1;
  108028. return t1;
  108029. } catch (exception) {
  108030. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108031. return t2;
  108032. else
  108033. throw exception;
  108034. }
  108035. },
  108036. $signature: 27
  108037. };
  108038. A._realCasePath_helper__closure0.prototype = {
  108039. call$1(realPath) {
  108040. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  108041. },
  108042. $signature: 5
  108043. };
  108044. A.IsCalculationSafeVisitor0.prototype = {
  108045. visitBinaryOperationExpression$1(_, node) {
  108046. return B.Set_oQTdo0.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  108047. },
  108048. visitBooleanExpression$1(_, node) {
  108049. return false;
  108050. },
  108051. visitColorExpression$1(_, node) {
  108052. return false;
  108053. },
  108054. visitFunctionExpression$1(_, node) {
  108055. return true;
  108056. },
  108057. visitInterpolatedFunctionExpression$1(_, node) {
  108058. return true;
  108059. },
  108060. visitIfExpression$1(_, node) {
  108061. return true;
  108062. },
  108063. visitListExpression$1(_, node) {
  108064. var t1 = false;
  108065. if (node.separator === B.ListSeparator_qSL0)
  108066. if (!node.hasBrackets) {
  108067. t1 = node.contents;
  108068. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  108069. }
  108070. return t1;
  108071. },
  108072. visitMapExpression$1(_, node) {
  108073. return false;
  108074. },
  108075. visitNullExpression$1(_, node) {
  108076. return false;
  108077. },
  108078. visitNumberExpression$1(_, node) {
  108079. return true;
  108080. },
  108081. visitParenthesizedExpression$1(_, node) {
  108082. return node.expression.accept$1(this);
  108083. },
  108084. visitSelectorExpression$1(_, node) {
  108085. return false;
  108086. },
  108087. visitStringExpression$1(_, node) {
  108088. var text, t1, t2;
  108089. if (node.hasQuotes)
  108090. return false;
  108091. text = node.text.get$initialPlain();
  108092. t1 = false;
  108093. if (!B.JSString_methods.startsWith$1(text, "!"))
  108094. if (!B.JSString_methods.startsWith$1(text, "#")) {
  108095. t2 = text.length;
  108096. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  108097. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  108098. }
  108099. return t1;
  108100. },
  108101. visitSupportsExpression$1(_, node) {
  108102. return false;
  108103. },
  108104. visitUnaryOperationExpression$1(_, node) {
  108105. return false;
  108106. },
  108107. visitValueExpression$1(_, node) {
  108108. return false;
  108109. },
  108110. visitVariableExpression$1(_, node) {
  108111. return true;
  108112. },
  108113. $isExpressionVisitor: 1
  108114. };
  108115. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  108116. call$1(expression) {
  108117. return expression.accept$1(this.$this);
  108118. },
  108119. $signature: 117
  108120. };
  108121. A.FileSystemException0.prototype = {
  108122. toString$0(_) {
  108123. var t1 = $.$get$context();
  108124. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  108125. },
  108126. get$message(receiver) {
  108127. return this.message;
  108128. }
  108129. };
  108130. A._readFile_closure0.prototype = {
  108131. call$0() {
  108132. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  108133. },
  108134. $signature: 59
  108135. };
  108136. A.fileExists_closure0.prototype = {
  108137. call$0() {
  108138. var error, systemError, exception,
  108139. t1 = this.path;
  108140. if (!J.existsSync$1$x(A.fs(), t1))
  108141. return false;
  108142. try {
  108143. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  108144. return t1;
  108145. } catch (exception) {
  108146. error = A.unwrapException(exception);
  108147. systemError = type$.JsSystemError._as(error);
  108148. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108149. return false;
  108150. throw exception;
  108151. }
  108152. },
  108153. $signature: 20
  108154. };
  108155. A.dirExists_closure0.prototype = {
  108156. call$0() {
  108157. var error, systemError, exception,
  108158. t1 = this.path;
  108159. if (!J.existsSync$1$x(A.fs(), t1))
  108160. return false;
  108161. try {
  108162. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  108163. return t1;
  108164. } catch (exception) {
  108165. error = A.unwrapException(exception);
  108166. systemError = type$.JsSystemError._as(error);
  108167. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108168. return false;
  108169. throw exception;
  108170. }
  108171. },
  108172. $signature: 20
  108173. };
  108174. A.linkExists_closure0.prototype = {
  108175. call$0() {
  108176. var error, systemError, t1, exception;
  108177. try {
  108178. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  108179. return t1;
  108180. } catch (exception) {
  108181. error = A.unwrapException(exception);
  108182. systemError = type$.JsSystemError._as(error);
  108183. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108184. return false;
  108185. throw exception;
  108186. }
  108187. },
  108188. $signature: 20
  108189. };
  108190. A.listDir_closure0.prototype = {
  108191. call$0() {
  108192. var t1 = this.path;
  108193. if (!this.recursive)
  108194. 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());
  108195. else
  108196. return new A.listDir_closure_list0().call$1(t1);
  108197. },
  108198. $signature: 152
  108199. };
  108200. A.listDir__closure1.prototype = {
  108201. call$1(child) {
  108202. return A.join(this.path, A._asString(child), null);
  108203. },
  108204. $signature: 134
  108205. };
  108206. A.listDir__closure2.prototype = {
  108207. call$1(child) {
  108208. return !A.dirExists0(child);
  108209. },
  108210. $signature: 5
  108211. };
  108212. A.listDir_closure_list0.prototype = {
  108213. call$1($parent) {
  108214. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  108215. },
  108216. $signature: 153
  108217. };
  108218. A.listDir__list_closure0.prototype = {
  108219. call$1(child) {
  108220. var path = A.join(this.parent, A._asString(child), null);
  108221. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  108222. },
  108223. $signature: 154
  108224. };
  108225. A.realpath_closure0.prototype = {
  108226. call$0() {
  108227. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  108228. },
  108229. $signature: 27
  108230. };
  108231. A.main_closure.prototype = {
  108232. call$2(_, __) {
  108233. },
  108234. $signature: 494
  108235. };
  108236. A.main_closure0.prototype = {
  108237. call$2(_, __) {
  108238. },
  108239. $signature: 495
  108240. };
  108241. A.JSToDartLogger.prototype = {
  108242. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  108243. var t2, t3, t4,
  108244. t1 = this._node,
  108245. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  108246. if (_0_0 != null) {
  108247. t1 = span == null ? self.undefined : span;
  108248. t2 = J.toString$0$(trace);
  108249. t3 = deprecation == null;
  108250. t4 = $.$get$deprecations();
  108251. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  108252. } else
  108253. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  108254. },
  108255. debug$2(_, message, span) {
  108256. var t1 = this._node,
  108257. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  108258. if (_0_0 != null)
  108259. _0_0.call$2(message, {span: span});
  108260. else
  108261. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  108262. },
  108263. _withAscii$1$1(callback) {
  108264. var t1,
  108265. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  108266. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108267. try {
  108268. t1 = callback.call$0();
  108269. return t1;
  108270. } finally {
  108271. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108272. }
  108273. },
  108274. _withAscii$1(callback) {
  108275. return this._withAscii$1$1(callback, type$.dynamic);
  108276. }
  108277. };
  108278. A.JSToDartLogger_internalWarn_closure.prototype = {
  108279. call$0() {
  108280. var _this = this;
  108281. $label0$0: {
  108282. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  108283. break $label0$0;
  108284. }
  108285. },
  108286. $signature: 1
  108287. };
  108288. A.JSToDartLogger_debug_closure.prototype = {
  108289. call$0() {
  108290. return this.$this._fallback.debug$2(0, this.message, this.span);
  108291. },
  108292. $signature: 0
  108293. };
  108294. A.ModifiableCssKeyframeBlock0.prototype = {
  108295. accept$1$1(visitor) {
  108296. return visitor.visitCssKeyframeBlock$1(this);
  108297. },
  108298. accept$1(visitor) {
  108299. return this.accept$1$1(visitor, type$.dynamic);
  108300. },
  108301. equalsIgnoringChildren$1(other) {
  108302. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  108303. },
  108304. copyWithoutChildren$0() {
  108305. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  108306. },
  108307. get$span(receiver) {
  108308. return this.span;
  108309. }
  108310. };
  108311. A.KeyframeSelectorParser0.prototype = {
  108312. parse$0(_) {
  108313. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  108314. },
  108315. _keyframe_selector$_percentage$0() {
  108316. var $self, _0_0,
  108317. t1 = this.scanner,
  108318. t2 = t1.scanChar$1(43) ? A.Primitives_stringFromCharCode(43) : "",
  108319. second = t1.peekChar$0();
  108320. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  108321. t1.error$1(0, "Expected number.");
  108322. while (true) {
  108323. $self = t1.peekChar$0();
  108324. if (!($self != null && $self >= 48 && $self <= 57))
  108325. break;
  108326. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108327. }
  108328. if (t1.peekChar$0() === 46) {
  108329. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108330. while (true) {
  108331. $self = t1.peekChar$0();
  108332. if (!($self != null && $self >= 48 && $self <= 57))
  108333. break;
  108334. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108335. }
  108336. }
  108337. if (this.scanIdentChar$1(101)) {
  108338. t2 += A.Primitives_stringFromCharCode(101);
  108339. _0_0 = t1.peekChar$0();
  108340. if (43 === _0_0 || 45 === _0_0)
  108341. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108342. $self = t1.peekChar$0();
  108343. if (!($self != null && $self >= 48 && $self <= 57))
  108344. t1.error$1(0, "Expected digit.");
  108345. do {
  108346. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108347. $self = t1.peekChar$0();
  108348. } while ($self != null && $self >= 48 && $self <= 57);
  108349. }
  108350. t1.expectChar$1(37);
  108351. t2 += A.Primitives_stringFromCharCode(37);
  108352. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108353. }
  108354. };
  108355. A.KeyframeSelectorParser_parse_closure0.prototype = {
  108356. call$0() {
  108357. var selectors = A._setArrayType([], type$.JSArray_String),
  108358. t1 = this.$this,
  108359. t2 = t1.scanner;
  108360. do {
  108361. t1.whitespace$1$consumeNewlines(true);
  108362. if (t1.lookingAtIdentifier$0())
  108363. if (t1.scanIdentifier$1("from"))
  108364. selectors.push("from");
  108365. else {
  108366. t1.expectIdentifier$2$name("to", '"to" or "from"');
  108367. selectors.push("to");
  108368. }
  108369. else
  108370. selectors.push(t1._keyframe_selector$_percentage$0());
  108371. t1.whitespace$1$consumeNewlines(true);
  108372. } while (t2.scanChar$1(44));
  108373. t2.expectDone$0();
  108374. return selectors;
  108375. },
  108376. $signature: 138
  108377. };
  108378. A.LabColorSpace0.prototype = {
  108379. get$isBoundedInternal() {
  108380. return false;
  108381. },
  108382. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  108383. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  108384. switch (dest) {
  108385. case B.LabColorSpace_2nT0:
  108386. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  108387. t1 = a == null || powerlessAB ? null : a;
  108388. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  108389. case B.LchColorSpace_Bpv0:
  108390. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  108391. default:
  108392. missingLightness = lightness == null;
  108393. if (missingLightness)
  108394. lightness = 0;
  108395. f1 = (lightness + 16) / 116;
  108396. t1 = a == null;
  108397. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  108398. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  108399. t4 = b == null;
  108400. 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);
  108401. }
  108402. },
  108403. convert$5(dest, lightness, a, b, alpha) {
  108404. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  108405. },
  108406. _lab$_convertFToXorZ$1(component) {
  108407. var cubed = Math.pow(component, 3) + 0;
  108408. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  108409. }
  108410. };
  108411. A.LazyFileSpan0.prototype = {
  108412. get$span(_) {
  108413. var t1 = this._lazy_file_span0$_span;
  108414. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  108415. },
  108416. compareTo$1(_, other) {
  108417. return this.get$span(0).compareTo$1(0, other);
  108418. },
  108419. get$context(_) {
  108420. var t1 = this.get$span(0);
  108421. return t1.get$context(t1);
  108422. },
  108423. get$end(_) {
  108424. var t1 = this.get$span(0);
  108425. return t1.get$end(t1);
  108426. },
  108427. expand$1(_, other) {
  108428. return this.get$span(0).expand$1(0, other);
  108429. },
  108430. get$file(_) {
  108431. var t1 = this.get$span(0);
  108432. return t1.get$file(t1);
  108433. },
  108434. highlight$1$color(color) {
  108435. return this.get$span(0).highlight$1$color(color);
  108436. },
  108437. get$length(_) {
  108438. var t1 = this.get$span(0);
  108439. return t1.get$length(t1);
  108440. },
  108441. message$2$color(_, message, color) {
  108442. return this.get$span(0).message$2$color(0, message, color);
  108443. },
  108444. message$1(_, message) {
  108445. return this.message$2$color(0, message, null);
  108446. },
  108447. get$sourceUrl(_) {
  108448. var t1 = this.get$span(0);
  108449. return t1.get$sourceUrl(t1);
  108450. },
  108451. get$start(_) {
  108452. var t1 = this.get$span(0);
  108453. return t1.get$start(t1);
  108454. },
  108455. get$text() {
  108456. return this.get$span(0).get$text();
  108457. },
  108458. $isComparable: 1,
  108459. $isFileSpan: 1,
  108460. $isSourceSpan: 1,
  108461. $isSourceSpanWithContext: 1
  108462. };
  108463. A.LchColorSpace0.prototype = {
  108464. get$isBoundedInternal() {
  108465. return false;
  108466. },
  108467. get$isPolarInternal() {
  108468. return true;
  108469. },
  108470. convert$5(dest, lightness, chroma, hue, alpha) {
  108471. var t1 = hue == null,
  108472. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  108473. t2 = chroma == null,
  108474. t3 = t2 ? 0 : chroma,
  108475. t4 = Math.cos(hueRadians),
  108476. t5 = t2 ? 0 : chroma;
  108477. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  108478. }
  108479. };
  108480. A.render_closure.prototype = {
  108481. call$0() {
  108482. var error, exception;
  108483. try {
  108484. this.callback.call$2(null, A.renderSync(this.options));
  108485. } catch (exception) {
  108486. error = A.unwrapException(exception);
  108487. this.callback.call$2(error, null);
  108488. }
  108489. return null;
  108490. },
  108491. $signature: 1
  108492. };
  108493. A.render_closure0.prototype = {
  108494. call$1(result) {
  108495. this.callback.call$2(null, result);
  108496. },
  108497. $signature: 586
  108498. };
  108499. A.render_closure1.prototype = {
  108500. call$2(error, stackTrace) {
  108501. var t2, t3, _null = null,
  108502. t1 = this.callback;
  108503. if (error instanceof A.SassException0)
  108504. t1.call$2(A._wrapException(error, stackTrace), _null);
  108505. else {
  108506. t2 = J.toString$0$(error);
  108507. t3 = A.getTrace0(error);
  108508. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  108509. }
  108510. },
  108511. $signature: 51
  108512. };
  108513. A._parseFunctions_closure.prototype = {
  108514. call$2(signature, callback) {
  108515. var _0_0, _this = this,
  108516. t1 = _this.options,
  108517. context = {options: A._contextOptions(t1, _this.start)};
  108518. J.set$context$x(J.get$options$x(context), context);
  108519. _0_0 = J.get$fiber$x(t1);
  108520. t1 = {};
  108521. t1.fiber = null;
  108522. if (_0_0 != null) {
  108523. t1.fiber = _0_0;
  108524. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  108525. } else {
  108526. t1 = _this.result;
  108527. if (!_this.asynch)
  108528. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  108529. else
  108530. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  108531. }
  108532. },
  108533. $signature: 126
  108534. };
  108535. A._parseFunctions__closure.prototype = {
  108536. call$1($arguments) {
  108537. var result,
  108538. t1 = this._box_0,
  108539. currentFiber = J.get$current$x(t1.fiber),
  108540. t2 = type$.Object;
  108541. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108542. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  108543. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  108544. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  108545. },
  108546. $signature: 3
  108547. };
  108548. A._parseFunctions___closure2.prototype = {
  108549. call$1(result) {
  108550. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  108551. },
  108552. call$0() {
  108553. return this.call$1(null);
  108554. },
  108555. "call*": "call$1",
  108556. $requiredArgCount: 0,
  108557. $defaultValues() {
  108558. return [null];
  108559. },
  108560. $signature: 111
  108561. };
  108562. A._parseFunctions____closure.prototype = {
  108563. call$0() {
  108564. return J.run$1$x(this.currentFiber, this.result);
  108565. },
  108566. $signature: 0
  108567. };
  108568. A._parseFunctions___closure3.prototype = {
  108569. call$0() {
  108570. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108571. },
  108572. $signature: 36
  108573. };
  108574. A._parseFunctions___closure4.prototype = {
  108575. call$0() {
  108576. return J.yield$0$x(this._box_0.fiber);
  108577. },
  108578. $signature: 91
  108579. };
  108580. A._parseFunctions__closure0.prototype = {
  108581. call$1($arguments) {
  108582. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  108583. },
  108584. $signature: 3
  108585. };
  108586. A._parseFunctions___closure1.prototype = {
  108587. call$0() {
  108588. var t1 = type$.JSFunction._as(this.callback),
  108589. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  108590. t2 = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  108591. return J.apply$2$x(t1, this.context, t2);
  108592. },
  108593. $signature: 36
  108594. };
  108595. A._parseFunctions__closure1.prototype = {
  108596. call$1($arguments) {
  108597. return this.$call$body$_parseFunctions__closure($arguments);
  108598. },
  108599. $call$body$_parseFunctions__closure($arguments) {
  108600. var $async$goto = 0,
  108601. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  108602. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  108603. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  108604. if ($async$errorCode === 1)
  108605. return A._asyncRethrow($async$result, $async$completer);
  108606. while (true)
  108607. switch ($async$goto) {
  108608. case 0:
  108609. // Function start
  108610. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  108611. t2 = type$.Object;
  108612. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108613. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  108614. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  108615. $async$temp1 = A;
  108616. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  108617. break;
  108618. case 3:
  108619. // then
  108620. $async$goto = 6;
  108621. return A._asyncAwait(t1, $async$call$1);
  108622. case 6:
  108623. // returning from await.
  108624. // goto join
  108625. $async$goto = 4;
  108626. break;
  108627. case 5:
  108628. // else
  108629. $async$result = result;
  108630. case 4:
  108631. // join
  108632. $async$returnValue = $async$temp1.unwrapValue($async$result);
  108633. // goto return
  108634. $async$goto = 1;
  108635. break;
  108636. case 1:
  108637. // return
  108638. return A._asyncReturn($async$returnValue, $async$completer);
  108639. }
  108640. });
  108641. return A._asyncStartSync($async$call$1, $async$completer);
  108642. },
  108643. $signature: 109
  108644. };
  108645. A._parseFunctions___closure.prototype = {
  108646. call$1(result) {
  108647. return this.completer.complete$1(result);
  108648. },
  108649. call$0() {
  108650. return this.call$1(null);
  108651. },
  108652. "call*": "call$1",
  108653. $requiredArgCount: 0,
  108654. $defaultValues() {
  108655. return [null];
  108656. },
  108657. $signature: 217
  108658. };
  108659. A._parseFunctions___closure0.prototype = {
  108660. call$0() {
  108661. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108662. },
  108663. $signature: 36
  108664. };
  108665. A._parseImporter_closure.prototype = {
  108666. call$1(importer) {
  108667. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  108668. },
  108669. $signature: 497
  108670. };
  108671. A._parseImporter__closure.prototype = {
  108672. call$4(thisArg, url, previous, _) {
  108673. var t1 = this._box_0,
  108674. 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));
  108675. if (A._asBool($.$get$_isUndefined().call$1(result)))
  108676. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  108677. return result;
  108678. },
  108679. call$3(thisArg, url, previous) {
  108680. return this.call$4(thisArg, url, previous, null);
  108681. },
  108682. "call*": "call$4",
  108683. $requiredArgCount: 3,
  108684. $defaultValues() {
  108685. return [null];
  108686. },
  108687. $signature: 498
  108688. };
  108689. A._parseImporter___closure.prototype = {
  108690. call$1(result) {
  108691. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  108692. },
  108693. $signature: 499
  108694. };
  108695. A._parseImporter____closure.prototype = {
  108696. call$0() {
  108697. return J.run$1$x(this.currentFiber, this.result);
  108698. },
  108699. $signature: 0
  108700. };
  108701. A._parseImporter___closure0.prototype = {
  108702. call$0() {
  108703. return J.yield$0$x(this._box_0.fiber);
  108704. },
  108705. $signature: 91
  108706. };
  108707. A.LimitedMapView0.prototype = {
  108708. get$keys(_) {
  108709. return this._limited_map_view0$_keys;
  108710. },
  108711. get$length(_) {
  108712. return this._limited_map_view0$_keys._collection$_length;
  108713. },
  108714. get$isEmpty(_) {
  108715. return this._limited_map_view0$_keys._collection$_length === 0;
  108716. },
  108717. get$isNotEmpty(_) {
  108718. return this._limited_map_view0$_keys._collection$_length !== 0;
  108719. },
  108720. $index(_, key) {
  108721. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  108722. },
  108723. containsKey$1(key) {
  108724. return this._limited_map_view0$_keys.contains$1(0, key);
  108725. },
  108726. remove$1(_, key) {
  108727. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  108728. }
  108729. };
  108730. A.ListExpression0.prototype = {
  108731. accept$1$1(visitor) {
  108732. return visitor.visitListExpression$1(0, this);
  108733. },
  108734. accept$1(visitor) {
  108735. return this.accept$1$1(visitor, type$.dynamic);
  108736. },
  108737. toString$0(_) {
  108738. var t2, t3, t4, t5, _this = this,
  108739. t1 = _this.hasBrackets;
  108740. if (t1)
  108741. t2 = A.Primitives_stringFromCharCode(91);
  108742. else {
  108743. t2 = _this.contents.length;
  108744. if (t2 !== 0)
  108745. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN0;
  108746. else
  108747. t2 = true;
  108748. t2 = t2 ? A.Primitives_stringFromCharCode(40) : "";
  108749. }
  108750. t3 = _this.contents;
  108751. t4 = _this.separator === B.ListSeparator_qVN0;
  108752. t5 = t4 ? ", " : " ";
  108753. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  108754. if (t1)
  108755. t1 = t5 + A.Primitives_stringFromCharCode(93);
  108756. else {
  108757. t1 = t3.length;
  108758. if (t1 === 0)
  108759. t1 = t5 + A.Primitives_stringFromCharCode(41);
  108760. else
  108761. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  108762. }
  108763. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108764. },
  108765. _list3$_elementNeedsParens$1(expression) {
  108766. var childSeparator, t1, _0_13;
  108767. $label0$0: {
  108768. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  108769. childSeparator = expression.separator;
  108770. t1 = this.separator === B.ListSeparator_qVN0 ? childSeparator === B.ListSeparator_qVN0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  108771. break $label0$0;
  108772. }
  108773. if (expression instanceof A.UnaryOperationExpression0) {
  108774. _0_13 = expression.operator;
  108775. if (B.UnaryOperator_Rbl0 !== _0_13)
  108776. t1 = B.UnaryOperator_UCP0 === _0_13;
  108777. else
  108778. t1 = true;
  108779. } else
  108780. t1 = false;
  108781. if (t1) {
  108782. t1 = this.separator === B.ListSeparator_qSL0;
  108783. break $label0$0;
  108784. }
  108785. t1 = false;
  108786. break $label0$0;
  108787. }
  108788. return t1;
  108789. },
  108790. get$span(receiver) {
  108791. return this.span;
  108792. }
  108793. };
  108794. A.ListExpression_toString_closure0.prototype = {
  108795. call$1(element) {
  108796. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  108797. },
  108798. $signature: 118
  108799. };
  108800. A._length_closure2.prototype = {
  108801. call$1($arguments) {
  108802. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  108803. },
  108804. $signature: 23
  108805. };
  108806. A._nth_closure0.prototype = {
  108807. call$1($arguments) {
  108808. var t1 = J.getInterceptor$asx($arguments),
  108809. list = t1.$index($arguments, 0),
  108810. index = t1.$index($arguments, 1);
  108811. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  108812. },
  108813. $signature: 3
  108814. };
  108815. A._setNth_closure0.prototype = {
  108816. call$1($arguments) {
  108817. var newList,
  108818. t1 = J.getInterceptor$asx($arguments),
  108819. list = t1.$index($arguments, 0),
  108820. index = t1.$index($arguments, 1),
  108821. value = t1.$index($arguments, 2);
  108822. t1 = list.get$asList();
  108823. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  108824. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  108825. return list.withListContents$1(newList);
  108826. },
  108827. $signature: 29
  108828. };
  108829. A._join_closure0.prototype = {
  108830. call$1($arguments) {
  108831. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  108832. t1 = J.getInterceptor$asx($arguments),
  108833. list1 = t1.$index($arguments, 0),
  108834. list2 = t1.$index($arguments, 1),
  108835. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  108836. bracketedParam = t1.$index($arguments, 3),
  108837. _1_0 = separatorParam._string0$_text;
  108838. $label1$1: {
  108839. if ("auto" === _1_0) {
  108840. _0_1 = list1.get$separator(list1);
  108841. _0_4 = list2.get$separator(list2);
  108842. $label0$0: {
  108843. t1 = null;
  108844. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  108845. _0_4_isSet = _0_3;
  108846. if (_0_4_isSet) {
  108847. t2 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  108848. _0_40 = _0_4;
  108849. } else {
  108850. _0_40 = null;
  108851. t2 = false;
  108852. }
  108853. if (t2) {
  108854. t1 = B.ListSeparator_qSL0;
  108855. break $label0$0;
  108856. }
  108857. if (_0_3)
  108858. separator = _0_4_isSet ? _0_40 : _0_4;
  108859. else
  108860. separator = t1;
  108861. if (!_0_3)
  108862. separator = _0_1;
  108863. t1 = separator;
  108864. break $label0$0;
  108865. }
  108866. break $label1$1;
  108867. }
  108868. if ("space" === _1_0) {
  108869. t1 = B.ListSeparator_qSL0;
  108870. break $label1$1;
  108871. }
  108872. if ("comma" === _1_0) {
  108873. t1 = B.ListSeparator_qVN0;
  108874. break $label1$1;
  108875. }
  108876. if ("slash" === _1_0) {
  108877. t1 = B.ListSeparator_bRz0;
  108878. break $label1$1;
  108879. }
  108880. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108881. }
  108882. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  108883. t2 = A.List_List$_of(list1.get$asList(), type$.Value_2);
  108884. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  108885. return A.SassList$0(t2, t1, bracketed);
  108886. },
  108887. $signature: 29
  108888. };
  108889. A._append_closure2.prototype = {
  108890. call$1($arguments) {
  108891. var t2,
  108892. t1 = J.getInterceptor$asx($arguments),
  108893. list = t1.$index($arguments, 0),
  108894. value = t1.$index($arguments, 1),
  108895. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  108896. $label0$0: {
  108897. if ("auto" === _0_0) {
  108898. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qSL0 : list.get$separator(list);
  108899. break $label0$0;
  108900. }
  108901. if ("space" === _0_0) {
  108902. t1 = B.ListSeparator_qSL0;
  108903. break $label0$0;
  108904. }
  108905. if ("comma" === _0_0) {
  108906. t1 = B.ListSeparator_qVN0;
  108907. break $label0$0;
  108908. }
  108909. if ("slash" === _0_0) {
  108910. t1 = B.ListSeparator_bRz0;
  108911. break $label0$0;
  108912. }
  108913. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  108914. }
  108915. t2 = A.List_List$_of(list.get$asList(), type$.Value_2);
  108916. t2.push(value);
  108917. return list.withListContents$2$separator(t2, t1);
  108918. },
  108919. $signature: 29
  108920. };
  108921. A._zip_closure0.prototype = {
  108922. call$1($arguments) {
  108923. var results, result, _box_0 = {},
  108924. t1 = J.$index$asx($arguments, 0).get$asList(),
  108925. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  108926. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), t2._eval$1("ListIterable.E"));
  108927. if (lists.length === 0)
  108928. return B.SassList_BlY0;
  108929. _box_0.i = 0;
  108930. results = A._setArrayType([], type$.JSArray_SassList_2);
  108931. 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));) {
  108932. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  108933. result.$flags = 3;
  108934. results.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  108935. ++_box_0.i;
  108936. }
  108937. return A.SassList$0(results, B.ListSeparator_qVN0, false);
  108938. },
  108939. $signature: 29
  108940. };
  108941. A._zip__closure2.prototype = {
  108942. call$1(list) {
  108943. return list.get$asList();
  108944. },
  108945. $signature: 501
  108946. };
  108947. A._zip__closure3.prototype = {
  108948. call$1(list) {
  108949. return this._box_0.i !== J.get$length$asx(list);
  108950. },
  108951. $signature: 502
  108952. };
  108953. A._zip__closure4.prototype = {
  108954. call$1(list) {
  108955. return J.$index$asx(list, this._box_0.i);
  108956. },
  108957. $signature: 3
  108958. };
  108959. A._index_closure2.prototype = {
  108960. call$1($arguments) {
  108961. var t1 = J.getInterceptor$asx($arguments),
  108962. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  108963. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  108964. },
  108965. $signature: 3
  108966. };
  108967. A._separator_closure0.prototype = {
  108968. call$1($arguments) {
  108969. var t1 = J.$index$asx($arguments, 0),
  108970. _0_0 = t1.get$separator(t1);
  108971. $label0$0: {
  108972. if (B.ListSeparator_qVN0 === _0_0) {
  108973. t1 = new A.SassString0("comma", false);
  108974. break $label0$0;
  108975. }
  108976. if (B.ListSeparator_bRz0 === _0_0) {
  108977. t1 = new A.SassString0("slash", false);
  108978. break $label0$0;
  108979. }
  108980. t1 = new A.SassString0("space", false);
  108981. break $label0$0;
  108982. }
  108983. return t1;
  108984. },
  108985. $signature: 18
  108986. };
  108987. A._isBracketed_closure0.prototype = {
  108988. call$1($arguments) {
  108989. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  108990. },
  108991. $signature: 11
  108992. };
  108993. A._slash_closure0.prototype = {
  108994. call$1($arguments) {
  108995. var list = J.$index$asx($arguments, 0).get$asList();
  108996. if (list.length < 2)
  108997. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  108998. return A.SassList$0(list, B.ListSeparator_bRz0, false);
  108999. },
  109000. $signature: 29
  109001. };
  109002. A.SelectorList0.prototype = {
  109003. get$asSassList() {
  109004. var t1 = this.components;
  109005. 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);
  109006. },
  109007. accept$1$1(visitor) {
  109008. return visitor.visitSelectorList$1(this);
  109009. },
  109010. accept$1(visitor) {
  109011. return this.accept$1$1(visitor, type$.dynamic);
  109012. },
  109013. unify$1(other) {
  109014. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  109015. t1 = type$.JSArray_ComplexSelector_2,
  109016. t2 = A._setArrayType([], t1);
  109017. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  109018. complex1 = t3[_i];
  109019. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  109020. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  109021. if (t8 != null)
  109022. B.JSArray_methods.addAll$1(t2, t8);
  109023. }
  109024. }
  109025. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  109026. },
  109027. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  109028. var parentSelector, t1, _this = this;
  109029. if ($parent == null) {
  109030. if (preserveParentSelectors)
  109031. return _this;
  109032. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  109033. if (parentSelector == null)
  109034. return _this;
  109035. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  109036. }
  109037. t1 = _this.components;
  109038. 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);
  109039. },
  109040. nestWithin$1($parent) {
  109041. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  109042. },
  109043. nestWithin$2$implicitParent($parent, implicitParent) {
  109044. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  109045. },
  109046. _list2$_nestWithinCompound$2(component, $parent) {
  109047. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  109048. t1 = component.selector,
  109049. simples = t1.components,
  109050. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  109051. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  109052. return null;
  109053. if (containsSelectorPseudo) {
  109054. t2 = simples;
  109055. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  109056. } else
  109057. resolvedSimples0 = simples;
  109058. resolvedSimples = resolvedSimples0;
  109059. parentSelector = J.get$first$ax(simples);
  109060. try {
  109061. if (!(parentSelector instanceof A.ParentSelector0)) {
  109062. t2 = component.span;
  109063. 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);
  109064. return t2;
  109065. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  109066. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  109067. return t1.components;
  109068. }
  109069. } catch (exception) {
  109070. t1 = A.unwrapException(exception);
  109071. if (t1 instanceof A.SassException0) {
  109072. error = t1;
  109073. stackTrace = A.getTraceFromException(exception);
  109074. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  109075. } else
  109076. throw exception;
  109077. }
  109078. t1 = $parent.components;
  109079. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109080. },
  109081. isSuperselector$1(other) {
  109082. return A.listIsSuperselector0(this.components, other.components);
  109083. },
  109084. withAdditionalCombinators$1(combinators) {
  109085. var t1;
  109086. if (combinators.length === 0)
  109087. t1 = this;
  109088. else {
  109089. t1 = this.components;
  109090. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  109091. }
  109092. return t1;
  109093. },
  109094. get$hashCode(_) {
  109095. return B.C_ListEquality0.hash$1(this.components);
  109096. },
  109097. $eq(_, other) {
  109098. if (other == null)
  109099. return false;
  109100. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  109101. }
  109102. };
  109103. A.SelectorList_asSassList_closure0.prototype = {
  109104. call$1(complex) {
  109105. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  109106. t1 = type$.JSArray_Value_2,
  109107. t2 = A._setArrayType([], t1);
  109108. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  109109. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  109110. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  109111. component = t3[_i];
  109112. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  109113. component.selector.accept$1(visitor);
  109114. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  109115. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  109116. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  109117. B.JSArray_methods.addAll$1(t2, t5);
  109118. }
  109119. return A.SassList$0(t2, B.ListSeparator_qSL0, false);
  109120. },
  109121. $signature: 503
  109122. };
  109123. A.SelectorList_nestWithin_closure0.prototype = {
  109124. call$1(complex) {
  109125. 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;
  109126. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  109127. if (!_this.implicitParent)
  109128. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  109129. t1 = _this.parent.components;
  109130. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109131. }
  109132. t1 = type$.JSArray_ComplexSelector_2;
  109133. newComplexes = A._setArrayType([], t1);
  109134. 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) {
  109135. component = t2[_i];
  109136. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  109137. if (resolved == null)
  109138. if (newComplexes.length === 0)
  109139. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  109140. else
  109141. for (i = 0; i < newComplexes.length; ++i) {
  109142. t12 = newComplexes[i];
  109143. t13 = A.List_List$_of(t12.components, t10);
  109144. t13.push(component);
  109145. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  109146. }
  109147. else if (newComplexes.length === 0)
  109148. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  109149. else {
  109150. t12 = A._setArrayType([], t1);
  109151. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  109152. newComplex = newComplexes[_i0];
  109153. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  109154. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  109155. }
  109156. newComplexes = t12;
  109157. }
  109158. }
  109159. return newComplexes;
  109160. },
  109161. $signature: 504
  109162. };
  109163. A.SelectorList_nestWithin__closure1.prototype = {
  109164. call$1(parentComplex) {
  109165. var t1 = this.complex;
  109166. return parentComplex.concatenate$2(t1, t1.span);
  109167. },
  109168. $signature: 58
  109169. };
  109170. A.SelectorList_nestWithin__closure2.prototype = {
  109171. call$1(resolvedComplex) {
  109172. var t1 = resolvedComplex.leadingCombinators,
  109173. t2 = this.complex,
  109174. t3 = t2.leadingCombinators;
  109175. if (t1.length === 0)
  109176. t1 = t3;
  109177. else {
  109178. t3 = A.List_List$_of(t3, type$.CssValue_Combinator_2);
  109179. B.JSArray_methods.addAll$1(t3, t1);
  109180. t1 = t3;
  109181. }
  109182. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  109183. },
  109184. $signature: 58
  109185. };
  109186. A.SelectorList__nestWithinCompound_closure2.prototype = {
  109187. call$1(simple) {
  109188. var selector;
  109189. if (!(simple instanceof A.PseudoSelector0))
  109190. return false;
  109191. selector = simple.selector;
  109192. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109193. },
  109194. $signature: 13
  109195. };
  109196. A.SelectorList__nestWithinCompound_closure3.prototype = {
  109197. call$1(simple) {
  109198. var selector, t1, _0_2;
  109199. $label0$0: {
  109200. selector = null;
  109201. t1 = false;
  109202. if (simple instanceof A.PseudoSelector0) {
  109203. _0_2 = simple.selector;
  109204. if (_0_2 != null) {
  109205. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  109206. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109207. }
  109208. }
  109209. if (t1) {
  109210. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  109211. break $label0$0;
  109212. }
  109213. t1 = simple;
  109214. break $label0$0;
  109215. }
  109216. return t1;
  109217. },
  109218. $signature: 505
  109219. };
  109220. A.SelectorList__nestWithinCompound_closure4.prototype = {
  109221. call$1(complex) {
  109222. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  109223. try {
  109224. t4 = complex.components;
  109225. lastComponent = B.JSArray_methods.get$last(t4);
  109226. if (lastComponent.combinators.length !== 0) {
  109227. 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);
  109228. throw A.wrapException(t1);
  109229. }
  109230. suffix = _this.parentSelector.suffix;
  109231. lastSimples = lastComponent.selector.components;
  109232. t5 = type$.SimpleSelector_2;
  109233. if (suffix == null) {
  109234. t2 = A.List_List$_of(lastSimples, t5);
  109235. t1 = t2;
  109236. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  109237. t1 = t1;
  109238. } else {
  109239. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(lastSimples), t5);
  109240. t2 = t1;
  109241. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  109242. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  109243. t1 = t2;
  109244. }
  109245. t2 = _this.component;
  109246. last = A.CompoundSelector$0(t1, t2.selector.span);
  109247. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t4), type$.ComplexSelectorComponent_2);
  109248. t3 = t1;
  109249. t1 = t2.span;
  109250. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t1));
  109251. t1 = A.ComplexSelector$0(complex.leadingCombinators, t3, t1, complex.lineBreak);
  109252. return t1;
  109253. } catch (exception) {
  109254. t1 = A.unwrapException(exception);
  109255. if (t1 instanceof A.SassException0) {
  109256. error = t1;
  109257. stackTrace = A.getTraceFromException(exception);
  109258. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  109259. } else
  109260. throw exception;
  109261. }
  109262. },
  109263. $signature: 58
  109264. };
  109265. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  109266. call$1(complex) {
  109267. return complex.withAdditionalCombinators$1(this.combinators);
  109268. },
  109269. $signature: 58
  109270. };
  109271. A._ParentSelectorVisitor0.prototype = {
  109272. visitParentSelector$1(selector) {
  109273. return selector;
  109274. }
  109275. };
  109276. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  109277. A.listClass_closure.prototype = {
  109278. call$0() {
  109279. var t1 = type$.JSClass,
  109280. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  109281. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  109282. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_apG.constructor), jsClass);
  109283. return jsClass;
  109284. },
  109285. $signature: 15
  109286. };
  109287. A.listClass__closure.prototype = {
  109288. call$3($self, contentsOrOptions, options) {
  109289. var contents, t1, t2;
  109290. if (self.immutable.isList(contentsOrOptions))
  109291. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  109292. else if (type$.List_dynamic._is(contentsOrOptions))
  109293. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  109294. else {
  109295. contents = A._setArrayType([], type$.JSArray_Value_2);
  109296. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  109297. options = contentsOrOptions;
  109298. }
  109299. t1 = options == null;
  109300. if (!t1) {
  109301. t2 = J.get$separator$x(options);
  109302. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  109303. } else
  109304. t2 = true;
  109305. t2 = t2 ? B.ListSeparator_qVN0 : A.jsToDartSeparator(J.get$separator$x(options));
  109306. t1 = t1 ? null : J.get$brackets$x(options);
  109307. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  109308. },
  109309. call$1($self) {
  109310. return this.call$3($self, null, null);
  109311. },
  109312. call$2($self, contentsOrOptions) {
  109313. return this.call$3($self, contentsOrOptions, null);
  109314. },
  109315. "call*": "call$3",
  109316. $requiredArgCount: 1,
  109317. $defaultValues() {
  109318. return [null, null];
  109319. },
  109320. $signature: 506
  109321. };
  109322. A.listClass__closure0.prototype = {
  109323. call$2($self, indexFloat) {
  109324. var index = B.JSNumber_methods.floor$0(indexFloat);
  109325. if (index < 0)
  109326. index = $self.get$asList().length + index;
  109327. if (index < 0 || index >= $self.get$asList().length)
  109328. return self.undefined;
  109329. return $self.get$asList()[index];
  109330. },
  109331. $signature: 248
  109332. };
  109333. A._ConstructorOptions.prototype = {};
  109334. A._NodeSassList.prototype = {};
  109335. A.legacyListClass_closure.prototype = {
  109336. call$4(thisArg, $length, commaSeparator, dartValue) {
  109337. var t1;
  109338. if (dartValue == null) {
  109339. $length.toString;
  109340. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  109341. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0, false);
  109342. } else
  109343. t1 = dartValue;
  109344. J.set$dartValue$x(thisArg, t1);
  109345. },
  109346. call$2(thisArg, $length) {
  109347. return this.call$4(thisArg, $length, null, null);
  109348. },
  109349. call$3(thisArg, $length, commaSeparator) {
  109350. return this.call$4(thisArg, $length, commaSeparator, null);
  109351. },
  109352. "call*": "call$4",
  109353. $requiredArgCount: 2,
  109354. $defaultValues() {
  109355. return [null, null];
  109356. },
  109357. $signature: 508
  109358. };
  109359. A.legacyListClass__closure.prototype = {
  109360. call$1(_) {
  109361. return B.C__SassNull0;
  109362. },
  109363. $signature: 249
  109364. };
  109365. A.legacyListClass_closure0.prototype = {
  109366. call$2(thisArg, index) {
  109367. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  109368. },
  109369. $signature: 510
  109370. };
  109371. A.legacyListClass_closure1.prototype = {
  109372. call$3(thisArg, index, value) {
  109373. var t1 = J.getInterceptor$x(thisArg),
  109374. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109375. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  109376. mutable[index] = A.unwrapValue(value);
  109377. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  109378. },
  109379. "call*": "call$3",
  109380. $requiredArgCount: 3,
  109381. $signature: 511
  109382. };
  109383. A.legacyListClass_closure2.prototype = {
  109384. call$1(thisArg) {
  109385. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_qVN0;
  109386. },
  109387. $signature: 512
  109388. };
  109389. A.legacyListClass_closure3.prototype = {
  109390. call$2(thisArg, isComma) {
  109391. var t1 = J.getInterceptor$x(thisArg),
  109392. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109393. t3 = isComma ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0;
  109394. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  109395. },
  109396. $signature: 513
  109397. };
  109398. A.legacyListClass_closure4.prototype = {
  109399. call$1(thisArg) {
  109400. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  109401. },
  109402. $signature: 514
  109403. };
  109404. A.SassList0.prototype = {
  109405. get$separator(_) {
  109406. return this._list1$_separator;
  109407. },
  109408. get$hasBrackets() {
  109409. return this._list1$_hasBrackets;
  109410. },
  109411. get$isBlank() {
  109412. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  109413. },
  109414. get$asList() {
  109415. return this._list1$_contents;
  109416. },
  109417. get$lengthAsList() {
  109418. return this._list1$_contents.length;
  109419. },
  109420. SassList$3$brackets0(contents, _separator, brackets) {
  109421. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  109422. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  109423. },
  109424. toString$0(_) {
  109425. var t2, _this = this,
  109426. t1 = true;
  109427. if (!_this._list1$_hasBrackets) {
  109428. t2 = _this._list1$_contents.length;
  109429. if (t2 !== 0)
  109430. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_qVN0;
  109431. }
  109432. if (t1)
  109433. return _this.super$Value$toString0(0);
  109434. return "(" + _this.super$Value$toString0(0) + ")";
  109435. },
  109436. accept$1$1(visitor) {
  109437. return visitor.visitList$1(this);
  109438. },
  109439. accept$1(visitor) {
  109440. return this.accept$1$1(visitor, type$.dynamic);
  109441. },
  109442. assertMap$1($name) {
  109443. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  109444. },
  109445. tryMap$0() {
  109446. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  109447. },
  109448. $eq(_, other) {
  109449. var t1, _this = this;
  109450. if (other == null)
  109451. return false;
  109452. 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)))
  109453. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  109454. else
  109455. t1 = true;
  109456. return t1;
  109457. },
  109458. get$hashCode(_) {
  109459. return B.C_ListEquality0.hash$1(this._list1$_contents);
  109460. }
  109461. };
  109462. A.SassList_isBlank_closure0.prototype = {
  109463. call$1(element) {
  109464. return element.get$isBlank();
  109465. },
  109466. $signature: 55
  109467. };
  109468. A.ListSeparator0.prototype = {
  109469. _enumToString$0() {
  109470. return "ListSeparator." + this._name;
  109471. },
  109472. toString$0(_) {
  109473. return this._list1$_name;
  109474. }
  109475. };
  109476. A.LmsColorSpace0.prototype = {
  109477. get$isBoundedInternal() {
  109478. return false;
  109479. },
  109480. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  109481. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  109482. switch (dest) {
  109483. case B.OklabColorSpace_5400:
  109484. t1 = long == null ? 0 : long;
  109485. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109486. t1 = medium == null ? 0 : medium;
  109487. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109488. t1 = short == null ? 0 : short;
  109489. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109490. t1 = $.$get$lmsToOklab0();
  109491. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109492. t2 = missingLightness ? _null : lightness;
  109493. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  109494. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  109495. case B.OklchColorSpace_9Gj0:
  109496. t1 = long == null ? 0 : long;
  109497. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109498. t1 = medium == null ? 0 : medium;
  109499. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109500. t1 = short == null ? 0 : short;
  109501. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109502. if (missingLightness)
  109503. t1 = _null;
  109504. else {
  109505. t1 = $.$get$lmsToOklab0();
  109506. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109507. }
  109508. t2 = $.$get$lmsToOklab0();
  109509. 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);
  109510. default:
  109511. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  109512. }
  109513. },
  109514. convert$5(dest, long, medium, short, alpha) {
  109515. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  109516. },
  109517. toLinear$1(channel) {
  109518. return channel;
  109519. },
  109520. fromLinear$1(channel) {
  109521. return channel;
  109522. },
  109523. transformationMatrix$1(dest) {
  109524. var t1;
  109525. $label0$0: {
  109526. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  109527. t1 = $.$get$lmsToLinearSrgb0();
  109528. break $label0$0;
  109529. }
  109530. if (B.A98RgbColorSpace_lf20 === dest) {
  109531. t1 = $.$get$lmsToLinearA98Rgb0();
  109532. break $label0$0;
  109533. }
  109534. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  109535. t1 = $.$get$lmsToLinearProphotoRgb0();
  109536. break $label0$0;
  109537. }
  109538. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  109539. t1 = $.$get$lmsToLinearDisplayP30();
  109540. break $label0$0;
  109541. }
  109542. if (B.Rec2020ColorSpace_6oo0 === dest) {
  109543. t1 = $.$get$lmsToLinearRec20200();
  109544. break $label0$0;
  109545. }
  109546. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  109547. t1 = $.$get$lmsToXyzD650();
  109548. break $label0$0;
  109549. }
  109550. if (B.XyzD50ColorSpace_2OB0 === dest) {
  109551. t1 = $.$get$lmsToXyzD500();
  109552. break $label0$0;
  109553. }
  109554. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  109555. break $label0$0;
  109556. }
  109557. return t1;
  109558. }
  109559. };
  109560. A.LocalMindeGamutMap0.prototype = {
  109561. map$1(_, color) {
  109562. var clipped, max, min, minInGamut, chroma, current, e,
  109563. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  109564. lightness = originOklch.channel0OrNull,
  109565. hue = originOklch.channel2OrNull,
  109566. alpha = originOklch.alphaOrNull,
  109567. t1 = lightness == null,
  109568. t2 = t1 ? 0 : lightness;
  109569. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  109570. t1 = color._color0$_space;
  109571. t2 = color.alphaOrNull;
  109572. 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);
  109573. } else {
  109574. t1 = t1 ? 0 : lightness;
  109575. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  109576. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  109577. }
  109578. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  109579. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  109580. return clipped;
  109581. max = originOklch.channel1OrNull;
  109582. if (max == null)
  109583. max = 0;
  109584. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  109585. chroma = (min + max) / 2;
  109586. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  109587. if (minInGamut && current.get$isInGamut()) {
  109588. min = chroma;
  109589. continue;
  109590. }
  109591. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  109592. e = this._local_minde$_deltaEOK$2(clipped, current);
  109593. if (e < 0.02) {
  109594. if (0.02 - e < 0.0001)
  109595. return clipped;
  109596. min = chroma;
  109597. minInGamut = false;
  109598. } else
  109599. max = chroma;
  109600. }
  109601. return clipped;
  109602. },
  109603. _local_minde$_deltaEOK$2(color1, color2) {
  109604. var t2, t3, t4,
  109605. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  109606. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  109607. t1 = lab1.channel0OrNull;
  109608. if (t1 == null)
  109609. t1 = 0;
  109610. t2 = lab2.channel0OrNull;
  109611. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  109612. t2 = lab1.channel1OrNull;
  109613. if (t2 == null)
  109614. t2 = 0;
  109615. t3 = lab2.channel1OrNull;
  109616. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  109617. t3 = lab1.channel2OrNull;
  109618. if (t3 == null)
  109619. t3 = 0;
  109620. t4 = lab2.channel2OrNull;
  109621. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  109622. }
  109623. };
  109624. A.JSLogger.prototype = {};
  109625. A.WarnOptions.prototype = {};
  109626. A.DebugOptions.prototype = {};
  109627. A.LoggerWithDeprecationType0.prototype = {};
  109628. A.LoudComment0.prototype = {
  109629. get$span(_) {
  109630. return this.text.span;
  109631. },
  109632. accept$1$1(visitor) {
  109633. return visitor.visitLoudComment$1(0, this);
  109634. },
  109635. accept$1(visitor) {
  109636. return this.accept$1$1(visitor, type$.dynamic);
  109637. },
  109638. toString$0(_) {
  109639. return this.text.toString$0(0);
  109640. }
  109641. };
  109642. A.MapExpression0.prototype = {
  109643. accept$1$1(visitor) {
  109644. return visitor.visitMapExpression$1(0, this);
  109645. },
  109646. accept$1(visitor) {
  109647. return this.accept$1$1(visitor, type$.dynamic);
  109648. },
  109649. toString$0(_) {
  109650. var t2, t3, _i, t4,
  109651. t1 = A._setArrayType([], type$.JSArray_String);
  109652. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  109653. t4 = t2[_i];
  109654. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  109655. }
  109656. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  109657. },
  109658. get$span(receiver) {
  109659. return this.span;
  109660. }
  109661. };
  109662. A._get_closure0.prototype = {
  109663. call$1($arguments) {
  109664. var value,
  109665. t1 = J.getInterceptor$asx($arguments),
  109666. map = t1.$index($arguments, 0).assertMap$1("map"),
  109667. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109668. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109669. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109670. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109671. if (!(value instanceof A.SassMap0))
  109672. return B.C__SassNull0;
  109673. }
  109674. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  109675. return t1 == null ? B.C__SassNull0 : t1;
  109676. },
  109677. $signature: 3
  109678. };
  109679. A._set_closure1.prototype = {
  109680. call$1($arguments) {
  109681. var t1 = J.getInterceptor$asx($arguments);
  109682. 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);
  109683. },
  109684. $signature: 3
  109685. };
  109686. A._set__closure2.prototype = {
  109687. call$1(_) {
  109688. return J.$index$asx(this.$arguments, 2);
  109689. },
  109690. $signature: 44
  109691. };
  109692. A._set_closure2.prototype = {
  109693. call$1($arguments) {
  109694. var keys, t2, t3,
  109695. t1 = J.getInterceptor$asx($arguments),
  109696. map = t1.$index($arguments, 0).assertMap$1("map"),
  109697. _0_0 = t1.$index($arguments, 1).get$asList(),
  109698. _0_1 = _0_0.length;
  109699. if (_0_1 <= 0)
  109700. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  109701. if (_0_1 === 1)
  109702. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  109703. t1 = {};
  109704. keys = t1.value = null;
  109705. t2 = _0_1 >= 1;
  109706. if (t2) {
  109707. t3 = _0_1 - 1;
  109708. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  109709. t1.value = _0_0[t3];
  109710. }
  109711. if (t2)
  109712. return A._modify0(map, keys, new A._set__closure1(t1), true);
  109713. throw A.wrapException("[BUG] Unreachable code");
  109714. },
  109715. $signature: 3
  109716. };
  109717. A._set__closure1.prototype = {
  109718. call$1(_) {
  109719. return this._box_0.value;
  109720. },
  109721. $signature: 44
  109722. };
  109723. A._merge_closure1.prototype = {
  109724. call$1($arguments) {
  109725. var t2,
  109726. t1 = J.getInterceptor$asx($arguments),
  109727. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109728. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  109729. t1 = type$.Value_2;
  109730. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  109731. t2.addAll$1(0, map2._map0$_contents);
  109732. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109733. },
  109734. $signature: 38
  109735. };
  109736. A._merge_closure2.prototype = {
  109737. call$1($arguments) {
  109738. var last, t2, keys, _null = null,
  109739. t1 = J.getInterceptor$asx($arguments),
  109740. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109741. _0_0 = t1.$index($arguments, 1).get$asList(),
  109742. _0_1 = _0_0.length;
  109743. if (_0_1 <= 0)
  109744. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  109745. if (_0_1 === 1)
  109746. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  109747. t1 = _0_1 >= 1;
  109748. last = _null;
  109749. if (t1) {
  109750. t2 = _0_1 - 1;
  109751. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  109752. last = _0_0[t2];
  109753. } else
  109754. keys = _null;
  109755. if (t1)
  109756. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  109757. throw A.wrapException("[BUG] Unreachable code");
  109758. },
  109759. $signature: 3
  109760. };
  109761. A._merge__closure0.prototype = {
  109762. call$1(oldValue) {
  109763. var t1, t2,
  109764. nestedMap = oldValue.tryMap$0();
  109765. if (nestedMap == null)
  109766. return this.map2;
  109767. t1 = type$.Value_2;
  109768. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109769. t2.addAll$1(0, this.map2._map0$_contents);
  109770. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109771. },
  109772. $signature: 515
  109773. };
  109774. A._deepMerge_closure0.prototype = {
  109775. call$1($arguments) {
  109776. var t1 = J.getInterceptor$asx($arguments);
  109777. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  109778. },
  109779. $signature: 38
  109780. };
  109781. A._deepRemove_closure0.prototype = {
  109782. call$1($arguments) {
  109783. var t1 = J.getInterceptor$asx($arguments),
  109784. map = t1.$index($arguments, 0).assertMap$1("map"),
  109785. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109786. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109787. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  109788. },
  109789. $signature: 3
  109790. };
  109791. A._deepRemove__closure0.prototype = {
  109792. call$1(value) {
  109793. var t1, nestedMap, t2,
  109794. _0_0 = value.tryMap$0();
  109795. if (_0_0 != null) {
  109796. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  109797. nestedMap = _0_0;
  109798. } else {
  109799. nestedMap = null;
  109800. t1 = false;
  109801. }
  109802. if (t1) {
  109803. t1 = type$.Value_2;
  109804. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109805. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  109806. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109807. }
  109808. return value;
  109809. },
  109810. $signature: 44
  109811. };
  109812. A._remove_closure1.prototype = {
  109813. call$1($arguments) {
  109814. return J.$index$asx($arguments, 0).assertMap$1("map");
  109815. },
  109816. $signature: 38
  109817. };
  109818. A._remove_closure2.prototype = {
  109819. call$1($arguments) {
  109820. var mutableMap, t3, _i,
  109821. t1 = J.getInterceptor$asx($arguments),
  109822. map = t1.$index($arguments, 0).assertMap$1("map"),
  109823. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109824. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109825. t1 = type$.Value_2;
  109826. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  109827. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  109828. mutableMap.remove$1(0, t2[_i]);
  109829. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109830. },
  109831. $signature: 38
  109832. };
  109833. A._keys_closure0.prototype = {
  109834. call$1($arguments) {
  109835. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109836. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_qVN0, false);
  109837. },
  109838. $signature: 29
  109839. };
  109840. A._values_closure0.prototype = {
  109841. call$1($arguments) {
  109842. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  109843. return A.SassList$0(t1.get$values(t1), B.ListSeparator_qVN0, false);
  109844. },
  109845. $signature: 29
  109846. };
  109847. A._hasKey_closure0.prototype = {
  109848. call$1($arguments) {
  109849. var value,
  109850. t1 = J.getInterceptor$asx($arguments),
  109851. map = t1.$index($arguments, 0).assertMap$1("map"),
  109852. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109853. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109854. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109855. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109856. if (!(value instanceof A.SassMap0))
  109857. return B.SassBoolean_false0;
  109858. }
  109859. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109860. },
  109861. $signature: 11
  109862. };
  109863. A._modify_modifyNestedMap0.prototype = {
  109864. call$1(map) {
  109865. var nestedMap, _this = this,
  109866. t1 = type$.Value_2,
  109867. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  109868. t2 = _this.keyIterator,
  109869. key = t2.get$current(t2);
  109870. if (!t2.moveNext$0()) {
  109871. t2 = mutableMap.$index(0, key);
  109872. if (t2 == null)
  109873. t2 = B.C__SassNull0;
  109874. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  109875. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109876. }
  109877. t2 = mutableMap.$index(0, key);
  109878. nestedMap = t2 == null ? null : t2.tryMap$0();
  109879. t2 = nestedMap == null;
  109880. if (t2 && !_this.addNesting)
  109881. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109882. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  109883. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  109884. },
  109885. $signature: 516
  109886. };
  109887. A.MapExtensions_get_pairs_closure0.prototype = {
  109888. call$1(e) {
  109889. return new A._Record_2(e.key, e.value);
  109890. },
  109891. $signature() {
  109892. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  109893. }
  109894. };
  109895. A.mapClass_closure.prototype = {
  109896. call$0() {
  109897. var t1 = type$.JSClass,
  109898. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  109899. t2 = J.getInterceptor$x(jsClass);
  109900. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  109901. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  109902. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  109903. return jsClass;
  109904. },
  109905. $signature: 15
  109906. };
  109907. A.mapClass__closure.prototype = {
  109908. call$2($self, contents) {
  109909. var t1;
  109910. if (contents == null)
  109911. t1 = B.SassMap_Map_empty0;
  109912. else {
  109913. t1 = type$.Value_2;
  109914. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  109915. }
  109916. return t1;
  109917. },
  109918. call$1($self) {
  109919. return this.call$2($self, null);
  109920. },
  109921. "call*": "call$2",
  109922. $requiredArgCount: 1,
  109923. $defaultValues() {
  109924. return [null];
  109925. },
  109926. $signature: 517
  109927. };
  109928. A.mapClass__closure0.prototype = {
  109929. call$1($self) {
  109930. return A.dartMapToImmutableMap($self._map0$_contents);
  109931. },
  109932. $signature: 518
  109933. };
  109934. A.mapClass__closure1.prototype = {
  109935. call$2($self, indexOrKey) {
  109936. var index, t1, _0_0;
  109937. if (typeof indexOrKey == "number") {
  109938. index = B.JSNumber_methods.floor$0(indexOrKey);
  109939. if (index < 0) {
  109940. t1 = $self._map0$_contents;
  109941. index = t1.get$length(t1) + index;
  109942. }
  109943. if (index >= 0) {
  109944. t1 = $self._map0$_contents;
  109945. t1 = index >= t1.get$length(t1);
  109946. } else
  109947. t1 = true;
  109948. if (t1)
  109949. return self.undefined;
  109950. t1 = type$.Value_2;
  109951. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  109952. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_qSL0, false);
  109953. } else {
  109954. t1 = $self._map0$_contents.$index(0, indexOrKey);
  109955. return t1 == null ? self.undefined : t1;
  109956. }
  109957. },
  109958. $signature: 519
  109959. };
  109960. A._NodeSassMap.prototype = {};
  109961. A.legacyMapClass_closure.prototype = {
  109962. call$3(thisArg, $length, dartValue) {
  109963. var t1, t2, t3, map;
  109964. if (dartValue == null) {
  109965. $length.toString;
  109966. t1 = type$.Value_2;
  109967. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  109968. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  109969. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  109970. A.MapBase__fillMapWithIterables(map, t2, t3);
  109971. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  109972. } else
  109973. t1 = dartValue;
  109974. J.set$dartValue$x(thisArg, t1);
  109975. },
  109976. call$2(thisArg, $length) {
  109977. return this.call$3(thisArg, $length, null);
  109978. },
  109979. "call*": "call$3",
  109980. $requiredArgCount: 2,
  109981. $defaultValues() {
  109982. return [null];
  109983. },
  109984. $signature: 520
  109985. };
  109986. A.legacyMapClass__closure.prototype = {
  109987. call$1(i) {
  109988. return A.SassNumber_SassNumber0(i, null);
  109989. },
  109990. $signature: 521
  109991. };
  109992. A.legacyMapClass__closure0.prototype = {
  109993. call$1(_) {
  109994. return B.C__SassNull0;
  109995. },
  109996. $signature: 249
  109997. };
  109998. A.legacyMapClass_closure0.prototype = {
  109999. call$2(thisArg, index) {
  110000. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110001. t1 = t1.get$keys(t1);
  110002. return A.wrapValue(t1.elementAt$1(t1, index));
  110003. },
  110004. $signature: 250
  110005. };
  110006. A.legacyMapClass_closure1.prototype = {
  110007. call$2(thisArg, index) {
  110008. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110009. t1 = t1.get$values(t1);
  110010. return A.wrapValue(t1.elementAt$1(t1, index));
  110011. },
  110012. $signature: 250
  110013. };
  110014. A.legacyMapClass_closure2.prototype = {
  110015. call$1(thisArg) {
  110016. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110017. return t1.get$length(t1);
  110018. },
  110019. $signature: 523
  110020. };
  110021. A.legacyMapClass_closure3.prototype = {
  110022. call$3(thisArg, index, key) {
  110023. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  110024. t1 = J.getInterceptor$x(thisArg),
  110025. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  110026. $length = oldMap.get$length(oldMap);
  110027. A.IndexError_check(index, $length, oldMap, null, "index");
  110028. newKey = A.unwrapValue(key);
  110029. t2 = type$.Value_2;
  110030. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  110031. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  110032. t4 = t3.get$current(t3);
  110033. oldKey = t4._0;
  110034. oldValue = t4._1;
  110035. if (i === index)
  110036. newMap.$indexSet(0, newKey, oldValue);
  110037. else {
  110038. if (newKey.$eq(0, oldKey))
  110039. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  110040. newMap.$indexSet(0, oldKey, oldValue);
  110041. }
  110042. ++i;
  110043. }
  110044. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  110045. },
  110046. "call*": "call$3",
  110047. $requiredArgCount: 3,
  110048. $signature: 251
  110049. };
  110050. A.legacyMapClass_closure4.prototype = {
  110051. call$3(thisArg, index, value) {
  110052. var key, t3,
  110053. t1 = J.getInterceptor$x(thisArg),
  110054. t2 = t1.get$dartValue(thisArg)._map0$_contents;
  110055. t2 = t2.get$keys(t2);
  110056. key = t2.elementAt$1(t2, index);
  110057. t2 = type$.Value_2;
  110058. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  110059. t3.$indexSet(0, key, A.unwrapValue(value));
  110060. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  110061. },
  110062. "call*": "call$3",
  110063. $requiredArgCount: 3,
  110064. $signature: 251
  110065. };
  110066. A.SassMap0.prototype = {
  110067. get$separator(_) {
  110068. var t1 = this._map0$_contents;
  110069. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_qVN0;
  110070. },
  110071. get$asList() {
  110072. var t3, t4, t5, result,
  110073. t1 = type$.JSArray_Value_2,
  110074. t2 = A._setArrayType([], t1);
  110075. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  110076. t5 = t4.get$current(t4);
  110077. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  110078. result.$flags = 3;
  110079. t2.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  110080. }
  110081. return t2;
  110082. },
  110083. get$lengthAsList() {
  110084. var t1 = this._map0$_contents;
  110085. return t1.get$length(t1);
  110086. },
  110087. accept$1$1(visitor) {
  110088. return visitor.visitMap$1(this);
  110089. },
  110090. accept$1(visitor) {
  110091. return this.accept$1$1(visitor, type$.dynamic);
  110092. },
  110093. assertMap$1($name) {
  110094. return this;
  110095. },
  110096. tryMap$0() {
  110097. return this;
  110098. },
  110099. $eq(_, other) {
  110100. var t1;
  110101. if (other == null)
  110102. return false;
  110103. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  110104. t1 = this._map0$_contents;
  110105. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  110106. } else
  110107. t1 = true;
  110108. return t1;
  110109. },
  110110. get$hashCode(_) {
  110111. var t1 = this._map0$_contents;
  110112. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty22) : B.C_MapEquality.hash$1(t1);
  110113. }
  110114. };
  110115. A.global_closure43.prototype = {
  110116. call$1($arguments) {
  110117. var t1,
  110118. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110119. if (number.hasUnit$1("%"))
  110120. 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);
  110121. else
  110122. A.warnForDeprecation0(string$.Globalm, B.Deprecation_ZDV);
  110123. t1 = number.get$numeratorUnits(number);
  110124. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  110125. },
  110126. $signature: 23
  110127. };
  110128. A.module_closure26.prototype = {
  110129. call$1(value) {
  110130. return Math.abs(value);
  110131. },
  110132. $signature: 16
  110133. };
  110134. A._ceil_closure0.prototype = {
  110135. call$1(value) {
  110136. return B.JSNumber_methods.ceil$0(value);
  110137. },
  110138. $signature: 16
  110139. };
  110140. A._clamp_closure0.prototype = {
  110141. call$1($arguments) {
  110142. var t1 = J.getInterceptor$asx($arguments),
  110143. min = t1.$index($arguments, 0).assertNumber$1("min"),
  110144. number = t1.$index($arguments, 1).assertNumber$1("number"),
  110145. max = t1.$index($arguments, 2).assertNumber$1("max");
  110146. number.convertValueToMatch$3(min, "number", "min");
  110147. max.convertValueToMatch$3(min, "max", "min");
  110148. if (min.greaterThanOrEquals$1(max).value)
  110149. return min;
  110150. if (min.greaterThanOrEquals$1(number).value)
  110151. return min;
  110152. if (number.greaterThanOrEquals$1(max).value)
  110153. return max;
  110154. return number;
  110155. },
  110156. $signature: 23
  110157. };
  110158. A._floor_closure0.prototype = {
  110159. call$1(value) {
  110160. return B.JSNumber_methods.floor$0(value);
  110161. },
  110162. $signature: 16
  110163. };
  110164. A._max_closure0.prototype = {
  110165. call$1($arguments) {
  110166. var t1, t2, max, _i, number;
  110167. 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) {
  110168. number = t1[_i].assertNumber$0();
  110169. if (max == null || max.lessThan$1(number).value)
  110170. max = number;
  110171. }
  110172. if (max != null)
  110173. return max;
  110174. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110175. },
  110176. $signature: 23
  110177. };
  110178. A._min_closure0.prototype = {
  110179. call$1($arguments) {
  110180. var t1, t2, min, _i, number;
  110181. 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) {
  110182. number = t1[_i].assertNumber$0();
  110183. if (min == null || min.greaterThan$1(number).value)
  110184. min = number;
  110185. }
  110186. if (min != null)
  110187. return min;
  110188. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110189. },
  110190. $signature: 23
  110191. };
  110192. A._round_closure0.prototype = {
  110193. call$1(number) {
  110194. return B.JSNumber_methods.round$0(number);
  110195. },
  110196. $signature: 16
  110197. };
  110198. A._hypot_closure0.prototype = {
  110199. call$1($arguments) {
  110200. var subtotal, i, i0, t3,
  110201. t1 = J.$index$asx($arguments, 0).get$asList(),
  110202. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  110203. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), t2._eval$1("ListIterable.E"));
  110204. if (numbers.length === 0)
  110205. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110206. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  110207. i0 = i + 1;
  110208. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  110209. }
  110210. t1 = Math.sqrt(subtotal);
  110211. t2 = numbers[0];
  110212. t2 = t2.get$numeratorUnits(t2);
  110213. t3 = numbers[0];
  110214. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t3), t2);
  110215. },
  110216. $signature: 23
  110217. };
  110218. A._hypot__closure0.prototype = {
  110219. call$1(argument) {
  110220. return argument.assertNumber$0();
  110221. },
  110222. $signature: 525
  110223. };
  110224. A._log_closure0.prototype = {
  110225. call$1($arguments) {
  110226. var base,
  110227. _s18_ = " to have no units.",
  110228. _null = null,
  110229. t1 = J.getInterceptor$asx($arguments),
  110230. number = t1.$index($arguments, 0).assertNumber$1("number");
  110231. if (number.get$hasUnits())
  110232. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  110233. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  110234. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  110235. base = t1.$index($arguments, 1).assertNumber$1("base");
  110236. if (base.get$hasUnits())
  110237. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  110238. else
  110239. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  110240. },
  110241. $signature: 23
  110242. };
  110243. A._pow_closure0.prototype = {
  110244. call$1($arguments) {
  110245. var t1 = J.getInterceptor$asx($arguments);
  110246. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  110247. },
  110248. $signature: 23
  110249. };
  110250. A._atan2_closure0.prototype = {
  110251. call$1($arguments) {
  110252. var t1 = J.getInterceptor$asx($arguments),
  110253. y = t1.$index($arguments, 0).assertNumber$1("y");
  110254. 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));
  110255. },
  110256. $signature: 23
  110257. };
  110258. A._compatible_closure0.prototype = {
  110259. call$1($arguments) {
  110260. var t1 = J.getInterceptor$asx($arguments);
  110261. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110262. },
  110263. $signature: 11
  110264. };
  110265. A._isUnitless_closure0.prototype = {
  110266. call$1($arguments) {
  110267. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110268. },
  110269. $signature: 11
  110270. };
  110271. A._unit_closure0.prototype = {
  110272. call$1($arguments) {
  110273. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  110274. },
  110275. $signature: 18
  110276. };
  110277. A._percentage_closure0.prototype = {
  110278. call$1($arguments) {
  110279. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110280. number.assertNoUnits$1("number");
  110281. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  110282. },
  110283. $signature: 23
  110284. };
  110285. A._randomFunction_closure0.prototype = {
  110286. call$1($arguments) {
  110287. var limit, limitScalar,
  110288. t1 = J.getInterceptor$asx($arguments);
  110289. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  110290. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  110291. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  110292. if (limit.get$hasUnits())
  110293. 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);
  110294. limitScalar = limit.assertInt$1("limit");
  110295. if (limitScalar < 1)
  110296. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  110297. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  110298. },
  110299. $signature: 23
  110300. };
  110301. A._div_closure0.prototype = {
  110302. call$1($arguments) {
  110303. var t1 = J.getInterceptor$asx($arguments),
  110304. number1 = t1.$index($arguments, 0),
  110305. number2 = t1.$index($arguments, 1);
  110306. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  110307. A.warn0(string$.math_d);
  110308. return number1.dividedBy$1(number2);
  110309. },
  110310. $signature: 3
  110311. };
  110312. A._singleArgumentMathFunc_closure0.prototype = {
  110313. call$1($arguments) {
  110314. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  110315. },
  110316. $signature: 23
  110317. };
  110318. A._numberFunction_closure0.prototype = {
  110319. call$1($arguments) {
  110320. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  110321. t1 = this.transform.call$1(number._number1$_value),
  110322. t2 = number.get$numeratorUnits(number);
  110323. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  110324. },
  110325. $signature: 23
  110326. };
  110327. A.CssMediaQuery0.prototype = {
  110328. merge$1(other) {
  110329. 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";
  110330. if (!_this.conjunction || !other.conjunction)
  110331. return B._SingletonCssMediaQueryMergeResult_10;
  110332. t1 = _this.modifier;
  110333. ourModifier = t1 == null ? _null : t1.toLowerCase();
  110334. t2 = _this.type;
  110335. t3 = t2 == null;
  110336. ourType = t3 ? _null : t2.toLowerCase();
  110337. t4 = other.modifier;
  110338. theirModifier = t4 == null ? _null : t4.toLowerCase();
  110339. t5 = other.type;
  110340. t6 = t5 == null;
  110341. theirType = t6 ? _null : t5.toLowerCase();
  110342. t7 = ourType == null;
  110343. if (t7 && theirType == null) {
  110344. t1 = A.List_List$_of(_this.conditions, type$.String);
  110345. B.JSArray_methods.addAll$1(t1, other.conditions);
  110346. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  110347. }
  110348. t8 = ourModifier === "not";
  110349. if (t8 !== (theirModifier === "not")) {
  110350. if (ourType == theirType) {
  110351. negativeConditions = t8 ? _this.conditions : other.conditions;
  110352. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  110353. return B._SingletonCssMediaQueryMergeResult_00;
  110354. else
  110355. return B._SingletonCssMediaQueryMergeResult_10;
  110356. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  110357. return B._SingletonCssMediaQueryMergeResult_10;
  110358. if (t8) {
  110359. conditions = other.conditions;
  110360. type = theirType;
  110361. modifier = theirModifier;
  110362. } else {
  110363. conditions = _this.conditions;
  110364. type = ourType;
  110365. modifier = ourModifier;
  110366. }
  110367. } else if (t8) {
  110368. if (ourType != theirType)
  110369. return B._SingletonCssMediaQueryMergeResult_10;
  110370. fewerConditions = _this.conditions;
  110371. fewerConditions0 = other.conditions;
  110372. t3 = fewerConditions.length > fewerConditions0.length;
  110373. moreConditions = t3 ? fewerConditions : fewerConditions0;
  110374. if (t3)
  110375. fewerConditions = fewerConditions0;
  110376. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  110377. return B._SingletonCssMediaQueryMergeResult_10;
  110378. conditions = moreConditions;
  110379. type = ourType;
  110380. modifier = ourModifier;
  110381. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  110382. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  110383. t3 = A.List_List$_of(_this.conditions, type$.String);
  110384. B.JSArray_methods.addAll$1(t3, other.conditions);
  110385. conditions = t3;
  110386. modifier = theirModifier;
  110387. } else {
  110388. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  110389. t3 = A.List_List$_of(_this.conditions, type$.String);
  110390. B.JSArray_methods.addAll$1(t3, other.conditions);
  110391. conditions = t3;
  110392. modifier = ourModifier;
  110393. } else {
  110394. if (ourType != theirType)
  110395. return B._SingletonCssMediaQueryMergeResult_00;
  110396. else {
  110397. modifier = ourModifier == null ? theirModifier : ourModifier;
  110398. t3 = A.List_List$_of(_this.conditions, type$.String);
  110399. B.JSArray_methods.addAll$1(t3, other.conditions);
  110400. }
  110401. conditions = t3;
  110402. }
  110403. type = ourType;
  110404. }
  110405. t2 = type == ourType ? t2 : t5;
  110406. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  110407. },
  110408. $eq(_, other) {
  110409. if (other == null)
  110410. return false;
  110411. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  110412. },
  110413. get$hashCode(_) {
  110414. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  110415. },
  110416. toString$0(_) {
  110417. var t2, _this = this,
  110418. t1 = _this.modifier;
  110419. t1 = t1 != null ? t1 + " " : "";
  110420. t2 = _this.type;
  110421. if (t2 != null) {
  110422. t1 += t2;
  110423. if (_this.conditions.length !== 0)
  110424. t1 += " and ";
  110425. }
  110426. t2 = _this.conjunction ? " and " : " or ";
  110427. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  110428. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110429. }
  110430. };
  110431. A._SingletonCssMediaQueryMergeResult0.prototype = {
  110432. _enumToString$0() {
  110433. return "_SingletonCssMediaQueryMergeResult." + this._name;
  110434. }
  110435. };
  110436. A.MediaQuerySuccessfulMergeResult0.prototype = {
  110437. toString$0(_) {
  110438. return this.query.toString$0(0);
  110439. }
  110440. };
  110441. A.MediaQueryParser0.prototype = {
  110442. parse$0(_) {
  110443. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  110444. },
  110445. _media_query$_mediaQuery$0() {
  110446. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  110447. if (_this.scanner.peekChar$0() === 40) {
  110448. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  110449. _this.whitespace$1$consumeNewlines(true);
  110450. if (_this.scanIdentifier$1(_s3_)) {
  110451. _this.expectWhitespace$0();
  110452. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  110453. conjunction = true;
  110454. } else {
  110455. t1 = _this.scanIdentifier$1("or");
  110456. if (t1) {
  110457. _this.expectWhitespace$0();
  110458. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  110459. }
  110460. conjunction = !t1;
  110461. }
  110462. return A.CssMediaQuery$condition0(conditions, conjunction);
  110463. }
  110464. identifier1 = _this.identifier$0();
  110465. if (A.equalsIgnoreCase0(identifier1, "not")) {
  110466. _this.expectWhitespace$0();
  110467. if (!_this.lookingAtIdentifier$0())
  110468. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  110469. }
  110470. _this.whitespace$1$consumeNewlines(true);
  110471. if (!_this.lookingAtIdentifier$0())
  110472. return A.CssMediaQuery$type0(identifier1, _null, _null);
  110473. identifier2 = _this.identifier$0();
  110474. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  110475. _this.expectWhitespace$0();
  110476. type = identifier1;
  110477. modifier = _null;
  110478. } else {
  110479. _this.whitespace$1$consumeNewlines(true);
  110480. if (_this.scanIdentifier$1(_s3_))
  110481. _this.expectWhitespace$0();
  110482. else
  110483. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  110484. type = identifier2;
  110485. modifier = identifier1;
  110486. }
  110487. if (_this.scanIdentifier$1("not")) {
  110488. _this.expectWhitespace$0();
  110489. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  110490. }
  110491. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  110492. },
  110493. _media_query$_mediaLogicSequence$1(operator) {
  110494. var t1, t2, _this = this,
  110495. result = A._setArrayType([], type$.JSArray_String);
  110496. for (t1 = _this.scanner; true;) {
  110497. t1.expectChar$2$name(40, "media condition in parentheses");
  110498. t2 = _this.declarationValue$0();
  110499. t1.expectChar$1(41);
  110500. result.push("(" + t2 + ")");
  110501. _this.whitespace$1$consumeNewlines(true);
  110502. if (!_this.scanIdentifier$1(operator))
  110503. return result;
  110504. _this.expectWhitespace$0();
  110505. }
  110506. },
  110507. _media_query$_mediaInParens$0() {
  110508. var t2,
  110509. t1 = this.scanner;
  110510. t1.expectChar$2$name(40, "media condition in parentheses");
  110511. t2 = this.declarationValue$0();
  110512. t1.expectChar$1(41);
  110513. return "(" + t2 + ")";
  110514. }
  110515. };
  110516. A.MediaQueryParser_parse_closure0.prototype = {
  110517. call$0() {
  110518. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  110519. t1 = this.$this,
  110520. t2 = t1.scanner;
  110521. do {
  110522. t1.whitespace$1$consumeNewlines(true);
  110523. queries.push(t1._media_query$_mediaQuery$0());
  110524. t1.whitespace$1$consumeNewlines(true);
  110525. } while (t2.scanChar$1(44));
  110526. t2.expectDone$0();
  110527. return queries;
  110528. },
  110529. $signature: 526
  110530. };
  110531. A.ModifiableCssMediaRule0.prototype = {
  110532. accept$1$1(visitor) {
  110533. return visitor.visitCssMediaRule$1(this);
  110534. },
  110535. accept$1(visitor) {
  110536. return this.accept$1$1(visitor, type$.dynamic);
  110537. },
  110538. equalsIgnoringChildren$1(other) {
  110539. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  110540. },
  110541. copyWithoutChildren$0() {
  110542. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  110543. },
  110544. get$span(receiver) {
  110545. return this.span;
  110546. }
  110547. };
  110548. A.MediaRule0.prototype = {
  110549. accept$1$1(visitor) {
  110550. return visitor.visitMediaRule$1(0, this);
  110551. },
  110552. accept$1(visitor) {
  110553. return this.accept$1$1(visitor, type$.dynamic);
  110554. },
  110555. toString$0(_) {
  110556. return "@media " + this.query.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  110557. },
  110558. get$span(receiver) {
  110559. return this.span;
  110560. }
  110561. };
  110562. A.MergedExtension0.prototype = {
  110563. unmerge$0() {
  110564. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  110565. },
  110566. unmerge$body$MergedExtension0() {
  110567. var $async$self = this;
  110568. return function() {
  110569. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  110570. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  110571. if ($async$errorCode === 1) {
  110572. $async$errorStack.push($async$result);
  110573. $async$goto = $async$handler;
  110574. }
  110575. while (true)
  110576. switch ($async$goto) {
  110577. case 0:
  110578. // Function start
  110579. left = $async$self.left;
  110580. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  110581. break;
  110582. case 2:
  110583. // then
  110584. $async$goto = 5;
  110585. return $async$iterator._yieldStar$1(left.unmerge$0());
  110586. case 5:
  110587. // after yield
  110588. // goto join
  110589. $async$goto = 3;
  110590. break;
  110591. case 4:
  110592. // else
  110593. $async$goto = 6;
  110594. return $async$iterator._async$_current = left, 1;
  110595. case 6:
  110596. // after yield
  110597. case 3:
  110598. // join
  110599. right = $async$self.right;
  110600. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  110601. break;
  110602. case 7:
  110603. // then
  110604. $async$goto = 10;
  110605. return $async$iterator._yieldStar$1(right.unmerge$0());
  110606. case 10:
  110607. // after yield
  110608. // goto join
  110609. $async$goto = 8;
  110610. break;
  110611. case 9:
  110612. // else
  110613. $async$goto = 11;
  110614. return $async$iterator._async$_current = right, 1;
  110615. case 11:
  110616. // after yield
  110617. case 8:
  110618. // join
  110619. // implicit return
  110620. return 0;
  110621. case 1:
  110622. // rethrow
  110623. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  110624. }
  110625. };
  110626. };
  110627. }
  110628. };
  110629. A.MergedMapView0.prototype = {
  110630. get$keys(_) {
  110631. var t1 = this._merged_map_view$_mapsByKey;
  110632. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  110633. },
  110634. get$length(_) {
  110635. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  110636. },
  110637. get$isEmpty(_) {
  110638. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  110639. },
  110640. get$isNotEmpty(_) {
  110641. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  110642. },
  110643. MergedMapView$10(maps, $K, $V) {
  110644. var t1, t2, _i, map, t3, t4;
  110645. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  110646. map = maps[_i];
  110647. if (map instanceof A.MergedMapView0)
  110648. for (t3 = map._merged_map_view$_mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  110649. t4 = t3.__js_helper$_current;
  110650. A.setAll0(t2, t4.get$keys(t4), t4);
  110651. }
  110652. else
  110653. A.setAll0(t2, map.get$keys(map), map);
  110654. }
  110655. },
  110656. $index(_, key) {
  110657. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  110658. return t1 == null ? null : t1.$index(0, key);
  110659. },
  110660. $indexSet(_, key, value) {
  110661. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  110662. if (_0_0 != null)
  110663. _0_0.$indexSet(0, key, value);
  110664. else
  110665. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  110666. },
  110667. remove$1(_, key) {
  110668. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  110669. },
  110670. containsKey$1(key) {
  110671. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  110672. }
  110673. };
  110674. A._shared_closure3.prototype = {
  110675. call$1($arguments) {
  110676. A.warnForDeprecation0(string$.The_fe, B.Deprecation_HIp);
  110677. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110678. },
  110679. $signature: 11
  110680. };
  110681. A._shared_closure4.prototype = {
  110682. call$1($arguments) {
  110683. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  110684. },
  110685. $signature: 18
  110686. };
  110687. A._shared_closure5.prototype = {
  110688. call$1($arguments) {
  110689. var t1 = J.getInterceptor$asx($arguments),
  110690. _0_0 = t1.$index($arguments, 0);
  110691. $label0$0: {
  110692. if (_0_0 instanceof A.SassArgumentList0) {
  110693. t1 = "arglist";
  110694. break $label0$0;
  110695. }
  110696. if (_0_0 instanceof A.SassBoolean0) {
  110697. t1 = "bool";
  110698. break $label0$0;
  110699. }
  110700. if (_0_0 instanceof A.SassColor0) {
  110701. t1 = "color";
  110702. break $label0$0;
  110703. }
  110704. if (_0_0 instanceof A.SassList0) {
  110705. t1 = "list";
  110706. break $label0$0;
  110707. }
  110708. if (_0_0 instanceof A.SassMap0) {
  110709. t1 = "map";
  110710. break $label0$0;
  110711. }
  110712. if (B.C__SassNull0 === _0_0) {
  110713. t1 = "null";
  110714. break $label0$0;
  110715. }
  110716. if (_0_0 instanceof A.SassNumber0) {
  110717. t1 = "number";
  110718. break $label0$0;
  110719. }
  110720. if (_0_0 instanceof A.SassFunction0) {
  110721. t1 = "function";
  110722. break $label0$0;
  110723. }
  110724. if (_0_0 instanceof A.SassMixin0) {
  110725. t1 = "mixin";
  110726. break $label0$0;
  110727. }
  110728. if (_0_0 instanceof A.SassCalculation0) {
  110729. t1 = "calculation";
  110730. break $label0$0;
  110731. }
  110732. if (_0_0 instanceof A.SassString0) {
  110733. t1 = "string";
  110734. break $label0$0;
  110735. }
  110736. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  110737. }
  110738. return new A.SassString0(t1, false);
  110739. },
  110740. $signature: 18
  110741. };
  110742. A._shared_closure6.prototype = {
  110743. call$1($arguments) {
  110744. var t2, t3, t4,
  110745. t1 = J.getInterceptor$asx($arguments),
  110746. _1_0 = t1.$index($arguments, 0);
  110747. if (_1_0 instanceof A.SassArgumentList0) {
  110748. _1_0._argument_list$_wereKeywordsAccessed = true;
  110749. t1 = type$.Value_2;
  110750. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  110751. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  110752. t4 = t3.get$current(t3);
  110753. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  110754. }
  110755. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110756. } else
  110757. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  110758. },
  110759. $signature: 38
  110760. };
  110761. A.moduleFunctions_closure2.prototype = {
  110762. call$1($arguments) {
  110763. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  110764. },
  110765. $signature: 18
  110766. };
  110767. A.moduleFunctions_closure3.prototype = {
  110768. call$1($arguments) {
  110769. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  110770. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  110771. },
  110772. $signature: 29
  110773. };
  110774. A.moduleFunctions__closure0.prototype = {
  110775. call$1(argument) {
  110776. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  110777. },
  110778. $signature: 527
  110779. };
  110780. A.moduleFunctions_closure4.prototype = {
  110781. call$1($arguments) {
  110782. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  110783. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  110784. _0_0 = mixin.callable;
  110785. $label0$0: {
  110786. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  110787. if (_0_2_isSet)
  110788. acceptsContent = _0_0.get$acceptsContent();
  110789. else
  110790. acceptsContent = null;
  110791. if (!_0_2_isSet) {
  110792. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  110793. if (_0_2_isSet)
  110794. acceptsContent = _0_0.acceptsContent;
  110795. t1 = _0_2_isSet;
  110796. } else
  110797. t1 = true;
  110798. if (t1) {
  110799. t1 = acceptsContent;
  110800. break $label0$0;
  110801. }
  110802. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  110803. if (_0_5_isSet) {
  110804. _0_5 = _0_0.declaration;
  110805. t1 = _0_5;
  110806. t1 = t1 instanceof A.MixinRule0;
  110807. } else {
  110808. _0_5 = null;
  110809. t1 = false;
  110810. }
  110811. if (t1) {
  110812. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  110813. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  110814. t1 = hasContent;
  110815. break $label0$0;
  110816. }
  110817. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  110818. }
  110819. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110820. },
  110821. $signature: 11
  110822. };
  110823. A.mixinClass_closure.prototype = {
  110824. call$0() {
  110825. var t1 = type$.JSClass,
  110826. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  110827. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null), null).constructor), jsClass);
  110828. return jsClass;
  110829. },
  110830. $signature: 15
  110831. };
  110832. A.mixinClass__closure.prototype = {
  110833. call$1($self) {
  110834. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  110835. },
  110836. $signature: 528
  110837. };
  110838. A.mixinClass__closure0.prototype = {
  110839. call$1(_) {
  110840. return B.C__SassNull0;
  110841. },
  110842. $signature: 3
  110843. };
  110844. A.SassMixin0.prototype = {
  110845. accept$1$1(visitor) {
  110846. var t1, t2;
  110847. if (!visitor._serialize0$_inspect)
  110848. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  110849. t1 = visitor._serialize0$_buffer;
  110850. t1.write$1(0, "get-mixin(");
  110851. t2 = this.callable;
  110852. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  110853. t1.writeCharCode$1(41);
  110854. return null;
  110855. },
  110856. accept$1(visitor) {
  110857. return this.accept$1$1(visitor, type$.dynamic);
  110858. },
  110859. assertMixin$1($name) {
  110860. return this;
  110861. },
  110862. assertCompileContext$1(compileContext) {
  110863. var t1 = this._mixin0$_compileContext;
  110864. if (t1 != null)
  110865. t1 = t1 !== compileContext;
  110866. else
  110867. t1 = false;
  110868. if (t1)
  110869. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  110870. return this;
  110871. },
  110872. $eq(_, other) {
  110873. if (other == null)
  110874. return false;
  110875. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  110876. },
  110877. get$hashCode(_) {
  110878. var t1 = this.callable;
  110879. return t1.get$hashCode(t1);
  110880. }
  110881. };
  110882. A.MixinRule0.prototype = {
  110883. get$hasContent() {
  110884. var result, _this = this,
  110885. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  110886. if (value === $) {
  110887. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  110888. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  110889. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  110890. value = result;
  110891. }
  110892. return value;
  110893. },
  110894. accept$1$1(visitor) {
  110895. return visitor.visitMixinRule$1(0, this);
  110896. },
  110897. accept$1(visitor) {
  110898. return this.accept$1$1(visitor, type$.dynamic);
  110899. },
  110900. toString$0(_) {
  110901. var t1 = "@mixin " + this.name,
  110902. t2 = this.parameters;
  110903. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  110904. t1 += "(" + t2.toString$0(0) + ")";
  110905. t1 += " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  110906. return t1.charCodeAt(0) == 0 ? t1 : t1;
  110907. }
  110908. };
  110909. A._HasContentVisitor0.prototype = {
  110910. visitContentRule$1(_, _0) {
  110911. return true;
  110912. },
  110913. $isStatementVisitor: 1
  110914. };
  110915. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  110916. A.ExtendMode0.prototype = {
  110917. _enumToString$0() {
  110918. return "ExtendMode." + this._name;
  110919. },
  110920. toString$0(_) {
  110921. return this.name;
  110922. }
  110923. };
  110924. A.JSModule0.prototype = {};
  110925. A.JSModuleRequire0.prototype = {};
  110926. A.MultiSpan0.prototype = {
  110927. get$start(_) {
  110928. var t1 = this._multi_span0$_primary;
  110929. return t1.get$start(t1);
  110930. },
  110931. get$end(_) {
  110932. var t1 = this._multi_span0$_primary;
  110933. return t1.get$end(t1);
  110934. },
  110935. get$text() {
  110936. return this._multi_span0$_primary.get$text();
  110937. },
  110938. get$context(_) {
  110939. var t1 = this._multi_span0$_primary;
  110940. return t1.get$context(t1);
  110941. },
  110942. get$file(_) {
  110943. var t1 = this._multi_span0$_primary;
  110944. return t1.get$file(t1);
  110945. },
  110946. get$length(_) {
  110947. var t1 = this._multi_span0$_primary;
  110948. return t1.get$length(t1);
  110949. },
  110950. get$sourceUrl(_) {
  110951. var t1 = this._multi_span0$_primary;
  110952. return t1.get$sourceUrl(t1);
  110953. },
  110954. compareTo$1(_, other) {
  110955. return this._multi_span0$_primary.compareTo$1(0, other);
  110956. },
  110957. toString$0(_) {
  110958. return this._multi_span0$_primary.toString$0(0);
  110959. },
  110960. expand$1(_, other) {
  110961. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  110962. },
  110963. highlight$1$color(color) {
  110964. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  110965. },
  110966. message$2$color(_, message, color) {
  110967. var t1 = J.$eq$(color, true) || typeof color == "string",
  110968. t2 = typeof color == "string" ? color : null;
  110969. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  110970. },
  110971. message$1(_, message) {
  110972. return this.message$2$color(0, message, null);
  110973. },
  110974. $isComparable: 1,
  110975. $isFileSpan: 1,
  110976. $isSourceSpan: 1,
  110977. $isSourceSpanWithContext: 1
  110978. };
  110979. A.SupportsNegation0.prototype = {
  110980. toInterpolation$0() {
  110981. var t1 = new A.StringBuffer(""),
  110982. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  110983. t3 = this.span,
  110984. t4 = this.condition,
  110985. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  110986. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  110987. t1._contents += t5;
  110988. t2.addInterpolation$1(t4.toInterpolation$0());
  110989. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  110990. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  110991. t1._contents += t4;
  110992. return t2.interpolation$1(t3);
  110993. },
  110994. withSpan$1(span) {
  110995. return new A.SupportsNegation0(this.condition, span);
  110996. },
  110997. toString$0(_) {
  110998. var t1 = this.condition;
  110999. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  111000. return "not (" + t1.toString$0(0) + ")";
  111001. else
  111002. return "not " + t1.toString$0(0);
  111003. },
  111004. $isAstNode0: 1,
  111005. $isSassNode: 1,
  111006. $isSupportsCondition: 1,
  111007. get$span(receiver) {
  111008. return this.span;
  111009. }
  111010. };
  111011. A.NoOpImporter0.prototype = {
  111012. canonicalize$1(_, url) {
  111013. return null;
  111014. },
  111015. load$1(_, url) {
  111016. return null;
  111017. },
  111018. toString$0(_) {
  111019. return "(unknown)";
  111020. }
  111021. };
  111022. A.NoSourceMapBuffer0.prototype = {
  111023. get$length(_) {
  111024. return this._no_source_map_buffer0$_buffer._contents.length;
  111025. },
  111026. forSpan$1$2(span, callback) {
  111027. return callback.call$0();
  111028. },
  111029. forSpan$2(span, callback) {
  111030. return this.forSpan$1$2(span, callback, type$.dynamic);
  111031. },
  111032. write$1(_, object) {
  111033. var t1 = this._no_source_map_buffer0$_buffer,
  111034. t2 = A.S(object);
  111035. t1._contents += t2;
  111036. return null;
  111037. },
  111038. writeCharCode$1(charCode) {
  111039. var t1 = this._no_source_map_buffer0$_buffer,
  111040. t2 = A.Primitives_stringFromCharCode(charCode);
  111041. t1._contents += t2;
  111042. return null;
  111043. },
  111044. toString$0(_) {
  111045. var t1 = this._no_source_map_buffer0$_buffer._contents;
  111046. return t1.charCodeAt(0) == 0 ? t1 : t1;
  111047. },
  111048. buildSourceMap$1$prefix(prefix) {
  111049. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  111050. }
  111051. };
  111052. A._FakeAstNode0.prototype = {
  111053. get$span(_) {
  111054. return this._node0$_callback.call$0();
  111055. },
  111056. $isAstNode0: 1
  111057. };
  111058. A.CssNode0.prototype = {
  111059. toString$0(_) {
  111060. var _null = null;
  111061. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  111062. },
  111063. $isAstNode0: 1
  111064. };
  111065. A.CssParentNode0.prototype = {};
  111066. A._IsInvisibleVisitor1.prototype = {
  111067. visitCssAtRule$1(rule) {
  111068. return false;
  111069. },
  111070. visitCssComment$1(comment) {
  111071. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  111072. },
  111073. visitCssStyleRule$1(rule) {
  111074. var t1 = rule._style_rule0$_selector._box0$_inner;
  111075. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  111076. }
  111077. };
  111078. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  111079. A.ModifiableCssNode0.prototype = {
  111080. get$parent(_) {
  111081. return this._node$_parent;
  111082. },
  111083. get$hasFollowingSibling() {
  111084. var t2,
  111085. t1 = this._node$_parent;
  111086. if (t1 == null)
  111087. t1 = null;
  111088. else {
  111089. t1 = t1.children;
  111090. t2 = this._node$_indexInParent;
  111091. t2.toString;
  111092. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  111093. }
  111094. return t1 === true;
  111095. },
  111096. get$isGroupEnd() {
  111097. return this.isGroupEnd;
  111098. }
  111099. };
  111100. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  111101. call$1(sibling) {
  111102. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  111103. },
  111104. $signature: 529
  111105. };
  111106. A.ModifiableCssParentNode0.prototype = {
  111107. get$isChildless() {
  111108. return false;
  111109. },
  111110. addChild$1(child) {
  111111. var t1;
  111112. child._node$_parent = this;
  111113. t1 = this._node$_children;
  111114. child._node$_indexInParent = t1.length;
  111115. t1.push(child);
  111116. },
  111117. clearChildren$0() {
  111118. var t1, t2, _i, child;
  111119. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  111120. child = t1[_i];
  111121. child._node$_indexInParent = child._node$_parent = null;
  111122. }
  111123. B.JSArray_methods.clear$0(t1);
  111124. },
  111125. $isCssParentNode0: 1,
  111126. get$children(receiver) {
  111127. return this.children;
  111128. }
  111129. };
  111130. A.NodePackageImporter0.prototype = {
  111131. isNonCanonicalScheme$1(scheme) {
  111132. return scheme === "pkg";
  111133. },
  111134. canonicalize$1(_, url) {
  111135. 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;
  111136. if (url.get$scheme() === "file")
  111137. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  111138. if (url.get$scheme() !== "pkg")
  111139. return _null;
  111140. if (url.get$hasAuthority())
  111141. throw A.wrapException(string$.A_pkg_h);
  111142. else {
  111143. t1 = $.$get$url();
  111144. t2 = t1.style;
  111145. if (t2.rootLength$1(url.get$path(url)) > 0)
  111146. throw A.wrapException("A pkg: URL's path must not begin with /.");
  111147. else if (url.get$path(url).length === 0)
  111148. throw A.wrapException("A pkg: URL must not have an empty path.");
  111149. else if (url.get$hasQuery() || url.get$hasFragment())
  111150. throw A.wrapException(string$.A_pkg_q);
  111151. }
  111152. t3 = A.canonicalizeContext0();
  111153. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111154. t3 = t3._canonicalize_context$_containingUrl;
  111155. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  111156. t3 = A.canonicalizeContext0();
  111157. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111158. t3 = t3._canonicalize_context$_containingUrl;
  111159. t3.toString;
  111160. t4 = $.$get$context();
  111161. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  111162. } else {
  111163. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  111164. t3 === $ && A.throwUnnamedLateFieldNI();
  111165. baseDirectory = t3;
  111166. }
  111167. packageName = null;
  111168. parts = t1.split$1(0, url.get$path(url));
  111169. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  111170. t4 = $.$get$context();
  111171. t5 = t4.style;
  111172. $name = t5.pathFromUri$1(A._parseUri(t3));
  111173. if (B.JSString_methods.startsWith$1($name, "@"))
  111174. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  111175. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  111176. packageName = $name;
  111177. t1 = true;
  111178. if (!J.startsWith$1$s(packageName, "."))
  111179. if (!J.contains$1$asx(packageName, "\\"))
  111180. if (!J.contains$1$asx(packageName, "%"))
  111181. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  111182. if (t1)
  111183. return _null;
  111184. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  111185. if (packageRoot == null)
  111186. return _null;
  111187. jsonPath = A.join(packageRoot, "package.json", _null);
  111188. jsonString = A.readFile0(jsonPath);
  111189. packageManifest = null;
  111190. try {
  111191. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  111192. } catch (exception) {
  111193. e = A.unwrapException(exception);
  111194. t1 = A.S(jsonPath);
  111195. t2 = A.S(packageName);
  111196. t3 = A.S(e);
  111197. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  111198. }
  111199. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  111200. if (_1_0 != null)
  111201. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  111202. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  111203. else {
  111204. t1 = subpath == null ? "root" : subpath;
  111205. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  111206. }
  111207. if (subpath == null) {
  111208. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  111209. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  111210. }
  111211. subpathInRoot = A.join(packageRoot, subpath, _null);
  111212. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  111213. },
  111214. load$1(_, url) {
  111215. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  111216. },
  111217. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  111218. var potentialPackage, t1;
  111219. for (; true;) {
  111220. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  111221. if (A.dirExists0(potentialPackage))
  111222. return potentialPackage;
  111223. t1 = $.$get$context();
  111224. if (t1.split$1(0, baseDirectory).length === 1)
  111225. return null;
  111226. baseDirectory = t1.dirname$1(baseDirectory);
  111227. }
  111228. },
  111229. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  111230. var t1, sassValue, _1_0, styleValue, _null = null,
  111231. _0_0 = packageManifest.$index(0, "sass");
  111232. if (typeof _0_0 == "string") {
  111233. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111234. sassValue = _0_0;
  111235. } else {
  111236. sassValue = _null;
  111237. t1 = false;
  111238. }
  111239. if (t1)
  111240. return A.join(packageRoot, sassValue, _null);
  111241. else {
  111242. _1_0 = packageManifest.$index(0, "style");
  111243. if (typeof _1_0 == "string") {
  111244. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111245. styleValue = _1_0;
  111246. } else {
  111247. styleValue = _null;
  111248. t1 = false;
  111249. }
  111250. if (t1)
  111251. return A.join(packageRoot, styleValue, _null);
  111252. }
  111253. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  111254. },
  111255. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  111256. var _0_0, _1_0, _this = this,
  111257. exports = packageManifest.$index(0, "exports");
  111258. if (exports == null)
  111259. return null;
  111260. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  111261. if (_0_0 != null)
  111262. return _0_0;
  111263. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  111264. return null;
  111265. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  111266. if (_1_0 != null)
  111267. return _1_0;
  111268. return null;
  111269. },
  111270. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  111271. var t2, matches, _1_1, path,
  111272. t1 = false;
  111273. if (type$.Map_String_dynamic._is(exports)) {
  111274. t2 = exports.get$keys(exports);
  111275. if (t2.any$1(t2, new A.NodePackageImporter__nodePackageExportsResolve_closure3())) {
  111276. t1 = exports.get$keys(exports);
  111277. t1 = t1.any$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure4());
  111278. }
  111279. }
  111280. if (t1) {
  111281. t1 = exports.get$keys(exports);
  111282. throw A.wrapException("`exports` in " + packageName + string$.x20can_n + t1.map$1$1(t1, new A.NodePackageImporter__nodePackageExportsResolve_closure5(), type$.String).join$1(0, ",") + " in " + A.join(packageRoot, "package.json", null) + ".");
  111283. }
  111284. t1 = type$.NonNullsIterable_String;
  111285. 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"));
  111286. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  111287. $label0$1: {
  111288. _1_1 = matches.length;
  111289. if (_1_1 === 1) {
  111290. path = matches[0];
  111291. t1 = path;
  111292. break $label0$1;
  111293. }
  111294. if (_1_1 <= 0) {
  111295. t1 = null;
  111296. break $label0$1;
  111297. }
  111298. t1 = subpath == null ? "root" : subpath;
  111299. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  111300. }
  111301. return t1;
  111302. },
  111303. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  111304. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  111305. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  111306. t2 = B.JSString_methods.contains$1(keyB, "*"),
  111307. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  111308. if (baseLengthA > baseLengthB)
  111309. return -1;
  111310. if (baseLengthB > baseLengthA)
  111311. return 1;
  111312. if (!t1)
  111313. return 1;
  111314. if (!t2)
  111315. return -1;
  111316. t1 = keyA.length;
  111317. t2 = keyB.length;
  111318. if (t1 > t2)
  111319. return -1;
  111320. if (t2 > t1)
  111321. return 1;
  111322. return 0;
  111323. },
  111324. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  111325. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  111326. t1 = typeof exports == "string";
  111327. if (t1) {
  111328. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  111329. string = exports;
  111330. } else {
  111331. string = _null;
  111332. t2 = false;
  111333. }
  111334. if (t2)
  111335. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  111336. if (t1) {
  111337. t2 = patternMatch != null;
  111338. string = exports;
  111339. } else {
  111340. string = _null;
  111341. t2 = false;
  111342. }
  111343. if (t2) {
  111344. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  111345. t2 = $.$get$context();
  111346. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  111347. return A.fileExists0(path) ? path : _null;
  111348. }
  111349. string = t1 ? exports : _null;
  111350. if (t1) {
  111351. t1 = $.$get$context();
  111352. string.toString;
  111353. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  111354. }
  111355. t1 = type$.Map_String_dynamic._is(exports);
  111356. map = t1 ? exports : _null;
  111357. if (t1) {
  111358. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  111359. t2 = t1.get$current(t1);
  111360. key = t2._0;
  111361. value = t2._1;
  111362. if (!B.Set_8229z.contains$1(0, key))
  111363. continue;
  111364. if (value == null)
  111365. continue;
  111366. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111367. if (_1_0 != null)
  111368. return _1_0;
  111369. }
  111370. return _null;
  111371. }
  111372. t1 = type$.List_dynamic._is(exports);
  111373. if (t1 && J.get$length$asx(exports) <= 0)
  111374. return _null;
  111375. array = t1 ? exports : _null;
  111376. if (t1) {
  111377. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  111378. value = t1.get$current(t1);
  111379. if (value == null)
  111380. continue;
  111381. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111382. if (_2_0 != null)
  111383. return _2_0;
  111384. }
  111385. return _null;
  111386. }
  111387. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  111388. },
  111389. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  111390. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  111391. },
  111392. _node_package$_getMainExport$1(exports) {
  111393. var t1, t2, t3, map, _0_4, t4, $export;
  111394. $label0$0: {
  111395. t1 = null;
  111396. if (typeof exports == "string") {
  111397. t1 = exports;
  111398. break $label0$0;
  111399. }
  111400. if (type$.List_String._is(exports)) {
  111401. t1 = exports;
  111402. break $label0$0;
  111403. }
  111404. t2 = type$.Map_String_dynamic._is(exports);
  111405. if (t2) {
  111406. t3 = exports.get$keys(exports);
  111407. t3 = !t3.any$1(t3, new A.NodePackageImporter__getMainExport_closure0());
  111408. map = exports;
  111409. } else {
  111410. map = t1;
  111411. t3 = false;
  111412. }
  111413. if (t3) {
  111414. t1 = map;
  111415. break $label0$0;
  111416. }
  111417. t3 = false;
  111418. if (t2) {
  111419. _0_4 = exports.$index(0, ".");
  111420. if (_0_4 == null)
  111421. t4 = exports.containsKey$1(".");
  111422. else
  111423. t4 = true;
  111424. if (t4)
  111425. t3 = _0_4 != null;
  111426. } else
  111427. _0_4 = null;
  111428. if (t3) {
  111429. $export = t2 ? _0_4 : exports.$index(0, ".");
  111430. t1 = $export;
  111431. break $label0$0;
  111432. }
  111433. break $label0$0;
  111434. }
  111435. return t1;
  111436. },
  111437. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  111438. var basename, dirname, t3, t4, _i, path,
  111439. t1 = type$.JSArray_String,
  111440. paths = A._setArrayType([], t1),
  111441. t2 = subpath == null;
  111442. if (t2 && addIndex)
  111443. subpath = "index";
  111444. else if (!t2 && addIndex)
  111445. subpath = A.join(subpath, "index", null);
  111446. if (subpath == null)
  111447. return A._setArrayType([null], type$.JSArray_nullable_String);
  111448. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  111449. paths.push(subpath);
  111450. else
  111451. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  111452. t1 = $.$get$context();
  111453. t2 = t1.style;
  111454. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  111455. dirname = t1.dirname$1(subpath);
  111456. if (B.JSString_methods.startsWith$1(basename, "_"))
  111457. return paths;
  111458. t1 = A.List_List$_of(paths, type$.nullable_String);
  111459. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  111460. path = paths[_i];
  111461. if (t4)
  111462. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  111463. else
  111464. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  111465. }
  111466. return t1;
  111467. },
  111468. _node_package$_exportsToCheck$1(subpath) {
  111469. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  111470. }
  111471. };
  111472. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  111473. call$1(key) {
  111474. return B.JSString_methods.startsWith$1(key, ".");
  111475. },
  111476. $signature: 5
  111477. };
  111478. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  111479. call$1(key) {
  111480. return !B.JSString_methods.startsWith$1(key, ".");
  111481. },
  111482. $signature: 5
  111483. };
  111484. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  111485. call$1(key) {
  111486. return '"' + key + '"';
  111487. },
  111488. $signature: 6
  111489. };
  111490. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  111491. call$1(variant) {
  111492. var t1, t2, matchKey, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  111493. if (variant == null) {
  111494. t1 = _this.$this;
  111495. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  111496. } else {
  111497. t1 = _this.exports;
  111498. if (type$.Map_String_dynamic._is(t1)) {
  111499. t2 = t1.get$keys(t1);
  111500. t2 = t2.every$1(t2, new A.NodePackageImporter__nodePackageExportsResolve__closure2());
  111501. } else
  111502. t2 = true;
  111503. if (t2)
  111504. return _null;
  111505. }
  111506. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  111507. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  111508. t1 = t1.$index(0, matchKey);
  111509. if (t1 == null)
  111510. t1 = A._asObject(t1);
  111511. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  111512. }
  111513. t2 = A._setArrayType([], type$.JSArray_String);
  111514. for (t3 = t1.get$keys(t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  111515. t4 = t3.get$current(t3);
  111516. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  111517. t2.push(t4);
  111518. }
  111519. t3 = _this.$this;
  111520. B.JSArray_methods.sort$1(t2, t3.get$_node_package$_compareExpansionKeys());
  111521. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  111522. expansionKey = t2[_i];
  111523. _0_0 = expansionKey.split("*");
  111524. t6 = _0_0.length === 2;
  111525. if (t6) {
  111526. patternBase = _0_0[0];
  111527. patternTrailer = _0_0[1];
  111528. } else {
  111529. patternTrailer = _null;
  111530. patternBase = patternTrailer;
  111531. }
  111532. if (!t6)
  111533. throw A.wrapException(A.StateError$("Pattern matching error"));
  111534. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  111535. continue;
  111536. if (matchKey === patternBase)
  111537. continue;
  111538. t6 = patternTrailer.length;
  111539. if (t6 !== 0)
  111540. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  111541. else
  111542. t7 = true;
  111543. if (t7) {
  111544. target = t1.$index(0, expansionKey);
  111545. if (target == null)
  111546. continue;
  111547. return t3._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  111548. }
  111549. }
  111550. return _null;
  111551. },
  111552. $signature: 147
  111553. };
  111554. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  111555. call$1(mainExport) {
  111556. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  111557. },
  111558. $signature: 148
  111559. };
  111560. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  111561. call$1(key) {
  111562. return !B.JSString_methods.startsWith$1(key, ".");
  111563. },
  111564. $signature: 5
  111565. };
  111566. A.NodePackageImporter__getMainExport_closure0.prototype = {
  111567. call$1(key) {
  111568. return B.JSString_methods.startsWith$1(key, ".");
  111569. },
  111570. $signature: 5
  111571. };
  111572. A.NullExpression0.prototype = {
  111573. accept$1$1(visitor) {
  111574. return visitor.visitNullExpression$1(0, this);
  111575. },
  111576. accept$1(visitor) {
  111577. return this.accept$1$1(visitor, type$.dynamic);
  111578. },
  111579. toString$0(_) {
  111580. return "null";
  111581. },
  111582. get$span(receiver) {
  111583. return this.span;
  111584. }
  111585. };
  111586. A.legacyNullClass_closure.prototype = {
  111587. call$0() {
  111588. var t1 = type$.JSClass,
  111589. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  111590. jsClass.NULL = B.C__SassNull0;
  111591. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  111592. return jsClass;
  111593. },
  111594. $signature: 15
  111595. };
  111596. A.legacyNullClass__closure.prototype = {
  111597. call$2(_, __) {
  111598. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  111599. },
  111600. call$1(_) {
  111601. return this.call$2(_, null);
  111602. },
  111603. "call*": "call$2",
  111604. $requiredArgCount: 1,
  111605. $defaultValues() {
  111606. return [null];
  111607. },
  111608. $signature: 222
  111609. };
  111610. A._SassNull0.prototype = {
  111611. get$isTruthy() {
  111612. return false;
  111613. },
  111614. get$isBlank() {
  111615. return true;
  111616. },
  111617. get$realNull() {
  111618. return null;
  111619. },
  111620. accept$1$1(visitor) {
  111621. if (visitor._serialize0$_inspect)
  111622. visitor._serialize0$_buffer.write$1(0, "null");
  111623. return null;
  111624. },
  111625. accept$1(visitor) {
  111626. return this.accept$1$1(visitor, type$.dynamic);
  111627. },
  111628. unaryNot$0() {
  111629. return B.SassBoolean_true0;
  111630. }
  111631. };
  111632. A.NumberExpression0.prototype = {
  111633. accept$1$1(visitor) {
  111634. return visitor.visitNumberExpression$1(0, this);
  111635. },
  111636. accept$1(visitor) {
  111637. return this.accept$1$1(visitor, type$.dynamic);
  111638. },
  111639. toString$0(_) {
  111640. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  111641. },
  111642. get$span(receiver) {
  111643. return this.span;
  111644. }
  111645. };
  111646. A.numberClass_closure.prototype = {
  111647. call$0() {
  111648. var t1 = type$.JSClass,
  111649. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  111650. t2 = type$.String,
  111651. t3 = type$.Function;
  111652. 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));
  111653. 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));
  111654. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  111655. return jsClass;
  111656. },
  111657. $signature: 15
  111658. };
  111659. A.numberClass__closure.prototype = {
  111660. call$3($self, value, unitOrOptions) {
  111661. var t1, t2, _null = null;
  111662. if (typeof unitOrOptions == "string")
  111663. return A.SassNumber_SassNumber0(value, unitOrOptions);
  111664. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  111665. t1 = unitOrOptions == null;
  111666. if (t1)
  111667. t2 = _null;
  111668. else {
  111669. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111670. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  111671. }
  111672. if (t1)
  111673. t1 = _null;
  111674. else {
  111675. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111676. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  111677. }
  111678. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  111679. },
  111680. call$2($self, value) {
  111681. return this.call$3($self, value, null);
  111682. },
  111683. "call*": "call$3",
  111684. $requiredArgCount: 2,
  111685. $defaultValues() {
  111686. return [null];
  111687. },
  111688. $signature: 530
  111689. };
  111690. A.numberClass__closure0.prototype = {
  111691. call$1($self) {
  111692. return $self._number1$_value;
  111693. },
  111694. $signature: 86
  111695. };
  111696. A.numberClass__closure1.prototype = {
  111697. call$1($self) {
  111698. return A.fuzzyIsInt0($self._number1$_value);
  111699. },
  111700. $signature: 252
  111701. };
  111702. A.numberClass__closure2.prototype = {
  111703. call$1($self) {
  111704. return A.fuzzyAsInt0($self._number1$_value);
  111705. },
  111706. $signature: 532
  111707. };
  111708. A.numberClass__closure3.prototype = {
  111709. call$1($self) {
  111710. return new self.immutable.List($self.get$numeratorUnits($self));
  111711. },
  111712. $signature: 253
  111713. };
  111714. A.numberClass__closure4.prototype = {
  111715. call$1($self) {
  111716. return new self.immutable.List($self.get$denominatorUnits($self));
  111717. },
  111718. $signature: 253
  111719. };
  111720. A.numberClass__closure5.prototype = {
  111721. call$1($self) {
  111722. return $self.get$hasUnits();
  111723. },
  111724. $signature: 252
  111725. };
  111726. A.numberClass__closure6.prototype = {
  111727. call$2($self, $name) {
  111728. return $self.assertInt$1($name);
  111729. },
  111730. call$1($self) {
  111731. return this.call$2($self, null);
  111732. },
  111733. "call*": "call$2",
  111734. $requiredArgCount: 1,
  111735. $defaultValues() {
  111736. return [null];
  111737. },
  111738. $signature: 534
  111739. };
  111740. A.numberClass__closure7.prototype = {
  111741. call$4($self, min, max, $name) {
  111742. return $self.valueInRange$3(min, max, $name);
  111743. },
  111744. call$3($self, min, max) {
  111745. return this.call$4($self, min, max, null);
  111746. },
  111747. "call*": "call$4",
  111748. $requiredArgCount: 3,
  111749. $defaultValues() {
  111750. return [null];
  111751. },
  111752. $signature: 535
  111753. };
  111754. A.numberClass__closure8.prototype = {
  111755. call$2($self, $name) {
  111756. $self.assertNoUnits$1($name);
  111757. return $self;
  111758. },
  111759. call$1($self) {
  111760. return this.call$2($self, null);
  111761. },
  111762. "call*": "call$2",
  111763. $requiredArgCount: 1,
  111764. $defaultValues() {
  111765. return [null];
  111766. },
  111767. $signature: 536
  111768. };
  111769. A.numberClass__closure9.prototype = {
  111770. call$3($self, unit, $name) {
  111771. $self.assertUnit$2(unit, $name);
  111772. return $self;
  111773. },
  111774. call$2($self, unit) {
  111775. return this.call$3($self, unit, null);
  111776. },
  111777. "call*": "call$3",
  111778. $requiredArgCount: 2,
  111779. $defaultValues() {
  111780. return [null];
  111781. },
  111782. $signature: 537
  111783. };
  111784. A.numberClass__closure10.prototype = {
  111785. call$2($self, unit) {
  111786. return $self.hasUnit$1(unit);
  111787. },
  111788. $signature: 254
  111789. };
  111790. A.numberClass__closure11.prototype = {
  111791. call$2($self, unit) {
  111792. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  111793. },
  111794. $signature: 254
  111795. };
  111796. A.numberClass__closure12.prototype = {
  111797. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111798. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111799. t2 = type$.String;
  111800. t1 = J.cast$1$0$ax(t1, t2);
  111801. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  111802. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  111803. },
  111804. call$3($self, numeratorUnits, denominatorUnits) {
  111805. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111806. },
  111807. "call*": "call$4",
  111808. $requiredArgCount: 3,
  111809. $defaultValues() {
  111810. return [null];
  111811. },
  111812. $signature: 255
  111813. };
  111814. A.numberClass__closure13.prototype = {
  111815. call$4($self, other, $name, otherName) {
  111816. return $self.convertToMatch$3(other, $name, otherName);
  111817. },
  111818. call$2($self, other) {
  111819. return this.call$4($self, other, null, null);
  111820. },
  111821. call$3($self, other, $name) {
  111822. return this.call$4($self, other, $name, null);
  111823. },
  111824. "call*": "call$4",
  111825. $requiredArgCount: 2,
  111826. $defaultValues() {
  111827. return [null, null];
  111828. },
  111829. $signature: 256
  111830. };
  111831. A.numberClass__closure14.prototype = {
  111832. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111833. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111834. t2 = type$.String;
  111835. t1 = J.cast$1$0$ax(t1, t2);
  111836. 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);
  111837. },
  111838. call$3($self, numeratorUnits, denominatorUnits) {
  111839. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111840. },
  111841. "call*": "call$4",
  111842. $requiredArgCount: 3,
  111843. $defaultValues() {
  111844. return [null];
  111845. },
  111846. $signature: 257
  111847. };
  111848. A.numberClass__closure15.prototype = {
  111849. call$4($self, other, $name, otherName) {
  111850. return $self.convertValueToMatch$3(other, $name, otherName);
  111851. },
  111852. call$2($self, other) {
  111853. return this.call$4($self, other, null, null);
  111854. },
  111855. call$3($self, other, $name) {
  111856. return this.call$4($self, other, $name, null);
  111857. },
  111858. "call*": "call$4",
  111859. $requiredArgCount: 2,
  111860. $defaultValues() {
  111861. return [null, null];
  111862. },
  111863. $signature: 258
  111864. };
  111865. A.numberClass__closure16.prototype = {
  111866. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111867. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111868. t2 = type$.String;
  111869. t1 = J.cast$1$0$ax(t1, t2);
  111870. 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);
  111871. },
  111872. call$3($self, numeratorUnits, denominatorUnits) {
  111873. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111874. },
  111875. "call*": "call$4",
  111876. $requiredArgCount: 3,
  111877. $defaultValues() {
  111878. return [null];
  111879. },
  111880. $signature: 255
  111881. };
  111882. A.numberClass__closure17.prototype = {
  111883. call$4($self, other, $name, otherName) {
  111884. return $self.coerceToMatch$3(other, $name, otherName);
  111885. },
  111886. call$2($self, other) {
  111887. return this.call$4($self, other, null, null);
  111888. },
  111889. call$3($self, other, $name) {
  111890. return this.call$4($self, other, $name, null);
  111891. },
  111892. "call*": "call$4",
  111893. $requiredArgCount: 2,
  111894. $defaultValues() {
  111895. return [null, null];
  111896. },
  111897. $signature: 256
  111898. };
  111899. A.numberClass__closure18.prototype = {
  111900. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111901. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111902. t2 = type$.String;
  111903. t1 = J.cast$1$0$ax(t1, t2);
  111904. 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);
  111905. },
  111906. call$3($self, numeratorUnits, denominatorUnits) {
  111907. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111908. },
  111909. "call*": "call$4",
  111910. $requiredArgCount: 3,
  111911. $defaultValues() {
  111912. return [null];
  111913. },
  111914. $signature: 257
  111915. };
  111916. A.numberClass__closure19.prototype = {
  111917. call$4($self, other, $name, otherName) {
  111918. return $self.coerceValueToMatch$3(other, $name, otherName);
  111919. },
  111920. call$2($self, other) {
  111921. return this.call$4($self, other, null, null);
  111922. },
  111923. call$3($self, other, $name) {
  111924. return this.call$4($self, other, $name, null);
  111925. },
  111926. "call*": "call$4",
  111927. $requiredArgCount: 2,
  111928. $defaultValues() {
  111929. return [null, null];
  111930. },
  111931. $signature: 258
  111932. };
  111933. A._ConstructorOptions0.prototype = {};
  111934. A._NodeSassNumber.prototype = {};
  111935. A.legacyNumberClass_closure.prototype = {
  111936. call$4(thisArg, value, unit, dartValue) {
  111937. var t1;
  111938. if (dartValue == null) {
  111939. value.toString;
  111940. t1 = A._parseNumber(value, unit);
  111941. } else
  111942. t1 = dartValue;
  111943. J.set$dartValue$x(thisArg, t1);
  111944. },
  111945. call$2(thisArg, value) {
  111946. return this.call$4(thisArg, value, null, null);
  111947. },
  111948. call$3(thisArg, value, unit) {
  111949. return this.call$4(thisArg, value, unit, null);
  111950. },
  111951. "call*": "call$4",
  111952. $requiredArgCount: 2,
  111953. $defaultValues() {
  111954. return [null, null];
  111955. },
  111956. $signature: 543
  111957. };
  111958. A.legacyNumberClass_closure0.prototype = {
  111959. call$1(thisArg) {
  111960. return J.get$dartValue$x(thisArg)._number1$_value;
  111961. },
  111962. $signature: 544
  111963. };
  111964. A.legacyNumberClass_closure1.prototype = {
  111965. call$2(thisArg, value) {
  111966. var t1 = J.getInterceptor$x(thisArg),
  111967. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  111968. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  111969. },
  111970. $signature: 545
  111971. };
  111972. A.legacyNumberClass_closure2.prototype = {
  111973. call$1(thisArg) {
  111974. var t1 = J.getInterceptor$x(thisArg),
  111975. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  111976. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  111977. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  111978. },
  111979. $signature: 546
  111980. };
  111981. A.legacyNumberClass_closure3.prototype = {
  111982. call$2(thisArg, unit) {
  111983. var t1 = J.getInterceptor$x(thisArg);
  111984. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  111985. },
  111986. $signature: 547
  111987. };
  111988. A._parseNumber_closure.prototype = {
  111989. call$1(unit) {
  111990. return unit.length === 0;
  111991. },
  111992. $signature: 5
  111993. };
  111994. A._parseNumber_closure0.prototype = {
  111995. call$1(unit) {
  111996. return unit.length === 0;
  111997. },
  111998. $signature: 5
  111999. };
  112000. A.SassNumber0.prototype = {
  112001. get$unitString() {
  112002. var _this = this;
  112003. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  112004. },
  112005. accept$1$1(visitor) {
  112006. return visitor.visitNumber$1(this);
  112007. },
  112008. accept$1(visitor) {
  112009. return this.accept$1$1(visitor, type$.dynamic);
  112010. },
  112011. withoutSlash$0() {
  112012. var _this = this;
  112013. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  112014. },
  112015. assertNumber$1($name) {
  112016. return this;
  112017. },
  112018. assertNumber$0() {
  112019. return this.assertNumber$1(null);
  112020. },
  112021. assertInt$1($name) {
  112022. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  112023. if (_0_0 != null)
  112024. return _0_0;
  112025. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  112026. },
  112027. assertInt$0() {
  112028. return this.assertInt$1(null);
  112029. },
  112030. valueInRange$3(min, max, $name) {
  112031. var _this = this,
  112032. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  112033. if (_0_0 != null)
  112034. return _0_0;
  112035. 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));
  112036. },
  112037. valueInRangeWithUnit$4(min, max, $name, unit) {
  112038. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  112039. if (_0_0 != null)
  112040. return _0_0;
  112041. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  112042. },
  112043. hasCompatibleUnits$1(other) {
  112044. var _this = this;
  112045. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  112046. return false;
  112047. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112048. return false;
  112049. return _this.isComparableTo$1(other);
  112050. },
  112051. assertUnit$2(unit, $name) {
  112052. if (this.hasUnit$1(unit))
  112053. return;
  112054. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  112055. },
  112056. assertNoUnits$1($name) {
  112057. if (!this.get$hasUnits())
  112058. return;
  112059. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  112060. },
  112061. assertNoUnits$0() {
  112062. return this.assertNoUnits$1(null);
  112063. },
  112064. convertToMatch$3(other, $name, otherName) {
  112065. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  112066. t2 = other.get$numeratorUnits(other);
  112067. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112068. },
  112069. convertValueToMatch$3(other, $name, otherName) {
  112070. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  112071. },
  112072. convertValueToMatch$1(other) {
  112073. return this.convertValueToMatch$3(other, null, null);
  112074. },
  112075. coerce$3(newNumerators, newDenominators, $name) {
  112076. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  112077. },
  112078. coerce$2(newNumerators, newDenominators) {
  112079. return this.coerce$3(newNumerators, newDenominators, null);
  112080. },
  112081. coerceValue$3(newNumerators, newDenominators, $name) {
  112082. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  112083. },
  112084. coerceValueToUnit$2(unit, $name) {
  112085. var t1 = type$.JSArray_String;
  112086. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  112087. },
  112088. coerceValueToUnit$1(unit) {
  112089. return this.coerceValueToUnit$2(unit, null);
  112090. },
  112091. coerceToMatch$3(other, $name, otherName) {
  112092. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  112093. t2 = other.get$numeratorUnits(other);
  112094. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112095. },
  112096. coerceValueToMatch$3(other, $name, otherName) {
  112097. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  112098. },
  112099. coerceValueToMatch$1(other) {
  112100. return this.coerceValueToMatch$3(other, null, null);
  112101. },
  112102. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  112103. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  112104. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  112105. return _this._number1$_value;
  112106. t1 = J.getInterceptor$asx(newNumerators);
  112107. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  112108. if (coerceUnitless)
  112109. t2 = !_this.get$hasUnits() || !otherHasUnits;
  112110. else
  112111. t2 = false;
  112112. if (t2)
  112113. return _this._number1$_value;
  112114. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  112115. _box_0.value = _this._number1$_value;
  112116. t2 = _this.get$numeratorUnits(_this);
  112117. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  112118. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  112119. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  112120. t1 = _this.get$denominatorUnits(_this);
  112121. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112122. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  112123. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  112124. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  112125. throw A.wrapException(compatibilityException.call$0());
  112126. return _box_0.value;
  112127. },
  112128. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  112129. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  112130. },
  112131. isComparableTo$1(other) {
  112132. var exception;
  112133. if (!this.get$hasUnits() || !other.get$hasUnits())
  112134. return true;
  112135. try {
  112136. this.greaterThan$1(other);
  112137. return true;
  112138. } catch (exception) {
  112139. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  112140. return false;
  112141. else
  112142. throw exception;
  112143. }
  112144. },
  112145. greaterThan$1(other) {
  112146. if (other instanceof A.SassNumber0)
  112147. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112148. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  112149. },
  112150. greaterThanOrEquals$1(other) {
  112151. if (other instanceof A.SassNumber0)
  112152. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112153. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  112154. },
  112155. lessThan$1(other) {
  112156. if (other instanceof A.SassNumber0)
  112157. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112158. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  112159. },
  112160. lessThanOrEquals$1(other) {
  112161. if (other instanceof A.SassNumber0)
  112162. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112163. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  112164. },
  112165. modulo$1(other) {
  112166. if (other instanceof A.SassNumber0)
  112167. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  112168. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  112169. },
  112170. plus$1(other) {
  112171. var _this = this;
  112172. if (other instanceof A.SassNumber0)
  112173. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  112174. if (!(other instanceof A.SassColor0))
  112175. return _this.super$Value$plus0(other);
  112176. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  112177. },
  112178. minus$1(other) {
  112179. var _this = this;
  112180. if (other instanceof A.SassNumber0)
  112181. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  112182. if (!(other instanceof A.SassColor0))
  112183. return _this.super$Value$minus0(other);
  112184. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  112185. },
  112186. times$1(other) {
  112187. var _this = this;
  112188. if (other instanceof A.SassNumber0) {
  112189. if (!other.get$hasUnits())
  112190. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  112191. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  112192. }
  112193. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  112194. },
  112195. dividedBy$1(other) {
  112196. var _this = this;
  112197. if (other instanceof A.SassNumber0) {
  112198. if (!other.get$hasUnits())
  112199. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  112200. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  112201. }
  112202. return _this.super$Value$dividedBy0(other);
  112203. },
  112204. unaryPlus$0() {
  112205. return this;
  112206. },
  112207. _number1$_coerceUnits$1$2(other, operation) {
  112208. var t1, exception;
  112209. try {
  112210. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  112211. return t1;
  112212. } catch (exception) {
  112213. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  112214. this.coerceValueToMatch$1(other);
  112215. throw exception;
  112216. } else
  112217. throw exception;
  112218. }
  112219. },
  112220. _number1$_coerceUnits$2(other, operation) {
  112221. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  112222. },
  112223. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  112224. 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 = {};
  112225. _box_0.value = value;
  112226. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  112227. _0_1 = t1[0];
  112228. _0_6 = _null;
  112229. _0_3 = _null;
  112230. _0_9 = _null;
  112231. _0_9_isSet = false;
  112232. _0_7 = _null;
  112233. _0_7_isSet = false;
  112234. t2 = false;
  112235. _0_2 = t1[1];
  112236. _0_3 = t1[2];
  112237. _0_6 = _0_3.length <= 0;
  112238. _0_9_isSet = _0_6;
  112239. if (_0_9_isSet) {
  112240. _0_7 = t1[3];
  112241. _0_9 = _0_7.length <= 0;
  112242. t2 = _0_9;
  112243. }
  112244. _0_7_isSet = _0_9_isSet;
  112245. denominators_case_0 = _0_2;
  112246. _0_11_isSet = !t2;
  112247. _0_13 = _null;
  112248. if (_0_11_isSet) {
  112249. _0_11 = _0_1.length <= 0;
  112250. _0_13_isSet = _0_11;
  112251. if (_0_13_isSet) {
  112252. t2 = _0_2;
  112253. _0_13 = t2.length <= 0;
  112254. t2 = _0_13;
  112255. if (t2) {
  112256. numerators_case_0 = _0_3;
  112257. if (_0_7_isSet)
  112258. denominators_case_0 = _0_7;
  112259. else {
  112260. _0_7 = t1[3];
  112261. denominators_case_0 = _0_7;
  112262. _0_7_isSet = true;
  112263. }
  112264. } else
  112265. numerators_case_0 = _0_1;
  112266. } else {
  112267. numerators_case_0 = _0_1;
  112268. t2 = false;
  112269. }
  112270. } else {
  112271. numerators_case_0 = _0_1;
  112272. _0_11 = _null;
  112273. _0_13_isSet = false;
  112274. t2 = true;
  112275. }
  112276. if (t2) {
  112277. t4 = denominators_case_0;
  112278. t3 = numerators_case_0;
  112279. } else {
  112280. t4 = _null;
  112281. t3 = t4;
  112282. }
  112283. if (!t2) {
  112284. t2 = _null;
  112285. t5 = _null;
  112286. if (_0_11_isSet)
  112287. t6 = _0_11;
  112288. else {
  112289. _0_11 = _0_1.length <= 0;
  112290. t6 = _0_11;
  112291. }
  112292. t7 = false;
  112293. if (t6) {
  112294. denominators_case_1 = _0_2;
  112295. numerators_case_1 = _0_3;
  112296. if (_0_9_isSet)
  112297. t2 = _0_9;
  112298. else {
  112299. if (_0_7_isSet)
  112300. t2 = _0_7;
  112301. else {
  112302. _0_7 = t1[3];
  112303. t2 = _0_7;
  112304. _0_7_isSet = true;
  112305. }
  112306. _0_9 = t2.length <= 0;
  112307. t2 = _0_9;
  112308. }
  112309. } else {
  112310. numerators_case_1 = t2;
  112311. t2 = t7;
  112312. denominators_case_1 = t5;
  112313. }
  112314. if (!t2) {
  112315. t2 = false;
  112316. if (_0_13_isSet)
  112317. t5 = _0_13;
  112318. else {
  112319. _0_13 = _0_2.length <= 0;
  112320. t5 = _0_13;
  112321. }
  112322. if (t5) {
  112323. t2 = _0_6;
  112324. if (t2)
  112325. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  112326. t1 = t2;
  112327. } else
  112328. t1 = t2;
  112329. numerators_case_1 = _0_1;
  112330. } else
  112331. t1 = true;
  112332. if (t1) {
  112333. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  112334. if (t1) {
  112335. t3 = denominators_case_1;
  112336. t2 = numerators_case_1;
  112337. } else {
  112338. t2 = t3;
  112339. t3 = t4;
  112340. }
  112341. t0 = t3;
  112342. t3 = t1;
  112343. t1 = t2;
  112344. t2 = t0;
  112345. } else {
  112346. t2 = t4;
  112347. t1 = t3;
  112348. t3 = false;
  112349. }
  112350. } else {
  112351. t2 = t4;
  112352. t1 = t3;
  112353. t3 = true;
  112354. }
  112355. if (t3)
  112356. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  112357. newNumerators = A._setArrayType([], type$.JSArray_String);
  112358. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  112359. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112360. numerator = t1[_i];
  112361. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  112362. }
  112363. t1 = _this.get$denominatorUnits(_this);
  112364. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112365. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  112366. numerator = otherNumerators[_i];
  112367. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  112368. }
  112369. t1 = _box_0.value;
  112370. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  112371. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  112372. },
  112373. _number1$_areAnyConvertible$2(units1, units2) {
  112374. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  112375. },
  112376. _number1$_unitString$2(numerators, denominators) {
  112377. var t1, _0_4, _0_6, t2, _0_7, _0_5, _0_9, _0_10, denominator;
  112378. $label0$0: {
  112379. t1 = J.getInterceptor$asx(numerators);
  112380. _0_4 = t1.get$length(numerators) <= 0;
  112381. if (_0_4) {
  112382. _0_6 = J.get$length$asx(denominators);
  112383. t2 = _0_6;
  112384. _0_7 = t2 <= 0;
  112385. t2 = _0_7;
  112386. _0_5 = denominators;
  112387. } else {
  112388. _0_7 = null;
  112389. _0_6 = null;
  112390. _0_5 = null;
  112391. t2 = false;
  112392. }
  112393. if (t2) {
  112394. t1 = "no units";
  112395. break $label0$0;
  112396. }
  112397. if (_0_4) {
  112398. t2 = _0_6;
  112399. _0_9 = t2 === 1;
  112400. t2 = _0_9;
  112401. } else
  112402. t2 = false;
  112403. if (t2) {
  112404. _0_10 = J.$index$asx(_0_4 ? _0_5 : denominators, 0);
  112405. denominator = _0_10;
  112406. t1 = denominator + "^-1";
  112407. break $label0$0;
  112408. }
  112409. if (_0_4) {
  112410. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  112411. break $label0$0;
  112412. }
  112413. t2 = denominators;
  112414. _0_5 = t2;
  112415. _0_6 = J.get$length$asx(t2);
  112416. t2 = _0_6;
  112417. _0_7 = t2 <= 0;
  112418. t2 = _0_7;
  112419. if (t2) {
  112420. t1 = t1.join$1(numerators, "*");
  112421. break $label0$0;
  112422. }
  112423. t2 = _0_6;
  112424. _0_9 = t2 === 1;
  112425. t2 = _0_9;
  112426. if (t2) {
  112427. _0_10 = J.$index$asx(_0_5, 0);
  112428. denominator = _0_10;
  112429. t1 = t1.join$1(numerators, "*") + "/" + denominator;
  112430. break $label0$0;
  112431. }
  112432. t1 = t1.join$1(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  112433. break $label0$0;
  112434. }
  112435. return t1;
  112436. },
  112437. $eq(_, other) {
  112438. var _this = this;
  112439. if (other == null)
  112440. return false;
  112441. if (!(other instanceof A.SassNumber0))
  112442. return false;
  112443. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112444. return false;
  112445. if (!_this.get$hasUnits())
  112446. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  112447. 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))))
  112448. return false;
  112449. 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)));
  112450. },
  112451. get$hashCode(_) {
  112452. var _this = this,
  112453. t1 = _this.hashCache;
  112454. 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;
  112455. },
  112456. _number1$_canonicalizeUnitList$1(units) {
  112457. var type,
  112458. t1 = units.length;
  112459. if (t1 === 0)
  112460. return units;
  112461. if (t1 === 1) {
  112462. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  112463. if (type == null)
  112464. t1 = units;
  112465. else {
  112466. t1 = B.Map_Sr65K.$index(0, type);
  112467. t1.toString;
  112468. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  112469. }
  112470. return t1;
  112471. }
  112472. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  112473. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), t1._eval$1("ListIterable.E"));
  112474. B.JSArray_methods.sort$0(t1);
  112475. return t1;
  112476. },
  112477. _number1$_canonicalMultiplier$1(units) {
  112478. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  112479. },
  112480. canonicalMultiplierForUnit$1(unit) {
  112481. var t1,
  112482. innerMap = B.Map_NtHoP.$index(0, unit);
  112483. if (innerMap == null)
  112484. t1 = 1;
  112485. else {
  112486. t1 = innerMap.get$values(innerMap);
  112487. t1 = 1 / t1.get$first(t1);
  112488. }
  112489. return t1;
  112490. },
  112491. unitSuggestion$2($name, unit) {
  112492. var t2, t3, result, _this = this,
  112493. t1 = _this.get$denominatorUnits(_this);
  112494. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112495. t2 = _this.get$numeratorUnits(_this);
  112496. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112497. t3 = unit == null ? "" : " * 1" + unit;
  112498. result = "$" + $name + t1 + t2 + t3;
  112499. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  112500. },
  112501. unitSuggestion$1($name) {
  112502. return this.unitSuggestion$2($name, null);
  112503. }
  112504. };
  112505. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  112506. call$0() {
  112507. var t2, t3, message, t4, type, unit, _this = this,
  112508. t1 = _this.other;
  112509. if (t1 != null) {
  112510. t2 = _this.$this;
  112511. t3 = t2.toString$0(0) + " and";
  112512. message = new A.StringBuffer(t3);
  112513. t4 = _this.otherName;
  112514. if (t4 != null)
  112515. t3 = message._contents = t3 + (" $" + t4 + ":");
  112516. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  112517. message._contents = t1;
  112518. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  112519. message._contents = t1 + " (one has units and the other doesn't)";
  112520. t1 = message.toString$0(0) + ".";
  112521. t2 = _this.name;
  112522. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112523. } else if (!_this.otherHasUnits) {
  112524. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  112525. t2 = _this.name;
  112526. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112527. } else {
  112528. t1 = _this.newNumerators;
  112529. t2 = J.getInterceptor$asx(t1);
  112530. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  112531. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  112532. if (type != null) {
  112533. t1 = _this.$this.toString$0(0);
  112534. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  112535. t3 = B.Map_Sr65K.$index(0, type);
  112536. t3.toString;
  112537. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  112538. t2 = _this.name;
  112539. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  112540. }
  112541. }
  112542. t3 = _this.newDenominators;
  112543. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  112544. t2 = _this.$this;
  112545. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  112546. t1 = _this.name;
  112547. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  112548. }
  112549. },
  112550. $signature: 548
  112551. };
  112552. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  112553. call$1(oldNumerator) {
  112554. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  112555. if (factor == null)
  112556. return false;
  112557. this._box_0.value *= factor;
  112558. return true;
  112559. },
  112560. $signature: 5
  112561. };
  112562. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  112563. call$0() {
  112564. return A.throwExpression(this.compatibilityException.call$0());
  112565. },
  112566. $signature: 0
  112567. };
  112568. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  112569. call$1(oldDenominator) {
  112570. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  112571. if (factor == null)
  112572. return false;
  112573. this._box_0.value /= factor;
  112574. return true;
  112575. },
  112576. $signature: 5
  112577. };
  112578. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  112579. call$0() {
  112580. return A.throwExpression(this.compatibilityException.call$0());
  112581. },
  112582. $signature: 0
  112583. };
  112584. A.SassNumber_plus_closure0.prototype = {
  112585. call$2(num1, num2) {
  112586. return num1 + num2;
  112587. },
  112588. $signature: 61
  112589. };
  112590. A.SassNumber_minus_closure0.prototype = {
  112591. call$2(num1, num2) {
  112592. return num1 - num2;
  112593. },
  112594. $signature: 61
  112595. };
  112596. A.SassNumber_multiplyUnits_closure3.prototype = {
  112597. call$1(denominator) {
  112598. var factor = A.conversionFactor0(this.numerator, denominator);
  112599. if (factor == null)
  112600. return false;
  112601. this._box_0.value /= factor;
  112602. return true;
  112603. },
  112604. $signature: 5
  112605. };
  112606. A.SassNumber_multiplyUnits_closure4.prototype = {
  112607. call$0() {
  112608. return this.newNumerators.push(this.numerator);
  112609. },
  112610. $signature: 0
  112611. };
  112612. A.SassNumber_multiplyUnits_closure5.prototype = {
  112613. call$1(denominator) {
  112614. var factor = A.conversionFactor0(this.numerator, denominator);
  112615. if (factor == null)
  112616. return false;
  112617. this._box_0.value /= factor;
  112618. return true;
  112619. },
  112620. $signature: 5
  112621. };
  112622. A.SassNumber_multiplyUnits_closure6.prototype = {
  112623. call$0() {
  112624. return this.newNumerators.push(this.numerator);
  112625. },
  112626. $signature: 0
  112627. };
  112628. A.SassNumber__areAnyConvertible_closure0.prototype = {
  112629. call$1(unit1) {
  112630. var t1,
  112631. _0_0 = B.Map_NtHoP.$index(0, unit1);
  112632. $label0$0: {
  112633. if (_0_0 != null) {
  112634. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  112635. break $label0$0;
  112636. }
  112637. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  112638. break $label0$0;
  112639. }
  112640. return t1;
  112641. },
  112642. $signature: 5
  112643. };
  112644. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  112645. call$1(unit) {
  112646. var t1,
  112647. type = $.$get$_typesByUnit0().$index(0, unit);
  112648. if (type == null)
  112649. t1 = unit;
  112650. else {
  112651. t1 = B.Map_Sr65K.$index(0, type);
  112652. t1.toString;
  112653. t1 = B.JSArray_methods.get$first(t1);
  112654. }
  112655. return t1;
  112656. },
  112657. $signature: 6
  112658. };
  112659. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  112660. call$2(multiplier, unit) {
  112661. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  112662. },
  112663. $signature: 165
  112664. };
  112665. A.SassNumber_unitSuggestion_closure1.prototype = {
  112666. call$1(unit) {
  112667. return " * 1" + unit;
  112668. },
  112669. $signature: 6
  112670. };
  112671. A.SassNumber_unitSuggestion_closure2.prototype = {
  112672. call$1(unit) {
  112673. return " / 1" + unit;
  112674. },
  112675. $signature: 6
  112676. };
  112677. A.OklabColorSpace0.prototype = {
  112678. get$isBoundedInternal() {
  112679. return false;
  112680. },
  112681. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  112682. var missingLightness, missingA, missingB, t1;
  112683. if (dest === B.OklchColorSpace_9Gj0)
  112684. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  112685. missingLightness = lightness == null;
  112686. missingA = a == null;
  112687. missingB = b == null;
  112688. if (missingLightness)
  112689. lightness = 0;
  112690. if (missingA)
  112691. a = 0;
  112692. if (missingB)
  112693. b = 0;
  112694. t1 = $.$get$oklabToLms0();
  112695. 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);
  112696. },
  112697. convert$5(dest, lightness, a, b, alpha) {
  112698. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  112699. }
  112700. };
  112701. A.OklchColorSpace0.prototype = {
  112702. get$isBoundedInternal() {
  112703. return false;
  112704. },
  112705. get$isPolarInternal() {
  112706. return true;
  112707. },
  112708. convert$5(dest, lightness, chroma, hue, alpha) {
  112709. var t1 = hue == null,
  112710. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  112711. t2 = chroma == null,
  112712. t3 = t2 ? 0 : chroma,
  112713. t4 = Math.cos(hueRadians),
  112714. t5 = t2 ? 0 : chroma;
  112715. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  112716. }
  112717. };
  112718. A.SupportsOperation0.prototype = {
  112719. toInterpolation$0() {
  112720. var t1 = new A.StringBuffer(""),
  112721. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  112722. t3 = this.span,
  112723. t4 = this.left,
  112724. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  112725. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112726. t1._contents += t5;
  112727. t2.addInterpolation$1(t4.toInterpolation$0());
  112728. t5 = this.right;
  112729. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  112730. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  112731. t1._contents += t4;
  112732. t2.addInterpolation$1(t5.toInterpolation$0());
  112733. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  112734. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112735. t1._contents += t5;
  112736. return t2.interpolation$1(t3);
  112737. },
  112738. withSpan$1(span) {
  112739. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  112740. },
  112741. toString$0(_) {
  112742. var _this = this;
  112743. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  112744. },
  112745. _operation$_parenthesize$1(condition) {
  112746. var t1;
  112747. if (!(condition instanceof A.SupportsNegation0))
  112748. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  112749. else
  112750. t1 = true;
  112751. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  112752. },
  112753. $isAstNode0: 1,
  112754. $isSassNode: 1,
  112755. $isSupportsCondition: 1,
  112756. get$span(receiver) {
  112757. return this.span;
  112758. }
  112759. };
  112760. A.Parameter0.prototype = {
  112761. toString$0(_) {
  112762. var t1 = this.defaultValue,
  112763. t2 = this.name;
  112764. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  112765. },
  112766. $isAstNode0: 1,
  112767. $isSassNode: 1,
  112768. get$span(receiver) {
  112769. return this.span;
  112770. }
  112771. };
  112772. A.ParameterList0.prototype = {
  112773. get$spanWithName() {
  112774. var t3, t4,
  112775. t1 = this.span,
  112776. t2 = t1.file,
  112777. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  112778. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  112779. while (true) {
  112780. if (i > 0) {
  112781. t3 = text.charCodeAt(i);
  112782. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112783. } else
  112784. t3 = false;
  112785. if (!t3)
  112786. break;
  112787. --i;
  112788. }
  112789. t3 = text.charCodeAt(i);
  112790. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  112791. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112792. else
  112793. t3 = true;
  112794. if (!t3)
  112795. return t1;
  112796. --i;
  112797. while (true) {
  112798. if (i >= 0) {
  112799. t3 = text.charCodeAt(i);
  112800. if (t3 !== 95) {
  112801. if (!(t3 >= 97 && t3 <= 122))
  112802. t4 = t3 >= 65 && t3 <= 90;
  112803. else
  112804. t4 = true;
  112805. t4 = t4 || t3 >= 128;
  112806. } else
  112807. t4 = true;
  112808. if (!t4)
  112809. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112810. else
  112811. t3 = true;
  112812. } else
  112813. t3 = false;
  112814. if (!t3)
  112815. break;
  112816. --i;
  112817. }
  112818. t3 = i + 1;
  112819. t4 = text.charCodeAt(t3);
  112820. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  112821. return t1;
  112822. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  112823. },
  112824. verify$2(positional, names) {
  112825. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  112826. _s10_ = "invocation";
  112827. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112828. parameter = t1[i];
  112829. if (i < positional) {
  112830. t4 = parameter.name;
  112831. if (t3.containsKey$1(t4))
  112832. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  112833. } else {
  112834. t4 = parameter.name;
  112835. if (t3.containsKey$1(t4))
  112836. ++namedUsed;
  112837. else if (parameter.defaultValue == null)
  112838. 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)));
  112839. }
  112840. }
  112841. if (_this.restParameter != null)
  112842. return;
  112843. if (positional > t2) {
  112844. t1 = names.get$isEmpty(0) ? "" : "positional ";
  112845. 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)));
  112846. }
  112847. if (namedUsed < t3.get$length(t3)) {
  112848. t2 = type$.String;
  112849. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  112850. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  112851. 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)));
  112852. }
  112853. },
  112854. _parameter_list$_originalParameterName$1($name) {
  112855. var t1, text, t2, _i, parameter, t3, end;
  112856. if ($name === this.restParameter) {
  112857. t1 = this.span;
  112858. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  112859. 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, "."));
  112860. }
  112861. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112862. parameter = t1[_i];
  112863. if (parameter.name === $name) {
  112864. t1 = parameter.span;
  112865. if (parameter.defaultValue == null) {
  112866. t2 = t1._file$_start;
  112867. t3 = t1.file._decodedChars;
  112868. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  112869. t1 = t3;
  112870. } else {
  112871. text = t1.get$text();
  112872. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  112873. end = A._lastNonWhitespace0(t1, false);
  112874. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  112875. }
  112876. return t1;
  112877. }
  112878. }
  112879. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  112880. },
  112881. matches$2(positional, names) {
  112882. var t1, t2, t3, namedUsed, i, parameter;
  112883. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  112884. parameter = t1[i];
  112885. if (i < positional) {
  112886. if (t3.containsKey$1(parameter.name))
  112887. return false;
  112888. } else if (t3.containsKey$1(parameter.name))
  112889. ++namedUsed;
  112890. else if (parameter.defaultValue == null)
  112891. return false;
  112892. }
  112893. if (this.restParameter != null)
  112894. return true;
  112895. if (positional > t2)
  112896. return false;
  112897. if (namedUsed < t3.get$length(t3))
  112898. return false;
  112899. return true;
  112900. },
  112901. toString$0(_) {
  112902. var t2, t3, _i,
  112903. t1 = A._setArrayType([], type$.JSArray_String);
  112904. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  112905. t1.push("$" + t2[_i].toString$0(0));
  112906. t2 = this.restParameter;
  112907. if (t2 != null)
  112908. t1.push("$" + t2 + "...");
  112909. return B.JSArray_methods.join$1(t1, ", ");
  112910. },
  112911. $isAstNode0: 1,
  112912. $isSassNode: 1,
  112913. get$span(receiver) {
  112914. return this.span;
  112915. }
  112916. };
  112917. A.ParameterList_verify_closure1.prototype = {
  112918. call$1(parameter) {
  112919. return parameter.name;
  112920. },
  112921. $signature: 549
  112922. };
  112923. A.ParameterList_verify_closure2.prototype = {
  112924. call$1($name) {
  112925. return "$" + $name;
  112926. },
  112927. $signature: 6
  112928. };
  112929. A.ParentSelector0.prototype = {
  112930. accept$1$1(visitor) {
  112931. return visitor.visitParentSelector$1(this);
  112932. },
  112933. accept$1(visitor) {
  112934. return this.accept$1$1(visitor, type$.dynamic);
  112935. },
  112936. unify$1(compound) {
  112937. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  112938. }
  112939. };
  112940. A.ParentStatement0.prototype = {};
  112941. A.ParentStatement_closure0.prototype = {
  112942. call$1(child) {
  112943. var t1;
  112944. $label0$0: {
  112945. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  112946. t1 = true;
  112947. break $label0$0;
  112948. }
  112949. if (child instanceof A.ImportRule0) {
  112950. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  112951. break $label0$0;
  112952. }
  112953. t1 = false;
  112954. break $label0$0;
  112955. }
  112956. return t1;
  112957. },
  112958. $signature: 246
  112959. };
  112960. A.ParentStatement__closure0.prototype = {
  112961. call$1($import) {
  112962. return $import instanceof A.DynamicImport0;
  112963. },
  112964. $signature: 247
  112965. };
  112966. A.ParenthesizedExpression0.prototype = {
  112967. accept$1$1(visitor) {
  112968. return visitor.visitParenthesizedExpression$1(0, this);
  112969. },
  112970. accept$1(visitor) {
  112971. return this.accept$1$1(visitor, type$.dynamic);
  112972. },
  112973. toString$0(_) {
  112974. return "(" + this.expression.toString$0(0) + ")";
  112975. },
  112976. get$span(receiver) {
  112977. return this.span;
  112978. }
  112979. };
  112980. A.ParserExports.prototype = {};
  112981. A.loadParserExports_closure.prototype = {
  112982. call$1(inner) {
  112983. return new A.JSExpressionVisitor(inner);
  112984. },
  112985. $signature: 550
  112986. };
  112987. A.loadParserExports_closure0.prototype = {
  112988. call$1(inner) {
  112989. return new A.JSStatementVisitor(inner);
  112990. },
  112991. $signature: 551
  112992. };
  112993. A.loadParserExports_closure1.prototype = {
  112994. call$1(set) {
  112995. var t1 = A.List_List$_of(set, type$.nullable_Object);
  112996. return new self.Set(t1);
  112997. },
  112998. $signature: 552
  112999. };
  113000. A._updateAstPrototypes_closure.prototype = {
  113001. call$3($self, start, end) {
  113002. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  113003. },
  113004. call$2($self, start) {
  113005. return this.call$3($self, start, null);
  113006. },
  113007. "call*": "call$3",
  113008. $requiredArgCount: 2,
  113009. $defaultValues() {
  113010. return [null];
  113011. },
  113012. $signature: 553
  113013. };
  113014. A._updateAstPrototypes_closure0.prototype = {
  113015. call$1($self) {
  113016. return $self._decodedChars;
  113017. },
  113018. $signature: 554
  113019. };
  113020. A._updateAstPrototypes_closure1.prototype = {
  113021. call$1($self) {
  113022. return $self.get$asPlain();
  113023. },
  113024. $signature: 555
  113025. };
  113026. A._updateAstPrototypes_closure2.prototype = {
  113027. call$2($self, visitor) {
  113028. return $self.accept$1(visitor);
  113029. },
  113030. $signature: 556
  113031. };
  113032. A._updateAstPrototypes_closure3.prototype = {
  113033. call$2($self, visitor) {
  113034. return $self.accept$1(visitor);
  113035. },
  113036. $signature: 557
  113037. };
  113038. A._updateAstPrototypes_closure4.prototype = {
  113039. call$1($self) {
  113040. return $self.$arguments;
  113041. },
  113042. $signature: 558
  113043. };
  113044. A._updateAstPrototypes_closure5.prototype = {
  113045. call$1($self) {
  113046. return $self.$arguments;
  113047. },
  113048. $signature: 559
  113049. };
  113050. A._updateAstPrototypes_closure6.prototype = {
  113051. call$1($self) {
  113052. return $self.$arguments;
  113053. },
  113054. $signature: 560
  113055. };
  113056. A._updateAstPrototypes_closure7.prototype = {
  113057. call$1($self) {
  113058. return $self.$arguments;
  113059. },
  113060. $signature: 561
  113061. };
  113062. A._updateAstPrototypes_closure8.prototype = {
  113063. call$1($self) {
  113064. return $self.$arguments;
  113065. },
  113066. $signature: 562
  113067. };
  113068. A._updateAstPrototypes_closure9.prototype = {
  113069. call$1($self) {
  113070. return $self.get$span($self);
  113071. },
  113072. $signature: 563
  113073. };
  113074. A._addSupportsConditionToInterpolation_closure.prototype = {
  113075. call$1($self) {
  113076. return $self.toInterpolation$0();
  113077. },
  113078. $signature: 564
  113079. };
  113080. A.Parser1.prototype = {
  113081. _parser1$_parseIdentifier$0() {
  113082. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  113083. },
  113084. whitespace$1$consumeNewlines(consumeNewlines) {
  113085. do
  113086. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  113087. while (this.scanComment$0());
  113088. },
  113089. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  113090. var t3,
  113091. t1 = this.scanner,
  113092. t2 = t1.string.length;
  113093. while (true) {
  113094. if (t1._string_scanner$_position !== t2) {
  113095. t3 = t1.peekChar$0();
  113096. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  113097. } else
  113098. t3 = false;
  113099. if (!t3)
  113100. break;
  113101. t1.readChar$0();
  113102. }
  113103. },
  113104. spaces$0() {
  113105. var t3,
  113106. t1 = this.scanner,
  113107. t2 = t1.string.length;
  113108. while (true) {
  113109. if (t1._string_scanner$_position !== t2) {
  113110. t3 = t1.peekChar$0();
  113111. t3 = t3 === 32 || t3 === 9;
  113112. } else
  113113. t3 = false;
  113114. if (!t3)
  113115. break;
  113116. t1.readChar$0();
  113117. }
  113118. },
  113119. scanComment$0() {
  113120. var _0_0,
  113121. t1 = this.scanner;
  113122. if (t1.peekChar$0() !== 47)
  113123. return false;
  113124. _0_0 = t1.peekChar$1(1);
  113125. if (47 === _0_0)
  113126. return this.silentComment$0();
  113127. if (42 === _0_0) {
  113128. this.loudComment$0();
  113129. return true;
  113130. }
  113131. return false;
  113132. },
  113133. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  113134. var t2, t3,
  113135. t1 = this.scanner;
  113136. if (t1._string_scanner$_position !== t1.string.length) {
  113137. t2 = t1.peekChar$0();
  113138. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  113139. t2 = t3;
  113140. } else
  113141. t2 = true;
  113142. if (t2)
  113143. t1.error$1(0, "Expected whitespace.");
  113144. this.whitespace$1$consumeNewlines(consumeNewlines);
  113145. },
  113146. expectWhitespace$0() {
  113147. return this.expectWhitespace$1$consumeNewlines(false);
  113148. },
  113149. silentComment$0() {
  113150. var t2, t3,
  113151. t1 = this.scanner;
  113152. t1.expect$1("//");
  113153. t2 = t1.string.length;
  113154. while (true) {
  113155. if (t1._string_scanner$_position !== t2) {
  113156. t3 = t1.peekChar$0();
  113157. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  113158. } else
  113159. t3 = false;
  113160. if (!t3)
  113161. break;
  113162. t1.readChar$0();
  113163. }
  113164. return true;
  113165. },
  113166. loudComment$0() {
  113167. var next,
  113168. t1 = this.scanner;
  113169. t1.expect$1("/*");
  113170. for (; true;) {
  113171. if (t1.readChar$0() !== 42)
  113172. continue;
  113173. do
  113174. next = t1.readChar$0();
  113175. while (next === 42);
  113176. if (next === 47)
  113177. break;
  113178. }
  113179. },
  113180. identifier$2$normalize$unit(normalize, unit) {
  113181. var t2, _0_0, _this = this,
  113182. _s20_ = "Expected identifier.",
  113183. text = new A.StringBuffer(""),
  113184. t1 = _this.scanner;
  113185. if (t1.scanChar$1(45)) {
  113186. t2 = text._contents = A.Primitives_stringFromCharCode(45);
  113187. if (t1.scanChar$1(45)) {
  113188. text._contents = t2 + t2;
  113189. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113190. t1 = text._contents;
  113191. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113192. }
  113193. } else
  113194. t2 = "";
  113195. $label0$0: {
  113196. _0_0 = t1.peekChar$0();
  113197. if (_0_0 == null)
  113198. t1.error$1(0, _s20_);
  113199. if (95 === _0_0 && normalize) {
  113200. t1.readChar$0();
  113201. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  113202. break $label0$0;
  113203. }
  113204. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113205. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  113206. break $label0$0;
  113207. }
  113208. if (92 === _0_0) {
  113209. text._contents = t2 + _this.escape$1$identifierStart(true);
  113210. break $label0$0;
  113211. }
  113212. t1.error$1(0, _s20_);
  113213. }
  113214. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113215. t1 = text._contents;
  113216. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113217. },
  113218. identifier$0() {
  113219. return this.identifier$2$normalize$unit(false, false);
  113220. },
  113221. identifier$1$normalize(normalize) {
  113222. return this.identifier$2$normalize$unit(normalize, false);
  113223. },
  113224. identifier$1$unit(unit) {
  113225. return this.identifier$2$normalize$unit(false, unit);
  113226. },
  113227. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  113228. var t1, _1_0, _0_0, t2;
  113229. for (t1 = this.scanner; true;) {
  113230. _1_0 = t1.peekChar$0();
  113231. if (_1_0 == null)
  113232. break;
  113233. if (45 === _1_0 && unit) {
  113234. _0_0 = t1.peekChar$1(1);
  113235. if (46 !== _0_0)
  113236. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  113237. else
  113238. t2 = true;
  113239. if (t2)
  113240. break;
  113241. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113242. text._contents += t2;
  113243. continue;
  113244. }
  113245. if (95 === _1_0 && normalize) {
  113246. t1.readChar$0();
  113247. t2 = A.Primitives_stringFromCharCode(45);
  113248. text._contents += t2;
  113249. continue;
  113250. }
  113251. if (_1_0 !== 95) {
  113252. if (!(_1_0 >= 97 && _1_0 <= 122))
  113253. t2 = _1_0 >= 65 && _1_0 <= 90;
  113254. else
  113255. t2 = true;
  113256. t2 = t2 || _1_0 >= 128;
  113257. } else
  113258. t2 = true;
  113259. if (!t2)
  113260. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  113261. else
  113262. t2 = true;
  113263. if (t2) {
  113264. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113265. text._contents += t2;
  113266. continue;
  113267. }
  113268. if (92 === _1_0) {
  113269. t2 = this.escape$0();
  113270. text._contents += t2;
  113271. continue;
  113272. }
  113273. break;
  113274. }
  113275. },
  113276. _parser1$_identifierBody$1(text) {
  113277. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  113278. },
  113279. string$0() {
  113280. var buffer, _0_0, t2,
  113281. t1 = this.scanner,
  113282. quote = t1.readChar$0();
  113283. if (quote !== 39 && quote !== 34)
  113284. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  113285. buffer = new A.StringBuffer("");
  113286. for (; true;) {
  113287. _0_0 = t1.peekChar$0();
  113288. if (_0_0 === quote) {
  113289. t1.readChar$0();
  113290. break;
  113291. }
  113292. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113293. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  113294. if (92 === _0_0) {
  113295. t2 = t1.peekChar$1(1);
  113296. if (t2 === 10 || t2 === 13 || t2 === 12) {
  113297. t1.readChar$0();
  113298. t1.readChar$0();
  113299. } else {
  113300. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  113301. buffer._contents += t2;
  113302. }
  113303. continue;
  113304. }
  113305. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113306. buffer._contents += t2;
  113307. }
  113308. t1 = buffer._contents;
  113309. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113310. },
  113311. declarationValue$1$allowEmpty(allowEmpty) {
  113312. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  113313. buffer = new A.StringBuffer(""),
  113314. brackets = A._setArrayType([], type$.JSArray_int);
  113315. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  113316. next = t1.peekChar$0();
  113317. if (next == null)
  113318. break;
  113319. wroteNewline0 = false;
  113320. if (92 === next) {
  113321. t4 = _this.escape$1$identifierStart(true);
  113322. buffer._contents += t4;
  113323. wroteNewline = wroteNewline0;
  113324. continue;
  113325. }
  113326. if (34 === next || 39 === next) {
  113327. start = t1._string_scanner$_position;
  113328. t3.call$0();
  113329. end = t1._string_scanner$_position;
  113330. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113331. wroteNewline = wroteNewline0;
  113332. continue;
  113333. }
  113334. if (47 === next) {
  113335. if (t1.peekChar$1(1) === 42) {
  113336. start = t1._string_scanner$_position;
  113337. t2.call$0();
  113338. end = t1._string_scanner$_position;
  113339. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113340. } else {
  113341. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113342. buffer._contents += t4;
  113343. }
  113344. wroteNewline = wroteNewline0;
  113345. continue;
  113346. }
  113347. if (32 === next || 9 === next) {
  113348. if (!wroteNewline) {
  113349. t4 = t1.peekChar$1(1);
  113350. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  113351. } else
  113352. t4 = true;
  113353. if (t4) {
  113354. t4 = A.Primitives_stringFromCharCode(32);
  113355. buffer._contents += t4;
  113356. }
  113357. t1.readChar$0();
  113358. continue;
  113359. }
  113360. if (10 === next || 13 === next || 12 === next) {
  113361. t4 = t1.peekChar$1(-1);
  113362. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  113363. buffer._contents += "\n";
  113364. t1.readChar$0();
  113365. wroteNewline = true;
  113366. continue;
  113367. }
  113368. if (40 === next || 123 === next || 91 === next) {
  113369. t4 = A.Primitives_stringFromCharCode(next);
  113370. buffer._contents += t4;
  113371. brackets.push(A.opposite0(t1.readChar$0()));
  113372. wroteNewline = wroteNewline0;
  113373. continue;
  113374. }
  113375. if (41 === next || 125 === next || 93 === next) {
  113376. if (brackets.length === 0)
  113377. break;
  113378. t4 = A.Primitives_stringFromCharCode(next);
  113379. buffer._contents += t4;
  113380. t1.expectChar$1(brackets.pop());
  113381. wroteNewline = wroteNewline0;
  113382. continue;
  113383. }
  113384. if (59 === next) {
  113385. if (brackets.length === 0)
  113386. break;
  113387. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113388. buffer._contents += t4;
  113389. continue;
  113390. }
  113391. if (117 === next || 85 === next) {
  113392. _0_0 = _this.tryUrl$0();
  113393. if (_0_0 != null)
  113394. buffer._contents += _0_0;
  113395. else {
  113396. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113397. buffer._contents += t4;
  113398. }
  113399. wroteNewline = wroteNewline0;
  113400. continue;
  113401. }
  113402. if (_this.lookingAtIdentifier$0()) {
  113403. t4 = _this.identifier$0();
  113404. buffer._contents += t4;
  113405. } else {
  113406. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113407. buffer._contents += t4;
  113408. }
  113409. wroteNewline = wroteNewline0;
  113410. }
  113411. if (brackets.length !== 0)
  113412. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113413. if (!allowEmpty && buffer._contents.length === 0)
  113414. t1.error$1(0, "Expected token.");
  113415. t1 = buffer._contents;
  113416. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113417. },
  113418. declarationValue$0() {
  113419. return this.declarationValue$1$allowEmpty(false);
  113420. },
  113421. tryUrl$0() {
  113422. var buffer, _0_0, t2, _this = this,
  113423. t1 = _this.scanner,
  113424. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113425. if (!_this.scanIdentifier$1("url"))
  113426. return null;
  113427. if (!t1.scanChar$1(40)) {
  113428. t1.set$state(start);
  113429. return null;
  113430. }
  113431. _this.whitespace$1$consumeNewlines(true);
  113432. buffer = new A.StringBuffer("");
  113433. buffer._contents = "url(";
  113434. for (; true;) {
  113435. _0_0 = t1.peekChar$0();
  113436. if (_0_0 == null)
  113437. break;
  113438. if (92 === _0_0) {
  113439. t2 = _this.escape$0();
  113440. buffer._contents += t2;
  113441. continue;
  113442. }
  113443. t2 = true;
  113444. if (37 !== _0_0)
  113445. if (38 !== _0_0)
  113446. if (35 !== _0_0)
  113447. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113448. if (t2) {
  113449. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113450. buffer._contents += t2;
  113451. continue;
  113452. }
  113453. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113454. _this.whitespace$1$consumeNewlines(true);
  113455. if (t1.peekChar$0() !== 41)
  113456. break;
  113457. continue;
  113458. }
  113459. if (41 === _0_0) {
  113460. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113461. t2 = buffer._contents += t2;
  113462. return t2.charCodeAt(0) == 0 ? t2 : t2;
  113463. }
  113464. break;
  113465. }
  113466. t1.set$state(start);
  113467. return null;
  113468. },
  113469. variableName$0() {
  113470. this.scanner.expectChar$1(36);
  113471. return this.identifier$1$normalize(true);
  113472. },
  113473. escape$1$identifierStart(identifierStart) {
  113474. var value, _0_0, i, next, t2, exception,
  113475. _s25_ = "Expected escape sequence.",
  113476. t1 = this.scanner,
  113477. start = t1._string_scanner$_position;
  113478. t1.expectChar$1(92);
  113479. value = 0;
  113480. $label0$1: {
  113481. _0_0 = t1.peekChar$0();
  113482. if (_0_0 == null)
  113483. t1.error$1(0, _s25_);
  113484. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113485. t1.error$1(0, _s25_);
  113486. if (A.CharacterExtension_get_isHex0(_0_0)) {
  113487. for (i = 0; i < 6; ++i) {
  113488. next = t1.peekChar$0();
  113489. if (next != null) {
  113490. t2 = true;
  113491. if (!(next >= 48 && next <= 57))
  113492. if (!(next >= 97 && next <= 102))
  113493. t2 = next >= 65 && next <= 70;
  113494. t2 = !t2;
  113495. } else
  113496. t2 = true;
  113497. if (t2)
  113498. break;
  113499. value *= 16;
  113500. value += A.asHex0(t1.readChar$0());
  113501. }
  113502. this.scanCharIf$1(new A.Parser_escape_closure0());
  113503. break $label0$1;
  113504. }
  113505. value = t1.readChar$0();
  113506. }
  113507. if (identifierStart) {
  113508. t2 = value;
  113509. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  113510. } else {
  113511. t2 = value;
  113512. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113513. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113514. else
  113515. t2 = true;
  113516. }
  113517. if (t2)
  113518. try {
  113519. t2 = A.Primitives_stringFromCharCode(value);
  113520. return t2;
  113521. } catch (exception) {
  113522. if (type$.RangeError._is(A.unwrapException(exception)))
  113523. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  113524. else
  113525. throw exception;
  113526. }
  113527. else {
  113528. t1 = true;
  113529. if (!(value <= 31))
  113530. if (!J.$eq$(value, 127))
  113531. if (identifierStart) {
  113532. t1 = value;
  113533. t1 = t1 >= 48 && t1 <= 57;
  113534. } else
  113535. t1 = false;
  113536. if (t1) {
  113537. t1 = A.Primitives_stringFromCharCode(92);
  113538. if (value > 15)
  113539. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  113540. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  113541. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113542. } else
  113543. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  113544. }
  113545. },
  113546. escape$0() {
  113547. return this.escape$1$identifierStart(false);
  113548. },
  113549. scanCharIf$1(condition) {
  113550. var t1 = this.scanner;
  113551. if (!condition.call$1(t1.peekChar$0()))
  113552. return false;
  113553. t1.readChar$0();
  113554. return true;
  113555. },
  113556. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  113557. var t3,
  113558. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  113559. t2 = this.scanner,
  113560. _0_0 = t2.peekChar$0();
  113561. if (_0_0 != null)
  113562. t3 = t1.call$1(_0_0);
  113563. else
  113564. t3 = false;
  113565. if (t3) {
  113566. t2.readChar$0();
  113567. return true;
  113568. }
  113569. if (92 === _0_0) {
  113570. t3 = t2._string_scanner$_position;
  113571. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  113572. return true;
  113573. t2.set$state(new A._SpanScannerState(t2, t3));
  113574. }
  113575. return false;
  113576. },
  113577. scanIdentChar$1(char) {
  113578. return this.scanIdentChar$2$caseSensitive(char, false);
  113579. },
  113580. expectIdentChar$1(letter) {
  113581. var t1;
  113582. if (this.scanIdentChar$2$caseSensitive(letter, false))
  113583. return;
  113584. t1 = this.scanner;
  113585. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  113586. },
  113587. lookingAtIdentifier$1($forward) {
  113588. var t1, _1_0, t2, _0_0;
  113589. if ($forward == null)
  113590. $forward = 0;
  113591. t1 = this.scanner;
  113592. _1_0 = t1.peekChar$1($forward);
  113593. $label0$0: {
  113594. if (A._isInt(_1_0))
  113595. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  113596. else
  113597. t2 = false;
  113598. if (t2 || 92 === _1_0) {
  113599. t1 = true;
  113600. break $label0$0;
  113601. }
  113602. if (45 === _1_0) {
  113603. _0_0 = t1.peekChar$1($forward + 1);
  113604. $label1$1: {
  113605. if (A._isInt(_0_0))
  113606. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  113607. else
  113608. t1 = false;
  113609. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  113610. break $label1$1;
  113611. }
  113612. break $label0$0;
  113613. }
  113614. t1 = false;
  113615. break $label0$0;
  113616. }
  113617. return t1;
  113618. },
  113619. lookingAtIdentifier$0() {
  113620. return this.lookingAtIdentifier$1(null);
  113621. },
  113622. lookingAtIdentifierBody$0() {
  113623. var t1,
  113624. next = this.scanner.peekChar$0();
  113625. if (next != null) {
  113626. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  113627. t1 = next >= 48 && next <= 57 || next === 45;
  113628. else
  113629. t1 = true;
  113630. t1 = t1 || next === 92;
  113631. } else
  113632. t1 = false;
  113633. return t1;
  113634. },
  113635. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  113636. var t1, t2, _this = this;
  113637. if (!_this.lookingAtIdentifier$0())
  113638. return false;
  113639. t1 = _this.scanner;
  113640. t2 = t1._string_scanner$_position;
  113641. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  113642. return true;
  113643. else {
  113644. t1.set$state(new A._SpanScannerState(t1, t2));
  113645. return false;
  113646. }
  113647. },
  113648. scanIdentifier$1(text) {
  113649. return this.scanIdentifier$2$caseSensitive(text, false);
  113650. },
  113651. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  113652. var t1, t2, t3;
  113653. 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();) {
  113654. t3 = t1.__internal$_current;
  113655. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  113656. return false;
  113657. }
  113658. return true;
  113659. },
  113660. expectIdentifier$2$name(text, $name) {
  113661. var t1, start, t2, t3, t4, t5, t6;
  113662. if ($name == null)
  113663. $name = '"' + text + '"';
  113664. t1 = this.scanner;
  113665. start = t1._string_scanner$_position;
  113666. 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();) {
  113667. t6 = t2.__internal$_current;
  113668. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  113669. continue;
  113670. t1.error$2$position(0, t5, start);
  113671. }
  113672. if (!this.lookingAtIdentifierBody$0())
  113673. return;
  113674. t1.error$2$position(0, t4, start);
  113675. },
  113676. expectIdentifier$1(text) {
  113677. return this.expectIdentifier$2$name(text, null);
  113678. },
  113679. rawText$1(consumer) {
  113680. var t1 = this.scanner,
  113681. start = t1._string_scanner$_position;
  113682. consumer.call$0();
  113683. return t1.substring$1(0, start);
  113684. },
  113685. spanFrom$1(state) {
  113686. var span = this.scanner.spanFrom$1(state);
  113687. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  113688. },
  113689. error$3(_, message, span, trace) {
  113690. var exception = new A.StringScannerException(this.scanner.string, message, span);
  113691. if (trace == null)
  113692. throw A.wrapException(exception);
  113693. else
  113694. A.throwWithTrace0(exception, this.get$error(this), trace);
  113695. },
  113696. error$2(_, message, span) {
  113697. return this.error$3(0, message, span, null);
  113698. },
  113699. withErrorMessage$1$2(message, callback) {
  113700. var error, stackTrace, t1, exception;
  113701. try {
  113702. t1 = callback.call$0();
  113703. return t1;
  113704. } catch (exception) {
  113705. t1 = A.unwrapException(exception);
  113706. if (type$.SourceSpanFormatException._is(t1)) {
  113707. error = t1;
  113708. stackTrace = A.getTraceFromException(exception);
  113709. t1 = J.get$span$z(error);
  113710. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  113711. } else
  113712. throw exception;
  113713. }
  113714. },
  113715. withErrorMessage$2(message, callback) {
  113716. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  113717. },
  113718. wrapSpanFormatException$1$1(callback) {
  113719. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  113720. _s8_ = "expected";
  113721. try {
  113722. try {
  113723. t3 = callback.call$0();
  113724. return t3;
  113725. } catch (exception) {
  113726. t3 = A.unwrapException(exception);
  113727. if (type$.SourceSpanFormatException._is(t3)) {
  113728. error = t3;
  113729. stackTrace = A.getTraceFromException(exception);
  113730. map = _this._parser1$_interpolationMap;
  113731. if (map == null)
  113732. throw exception;
  113733. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  113734. } else
  113735. throw exception;
  113736. }
  113737. } catch (exception) {
  113738. t3 = A.unwrapException(exception);
  113739. if (type$.MultiSourceSpanFormatException._is(t3)) {
  113740. error0 = t3;
  113741. stackTrace0 = A.getTraceFromException(exception);
  113742. span = J.get$span$z(error0);
  113743. t3 = type$.FileSpan;
  113744. t4 = type$.String;
  113745. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  113746. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  113747. span = _this._parser1$_adjustExceptionSpan$1(span);
  113748. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  113749. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  113750. t2 = t3.get$current(t3);
  113751. span0 = null;
  113752. description = null;
  113753. _0_0 = t2;
  113754. span0 = _0_0._0;
  113755. description = _0_0._1;
  113756. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  113757. }
  113758. secondarySpans = t1;
  113759. }
  113760. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  113761. } else if (type$.SourceSpanFormatException._is(t3)) {
  113762. error1 = t3;
  113763. stackTrace1 = A.getTraceFromException(exception);
  113764. span1 = J.get$span$z(error1);
  113765. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  113766. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  113767. t1 = error1._span_exception$_message;
  113768. t2 = span1;
  113769. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  113770. } else
  113771. throw exception;
  113772. }
  113773. },
  113774. wrapSpanFormatException$1(callback) {
  113775. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  113776. },
  113777. _parser1$_adjustExceptionSpan$1(span) {
  113778. var start, t1;
  113779. if (span.get$length(span) > 0)
  113780. return span;
  113781. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  113782. if (start.$eq(0, span.get$start(span)))
  113783. t1 = span;
  113784. else {
  113785. t1 = start.offset;
  113786. t1 = A._FileSpan$(start.file, t1, t1);
  113787. }
  113788. return t1;
  113789. },
  113790. _parser1$_firstNewlineBefore$1($location) {
  113791. var lastNewline, codeUnit,
  113792. t1 = $location.file,
  113793. t2 = $location.offset,
  113794. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  113795. index = t2 - 1;
  113796. for (lastNewline = null; index >= 0;) {
  113797. codeUnit = text.charCodeAt(index);
  113798. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  113799. if (lastNewline == null)
  113800. t1 = $location;
  113801. else {
  113802. t2 = new A.FileLocation(t1, lastNewline);
  113803. t2.FileLocation$_$2(t1, lastNewline);
  113804. t1 = t2;
  113805. }
  113806. return t1;
  113807. }
  113808. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  113809. lastNewline = index;
  113810. --index;
  113811. }
  113812. return $location;
  113813. }
  113814. };
  113815. A.Parser__parseIdentifier_closure0.prototype = {
  113816. call$0() {
  113817. var t1 = this.$this,
  113818. result = t1.identifier$0();
  113819. t1.scanner.expectDone$0();
  113820. return result;
  113821. },
  113822. $signature: 27
  113823. };
  113824. A.Parser_escape_closure0.prototype = {
  113825. call$1(char) {
  113826. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  113827. },
  113828. $signature: 30
  113829. };
  113830. A.Parser_scanIdentChar_matches0.prototype = {
  113831. call$1(actual) {
  113832. var t1 = this.char;
  113833. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  113834. },
  113835. $signature: 47
  113836. };
  113837. A.Parser_spanFrom_closure0.prototype = {
  113838. call$0() {
  113839. var t1 = this.$this._parser1$_interpolationMap;
  113840. if (t1 == null)
  113841. t1 = type$.InterpolationMap_2._as(t1);
  113842. return t1.mapSpan$1(this.span);
  113843. },
  113844. $signature: 28
  113845. };
  113846. A.PlaceholderSelector0.prototype = {
  113847. accept$1$1(visitor) {
  113848. return visitor.visitPlaceholderSelector$1(this);
  113849. },
  113850. accept$1(visitor) {
  113851. return this.accept$1$1(visitor, type$.dynamic);
  113852. },
  113853. addSuffix$1(suffix) {
  113854. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  113855. },
  113856. $eq(_, other) {
  113857. if (other == null)
  113858. return false;
  113859. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  113860. },
  113861. get$hashCode(_) {
  113862. return B.JSString_methods.get$hashCode(this.name);
  113863. }
  113864. };
  113865. A.PlainCssCallable0.prototype = {
  113866. $eq(_, other) {
  113867. if (other == null)
  113868. return false;
  113869. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  113870. },
  113871. get$hashCode(_) {
  113872. return B.JSString_methods.get$hashCode(this.name);
  113873. },
  113874. $isAsyncCallable0: 1,
  113875. $isCallable: 1,
  113876. get$name(receiver) {
  113877. return this.name;
  113878. }
  113879. };
  113880. A.PrefixedMapView0.prototype = {
  113881. get$keys(_) {
  113882. return new A._PrefixedKeys0(this);
  113883. },
  113884. get$length(_) {
  113885. var t1 = this._prefixed_map_view0$_map;
  113886. return t1.get$length(t1);
  113887. },
  113888. get$isEmpty(_) {
  113889. var t1 = this._prefixed_map_view0$_map;
  113890. return t1.get$isEmpty(t1);
  113891. },
  113892. get$isNotEmpty(_) {
  113893. var t1 = this._prefixed_map_view0$_map;
  113894. return t1.get$isNotEmpty(t1);
  113895. },
  113896. $index(_, key) {
  113897. 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;
  113898. },
  113899. containsKey$1(key) {
  113900. 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));
  113901. }
  113902. };
  113903. A._PrefixedKeys0.prototype = {
  113904. get$length(_) {
  113905. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113906. return t1.get$length(t1);
  113907. },
  113908. get$iterator(_) {
  113909. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  113910. t1 = t1.get$keys(t1);
  113911. t1 = t1.map$1$1(t1, new A._PrefixedKeys_iterator_closure0(this), type$.String);
  113912. return t1.get$iterator(t1);
  113913. },
  113914. contains$1(_, key) {
  113915. return this._prefixed_map_view0$_view.containsKey$1(key);
  113916. }
  113917. };
  113918. A._PrefixedKeys_iterator_closure0.prototype = {
  113919. call$1(key) {
  113920. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  113921. },
  113922. $signature: 6
  113923. };
  113924. A.ProphotoRgbColorSpace0.prototype = {
  113925. get$isBoundedInternal() {
  113926. return true;
  113927. },
  113928. toLinear$1(channel) {
  113929. var abs = Math.abs(channel);
  113930. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  113931. },
  113932. fromLinear$1(channel) {
  113933. var abs = Math.abs(channel);
  113934. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  113935. },
  113936. transformationMatrix$1(dest) {
  113937. var t1;
  113938. $label0$0: {
  113939. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  113940. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  113941. break $label0$0;
  113942. }
  113943. if (B.A98RgbColorSpace_lf20 === dest) {
  113944. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  113945. break $label0$0;
  113946. }
  113947. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  113948. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  113949. break $label0$0;
  113950. }
  113951. if (B.Rec2020ColorSpace_6oo0 === dest) {
  113952. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  113953. break $label0$0;
  113954. }
  113955. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  113956. t1 = $.$get$linearProphotoRgbToXyzD650();
  113957. break $label0$0;
  113958. }
  113959. if (B.XyzD50ColorSpace_2OB0 === dest) {
  113960. t1 = $.$get$linearProphotoRgbToXyzD500();
  113961. break $label0$0;
  113962. }
  113963. if (B.LmsColorSpace_Os30 === dest) {
  113964. t1 = $.$get$linearProphotoRgbToLms0();
  113965. break $label0$0;
  113966. }
  113967. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  113968. break $label0$0;
  113969. }
  113970. return t1;
  113971. }
  113972. };
  113973. A.PseudoSelector0.prototype = {
  113974. get$isHostContext() {
  113975. return this.isClass && this.name === "host-context" && this.selector != null;
  113976. },
  113977. get$hasComplicatedSuperselectorSemantics() {
  113978. return !this.isClass || this.selector != null;
  113979. },
  113980. get$specificity() {
  113981. var result, _this = this,
  113982. value = _this._pseudo$__PseudoSelector_specificity_FI;
  113983. if (value === $) {
  113984. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  113985. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  113986. _this._pseudo$__PseudoSelector_specificity_FI = result;
  113987. value = result;
  113988. }
  113989. return value;
  113990. },
  113991. withSelector$1(selector) {
  113992. var _this = this;
  113993. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  113994. },
  113995. addSuffix$1(suffix) {
  113996. var _this = this;
  113997. if (_this.argument != null || _this.selector != null)
  113998. _this.super$SimpleSelector$addSuffix0(suffix);
  113999. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  114000. },
  114001. unify$1(compound) {
  114002. var other, result, t2, addedThis, _i, simple, _this = this,
  114003. t1 = _this.name;
  114004. if (t1 === "host" || t1 === "host-context") {
  114005. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  114006. return null;
  114007. } else {
  114008. t1 = false;
  114009. if (compound.length === 1) {
  114010. other = compound[0];
  114011. if (!(other instanceof A.UniversalSelector0)) {
  114012. if (other instanceof A.PseudoSelector0)
  114013. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  114014. } else
  114015. t1 = true;
  114016. } else
  114017. other = null;
  114018. if (t1)
  114019. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  114020. }
  114021. if (B.JSArray_methods.contains$1(compound, _this))
  114022. return compound;
  114023. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  114024. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  114025. simple = compound[_i];
  114026. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  114027. if (t2)
  114028. return null;
  114029. result.push(_this);
  114030. addedThis = true;
  114031. }
  114032. result.push(simple);
  114033. }
  114034. if (!addedThis)
  114035. result.push(_this);
  114036. return result;
  114037. },
  114038. isSuperselector$1(other) {
  114039. var selector, t1, t2, _this = this;
  114040. if (_this.super$SimpleSelector$isSuperselector0(other))
  114041. return true;
  114042. selector = _this.selector;
  114043. if (selector == null)
  114044. return _this.$eq(0, other);
  114045. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  114046. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  114047. return t1 == null ? false : t1;
  114048. }
  114049. t1 = type$.JSArray_SimpleSelector_2;
  114050. t2 = _this.span;
  114051. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  114052. },
  114053. accept$1$1(visitor) {
  114054. return visitor.visitPseudoSelector$1(this);
  114055. },
  114056. accept$1(visitor) {
  114057. return this.accept$1$1(visitor, type$.dynamic);
  114058. },
  114059. $eq(_, other) {
  114060. var _this = this;
  114061. if (other == null)
  114062. return false;
  114063. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  114064. },
  114065. get$hashCode(_) {
  114066. var _this = this,
  114067. t1 = B.JSString_methods.get$hashCode(_this.name),
  114068. t2 = !_this.isClass ? 519018 : 218159;
  114069. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  114070. }
  114071. };
  114072. A.PseudoSelector_specificity_closure0.prototype = {
  114073. call$0() {
  114074. var selector, t2,
  114075. t1 = this.$this;
  114076. if (!t1.isClass)
  114077. return 1;
  114078. selector = t1.selector;
  114079. if (selector == null)
  114080. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114081. switch (t1.normalizedName) {
  114082. case "where":
  114083. return 0;
  114084. case "is":
  114085. case "not":
  114086. case "has":
  114087. case "matches":
  114088. t1 = selector.components;
  114089. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  114090. case "nth-child":
  114091. case "nth-last-child":
  114092. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  114093. t2 = selector.components;
  114094. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  114095. default:
  114096. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114097. }
  114098. },
  114099. $signature: 10
  114100. };
  114101. A.PseudoSelector_specificity__closure1.prototype = {
  114102. call$1(component) {
  114103. return component.get$specificity();
  114104. },
  114105. $signature: 259
  114106. };
  114107. A.PseudoSelector_specificity__closure2.prototype = {
  114108. call$1(component) {
  114109. return component.get$specificity();
  114110. },
  114111. $signature: 259
  114112. };
  114113. A.PseudoSelector_unify_closure0.prototype = {
  114114. call$1(simple) {
  114115. var t1;
  114116. if (simple instanceof A.PseudoSelector0)
  114117. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  114118. else
  114119. t1 = false;
  114120. return t1;
  114121. },
  114122. $signature: 13
  114123. };
  114124. A.PublicMemberMapView0.prototype = {
  114125. get$keys(_) {
  114126. var t1 = this._public_member_map_view0$_inner;
  114127. t1 = t1.get$keys(t1);
  114128. return t1.where$1(t1, A.utils1__isPublic$closure());
  114129. },
  114130. containsKey$1(key) {
  114131. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  114132. },
  114133. $index(_, key) {
  114134. if (typeof key == "string" && A.isPublic0(key))
  114135. return this._public_member_map_view0$_inner.$index(0, key);
  114136. return null;
  114137. }
  114138. };
  114139. A.QualifiedName0.prototype = {
  114140. $eq(_, other) {
  114141. if (other == null)
  114142. return false;
  114143. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  114144. },
  114145. get$hashCode(_) {
  114146. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  114147. },
  114148. toString$0(_) {
  114149. var t1 = this.namespace,
  114150. t2 = this.name;
  114151. return t1 == null ? t2 : t1 + "|" + t2;
  114152. }
  114153. };
  114154. A.Rec2020ColorSpace0.prototype = {
  114155. get$isBoundedInternal() {
  114156. return true;
  114157. },
  114158. toLinear$1(channel) {
  114159. var abs = Math.abs(channel);
  114160. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  114161. },
  114162. fromLinear$1(channel) {
  114163. var abs = Math.abs(channel);
  114164. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  114165. },
  114166. transformationMatrix$1(dest) {
  114167. var t1;
  114168. $label0$0: {
  114169. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  114170. t1 = $.$get$linearRec2020ToLinearSrgb0();
  114171. break $label0$0;
  114172. }
  114173. if (B.A98RgbColorSpace_lf20 === dest) {
  114174. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  114175. break $label0$0;
  114176. }
  114177. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  114178. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  114179. break $label0$0;
  114180. }
  114181. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  114182. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  114183. break $label0$0;
  114184. }
  114185. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  114186. t1 = $.$get$linearRec2020ToXyzD650();
  114187. break $label0$0;
  114188. }
  114189. if (B.XyzD50ColorSpace_2OB0 === dest) {
  114190. t1 = $.$get$linearRec2020ToXyzD500();
  114191. break $label0$0;
  114192. }
  114193. if (B.LmsColorSpace_Os30 === dest) {
  114194. t1 = $.$get$linearRec2020ToLms0();
  114195. break $label0$0;
  114196. }
  114197. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  114198. break $label0$0;
  114199. }
  114200. return t1;
  114201. }
  114202. };
  114203. A.JSClass0.prototype = {};
  114204. A.JSClassExtension_setCustomInspect_closure.prototype = {
  114205. call$4($self, _, __, ___) {
  114206. return this.inspect.call$1($self);
  114207. },
  114208. call$3($self, _, __) {
  114209. return this.call$4($self, _, __, null);
  114210. },
  114211. "call*": "call$4",
  114212. $requiredArgCount: 3,
  114213. $defaultValues() {
  114214. return [null];
  114215. },
  114216. $signature: 566
  114217. };
  114218. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  114219. call$2($name, body) {
  114220. this._this[$name] = A.allowInteropNamed($name, body);
  114221. return null;
  114222. },
  114223. $signature: 135
  114224. };
  114225. A.JSClassExtension_get_defineMethod_closure.prototype = {
  114226. call$2($name, body) {
  114227. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  114228. return null;
  114229. },
  114230. $signature: 135
  114231. };
  114232. A.JSClassExtension_get_defineGetter_closure.prototype = {
  114233. call$2($name, body) {
  114234. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  114235. return null;
  114236. },
  114237. $signature: 135
  114238. };
  114239. A.RenderContext0.prototype = {};
  114240. A.RenderContextOptions0.prototype = {};
  114241. A.RenderContextResult0.prototype = {};
  114242. A.RenderContextResultStats0.prototype = {};
  114243. A.RenderOptions.prototype = {};
  114244. A.RenderResult.prototype = {};
  114245. A.RenderResultStats.prototype = {};
  114246. A.ReplaceExpressionVisitor0.prototype = {
  114247. visitBinaryOperationExpression$1(_, node) {
  114248. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  114249. },
  114250. visitBooleanExpression$1(_, node) {
  114251. return node;
  114252. },
  114253. visitColorExpression$1(_, node) {
  114254. return node;
  114255. },
  114256. visitFunctionExpression$1(_, node) {
  114257. var t1 = node.originalName,
  114258. t2 = this.visitArgumentList$1(node.$arguments);
  114259. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  114260. },
  114261. visitInterpolatedFunctionExpression$1(_, node) {
  114262. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  114263. },
  114264. visitIfExpression$1(_, node) {
  114265. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  114266. },
  114267. visitListExpression$1(_, node) {
  114268. var t1 = node.contents;
  114269. 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);
  114270. },
  114271. visitMapExpression$1(_, node) {
  114272. var t2, t3, _i, t4,
  114273. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  114274. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  114275. t4 = t2[_i];
  114276. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  114277. }
  114278. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  114279. },
  114280. visitNullExpression$1(_, node) {
  114281. return node;
  114282. },
  114283. visitNumberExpression$1(_, node) {
  114284. return node;
  114285. },
  114286. visitParenthesizedExpression$1(_, node) {
  114287. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  114288. },
  114289. visitSelectorExpression$1(_, node) {
  114290. return node;
  114291. },
  114292. visitStringExpression$1(_, node) {
  114293. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  114294. },
  114295. visitSupportsExpression$1(_, node) {
  114296. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  114297. },
  114298. visitUnaryOperationExpression$1(_, node) {
  114299. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  114300. },
  114301. visitValueExpression$1(_, node) {
  114302. return node;
  114303. },
  114304. visitVariableExpression$1(_, node) {
  114305. return node;
  114306. },
  114307. visitArgumentList$1(invocation) {
  114308. var t5, t6, _this = this,
  114309. t1 = invocation.positional,
  114310. t2 = type$.String,
  114311. t3 = type$.Expression_2,
  114312. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  114313. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  114314. t6 = t5.get$current(t5);
  114315. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  114316. }
  114317. t5 = invocation.rest;
  114318. t5 = t5 == null ? null : t5.accept$1(_this);
  114319. t6 = invocation.keywordRest;
  114320. t6 = t6 == null ? null : t6.accept$1(_this);
  114321. 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);
  114322. },
  114323. visitSupportsCondition$1(condition) {
  114324. var _this = this;
  114325. if (condition instanceof A.SupportsOperation0)
  114326. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  114327. else if (condition instanceof A.SupportsNegation0)
  114328. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  114329. else if (condition instanceof A.SupportsInterpolation0)
  114330. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  114331. else if (condition instanceof A.SupportsDeclaration0)
  114332. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  114333. else
  114334. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  114335. },
  114336. visitInterpolation$1(interpolation) {
  114337. var t1 = interpolation.contents;
  114338. 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);
  114339. }
  114340. };
  114341. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  114342. call$1(item) {
  114343. return item.accept$1(this.$this);
  114344. },
  114345. $signature: 260
  114346. };
  114347. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  114348. call$1(expression) {
  114349. return expression.accept$1(this.$this);
  114350. },
  114351. $signature: 260
  114352. };
  114353. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  114354. call$1(node) {
  114355. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  114356. },
  114357. $signature: 78
  114358. };
  114359. A.ImporterResult0.prototype = {
  114360. get$sourceMapUrl(_) {
  114361. var t1 = this._result$_sourceMapUrl;
  114362. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  114363. }
  114364. };
  114365. A.ReturnRule0.prototype = {
  114366. accept$1$1(visitor) {
  114367. return visitor.visitReturnRule$1(0, this);
  114368. },
  114369. accept$1(visitor) {
  114370. return this.accept$1$1(visitor, type$.dynamic);
  114371. },
  114372. toString$0(_) {
  114373. return "@return " + this.expression.toString$0(0) + ";";
  114374. },
  114375. get$span(receiver) {
  114376. return this.span;
  114377. }
  114378. };
  114379. A.RgbColorSpace0.prototype = {
  114380. get$isBoundedInternal() {
  114381. return true;
  114382. },
  114383. get$isLegacyInternal() {
  114384. return true;
  114385. },
  114386. convert$5(dest, red, green, blue, alpha) {
  114387. var t1 = red == null ? null : red / 255,
  114388. t2 = green == null ? null : green / 255;
  114389. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  114390. },
  114391. toLinear$1(channel) {
  114392. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  114393. },
  114394. fromLinear$1(channel) {
  114395. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  114396. }
  114397. };
  114398. A.SassParser0.prototype = {
  114399. get$currentIndentation() {
  114400. return this._sass0$_currentIndentation;
  114401. },
  114402. get$indented() {
  114403. return true;
  114404. },
  114405. styleRuleSelector$0() {
  114406. var t4,
  114407. t1 = this.scanner,
  114408. t2 = t1._string_scanner$_position,
  114409. t3 = new A.StringBuffer(""),
  114410. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  114411. do {
  114412. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  114413. t4 = A.Primitives_stringFromCharCode(10);
  114414. t4 = t3._contents += t4;
  114415. } 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()));
  114416. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114417. },
  114418. expectStatementSeparator$1($name) {
  114419. var t1, _this = this,
  114420. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  114421. if (!_this.atEndOfStatement$0())
  114422. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  114423. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  114424. return;
  114425. t1 = $name == null ? "here" : "beneath a " + $name;
  114426. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  114427. },
  114428. expectStatementSeparator$0() {
  114429. return this.expectStatementSeparator$1(null);
  114430. },
  114431. atEndOfStatement$0() {
  114432. var t1 = this.scanner.peekChar$0();
  114433. if (t1 == null)
  114434. t1 = null;
  114435. else
  114436. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114437. return t1 !== false;
  114438. },
  114439. lookingAtChildren$0() {
  114440. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  114441. },
  114442. importArgument$0() {
  114443. var url, span, innerError, stackTrace, t1, _0_0, start, t2, next, t3, exception, _this = this;
  114444. $label0$0: {
  114445. t1 = _this.scanner;
  114446. _0_0 = t1.peekChar$0();
  114447. if (117 === _0_0 || 85 === _0_0) {
  114448. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114449. if (_this.scanIdentifier$1("url"))
  114450. if (t1.scanChar$1(40)) {
  114451. t1.set$state(start);
  114452. return _this.super$StylesheetParser$importArgument0();
  114453. } else
  114454. t1.set$state(start);
  114455. break $label0$0;
  114456. }
  114457. if (39 === _0_0 || 34 === _0_0)
  114458. return _this.super$StylesheetParser$importArgument0();
  114459. }
  114460. t2 = t1._string_scanner$_position;
  114461. next = t1.peekChar$0();
  114462. while (true) {
  114463. t3 = false;
  114464. if (next != null)
  114465. if (next !== 44)
  114466. if (next !== 59)
  114467. t3 = !(next === 10 || next === 13 || next === 12);
  114468. if (!t3)
  114469. break;
  114470. t1.readChar$0();
  114471. next = t1.peekChar$0();
  114472. }
  114473. url = t1.substring$1(0, t2);
  114474. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  114475. if (_this.isPlainImportUrl$1(url))
  114476. 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);
  114477. else
  114478. try {
  114479. t1 = _this.parseImportUrl$1(url);
  114480. return new A.DynamicImport0(t1, span);
  114481. } catch (exception) {
  114482. t1 = A.unwrapException(exception);
  114483. if (type$.FormatException._is(t1)) {
  114484. innerError = t1;
  114485. stackTrace = A.getTraceFromException(exception);
  114486. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  114487. } else
  114488. throw exception;
  114489. }
  114490. },
  114491. scanElse$1(ifIndentation) {
  114492. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  114493. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  114494. return false;
  114495. t1 = _this.scanner;
  114496. t2 = t1._string_scanner$_position;
  114497. startIndentation = _this._sass0$_currentIndentation;
  114498. startNextIndentation = _this._sass0$_nextIndentation;
  114499. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  114500. _this._sass0$_readIndentation$0();
  114501. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  114502. return true;
  114503. t1.set$state(new A._SpanScannerState(t1, t2));
  114504. _this._sass0$_currentIndentation = startIndentation;
  114505. _this._sass0$_nextIndentation = startNextIndentation;
  114506. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  114507. return false;
  114508. },
  114509. children$1(_, child) {
  114510. var children = A._setArrayType([], type$.JSArray_Statement_2);
  114511. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  114512. return children;
  114513. },
  114514. statements$1(statement) {
  114515. var statements, t2, _1_0,
  114516. t1 = this.scanner,
  114517. _0_0 = t1.peekChar$0();
  114518. if (9 === _0_0 || 32 === _0_0)
  114519. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  114520. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114521. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114522. _1_0 = this._sass0$_child$1(statement);
  114523. if (_1_0 != null)
  114524. statements.push(_1_0);
  114525. this._sass0$_readIndentation$0();
  114526. }
  114527. return statements;
  114528. },
  114529. _sass0$_child$1(child) {
  114530. var _0_0, _this = this,
  114531. t1 = _this.scanner,
  114532. _1_0 = t1.peekChar$0();
  114533. $label0$0: {
  114534. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  114535. t1 = null;
  114536. break $label0$0;
  114537. }
  114538. if (36 === _1_0) {
  114539. t1 = _this.variableDeclarationWithoutNamespace$0();
  114540. break $label0$0;
  114541. }
  114542. if (47 === _1_0) {
  114543. _0_0 = t1.peekChar$1(1);
  114544. $label1$1: {
  114545. if (47 === _0_0) {
  114546. t1 = _this._sass0$_silentComment$0();
  114547. break $label1$1;
  114548. }
  114549. if (42 === _0_0) {
  114550. t1 = _this._sass0$_loudComment$0();
  114551. break $label1$1;
  114552. }
  114553. t1 = child.call$0();
  114554. break $label1$1;
  114555. }
  114556. break $label0$0;
  114557. }
  114558. t1 = child.call$0();
  114559. break $label0$0;
  114560. }
  114561. return t1;
  114562. },
  114563. _sass0$_silentComment$0() {
  114564. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  114565. t1 = _this.scanner,
  114566. t2 = t1._string_scanner$_position;
  114567. t1.expect$1("//");
  114568. buffer = new A.StringBuffer("");
  114569. parentIndentation = _this._sass0$_currentIndentation;
  114570. t3 = t1.string.length;
  114571. t4 = 1 + parentIndentation;
  114572. t5 = 2 + parentIndentation;
  114573. $label0$0:
  114574. do {
  114575. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  114576. for (i = commentPrefix.length; true;) {
  114577. t6 = buffer._contents += commentPrefix;
  114578. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  114579. t6 += A.Primitives_stringFromCharCode(32);
  114580. buffer._contents = t6;
  114581. }
  114582. while (true) {
  114583. if (t1._string_scanner$_position !== t3) {
  114584. t7 = t1.peekChar$0();
  114585. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  114586. } else
  114587. t7 = false;
  114588. if (!t7)
  114589. break;
  114590. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  114591. buffer._contents = t6;
  114592. }
  114593. buffer._contents = t6 + "\n";
  114594. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  114595. break $label0$0;
  114596. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  114597. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  114598. _this._sass0$_readIndentation$0();
  114599. break;
  114600. }
  114601. _this._sass0$_readIndentation$0();
  114602. }
  114603. } while (t1.scan$1("//"));
  114604. t3 = buffer._contents;
  114605. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114606. },
  114607. _sass0$_loudComment$0() {
  114608. var t3, t4, t5, buffer, parentIndentation, t6, t7, first, beginningOfComment, t8, end, i, _1_0, _0_0, endPosition, span, _this = this,
  114609. t1 = _this.scanner,
  114610. t2 = t1._string_scanner$_position;
  114611. t1.expect$1("/*");
  114612. t3 = new A.StringBuffer("");
  114613. t4 = A._setArrayType([], type$.JSArray_Object);
  114614. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114615. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  114616. t3._contents = "/*";
  114617. parentIndentation = _this._sass0$_currentIndentation;
  114618. for (t6 = t1.string, t7 = t6.length, first = true; true; first = false) {
  114619. if (first) {
  114620. beginningOfComment = t1._string_scanner$_position;
  114621. _this.spaces$0();
  114622. t8 = t1.peekChar$0();
  114623. if (t8 === 10 || t8 === 13 || t8 === 12) {
  114624. _this._sass0$_readIndentation$0();
  114625. t8 = A.Primitives_stringFromCharCode(32);
  114626. t3._contents += t8;
  114627. } else {
  114628. end = t1._string_scanner$_position;
  114629. t3._contents += B.JSString_methods.substring$2(t6, beginningOfComment, end);
  114630. }
  114631. } else
  114632. t3._contents = (t3._contents += "\n") + " * ";
  114633. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  114634. t8 = A.Primitives_stringFromCharCode(32);
  114635. t3._contents += t8;
  114636. }
  114637. for (; t1._string_scanner$_position !== t7;) {
  114638. _1_0 = t1.peekChar$0();
  114639. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  114640. break;
  114641. if (35 === _1_0) {
  114642. if (t1.peekChar$1(1) === 123) {
  114643. _0_0 = _this.singleInterpolation$0();
  114644. buffer._interpolation_buffer0$_flushText$0();
  114645. t4.push(_0_0._0);
  114646. t5.push(_0_0._1);
  114647. } else {
  114648. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114649. t3._contents += t8;
  114650. }
  114651. continue;
  114652. }
  114653. if (42 === _1_0) {
  114654. if (t1.peekChar$1(1) === 47) {
  114655. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114656. t3._contents += t4;
  114657. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114658. t3._contents += t4;
  114659. endPosition = t1._string_scanner$_position;
  114660. t3 = t1._sourceFile;
  114661. span = new A._FileSpan(t3, t2, endPosition);
  114662. span._FileSpan$3(t3, t2, endPosition);
  114663. _this.whitespace$1$consumeNewlines(false);
  114664. while (true) {
  114665. t2 = t1.peekChar$0();
  114666. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  114667. break;
  114668. for (; _this._sass0$_lookingAtDoubleNewline$0();)
  114669. _this._sass0$_expectNewline$0();
  114670. _this._sass0$_readIndentation$0();
  114671. _this.whitespace$1$consumeNewlines(false);
  114672. }
  114673. if (t1._string_scanner$_position !== t7) {
  114674. t2 = t1.peekChar$0();
  114675. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  114676. } else
  114677. t2 = false;
  114678. if (t2) {
  114679. t2 = t1._string_scanner$_position;
  114680. while (true) {
  114681. if (t1._string_scanner$_position !== t7) {
  114682. t3 = t1.peekChar$0();
  114683. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114684. } else
  114685. t3 = false;
  114686. if (!t3)
  114687. break;
  114688. t1.readChar$0();
  114689. }
  114690. 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));
  114691. } else
  114692. return new A.LoudComment0(buffer.interpolation$1(span));
  114693. } else {
  114694. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114695. t3._contents += t8;
  114696. }
  114697. continue;
  114698. }
  114699. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114700. t3._contents += t8;
  114701. }
  114702. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  114703. break;
  114704. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  114705. _this._sass0$_expectNewline$0();
  114706. t3._contents = (t3._contents += "\n") + " *";
  114707. }
  114708. _this._sass0$_readIndentation$0();
  114709. }
  114710. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  114711. },
  114712. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  114713. var t1, t2, next, t3;
  114714. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114715. next = t1.peekChar$0();
  114716. if (consumeNewlines)
  114717. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  114718. else
  114719. t3 = !(next === 32 || next === 9);
  114720. if (t3)
  114721. break;
  114722. t1.readChar$0();
  114723. }
  114724. },
  114725. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  114726. var t1 = this.scanner,
  114727. _0_0 = t1.peekChar$0();
  114728. if (13 === _0_0) {
  114729. t1.readChar$0();
  114730. if (t1.peekChar$0() === 10)
  114731. t1.readChar$0();
  114732. return;
  114733. }
  114734. if (10 === _0_0 || 12 === _0_0) {
  114735. t1.readChar$0();
  114736. return;
  114737. }
  114738. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  114739. },
  114740. _sass0$_expectNewline$0() {
  114741. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  114742. },
  114743. _sass0$_lookingAtDoubleNewline$0() {
  114744. var t2, _0_0,
  114745. t1 = this.scanner,
  114746. _1_0 = t1.peekChar$0();
  114747. $label1$1: {
  114748. t2 = false;
  114749. if (13 === _1_0) {
  114750. _0_0 = t1.peekChar$1(1);
  114751. $label0$0: {
  114752. if (10 === _0_0) {
  114753. t1 = t1.peekChar$1(2);
  114754. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114755. break $label0$0;
  114756. }
  114757. if (13 === _0_0 || 12 === _0_0) {
  114758. t1 = true;
  114759. break $label0$0;
  114760. }
  114761. t1 = t2;
  114762. break $label0$0;
  114763. }
  114764. break $label1$1;
  114765. }
  114766. if (10 === _1_0 || 12 === _1_0) {
  114767. t1 = t1.peekChar$1(1);
  114768. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114769. break $label1$1;
  114770. }
  114771. t1 = t2;
  114772. break $label1$1;
  114773. }
  114774. return t1;
  114775. },
  114776. _sass0$_whileIndentedLower$1(body) {
  114777. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  114778. parentIndentation = _this._sass0$_currentIndentation;
  114779. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  114780. indentation = _this._sass0$_readIndentation$0();
  114781. if (childIndentation == null)
  114782. childIndentation = indentation;
  114783. if (childIndentation !== indentation) {
  114784. t3 = t1._string_scanner$_position;
  114785. t4 = t2.getColumn$1(t3);
  114786. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  114787. }
  114788. body.call$0();
  114789. }
  114790. },
  114791. _sass0$_readIndentation$0() {
  114792. var t1, _this = this,
  114793. currentIndentation = _this._sass0$_nextIndentation;
  114794. if (currentIndentation == null)
  114795. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  114796. _this._sass0$_currentIndentation = currentIndentation;
  114797. t1 = _this._sass0$_nextIndentationEnd;
  114798. t1.toString;
  114799. _this.scanner.set$state(t1);
  114800. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  114801. return currentIndentation;
  114802. },
  114803. _sass0$_peekIndentation$0() {
  114804. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  114805. _0_0 = _this._sass0$_nextIndentation;
  114806. if (_0_0 != null)
  114807. return _0_0;
  114808. t1 = _this.scanner;
  114809. t2 = t1._string_scanner$_position;
  114810. t3 = t1.string.length;
  114811. if (t2 === t3) {
  114812. _this._sass0$_nextIndentation = 0;
  114813. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114814. return 0;
  114815. }
  114816. start = new A._SpanScannerState(t1, t2);
  114817. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  114818. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  114819. containsTab = A._Cell$();
  114820. containsSpace = A._Cell$();
  114821. nextIndentation = A._Cell$();
  114822. do {
  114823. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  114824. nextIndentation.__late_helper$_value = 0;
  114825. for (; true;) {
  114826. $label0$0: {
  114827. _1_0 = t1.peekChar$0();
  114828. if (32 === _1_0) {
  114829. containsSpace.__late_helper$_value = true;
  114830. break $label0$0;
  114831. }
  114832. if (9 === _1_0) {
  114833. containsTab.__late_helper$_value = true;
  114834. break $label0$0;
  114835. }
  114836. break;
  114837. }
  114838. t2 = nextIndentation.__late_helper$_value;
  114839. if (t2 === nextIndentation)
  114840. A.throwExpression(A.LateError$localNI(""));
  114841. nextIndentation.__late_helper$_value = t2 + 1;
  114842. t1.readChar$0();
  114843. }
  114844. t2 = t1._string_scanner$_position;
  114845. if (t2 === t3) {
  114846. _this._sass0$_nextIndentation = 0;
  114847. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114848. t1.set$state(start);
  114849. return 0;
  114850. }
  114851. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  114852. t2 = containsTab._readLocal$0();
  114853. t3 = containsSpace._readLocal$0();
  114854. if (t2) {
  114855. if (t3) {
  114856. t2 = t1._string_scanner$_position;
  114857. t3 = t1._sourceFile;
  114858. t4 = t3.getColumn$1(t2);
  114859. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114860. } else if (_this._sass0$_spaces === true) {
  114861. t2 = t1._string_scanner$_position;
  114862. t3 = t1._sourceFile;
  114863. t4 = t3.getColumn$1(t2);
  114864. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114865. }
  114866. } else if (t3 && _this._sass0$_spaces === false) {
  114867. t2 = t1._string_scanner$_position;
  114868. t3 = t1._sourceFile;
  114869. t4 = t3.getColumn$1(t2);
  114870. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  114871. }
  114872. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  114873. if (nextIndentation._readLocal$0() > 0)
  114874. if (_this._sass0$_spaces == null)
  114875. _this._sass0$_spaces = containsSpace._readLocal$0();
  114876. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114877. t1.set$state(start);
  114878. return nextIndentation._readLocal$0();
  114879. },
  114880. _sass0$_tryTrailingSemicolon$0() {
  114881. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  114882. this.whitespace$1$consumeNewlines(false);
  114883. return true;
  114884. }
  114885. return false;
  114886. }
  114887. };
  114888. A.SassParser_styleRuleSelector_closure0.prototype = {
  114889. call$1(char) {
  114890. return char === 10 || char === 13 || char === 12;
  114891. },
  114892. $signature: 30
  114893. };
  114894. A.SassParser_children_closure0.prototype = {
  114895. call$0() {
  114896. var _0_0 = this.$this._sass0$_child$1(this.child);
  114897. if (_0_0 != null)
  114898. this.children.push(_0_0);
  114899. },
  114900. $signature: 0
  114901. };
  114902. A.SassParser__peekIndentation_closure1.prototype = {
  114903. call$1(char) {
  114904. return char === 10 || char === 13 || char === 12;
  114905. },
  114906. $signature: 30
  114907. };
  114908. A.SassParser__peekIndentation_closure2.prototype = {
  114909. call$1(char) {
  114910. return char === 10 || char === 13 || char === 12;
  114911. },
  114912. $signature: 30
  114913. };
  114914. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  114915. call$1(char) {
  114916. return char === 59;
  114917. },
  114918. $signature: 30
  114919. };
  114920. A._Exports.prototype = {};
  114921. A._wrapMain_closure.prototype = {
  114922. call$1(_) {
  114923. return A._translateReturnValue(this.main.call$0());
  114924. },
  114925. $signature: 100
  114926. };
  114927. A._wrapMain_closure0.prototype = {
  114928. call$1(args) {
  114929. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  114930. },
  114931. $signature: 100
  114932. };
  114933. A.ScssParser0.prototype = {
  114934. get$indented() {
  114935. return false;
  114936. },
  114937. get$currentIndentation() {
  114938. return 0;
  114939. },
  114940. styleRuleSelector$0() {
  114941. return this.almostAnyValue$0();
  114942. },
  114943. expectStatementSeparator$1($name) {
  114944. var t1, _0_0;
  114945. this.whitespaceWithoutComments$1$consumeNewlines(true);
  114946. t1 = this.scanner;
  114947. if (t1._string_scanner$_position === t1.string.length)
  114948. return;
  114949. _0_0 = t1.peekChar$0();
  114950. if (59 === _0_0 || 125 === _0_0)
  114951. return;
  114952. t1.expectChar$1(59);
  114953. },
  114954. expectStatementSeparator$0() {
  114955. return this.expectStatementSeparator$1(null);
  114956. },
  114957. atEndOfStatement$0() {
  114958. var next = this.scanner.peekChar$0();
  114959. return next == null || next === 59 || next === 125 || next === 123;
  114960. },
  114961. lookingAtChildren$0() {
  114962. return this.scanner.peekChar$0() === 123;
  114963. },
  114964. scanElse$1(ifIndentation) {
  114965. var t3, _this = this,
  114966. t1 = _this.scanner,
  114967. t2 = t1._string_scanner$_position;
  114968. _this.whitespace$1$consumeNewlines(true);
  114969. t3 = t1._string_scanner$_position;
  114970. if (t1.scanChar$1(64)) {
  114971. if (_this.scanIdentifier$2$caseSensitive("else", true))
  114972. return true;
  114973. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  114974. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_8ki, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  114975. t1.set$position(t1._string_scanner$_position - 2);
  114976. return true;
  114977. }
  114978. }
  114979. t1.set$state(new A._SpanScannerState(t1, t2));
  114980. return false;
  114981. },
  114982. children$1(_, child) {
  114983. var children, _this = this,
  114984. t1 = _this.scanner;
  114985. t1.expectChar$1(123);
  114986. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114987. children = A._setArrayType([], type$.JSArray_Statement_2);
  114988. for (; true;)
  114989. switch (t1.peekChar$0()) {
  114990. case 36:
  114991. children.push(_this.variableDeclarationWithoutNamespace$0());
  114992. break;
  114993. case 47:
  114994. switch (t1.peekChar$1(1)) {
  114995. case 47:
  114996. children.push(_this._scss0$_silentComment$0());
  114997. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  114998. break;
  114999. case 42:
  115000. children.push(_this._scss0$_loudComment$0());
  115001. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115002. break;
  115003. default:
  115004. children.push(child.call$0());
  115005. }
  115006. break;
  115007. case 59:
  115008. t1.readChar$0();
  115009. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115010. break;
  115011. case 125:
  115012. t1.expectChar$1(125);
  115013. return children;
  115014. default:
  115015. children.push(child.call$0());
  115016. }
  115017. },
  115018. statements$1(statement) {
  115019. var t1, t2, _0_0, _1_0, _this = this,
  115020. statements = A._setArrayType([], type$.JSArray_Statement_2);
  115021. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115022. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  115023. switch (t1.peekChar$0()) {
  115024. case 36:
  115025. statements.push(_this.variableDeclarationWithoutNamespace$0());
  115026. break;
  115027. case 47:
  115028. switch (t1.peekChar$1(1)) {
  115029. case 47:
  115030. statements.push(_this._scss0$_silentComment$0());
  115031. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115032. break;
  115033. case 42:
  115034. statements.push(_this._scss0$_loudComment$0());
  115035. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115036. break;
  115037. default:
  115038. _0_0 = statement.call$0();
  115039. if (_0_0 != null)
  115040. statements.push(_0_0);
  115041. }
  115042. break;
  115043. case 59:
  115044. t1.readChar$0();
  115045. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115046. break;
  115047. default:
  115048. _1_0 = statement.call$0();
  115049. if (_1_0 != null)
  115050. statements.push(_1_0);
  115051. }
  115052. return statements;
  115053. },
  115054. _scss0$_silentComment$0() {
  115055. var t3, t4, _this = this,
  115056. t1 = _this.scanner,
  115057. t2 = t1._string_scanner$_position,
  115058. start = new A._SpanScannerState(t1, t2);
  115059. t1.expect$1("//");
  115060. t3 = t1.string.length;
  115061. do {
  115062. while (true) {
  115063. if (t1._string_scanner$_position !== t3) {
  115064. t4 = t1.readChar$0();
  115065. t4 = !(t4 === 10 || t4 === 13 || t4 === 12);
  115066. } else
  115067. t4 = false;
  115068. if (!t4)
  115069. break;
  115070. }
  115071. if (t1._string_scanner$_position === t3)
  115072. break;
  115073. _this.spaces$0();
  115074. } while (t1.scan$1("//"));
  115075. if (_this.get$plainCss())
  115076. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  115077. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, t2), t1.spanFrom$1(start));
  115078. },
  115079. _scss0$_loudComment$0() {
  115080. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  115081. t1 = this.scanner,
  115082. t2 = t1._string_scanner$_position;
  115083. t1.expect$1("/*");
  115084. t3 = new A.StringBuffer("");
  115085. t4 = A._setArrayType([], type$.JSArray_Object);
  115086. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  115087. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  115088. t3._contents = "/*";
  115089. $label0$1:
  115090. for (; true;)
  115091. switch (t1.peekChar$0()) {
  115092. case 35:
  115093. if (t1.peekChar$1(1) === 123) {
  115094. _0_0 = this.singleInterpolation$0();
  115095. buffer._interpolation_buffer0$_flushText$0();
  115096. t4.push(_0_0._0);
  115097. t5.push(_0_0._1);
  115098. } else {
  115099. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115100. t3._contents += t6;
  115101. }
  115102. break;
  115103. case 42:
  115104. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115105. t3._contents += t6;
  115106. if (t1.peekChar$0() !== 47)
  115107. continue $label0$1;
  115108. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115109. t3._contents += t4;
  115110. endPosition = t1._string_scanner$_position;
  115111. t3 = t1._sourceFile;
  115112. t1 = new A._FileSpan(t3, t2, endPosition);
  115113. t1._FileSpan$3(t3, t2, endPosition);
  115114. return new A.LoudComment0(buffer.interpolation$1(t1));
  115115. case 13:
  115116. t1.readChar$0();
  115117. if (t1.peekChar$0() !== 10) {
  115118. t6 = A.Primitives_stringFromCharCode(10);
  115119. t3._contents += t6;
  115120. }
  115121. break;
  115122. case 12:
  115123. t1.readChar$0();
  115124. t6 = A.Primitives_stringFromCharCode(10);
  115125. t3._contents += t6;
  115126. break;
  115127. default:
  115128. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115129. t3._contents += t6;
  115130. }
  115131. }
  115132. };
  115133. A.Selector0.prototype = {
  115134. assertNotBogus$1$name($name) {
  115135. if (!this.accept$1(B._IsBogusVisitor_true0))
  115136. return;
  115137. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_SHb);
  115138. },
  115139. toString$0(_) {
  115140. var _null = null,
  115141. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  115142. this.accept$1(visitor);
  115143. return visitor._serialize0$_buffer.toString$0(0);
  115144. },
  115145. $isAstNode0: 1,
  115146. get$span(receiver) {
  115147. return this.span;
  115148. }
  115149. };
  115150. A._IsInvisibleVisitor2.prototype = {
  115151. visitSelectorList$1(list) {
  115152. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  115153. },
  115154. visitComplexSelector$1(complex) {
  115155. var t1;
  115156. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  115157. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  115158. else
  115159. t1 = true;
  115160. return t1;
  115161. },
  115162. visitPlaceholderSelector$1(placeholder) {
  115163. return true;
  115164. },
  115165. visitPseudoSelector$1(pseudo) {
  115166. var t1,
  115167. _0_0 = pseudo.selector;
  115168. if (_0_0 != null) {
  115169. if (pseudo.name === "not")
  115170. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  115171. else
  115172. t1 = this.visitSelectorList$1(_0_0);
  115173. return t1;
  115174. } else
  115175. return false;
  115176. }
  115177. };
  115178. A._IsBogusVisitor0.prototype = {
  115179. visitComplexSelector$1(complex) {
  115180. var t2,
  115181. t1 = complex.components;
  115182. if (t1.length === 0)
  115183. return complex.leadingCombinators.length !== 0;
  115184. else {
  115185. t2 = this.includeLeadingCombinator ? 0 : 1;
  115186. 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));
  115187. }
  115188. },
  115189. visitPseudoSelector$1(pseudo) {
  115190. var selector = pseudo.selector;
  115191. if (selector == null)
  115192. return false;
  115193. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  115194. }
  115195. };
  115196. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  115197. call$1(component) {
  115198. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115199. },
  115200. $signature: 54
  115201. };
  115202. A._IsUselessVisitor0.prototype = {
  115203. visitComplexSelector$1(complex) {
  115204. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  115205. },
  115206. visitPseudoSelector$1(pseudo) {
  115207. return pseudo.accept$1(B._IsBogusVisitor_true0);
  115208. }
  115209. };
  115210. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  115211. call$1(component) {
  115212. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115213. },
  115214. $signature: 54
  115215. };
  115216. A._ContainsParentSelectorVisitor0.prototype = {
  115217. visitParentSelector$1(_) {
  115218. return true;
  115219. }
  115220. };
  115221. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0.prototype = {};
  115222. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  115223. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  115224. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  115225. A.SelectorExpression0.prototype = {
  115226. accept$1$1(visitor) {
  115227. return visitor.visitSelectorExpression$1(0, this);
  115228. },
  115229. accept$1(visitor) {
  115230. return this.accept$1$1(visitor, type$.dynamic);
  115231. },
  115232. toString$0(_) {
  115233. return "&";
  115234. },
  115235. get$span(receiver) {
  115236. return this.span;
  115237. }
  115238. };
  115239. A._nest_closure0.prototype = {
  115240. call$1($arguments) {
  115241. var t1 = {},
  115242. selectors = J.$index$asx($arguments, 0).get$asList();
  115243. if (selectors.length === 0)
  115244. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115245. t1.first = true;
  115246. 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();
  115247. },
  115248. $signature: 29
  115249. };
  115250. A._nest__closure1.prototype = {
  115251. call$1(selector) {
  115252. var t1 = this._box_0,
  115253. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  115254. t1.first = false;
  115255. return result;
  115256. },
  115257. $signature: 261
  115258. };
  115259. A._nest__closure2.prototype = {
  115260. call$2($parent, child) {
  115261. return child.nestWithin$1($parent);
  115262. },
  115263. $signature: 262
  115264. };
  115265. A._append_closure1.prototype = {
  115266. call$1($arguments) {
  115267. var t1,
  115268. selectors = J.$index$asx($arguments, 0).get$asList();
  115269. if (selectors.length === 0)
  115270. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115271. t1 = A.EvaluationContext_currentOrNull0();
  115272. 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();
  115273. },
  115274. $signature: 29
  115275. };
  115276. A._append__closure1.prototype = {
  115277. call$1(selector) {
  115278. return A.SassApiValue_assertSelector0(selector, false, null);
  115279. },
  115280. $signature: 261
  115281. };
  115282. A._append__closure2.prototype = {
  115283. call$2($parent, child) {
  115284. var t1 = child.components,
  115285. t2 = this.span;
  115286. 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);
  115287. },
  115288. $signature: 262
  115289. };
  115290. A._append___closure0.prototype = {
  115291. call$1(complex) {
  115292. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  115293. if (complex.leadingCombinators.length !== 0)
  115294. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115295. _0_0 = complex.components;
  115296. t1 = _0_0.length >= 1;
  115297. if (t1) {
  115298. component = _0_0[0];
  115299. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  115300. } else {
  115301. rest = _null;
  115302. component = rest;
  115303. }
  115304. if (!t1)
  115305. throw A.wrapException(A.StateError$("Pattern matching error"));
  115306. newCompound = A._prependParent0(component.selector);
  115307. if (newCompound == null)
  115308. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115309. t1 = this.span;
  115310. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  115311. B.JSArray_methods.addAll$1(t2, rest);
  115312. return A.ComplexSelector$0(B.List_empty16, t2, t1, false);
  115313. },
  115314. $signature: 58
  115315. };
  115316. A._extend_closure0.prototype = {
  115317. call$1($arguments) {
  115318. var target, source,
  115319. _s8_ = "selector",
  115320. _s8_0 = "extendee",
  115321. _s8_1 = "extender",
  115322. t1 = J.getInterceptor$asx($arguments),
  115323. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115324. selector.assertNotBogus$1$name(_s8_);
  115325. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115326. target.assertNotBogus$1$name(_s8_0);
  115327. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  115328. source.assertNotBogus$1$name(_s8_1);
  115329. t1 = A.EvaluationContext_currentOrNull0();
  115330. 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();
  115331. },
  115332. $signature: 29
  115333. };
  115334. A._replace_closure0.prototype = {
  115335. call$1($arguments) {
  115336. var target, source,
  115337. _s8_ = "selector",
  115338. _s8_0 = "original",
  115339. _s11_ = "replacement",
  115340. t1 = J.getInterceptor$asx($arguments),
  115341. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115342. selector.assertNotBogus$1$name(_s8_);
  115343. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115344. target.assertNotBogus$1$name(_s8_0);
  115345. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  115346. source.assertNotBogus$1$name(_s11_);
  115347. t1 = A.EvaluationContext_currentOrNull0();
  115348. 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();
  115349. },
  115350. $signature: 29
  115351. };
  115352. A._unify_closure0.prototype = {
  115353. call$1($arguments) {
  115354. var selector2,
  115355. _s9_ = "selector1",
  115356. _s9_0 = "selector2",
  115357. t1 = J.getInterceptor$asx($arguments),
  115358. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  115359. selector1.assertNotBogus$1$name(_s9_);
  115360. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  115361. selector2.assertNotBogus$1$name(_s9_0);
  115362. t1 = selector1.unify$1(selector2);
  115363. t1 = t1 == null ? null : t1.get$asSassList();
  115364. return t1 == null ? B.C__SassNull0 : t1;
  115365. },
  115366. $signature: 3
  115367. };
  115368. A._isSuperselector_closure0.prototype = {
  115369. call$1($arguments) {
  115370. var selector2,
  115371. t1 = J.getInterceptor$asx($arguments),
  115372. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  115373. selector1.assertNotBogus$1$name("super");
  115374. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  115375. selector2.assertNotBogus$1$name("sub");
  115376. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115377. },
  115378. $signature: 11
  115379. };
  115380. A._simpleSelectors_closure0.prototype = {
  115381. call$1($arguments) {
  115382. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  115383. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  115384. },
  115385. $signature: 29
  115386. };
  115387. A._simpleSelectors__closure0.prototype = {
  115388. call$1(simple) {
  115389. return new A.SassString0(A.serializeSelector0(simple, true), false);
  115390. },
  115391. $signature: 571
  115392. };
  115393. A._parse_closure0.prototype = {
  115394. call$1($arguments) {
  115395. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  115396. },
  115397. $signature: 29
  115398. };
  115399. A.SelectorParser0.prototype = {
  115400. parse$0(_) {
  115401. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  115402. },
  115403. parseCompoundSelector$0() {
  115404. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  115405. },
  115406. _selector$_selectorList$0() {
  115407. var t4, t5, lineBreak, _this = this,
  115408. t1 = _this.scanner,
  115409. t2 = t1._string_scanner$_position,
  115410. t3 = t1._sourceFile,
  115411. previousLine = t3.getLine$1(t2),
  115412. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  115413. _this.whitespace$1$consumeNewlines(true);
  115414. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  115415. _this.whitespace$1$consumeNewlines(true);
  115416. if (t1.peekChar$0() === 44)
  115417. continue;
  115418. t5 = t1._string_scanner$_position;
  115419. if (t5 === t4)
  115420. break;
  115421. lineBreak = t3.getLine$1(t5) !== previousLine;
  115422. if (lineBreak)
  115423. previousLine = t3.getLine$1(t1._string_scanner$_position);
  115424. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  115425. }
  115426. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115427. },
  115428. _selector$_complexSelector$1$lineBreak(lineBreak) {
  115429. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  115430. _s18_ = "expected selector.",
  115431. t1 = _this.scanner,
  115432. t2 = t1._string_scanner$_position,
  115433. componentStart = new A._SpanScannerState(t1, t2),
  115434. t3 = type$.JSArray_CssValue_Combinator_2,
  115435. combinators = A._setArrayType([], t3),
  115436. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  115437. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  115438. _this.whitespace$1$consumeNewlines(true);
  115439. _0_0 = t1.peekChar$0();
  115440. if (43 === _0_0) {
  115441. t5 = t1._string_scanner$_position;
  115442. t1.readChar$0();
  115443. combinators.push(new A.CssValue0(B.Combinator_bOP0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115444. continue;
  115445. }
  115446. if (62 === _0_0) {
  115447. t5 = t1._string_scanner$_position;
  115448. t1.readChar$0();
  115449. combinators.push(new A.CssValue0(B.Combinator_0mp0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115450. continue;
  115451. }
  115452. if (126 === _0_0) {
  115453. t5 = t1._string_scanner$_position;
  115454. t1.readChar$0();
  115455. combinators.push(new A.CssValue0(B.Combinator_55N0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115456. continue;
  115457. }
  115458. if (_0_0 == null)
  115459. break;
  115460. t5 = true;
  115461. if (91 !== _0_0)
  115462. if (46 !== _0_0)
  115463. if (35 !== _0_0)
  115464. if (37 !== _0_0)
  115465. if (58 !== _0_0)
  115466. if (38 !== _0_0)
  115467. if (42 !== _0_0)
  115468. if (124 !== _0_0)
  115469. t5 = _this.lookingAtIdentifier$0();
  115470. if (t5) {
  115471. if (lastCompound != null) {
  115472. t5 = _this.spanFrom$1(componentStart);
  115473. result = A.List_List$from(combinators, false, t4);
  115474. result.$flags = 3;
  115475. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  115476. } else if (combinators.length !== 0) {
  115477. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115478. initialCombinators = combinators;
  115479. }
  115480. lastCompound = _this._selector$_compoundSelector$0();
  115481. combinators = A._setArrayType([], t3);
  115482. if (t1.peekChar$0() === 38)
  115483. t1.error$1(0, string$.x22x26__ma);
  115484. continue;
  115485. }
  115486. break;
  115487. }
  115488. t3 = combinators.length !== 0;
  115489. if (t3 && _this._selector$_plainCss)
  115490. t1.error$1(0, _s18_);
  115491. else if (lastCompound != null) {
  115492. t3 = _this.spanFrom$1(componentStart);
  115493. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  115494. } else if (t3)
  115495. initialCombinators = combinators;
  115496. else
  115497. t1.error$1(0, _s18_);
  115498. t3 = initialCombinators == null ? B.List_empty16 : initialCombinators;
  115499. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  115500. },
  115501. _selector$_complexSelector$0() {
  115502. return this._selector$_complexSelector$1$lineBreak(false);
  115503. },
  115504. _selector$_compoundSelector$0() {
  115505. var t3, _this = this,
  115506. t1 = _this.scanner,
  115507. t2 = t1._string_scanner$_position,
  115508. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  115509. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  115510. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  115511. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115512. },
  115513. _selector$_simpleSelector$1$allowParent(allowParent) {
  115514. var t2, $name, text, t3, suffix, _this = this,
  115515. t1 = _this.scanner,
  115516. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115517. if (allowParent == null)
  115518. allowParent = _this._selector$_allowParent;
  115519. switch (t1.peekChar$0()) {
  115520. case 91:
  115521. return _this._selector$_attributeSelector$0();
  115522. case 46:
  115523. t2 = t1._string_scanner$_position;
  115524. t1.expectChar$1(46);
  115525. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115526. case 35:
  115527. t2 = t1._string_scanner$_position;
  115528. t1.expectChar$1(35);
  115529. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115530. case 37:
  115531. t2 = t1._string_scanner$_position;
  115532. t1.expectChar$1(37);
  115533. $name = _this.identifier$0();
  115534. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115535. if (_this._selector$_plainCss)
  115536. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  115537. return new A.PlaceholderSelector0($name, t2);
  115538. case 58:
  115539. return _this._selector$_pseudoSelector$0();
  115540. case 38:
  115541. t2 = t1._string_scanner$_position;
  115542. t1.expectChar$1(38);
  115543. if (_this.lookingAtIdentifierBody$0()) {
  115544. text = new A.StringBuffer("");
  115545. _this._parser1$_identifierBody$1(text);
  115546. if (text._contents.length === 0)
  115547. t1.error$1(0, "Expected identifier body.");
  115548. t3 = text._contents;
  115549. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  115550. } else
  115551. suffix = null;
  115552. if (_this._selector$_plainCss && suffix != null)
  115553. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  115554. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115555. if (!allowParent)
  115556. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  115557. return new A.ParentSelector0(suffix, t2);
  115558. default:
  115559. return _this._selector$_typeOrUniversalSelector$0();
  115560. }
  115561. },
  115562. _selector$_simpleSelector$0() {
  115563. return this._selector$_simpleSelector$1$allowParent(null);
  115564. },
  115565. _selector$_attributeSelector$0() {
  115566. var $name, operator, next, value, modifier, _this = this, _null = null,
  115567. t1 = _this.scanner,
  115568. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115569. t1.expectChar$1(91);
  115570. _this.whitespace$1$consumeNewlines(true);
  115571. $name = _this._selector$_attributeName$0();
  115572. _this.whitespace$1$consumeNewlines(true);
  115573. if (t1.scanChar$1(93))
  115574. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  115575. operator = _this._selector$_attributeOperator$0();
  115576. _this.whitespace$1$consumeNewlines(true);
  115577. next = t1.peekChar$0();
  115578. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  115579. _this.whitespace$1$consumeNewlines(true);
  115580. next = t1.peekChar$0();
  115581. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  115582. t1.expectChar$1(93);
  115583. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  115584. },
  115585. _selector$_attributeName$0() {
  115586. var nameOrNamespace, _this = this,
  115587. t1 = _this.scanner;
  115588. if (t1.scanChar$1(42)) {
  115589. t1.expectChar$1(124);
  115590. return new A.QualifiedName0(_this.identifier$0(), "*");
  115591. }
  115592. if (t1.scanChar$1(124))
  115593. return new A.QualifiedName0(_this.identifier$0(), "");
  115594. nameOrNamespace = _this.identifier$0();
  115595. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  115596. return new A.QualifiedName0(nameOrNamespace, null);
  115597. t1.readChar$0();
  115598. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  115599. },
  115600. _selector$_attributeOperator$0() {
  115601. var t1 = this.scanner,
  115602. t2 = t1._string_scanner$_position;
  115603. switch (t1.readChar$0()) {
  115604. case 61:
  115605. return B.AttributeOperator_Lvy0;
  115606. case 126:
  115607. t1.expectChar$1(61);
  115608. return B.AttributeOperator_fp20;
  115609. case 124:
  115610. t1.expectChar$1(61);
  115611. return B.AttributeOperator_iyP0;
  115612. case 94:
  115613. t1.expectChar$1(61);
  115614. return B.AttributeOperator_JzP0;
  115615. case 36:
  115616. t1.expectChar$1(61);
  115617. return B.AttributeOperator_U1W0;
  115618. case 42:
  115619. t1.expectChar$1(61);
  115620. return B.AttributeOperator_GWq0;
  115621. default:
  115622. t1.error$2$position(0, 'Expected "]".', t2);
  115623. }
  115624. },
  115625. _selector$_pseudoSelector$0() {
  115626. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  115627. t1 = _this.scanner,
  115628. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115629. t1.expectChar$1(58);
  115630. element = t1.scanChar$1(58);
  115631. $name = _this.identifier$0();
  115632. if (!t1.scanChar$1(40))
  115633. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  115634. _this.whitespace$1$consumeNewlines(true);
  115635. unvendored = A.unvendor0($name);
  115636. argument = _null;
  115637. selector = _null;
  115638. if (element)
  115639. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  115640. selector = _this._selector$_selectorList$0();
  115641. else
  115642. argument = _this.declarationValue$1$allowEmpty(true);
  115643. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  115644. selector = _this._selector$_selectorList$0();
  115645. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  115646. argument = _this._selector$_aNPlusB$0();
  115647. _this.whitespace$1$consumeNewlines(true);
  115648. t2 = t1.peekChar$1(-1);
  115649. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  115650. _this.expectIdentifier$1("of");
  115651. argument += " of";
  115652. _this.whitespace$1$consumeNewlines(true);
  115653. selector = _this._selector$_selectorList$0();
  115654. }
  115655. } else
  115656. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  115657. t1.expectChar$1(41);
  115658. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  115659. },
  115660. _selector$_aNPlusB$0() {
  115661. var t1, _0_0, t2, $self, next, _this = this;
  115662. $label0$0: {
  115663. t1 = _this.scanner;
  115664. _0_0 = t1.peekChar$0();
  115665. if (101 === _0_0 || 69 === _0_0) {
  115666. _this.expectIdentifier$1("even");
  115667. return "even";
  115668. }
  115669. if (111 === _0_0 || 79 === _0_0) {
  115670. _this.expectIdentifier$1("odd");
  115671. return "odd";
  115672. }
  115673. if (43 === _0_0 || 45 === _0_0) {
  115674. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115675. break $label0$0;
  115676. }
  115677. t2 = "";
  115678. }
  115679. $self = t1.peekChar$0();
  115680. if ($self != null && $self >= 48 && $self <= 57) {
  115681. do {
  115682. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115683. $self = t1.peekChar$0();
  115684. } while ($self != null && $self >= 48 && $self <= 57);
  115685. _this.whitespace$1$consumeNewlines(true);
  115686. if (!_this.scanIdentChar$1(110))
  115687. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115688. } else
  115689. _this.expectIdentChar$1(110);
  115690. t2 += A.Primitives_stringFromCharCode(110);
  115691. _this.whitespace$1$consumeNewlines(true);
  115692. next = t1.peekChar$0();
  115693. if (next !== 43 && next !== 45)
  115694. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115695. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115696. _this.whitespace$1$consumeNewlines(true);
  115697. $self = t1.peekChar$0();
  115698. if (!($self != null && $self >= 48 && $self <= 57))
  115699. t1.error$1(0, "Expected a number.");
  115700. do {
  115701. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115702. $self = t1.peekChar$0();
  115703. } while ($self != null && $self >= 48 && $self <= 57);
  115704. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115705. },
  115706. _selector$_typeOrUniversalSelector$0() {
  115707. var nameOrNamespace, _this = this,
  115708. t1 = _this.scanner,
  115709. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115710. if (t1.scanChar$1(42)) {
  115711. if (!t1.scanChar$1(124))
  115712. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  115713. 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));
  115714. } else if (t1.scanChar$1(124))
  115715. 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));
  115716. nameOrNamespace = _this.identifier$0();
  115717. if (!t1.scanChar$1(124))
  115718. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  115719. else if (t1.scanChar$1(42))
  115720. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  115721. else
  115722. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  115723. },
  115724. _selector$_isSimpleSelectorStart$1(character) {
  115725. var t1;
  115726. $label0$0: {
  115727. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  115728. t1 = true;
  115729. break $label0$0;
  115730. }
  115731. if (38 === character) {
  115732. t1 = this._selector$_plainCss;
  115733. break $label0$0;
  115734. }
  115735. t1 = false;
  115736. break $label0$0;
  115737. }
  115738. return t1;
  115739. }
  115740. };
  115741. A.SelectorParser_parse_closure0.prototype = {
  115742. call$0() {
  115743. var t1 = this.$this,
  115744. selector = t1._selector$_selectorList$0();
  115745. t1 = t1.scanner;
  115746. if (t1._string_scanner$_position !== t1.string.length)
  115747. t1.error$1(0, "expected selector.");
  115748. return selector;
  115749. },
  115750. $signature: 572
  115751. };
  115752. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  115753. call$0() {
  115754. var t1 = this.$this,
  115755. compound = t1._selector$_compoundSelector$0();
  115756. t1 = t1.scanner;
  115757. if (t1._string_scanner$_position !== t1.string.length)
  115758. t1.error$1(0, "expected selector.");
  115759. return compound;
  115760. },
  115761. $signature: 573
  115762. };
  115763. A.SelectorSearchVisitor0.prototype = {
  115764. visitAttributeSelector$1(attribute) {
  115765. return null;
  115766. },
  115767. visitClassSelector$1(klass) {
  115768. return null;
  115769. },
  115770. visitIDSelector$1(id) {
  115771. return null;
  115772. },
  115773. visitParentSelector$1(placeholder) {
  115774. return null;
  115775. },
  115776. visitPlaceholderSelector$1(placeholder) {
  115777. return null;
  115778. },
  115779. visitTypeSelector$1(type) {
  115780. return null;
  115781. },
  115782. visitUniversalSelector$1(universal) {
  115783. return null;
  115784. },
  115785. visitComplexSelector$1(complex) {
  115786. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  115787. },
  115788. visitCompoundSelector$1(compound) {
  115789. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  115790. },
  115791. visitPseudoSelector$1(pseudo) {
  115792. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  115793. },
  115794. visitSelectorList$1(list) {
  115795. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  115796. }
  115797. };
  115798. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  115799. call$1(component) {
  115800. return this.$this.visitCompoundSelector$1(component.selector);
  115801. },
  115802. $signature() {
  115803. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  115804. }
  115805. };
  115806. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  115807. call$1(simple) {
  115808. return simple.accept$1(this.$this);
  115809. },
  115810. $signature() {
  115811. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  115812. }
  115813. };
  115814. A.serialize_closure0.prototype = {
  115815. call$1(codeUnit) {
  115816. return codeUnit > 127;
  115817. },
  115818. $signature: 47
  115819. };
  115820. A._SerializeVisitor0.prototype = {
  115821. visitCssStylesheet$1(node) {
  115822. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  115823. 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();) {
  115824. previous0 = t1.get$current(t1);
  115825. if (t2)
  115826. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  115827. else
  115828. t8 = false;
  115829. if (t8)
  115830. continue;
  115831. if (previous != null) {
  115832. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  115833. t6.writeCharCode$1(59);
  115834. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  115835. if (t4)
  115836. t6.writeCharCode$1(32);
  115837. } else {
  115838. if (t4)
  115839. t6.write$1(0, t7);
  115840. if (previous.get$isGroupEnd())
  115841. if (t4)
  115842. t6.write$1(0, t7);
  115843. }
  115844. }
  115845. previous0.accept$1(_this);
  115846. previous = previous0;
  115847. }
  115848. if (previous != null)
  115849. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  115850. else
  115851. t1 = false;
  115852. if (t1)
  115853. t6.writeCharCode$1(59);
  115854. },
  115855. visitCssComment$1(node) {
  115856. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  115857. },
  115858. visitCssAtRule$1(node) {
  115859. var t1, _this = this;
  115860. _this._serialize0$_writeIndentation$0();
  115861. t1 = _this._serialize0$_buffer;
  115862. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  115863. if (!node.isChildless) {
  115864. if (_this._serialize0$_style !== B.OutputStyle_10)
  115865. t1.writeCharCode$1(32);
  115866. _this._serialize0$_visitChildren$1(node);
  115867. }
  115868. },
  115869. visitCssMediaRule$1(node) {
  115870. var t1, _this = this;
  115871. _this._serialize0$_writeIndentation$0();
  115872. t1 = _this._serialize0$_buffer;
  115873. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  115874. if (_this._serialize0$_style !== B.OutputStyle_10)
  115875. t1.writeCharCode$1(32);
  115876. _this._serialize0$_visitChildren$1(node);
  115877. },
  115878. visitCssImport$1(node) {
  115879. this._serialize0$_writeIndentation$0();
  115880. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  115881. },
  115882. _serialize0$_writeImportUrl$1(url) {
  115883. var urlContents, maybeQuote, _this = this;
  115884. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  115885. _this._serialize0$_buffer.write$1(0, url);
  115886. return;
  115887. }
  115888. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  115889. maybeQuote = urlContents.charCodeAt(0);
  115890. if (maybeQuote === 39 || maybeQuote === 34)
  115891. _this._serialize0$_buffer.write$1(0, urlContents);
  115892. else
  115893. _this._serialize0$_visitQuotedString$1(urlContents);
  115894. },
  115895. visitCssKeyframeBlock$1(node) {
  115896. var t1, _this = this;
  115897. _this._serialize0$_writeIndentation$0();
  115898. t1 = _this._serialize0$_buffer;
  115899. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  115900. if (_this._serialize0$_style !== B.OutputStyle_10)
  115901. t1.writeCharCode$1(32);
  115902. _this._serialize0$_visitChildren$1(node);
  115903. },
  115904. _serialize0$_visitMediaQuery$1(query) {
  115905. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  115906. _0_0 = query.modifier;
  115907. if (_0_0 != null) {
  115908. t1 = _this._serialize0$_buffer;
  115909. t1.write$1(0, _0_0);
  115910. t1.writeCharCode$1(32);
  115911. }
  115912. _1_0 = query.type;
  115913. if (_1_0 != null) {
  115914. t1 = _this._serialize0$_buffer;
  115915. t1.write$1(0, _1_0);
  115916. if (query.conditions.length !== 0)
  115917. t1.write$1(0, " and ");
  115918. }
  115919. _2_0 = query.conditions;
  115920. if (_2_0.length === 1)
  115921. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  115922. else
  115923. t1 = false;
  115924. if (t1) {
  115925. t1 = _this._serialize0$_buffer;
  115926. t1.write$1(0, "not ");
  115927. condition = B.JSArray_methods.get$first(_2_0);
  115928. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  115929. } else {
  115930. operator = query.conjunction ? "and" : "or";
  115931. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  115932. t2 = _this._serialize0$_buffer;
  115933. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  115934. }
  115935. },
  115936. visitCssStyleRule$1(node) {
  115937. var t1, _this = this;
  115938. _this._serialize0$_writeIndentation$0();
  115939. t1 = _this._serialize0$_buffer;
  115940. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  115941. if (_this._serialize0$_style !== B.OutputStyle_10)
  115942. t1.writeCharCode$1(32);
  115943. _this._serialize0$_visitChildren$1(node);
  115944. },
  115945. visitCssSupportsRule$1(node) {
  115946. var t1, _this = this;
  115947. _this._serialize0$_writeIndentation$0();
  115948. t1 = _this._serialize0$_buffer;
  115949. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  115950. if (_this._serialize0$_style !== B.OutputStyle_10)
  115951. t1.writeCharCode$1(32);
  115952. _this._serialize0$_visitChildren$1(node);
  115953. },
  115954. visitCssDeclaration$1(node) {
  115955. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  115956. t1 = node.interleavedRules,
  115957. t2 = t1.length;
  115958. if (t2 !== 0) {
  115959. t3 = node._node$_parent;
  115960. t3.toString;
  115961. declSpecificities = _this._serialize0$_specificities$1(t3);
  115962. for (t3 = _this._serialize0$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  115963. rule = t1[_i];
  115964. ruleSpecificities = _this._serialize0$_specificities$1(rule);
  115965. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  115966. continue;
  115967. 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);
  115968. }
  115969. }
  115970. _this._serialize0$_writeIndentation$0();
  115971. t1 = node.name;
  115972. _this._serialize0$_write$1(t1);
  115973. t2 = _this._serialize0$_buffer;
  115974. t2.writeCharCode$1(58);
  115975. if (B.JSString_methods.startsWith$1(t1.value, "--") && node.parsedAsCustomProperty)
  115976. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  115977. else {
  115978. if (_this._serialize0$_style !== B.OutputStyle_10)
  115979. t2.writeCharCode$1(32);
  115980. try {
  115981. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  115982. } catch (exception) {
  115983. t1 = A.unwrapException(exception);
  115984. if (t1 instanceof A.MultiSpanSassScriptException0) {
  115985. error = t1;
  115986. stackTrace = A.getTraceFromException(exception);
  115987. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  115988. } else if (t1 instanceof A.SassScriptException0) {
  115989. error0 = t1;
  115990. stackTrace0 = A.getTraceFromException(exception);
  115991. t1 = error0.message;
  115992. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  115993. } else
  115994. throw exception;
  115995. }
  115996. }
  115997. },
  115998. _serialize0$_specificities$1(node) {
  115999. var $parent, t2, t3, _i,
  116000. t1 = this.get$_serialize0$_specificities();
  116001. if (node instanceof A.ModifiableCssStyleRule0) {
  116002. t1 = A.NullableExtension_andThen0(node._node$_parent, t1);
  116003. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  116004. if ($parent == null)
  116005. $parent = 0;
  116006. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  116007. for (t2 = node._style_rule0$_selector._box0$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  116008. t1.add$1(0, $parent + t2[_i].get$specificity());
  116009. return t1;
  116010. } else {
  116011. t1 = A.NullableExtension_andThen0(node.get$parent(node), t1);
  116012. return t1 == null ? B.Set_WDSXk : t1;
  116013. }
  116014. },
  116015. _serialize0$_writeFoldedValue$1(node) {
  116016. var t1, t2, next, t3,
  116017. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  116018. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  116019. next = scanner.readChar$0();
  116020. if (next !== 10) {
  116021. t2.writeCharCode$1(next);
  116022. continue;
  116023. }
  116024. t2.writeCharCode$1(32);
  116025. while (true) {
  116026. t3 = scanner.peekChar$0();
  116027. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  116028. break;
  116029. scanner.readChar$0();
  116030. }
  116031. }
  116032. },
  116033. _serialize0$_writeReindentedValue$1(node) {
  116034. var _0_0, t1, _this = this,
  116035. value = type$.SassString_2._as(node.value.value)._string0$_text;
  116036. $label0$0: {
  116037. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  116038. if (_0_0 == null) {
  116039. _this._serialize0$_buffer.write$1(0, value);
  116040. break $label0$0;
  116041. }
  116042. if (-1 === _0_0) {
  116043. t1 = _this._serialize0$_buffer;
  116044. t1.write$1(0, A.trimAsciiRight0(value, true));
  116045. t1.writeCharCode$1(32);
  116046. break $label0$0;
  116047. }
  116048. t1 = node.name.span;
  116049. t1 = t1.get$start(t1);
  116050. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  116051. }
  116052. },
  116053. _serialize0$_minimumIndentation$1(text) {
  116054. var character, t2, min, next, min0,
  116055. scanner = A.LineScanner$(text),
  116056. t1 = scanner.string.length;
  116057. while (true) {
  116058. if (scanner._string_scanner$_position !== t1) {
  116059. character = scanner.super$StringScanner$readChar();
  116060. scanner._adjustLineAndColumn$1(character);
  116061. t2 = character !== 10;
  116062. } else
  116063. t2 = false;
  116064. if (!t2)
  116065. break;
  116066. }
  116067. if (scanner._string_scanner$_position === t1)
  116068. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  116069. for (min = null; scanner._string_scanner$_position !== t1;) {
  116070. for (; scanner._string_scanner$_position !== t1;) {
  116071. next = scanner.peekChar$0();
  116072. if (next !== 32 && next !== 9)
  116073. break;
  116074. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  116075. }
  116076. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  116077. continue;
  116078. min0 = scanner._line_scanner$_column;
  116079. min = min == null ? min0 : Math.min(min, min0);
  116080. while (true) {
  116081. if (scanner._string_scanner$_position !== t1) {
  116082. character = scanner.super$StringScanner$readChar();
  116083. scanner._adjustLineAndColumn$1(character);
  116084. t2 = character !== 10;
  116085. } else
  116086. t2 = false;
  116087. if (!t2)
  116088. break;
  116089. }
  116090. }
  116091. return min == null ? -1 : min;
  116092. },
  116093. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  116094. var t1, t2, t3, character, lineStart, newlines, end,
  116095. scanner = A.LineScanner$(text);
  116096. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  116097. character = scanner.super$StringScanner$readChar();
  116098. scanner._adjustLineAndColumn$1(character);
  116099. if (character === 10)
  116100. break;
  116101. t3.writeCharCode$1(character);
  116102. }
  116103. for (; true;) {
  116104. lineStart = scanner._string_scanner$_position;
  116105. for (newlines = 1; true;) {
  116106. if (scanner._string_scanner$_position === t2) {
  116107. t3.writeCharCode$1(32);
  116108. return;
  116109. }
  116110. $label0$2: {
  116111. character = scanner.super$StringScanner$readChar();
  116112. scanner._adjustLineAndColumn$1(character);
  116113. if (32 === character || 9 === character)
  116114. continue;
  116115. if (10 === character) {
  116116. lineStart = scanner._string_scanner$_position;
  116117. ++newlines;
  116118. break $label0$2;
  116119. }
  116120. break;
  116121. }
  116122. }
  116123. this._serialize0$_writeTimes$2(10, newlines);
  116124. this._serialize0$_writeIndentation$0();
  116125. end = scanner._string_scanner$_position;
  116126. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  116127. for (; true;) {
  116128. if (scanner._string_scanner$_position === t2)
  116129. return;
  116130. character = scanner.super$StringScanner$readChar();
  116131. scanner._adjustLineAndColumn$1(character);
  116132. if (character === 10)
  116133. break;
  116134. t3.writeCharCode$1(character);
  116135. }
  116136. }
  116137. },
  116138. visitCalculation$1(value) {
  116139. var t2, _this = this,
  116140. t1 = _this._serialize0$_buffer;
  116141. t1.write$1(0, value.name);
  116142. t1.writeCharCode$1(40);
  116143. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116144. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  116145. t1.writeCharCode$1(41);
  116146. },
  116147. _serialize0$_writeCalculationValue$1(value) {
  116148. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  116149. $label1$1: {
  116150. _2_4_isSet = value instanceof A.SassNumber0;
  116151. if (_2_4_isSet) {
  116152. _2_4 = value.get$hasComplexUnits();
  116153. t1 = _2_4;
  116154. t1 = t1 && !_this._serialize0$_inspect;
  116155. } else {
  116156. _2_4 = _null;
  116157. t1 = false;
  116158. }
  116159. if (t1)
  116160. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", _null));
  116161. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  116162. $label0$0: {
  116163. _0_0 = value._number1$_value;
  116164. if (1 / 0 === _0_0) {
  116165. _this._serialize0$_buffer.write$1(0, "infinity");
  116166. break $label0$0;
  116167. }
  116168. if (-1 / 0 === _0_0) {
  116169. _this._serialize0$_buffer.write$1(0, "-infinity");
  116170. break $label0$0;
  116171. }
  116172. if (isNaN(_0_0))
  116173. _this._serialize0$_buffer.write$1(0, "NaN");
  116174. }
  116175. _this._serialize0$_writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  116176. break $label1$1;
  116177. }
  116178. if (_2_4_isSet)
  116179. t1 = _2_4;
  116180. else
  116181. t1 = false;
  116182. if (t1) {
  116183. _this._serialize0$_writeNumber$1(value._number1$_value);
  116184. _1_0 = value.get$numeratorUnits(value);
  116185. if (_1_0.length >= 1) {
  116186. first = _1_0[0];
  116187. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  116188. _this._serialize0$_buffer.write$1(0, first);
  116189. _this._serialize0$_writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  116190. } else
  116191. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  116192. break $label1$1;
  116193. }
  116194. if (value instanceof A.Value0) {
  116195. value.accept$1(_this);
  116196. break $label1$1;
  116197. }
  116198. t1 = value instanceof A.CalculationOperation0;
  116199. left = _null;
  116200. right = _null;
  116201. if (t1) {
  116202. operator = value._calculation0$_operator;
  116203. left = value._calculation0$_left;
  116204. right = value._calculation0$_right;
  116205. } else
  116206. operator = _null;
  116207. if (t1) {
  116208. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  116209. if (parenthesizeLeft)
  116210. _this._serialize0$_buffer.writeCharCode$1(40);
  116211. _this._serialize0$_writeCalculationValue$1(left);
  116212. if (parenthesizeLeft)
  116213. _this._serialize0$_buffer.writeCharCode$1(41);
  116214. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  116215. if (operatorWhitespace)
  116216. _this._serialize0$_buffer.writeCharCode$1(32);
  116217. t1 = _this._serialize0$_buffer;
  116218. t1.write$1(0, operator.operator);
  116219. if (operatorWhitespace)
  116220. t1.writeCharCode$1(32);
  116221. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  116222. parenthesizeRight = false;
  116223. if (operator === B.CalculationOperator_bo50) {
  116224. if (right instanceof A.SassNumber0)
  116225. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  116226. else
  116227. t2 = parenthesizeRight;
  116228. parenthesizeRight = t2;
  116229. }
  116230. } else
  116231. parenthesizeRight = true;
  116232. if (parenthesizeRight)
  116233. t1.writeCharCode$1(40);
  116234. _this._serialize0$_writeCalculationValue$1(right);
  116235. if (parenthesizeRight)
  116236. t1.writeCharCode$1(41);
  116237. }
  116238. }
  116239. },
  116240. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  116241. var t1, t2, t3, t4;
  116242. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  116243. t4 = t1.get$current(t1);
  116244. if (t3)
  116245. t2.writeCharCode$1(32);
  116246. t2.writeCharCode$1(42);
  116247. if (t3)
  116248. t2.writeCharCode$1(32);
  116249. t2.writeCharCode$1(49);
  116250. t2.write$1(0, t4);
  116251. }
  116252. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  116253. t4 = t1.get$current(t1);
  116254. if (t3)
  116255. t2.writeCharCode$1(32);
  116256. t2.writeCharCode$1(47);
  116257. if (t3)
  116258. t2.writeCharCode$1(32);
  116259. t2.writeCharCode$1(49);
  116260. t2.write$1(0, t4);
  116261. }
  116262. },
  116263. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  116264. var t1;
  116265. $label0$0: {
  116266. if (B.CalculationOperator_bo50 === outer) {
  116267. t1 = true;
  116268. break $label0$0;
  116269. }
  116270. if (B.CalculationOperator_F7i0 === outer) {
  116271. t1 = false;
  116272. break $label0$0;
  116273. }
  116274. t1 = right === B.CalculationOperator_F7i0 || right === B.CalculationOperator_oum0;
  116275. break $label0$0;
  116276. }
  116277. return t1;
  116278. },
  116279. visitColor$1(value) {
  116280. 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;
  116281. $label0$0: {
  116282. _0_0 = value._color0$_space;
  116283. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  116284. _0_6 = _null;
  116285. t1 = true;
  116286. if (!_0_2) {
  116287. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  116288. _0_6_isSet = !_0_4;
  116289. if (_0_6_isSet) {
  116290. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  116291. t1 = _0_6;
  116292. }
  116293. } else {
  116294. _0_4 = _null;
  116295. _0_6_isSet = false;
  116296. }
  116297. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  116298. _this._serialize0$_writeLegacyColor$1(value);
  116299. break $label0$0;
  116300. }
  116301. if (_0_2) {
  116302. t1 = _this._serialize0$_buffer;
  116303. t1.write$1(0, "rgb(");
  116304. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  116305. t1.writeCharCode$1(32);
  116306. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116307. t1.writeCharCode$1(32);
  116308. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  116309. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116310. t1.writeCharCode$1(41);
  116311. break $label0$0;
  116312. }
  116313. if (!_0_4)
  116314. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  116315. else
  116316. t1 = true;
  116317. if (t1) {
  116318. t1 = _this._serialize0$_buffer;
  116319. t1.write$1(0, _0_0);
  116320. t1.writeCharCode$1(40);
  116321. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  116322. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  116323. t1.writeCharCode$1(32);
  116324. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  116325. t1.writeCharCode$1(32);
  116326. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  116327. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116328. t1.writeCharCode$1(41);
  116329. break $label0$0;
  116330. }
  116331. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  116332. if (_0_10_isSet) {
  116333. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116334. t1 = _0_10;
  116335. } else {
  116336. _0_10 = _null;
  116337. t1 = true;
  116338. }
  116339. t2 = false;
  116340. if (t1)
  116341. if (!_this._serialize0$_inspect) {
  116342. t1 = value.channel0OrNull;
  116343. if (t1 == null)
  116344. t1 = 0;
  116345. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  116346. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  116347. else
  116348. t1 = false;
  116349. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  116350. } else
  116351. t1 = t2;
  116352. else
  116353. t1 = t2;
  116354. _0_12_isSet = !t1;
  116355. _0_14 = _null;
  116356. if (_0_12_isSet) {
  116357. _0_12 = B.OklabColorSpace_5400 === _0_0;
  116358. t1 = false;
  116359. _0_14_isSet = !_0_12;
  116360. if (_0_14_isSet) {
  116361. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116362. t2 = _0_14;
  116363. } else
  116364. t2 = true;
  116365. t3 = false;
  116366. if (t2)
  116367. if (!_this._serialize0$_inspect) {
  116368. t2 = value.channel0OrNull;
  116369. if (t2 == null)
  116370. t2 = 0;
  116371. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  116372. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  116373. else
  116374. t2 = false;
  116375. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  116376. } else
  116377. t2 = t3;
  116378. else
  116379. t2 = t3;
  116380. if (!t2) {
  116381. if (_0_10_isSet) {
  116382. t2 = _0_10;
  116383. _0_10_isSet0 = _0_10_isSet;
  116384. } else {
  116385. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116386. t2 = _0_10;
  116387. _0_10_isSet0 = true;
  116388. }
  116389. if (!t2)
  116390. if (_0_14_isSet)
  116391. t2 = _0_14;
  116392. else {
  116393. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116394. t2 = _0_14;
  116395. _0_14_isSet = true;
  116396. }
  116397. else
  116398. t2 = true;
  116399. if (t2)
  116400. if (!_this._serialize0$_inspect) {
  116401. t1 = value.channel1OrNull;
  116402. t2 = t1 == null;
  116403. if (t2)
  116404. t1 = 0;
  116405. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  116406. }
  116407. } else {
  116408. _0_10_isSet0 = _0_10_isSet;
  116409. t1 = true;
  116410. }
  116411. } else {
  116412. _0_12 = _null;
  116413. _0_10_isSet0 = _0_10_isSet;
  116414. _0_14_isSet = false;
  116415. t1 = true;
  116416. }
  116417. if (t1) {
  116418. t1 = _this._serialize0$_buffer;
  116419. t1.write$1(0, "color-mix(in ");
  116420. t1.write$1(0, _0_0);
  116421. t2 = _this._serialize0$_style === B.OutputStyle_10;
  116422. t1.write$1(0, t2 ? "," : ", ");
  116423. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  116424. if (!t2)
  116425. t1.writeCharCode$1(32);
  116426. t1.write$1(0, "100%");
  116427. t1.write$1(0, t2 ? "," : ", ");
  116428. t1.write$1(0, t2 ? "red" : "black");
  116429. t1.writeCharCode$1(41);
  116430. break $label0$0;
  116431. }
  116432. t1 = true;
  116433. if (_0_10_isSet)
  116434. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  116435. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  116436. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  116437. if (t1) {
  116438. t1 = _this._serialize0$_buffer;
  116439. t1.write$1(0, _0_0);
  116440. t1.writeCharCode$1(40);
  116441. t2 = _0_0._space$_channels;
  116442. polar = t2[2].isPolarAngle;
  116443. t3 = false;
  116444. if (!_this._serialize0$_inspect) {
  116445. t4 = value.channel0OrNull;
  116446. if (t4 == null)
  116447. t4 = 0;
  116448. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  116449. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  116450. else
  116451. t4 = false;
  116452. if (t4) {
  116453. if (polar) {
  116454. t3 = value.channel1OrNull;
  116455. if (t3 == null)
  116456. t3 = 0;
  116457. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  116458. }
  116459. } else
  116460. t3 = true;
  116461. }
  116462. if (t3) {
  116463. t1.write$1(0, "from ");
  116464. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  116465. t1.writeCharCode$1(32);
  116466. }
  116467. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  116468. t4 = t3 && value.channel0OrNull != null;
  116469. t5 = value.channel0OrNull;
  116470. if (t4) {
  116471. t2 = type$.LinearChannel_2._as(t2[0]);
  116472. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  116473. t1.writeCharCode$1(37);
  116474. } else
  116475. _this._serialize0$_writeChannel$1(t5);
  116476. t1.writeCharCode$1(32);
  116477. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116478. t1.writeCharCode$1(32);
  116479. t2 = polar && t3 ? "deg" : _null;
  116480. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  116481. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116482. t1.writeCharCode$1(41);
  116483. break $label0$0;
  116484. }
  116485. _this._serialize0$_writeColorFunction$1(value);
  116486. }
  116487. },
  116488. _serialize0$_writeChannel$2(channel, unit) {
  116489. var _this = this;
  116490. if (channel == null)
  116491. _this._serialize0$_buffer.write$1(0, "none");
  116492. else if (isFinite(channel)) {
  116493. _this._serialize0$_writeNumber$1(channel);
  116494. if (unit != null)
  116495. _this._serialize0$_buffer.write$1(0, unit);
  116496. } else
  116497. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  116498. },
  116499. _serialize0$_writeChannel$1(channel) {
  116500. return this._serialize0$_writeChannel$2(channel, null);
  116501. },
  116502. _serialize0$_writeLegacyColor$1(color) {
  116503. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  116504. t1 = color.alphaOrNull,
  116505. t2 = t1 == null,
  116506. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  116507. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  116508. _this._serialize0$_writeHsl$1(color);
  116509. return;
  116510. }
  116511. if (_this._serialize0$_style === B.OutputStyle_10) {
  116512. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116513. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  116514. return;
  116515. t3 = rgb.channel0OrNull;
  116516. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116517. t3 = rgb.channel1OrNull;
  116518. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116519. t3 = rgb.channel2OrNull;
  116520. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116521. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  116522. t3 = hsl.channel0OrNull;
  116523. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116524. t3 = hsl.channel1OrNull;
  116525. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116526. t3 = hsl.channel2OrNull;
  116527. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116528. t3 = _this._serialize0$_buffer;
  116529. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  116530. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116531. t3.write$1(0, red);
  116532. t3.writeCharCode$1(44);
  116533. t3.write$1(0, green);
  116534. t3.writeCharCode$1(44);
  116535. t3.write$1(0, blue);
  116536. } else {
  116537. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116538. t3.write$1(0, hue);
  116539. t3.writeCharCode$1(44);
  116540. t3.write$1(0, saturation);
  116541. t3.write$1(0, "%,");
  116542. t3.write$1(0, lightness);
  116543. t3.writeCharCode$1(37);
  116544. }
  116545. if (!opaque) {
  116546. t3.writeCharCode$1(44);
  116547. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116548. }
  116549. t3.writeCharCode$1(41);
  116550. return;
  116551. }
  116552. t3 = color._color0$_space;
  116553. if (t3 === B.HslColorSpace_JQ20) {
  116554. _this._serialize0$_writeHsl$1(color);
  116555. return;
  116556. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  116557. t3 = _this._serialize0$_buffer;
  116558. t3.write$1(0, "hwb(");
  116559. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  116560. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  116561. t3.writeCharCode$1(32);
  116562. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  116563. t3.writeCharCode$1(37);
  116564. t3.writeCharCode$1(32);
  116565. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  116566. t3.writeCharCode$1(37);
  116567. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  116568. t3.write$1(0, " / ");
  116569. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116570. }
  116571. t3.writeCharCode$1(41);
  116572. return;
  116573. }
  116574. _0_0 = color.format;
  116575. if (B.C__ColorFormatEnum0 === _0_0) {
  116576. _this._serialize0$_writeRgb$1(color);
  116577. return;
  116578. }
  116579. t1 = _0_0 instanceof A.SpanColorFormat0;
  116580. format = t1 ? _0_0 : null;
  116581. if (t1) {
  116582. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  116583. return;
  116584. }
  116585. if (opaque) {
  116586. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116587. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  116588. if (_1_0 != null) {
  116589. _this._serialize0$_buffer.write$1(0, _1_0);
  116590. return;
  116591. }
  116592. if (_this._serialize0$_canUseHex$1(rgb)) {
  116593. _this._serialize0$_buffer.writeCharCode$1(35);
  116594. t1 = rgb.channel0OrNull;
  116595. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116596. t1 = rgb.channel1OrNull;
  116597. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116598. t1 = rgb.channel2OrNull;
  116599. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116600. return;
  116601. }
  116602. }
  116603. if (t3 === B.HwbColorSpace_guQ0)
  116604. _this._serialize0$_writeHsl$1(color);
  116605. else
  116606. _this._serialize0$_writeRgb$1(color);
  116607. },
  116608. _serialize0$_tryIntegerRgb$1(rgb) {
  116609. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  116610. if (!_this._serialize0$_canUseHex$1(rgb))
  116611. return false;
  116612. t1 = rgb.channel0OrNull;
  116613. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116614. t1 = rgb.channel1OrNull;
  116615. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116616. t1 = rgb.channel2OrNull;
  116617. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116618. t1 = redInt & 15;
  116619. 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);
  116620. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  116621. t2 = false;
  116622. if (_0_0 != null) {
  116623. t3 = _0_0.length;
  116624. t2 = t3 <= (shortHex ? 4 : 7);
  116625. $name = _0_0;
  116626. } else
  116627. $name = null;
  116628. if (t2)
  116629. _this._serialize0$_buffer.write$1(0, $name);
  116630. else {
  116631. t2 = _this._serialize0$_buffer;
  116632. if (shortHex) {
  116633. t2.writeCharCode$1(35);
  116634. t2.writeCharCode$1(A.hexCharFor0(t1));
  116635. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  116636. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  116637. } else {
  116638. t2.writeCharCode$1(35);
  116639. _this._serialize0$_writeHexComponent$1(redInt);
  116640. _this._serialize0$_writeHexComponent$1(greenInt);
  116641. _this._serialize0$_writeHexComponent$1(blueInt);
  116642. }
  116643. }
  116644. return true;
  116645. },
  116646. _serialize0$_canUseHex$1(rgb) {
  116647. var t2,
  116648. t1 = rgb.channel0OrNull;
  116649. if (t1 == null)
  116650. t1 = 0;
  116651. if (A.fuzzyIsInt0(t1))
  116652. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116653. else
  116654. t1 = false;
  116655. t2 = false;
  116656. if (t1) {
  116657. t1 = rgb.channel1OrNull;
  116658. if (t1 == null)
  116659. t1 = 0;
  116660. if (A.fuzzyIsInt0(t1))
  116661. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116662. else
  116663. t1 = false;
  116664. if (t1) {
  116665. t1 = rgb.channel2OrNull;
  116666. if (t1 == null)
  116667. t1 = 0;
  116668. if (A.fuzzyIsInt0(t1))
  116669. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116670. else
  116671. t1 = t2;
  116672. } else
  116673. t1 = t2;
  116674. } else
  116675. t1 = t2;
  116676. return t1;
  116677. },
  116678. _serialize0$_writeRgb$1(color) {
  116679. var t4, _this = this,
  116680. t1 = color.alphaOrNull,
  116681. t2 = t1 == null,
  116682. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116683. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  116684. t3 = _this._serialize0$_buffer;
  116685. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116686. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  116687. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116688. t3.write$1(0, t4 ? "," : ", ");
  116689. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  116690. t3.write$1(0, t4 ? "," : ", ");
  116691. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  116692. if (!opaque) {
  116693. t3.write$1(0, t4 ? "," : ", ");
  116694. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116695. }
  116696. t3.writeCharCode$1(41);
  116697. },
  116698. _serialize0$_writeHsl$1(color) {
  116699. var t4, _this = this,
  116700. t1 = color.alphaOrNull,
  116701. t2 = t1 == null,
  116702. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116703. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  116704. t3 = _this._serialize0$_buffer;
  116705. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116706. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  116707. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116708. t3.write$1(0, t4 ? "," : ", ");
  116709. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  116710. t3.write$1(0, t4 ? "," : ", ");
  116711. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  116712. if (!opaque) {
  116713. t3.write$1(0, t4 ? "," : ", ");
  116714. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116715. }
  116716. t3.writeCharCode$1(41);
  116717. },
  116718. _serialize0$_writeColorFunction$1(color) {
  116719. var _this = this,
  116720. t1 = _this._serialize0$_buffer;
  116721. t1.write$1(0, "color(");
  116722. t1.write$1(0, color._color0$_space);
  116723. t1.writeCharCode$1(32);
  116724. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  116725. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  116726. t1.writeCharCode$1(41);
  116727. },
  116728. _serialize0$_writeHexComponent$1(color) {
  116729. var t1 = this._serialize0$_buffer;
  116730. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  116731. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  116732. },
  116733. _serialize0$_maybeWriteSlashAlpha$1(color) {
  116734. var t2, t3, _this = this,
  116735. t1 = color.alphaOrNull;
  116736. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  116737. return;
  116738. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  116739. if (t2)
  116740. _this._serialize0$_buffer.writeCharCode$1(32);
  116741. t3 = _this._serialize0$_buffer;
  116742. t3.writeCharCode$1(47);
  116743. if (t2)
  116744. t3.writeCharCode$1(32);
  116745. _this._serialize0$_writeChannel$1(t1);
  116746. },
  116747. visitList$1(value) {
  116748. var t2, singleton, t3, t4, t5, _this = this,
  116749. t1 = value._list1$_hasBrackets;
  116750. if (t1)
  116751. _this._serialize0$_buffer.writeCharCode$1(91);
  116752. else if (value._list1$_contents.length === 0) {
  116753. if (!_this._serialize0$_inspect)
  116754. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  116755. _this._serialize0$_buffer.write$1(0, "()");
  116756. return;
  116757. }
  116758. t2 = _this._serialize0$_inspect;
  116759. singleton = false;
  116760. if (t2)
  116761. if (value._list1$_contents.length === 1) {
  116762. t3 = value._list1$_separator;
  116763. t3 = t3 === B.ListSeparator_qVN0 || t3 === B.ListSeparator_bRz0;
  116764. singleton = t3;
  116765. }
  116766. if (singleton && !t1)
  116767. _this._serialize0$_buffer.writeCharCode$1(40);
  116768. t3 = value._list1$_contents;
  116769. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  116770. t4 = value._list1$_separator;
  116771. t5 = _this._serialize0$_separatorString$1(t4);
  116772. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  116773. if (singleton) {
  116774. t2 = _this._serialize0$_buffer;
  116775. t2.write$1(0, t4.separator);
  116776. if (!t1)
  116777. t2.writeCharCode$1(41);
  116778. }
  116779. if (t1)
  116780. _this._serialize0$_buffer.writeCharCode$1(93);
  116781. },
  116782. _serialize0$_separatorString$1(separator) {
  116783. var t1;
  116784. $label0$0: {
  116785. if (B.ListSeparator_qVN0 === separator) {
  116786. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116787. break $label0$0;
  116788. }
  116789. if (B.ListSeparator_bRz0 === separator) {
  116790. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  116791. break $label0$0;
  116792. }
  116793. if (B.ListSeparator_qSL0 === separator) {
  116794. t1 = " ";
  116795. break $label0$0;
  116796. }
  116797. t1 = "";
  116798. break $label0$0;
  116799. }
  116800. return t1;
  116801. },
  116802. _serialize0$_elementNeedsParens$2(separator, value) {
  116803. var t1;
  116804. $label1$1: {
  116805. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  116806. $label0$0: {
  116807. if (B.ListSeparator_qVN0 === separator) {
  116808. t1 = value._list1$_separator === B.ListSeparator_qVN0;
  116809. break $label0$0;
  116810. }
  116811. if (B.ListSeparator_bRz0 === separator) {
  116812. t1 = value._list1$_separator;
  116813. t1 = t1 === B.ListSeparator_qVN0 || t1 === B.ListSeparator_bRz0;
  116814. break $label0$0;
  116815. }
  116816. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  116817. break $label0$0;
  116818. }
  116819. break $label1$1;
  116820. }
  116821. t1 = false;
  116822. break $label1$1;
  116823. }
  116824. return t1;
  116825. },
  116826. visitMap$1(map) {
  116827. var t1, t2, _this = this;
  116828. if (!_this._serialize0$_inspect)
  116829. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  116830. t1 = _this._serialize0$_buffer;
  116831. t1.writeCharCode$1(40);
  116832. t2 = map._map0$_contents;
  116833. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  116834. t1.writeCharCode$1(41);
  116835. },
  116836. _serialize0$_writeMapElement$1(value) {
  116837. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_qVN0 && !value._list1$_hasBrackets;
  116838. if (needsParens)
  116839. this._serialize0$_buffer.writeCharCode$1(40);
  116840. value.accept$1(this);
  116841. if (needsParens)
  116842. this._serialize0$_buffer.writeCharCode$1(41);
  116843. },
  116844. visitNumber$1(value) {
  116845. var before, after, t1, _1_0, _this = this,
  116846. _0_0 = value.asSlash;
  116847. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  116848. before = _0_0._0;
  116849. after = _0_0._1;
  116850. _this.visitNumber$1(before);
  116851. _this._serialize0$_buffer.writeCharCode$1(47);
  116852. _this.visitNumber$1(after);
  116853. return;
  116854. }
  116855. t1 = value._number1$_value;
  116856. if (!isFinite(t1)) {
  116857. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116858. return;
  116859. }
  116860. if (value.get$hasComplexUnits()) {
  116861. if (!_this._serialize0$_inspect)
  116862. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  116863. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  116864. } else {
  116865. _this._serialize0$_writeNumber$1(t1);
  116866. _1_0 = value.get$numeratorUnits(value);
  116867. if (_1_0.length === 1)
  116868. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  116869. }
  116870. },
  116871. _serialize0$_writeNumberToString$1(number) {
  116872. var t1 = new A.StringBuffer("");
  116873. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  116874. t1 = t1._contents;
  116875. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116876. },
  116877. _serialize0$_writeNumber$2(number, buffer) {
  116878. var _0_0, t1, integer, text, _this = this;
  116879. if (buffer == null)
  116880. buffer = _this._serialize0$_buffer;
  116881. _0_0 = A.fuzzyAsInt0(number);
  116882. t1 = false;
  116883. if (_0_0 != null) {
  116884. t1 = !_this._serialize0$_inspect || number === _0_0;
  116885. integer = _0_0;
  116886. } else
  116887. integer = null;
  116888. if (t1) {
  116889. buffer.write$1(0, _this._serialize0$_removeExponent$1(J.toString$0$(integer)));
  116890. return;
  116891. }
  116892. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  116893. if (_this._serialize0$_inspect) {
  116894. buffer.write$1(0, text);
  116895. return;
  116896. }
  116897. if (text.length < 12) {
  116898. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  116899. return;
  116900. }
  116901. _this._serialize0$_writeRounded$2(text, buffer);
  116902. },
  116903. _serialize0$_writeNumber$1(number) {
  116904. return this._serialize0$_writeNumber$2(number, null);
  116905. },
  116906. _serialize0$_removeExponent$1(text) {
  116907. var buffer, t2, t3, additionalZeroes,
  116908. negative = text.charCodeAt(0) === 45,
  116909. exponent = A._Cell$(),
  116910. t1 = text.length,
  116911. i = 0;
  116912. while (true) {
  116913. if (!(i < t1)) {
  116914. buffer = null;
  116915. break;
  116916. }
  116917. c$0: {
  116918. if (text.charCodeAt(i) !== 101)
  116919. break c$0;
  116920. buffer = new A.StringBuffer("");
  116921. t2 = buffer._contents = A.Primitives_stringFromCharCode(text.charCodeAt(0));
  116922. if (negative) {
  116923. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  116924. buffer._contents = t2;
  116925. if (i > 3)
  116926. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  116927. } else if (i > 2)
  116928. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  116929. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  116930. break;
  116931. }
  116932. ++i;
  116933. }
  116934. if (buffer == null)
  116935. return text;
  116936. if (exponent._readLocal$0() > 0) {
  116937. t1 = exponent._readLocal$0();
  116938. t2 = buffer._contents;
  116939. t3 = negative ? 1 : 0;
  116940. additionalZeroes = t1 - (t2.length - 1 - t3);
  116941. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  116942. t1 = A.Primitives_stringFromCharCode(48);
  116943. t1 = buffer._contents += t1;
  116944. }
  116945. return t1.charCodeAt(0) == 0 ? t1 : t1;
  116946. } else {
  116947. negative = text.charCodeAt(0) === 45;
  116948. t1 = (negative ? A.Primitives_stringFromCharCode(45) : "") + "0.";
  116949. i = -1;
  116950. while (true) {
  116951. t2 = exponent.__late_helper$_value;
  116952. if (t2 === exponent)
  116953. A.throwExpression(A.LateError$localNI(""));
  116954. if (!(i > t2))
  116955. break;
  116956. t1 += A.Primitives_stringFromCharCode(48);
  116957. --i;
  116958. }
  116959. if (negative) {
  116960. t2 = buffer._contents;
  116961. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  116962. } else
  116963. t2 = buffer;
  116964. t2 = t1 + A.S(t2);
  116965. return t2.charCodeAt(0) == 0 ? t2 : t2;
  116966. }
  116967. },
  116968. _serialize0$_writeRounded$2(text, buffer) {
  116969. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  116970. if (B.JSString_methods.endsWith$1(text, ".0")) {
  116971. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  116972. return;
  116973. }
  116974. t1 = text.length;
  116975. digits = new Uint8Array(t1 + 1);
  116976. negative = text.charCodeAt(0) === 45;
  116977. textIndex = negative ? 1 : 0;
  116978. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  116979. if (textIndex === t1) {
  116980. buffer.write$1(0, text);
  116981. return;
  116982. }
  116983. textIndex0 = textIndex + 1;
  116984. codeUnit = text.charCodeAt(textIndex);
  116985. if (codeUnit === 46) {
  116986. textIndex = textIndex0;
  116987. break;
  116988. }
  116989. digitsIndex0 = digitsIndex + 1;
  116990. digits[digitsIndex] = codeUnit - 48;
  116991. }
  116992. indexAfterPrecision = textIndex + 10;
  116993. if (indexAfterPrecision >= t1) {
  116994. buffer.write$1(0, text);
  116995. return;
  116996. }
  116997. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  116998. digitsIndex1 = digitsIndex0 + 1;
  116999. textIndex0 = textIndex + 1;
  117000. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  117001. }
  117002. if (text.charCodeAt(textIndex) - 48 >= 5)
  117003. for (; true; digitsIndex0 = digitsIndex1) {
  117004. digitsIndex1 = digitsIndex0 - 1;
  117005. newDigit = digits[digitsIndex1] + 1;
  117006. digits[digitsIndex1] = newDigit;
  117007. if (newDigit !== 10)
  117008. break;
  117009. }
  117010. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  117011. digits[digitsIndex0] = 0;
  117012. while (true) {
  117013. t1 = digitsIndex0 > digitsIndex;
  117014. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  117015. break;
  117016. --digitsIndex0;
  117017. }
  117018. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  117019. buffer.writeCharCode$1(48);
  117020. return;
  117021. }
  117022. if (negative)
  117023. buffer.writeCharCode$1(45);
  117024. if (digits[0] === 0)
  117025. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  117026. else
  117027. writtenIndex = 0;
  117028. for (; writtenIndex < digitsIndex; ++writtenIndex)
  117029. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117030. if (t1) {
  117031. buffer.writeCharCode$1(46);
  117032. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  117033. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117034. }
  117035. },
  117036. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  117037. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  117038. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  117039. if (forceDoubleQuote)
  117040. buffer.writeCharCode$1(34);
  117041. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  117042. char = string.charCodeAt(i);
  117043. _1_2 = 39 === char;
  117044. if (_1_2 && forceDoubleQuote) {
  117045. buffer.writeCharCode$1(39);
  117046. continue;
  117047. }
  117048. if (_1_2 && includesDoubleQuote) {
  117049. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117050. return;
  117051. }
  117052. if (_1_2) {
  117053. buffer.writeCharCode$1(39);
  117054. includesSingleQuote = true;
  117055. continue;
  117056. }
  117057. _1_4 = 34 === char;
  117058. if (_1_4 && forceDoubleQuote) {
  117059. buffer.writeCharCode$1(92);
  117060. buffer.writeCharCode$1(34);
  117061. continue;
  117062. }
  117063. if (_1_4 && includesSingleQuote) {
  117064. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117065. return;
  117066. }
  117067. if (_1_4) {
  117068. buffer.writeCharCode$1(34);
  117069. includesDoubleQuote = true;
  117070. continue;
  117071. }
  117072. 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) {
  117073. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  117074. continue;
  117075. }
  117076. if (92 === char) {
  117077. buffer.writeCharCode$1(92);
  117078. buffer.writeCharCode$1(92);
  117079. continue;
  117080. }
  117081. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  117082. if (_0_0 != null)
  117083. i = _0_0;
  117084. else
  117085. buffer.writeCharCode$1(char);
  117086. }
  117087. if (forceDoubleQuote)
  117088. buffer.writeCharCode$1(34);
  117089. else {
  117090. quote = includesDoubleQuote ? 39 : 34;
  117091. t1 = _this._serialize0$_buffer;
  117092. t1.writeCharCode$1(quote);
  117093. t1.write$1(0, buffer);
  117094. t1.writeCharCode$1(quote);
  117095. }
  117096. },
  117097. _serialize0$_visitQuotedString$1(string) {
  117098. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  117099. },
  117100. _serialize0$_visitUnquotedString$1(string) {
  117101. var t1, t2, afterNewline, i, _1_0, _0_0;
  117102. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  117103. _1_0 = string.charCodeAt(i);
  117104. if (10 === _1_0) {
  117105. t2.writeCharCode$1(32);
  117106. afterNewline = true;
  117107. continue;
  117108. }
  117109. if (32 === _1_0) {
  117110. if (!afterNewline)
  117111. t2.writeCharCode$1(32);
  117112. continue;
  117113. }
  117114. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  117115. if (_0_0 != null)
  117116. i = _0_0;
  117117. else
  117118. t2.writeCharCode$1(_1_0);
  117119. afterNewline = false;
  117120. }
  117121. },
  117122. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  117123. var t1;
  117124. if (this._serialize0$_style === B.OutputStyle_10)
  117125. return null;
  117126. if (codeUnit >= 57344 && codeUnit <= 63743) {
  117127. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  117128. return i;
  117129. }
  117130. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  117131. t1 = i + 1;
  117132. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  117133. return t1;
  117134. }
  117135. return null;
  117136. },
  117137. _serialize0$_writeEscape$4(buffer, character, string, i) {
  117138. var t1, next;
  117139. buffer.writeCharCode$1(92);
  117140. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  117141. t1 = i + 1;
  117142. if (string.length === t1)
  117143. return;
  117144. next = string.charCodeAt(t1);
  117145. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  117146. buffer.writeCharCode$1(32);
  117147. },
  117148. visitAttributeSelector$1(attribute) {
  117149. var _0_0, t2,
  117150. t1 = this._serialize0$_buffer;
  117151. t1.writeCharCode$1(91);
  117152. t1.write$1(0, attribute.name);
  117153. _0_0 = attribute.value;
  117154. if (_0_0 != null) {
  117155. t1.write$1(0, attribute.op);
  117156. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  117157. t1.write$1(0, _0_0);
  117158. t2 = attribute.modifier;
  117159. if (t2 != null)
  117160. t1.writeCharCode$1(32);
  117161. } else {
  117162. this._serialize0$_visitQuotedString$1(_0_0);
  117163. t2 = attribute.modifier;
  117164. if (t2 != null)
  117165. if (this._serialize0$_style !== B.OutputStyle_10)
  117166. t1.writeCharCode$1(32);
  117167. }
  117168. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  117169. }
  117170. t1.writeCharCode$1(93);
  117171. },
  117172. visitClassSelector$1(klass) {
  117173. var t1 = this._serialize0$_buffer;
  117174. t1.writeCharCode$1(46);
  117175. t1.write$1(0, klass.name);
  117176. },
  117177. visitComplexSelector$1(complex) {
  117178. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  117179. t1 = complex.leadingCombinators;
  117180. _this._serialize0$_writeCombinators$1(t1);
  117181. if (t1.length >= 1 && complex.components.length >= 1)
  117182. if (_this._serialize0$_style !== B.OutputStyle_10)
  117183. _this._serialize0$_buffer.writeCharCode$1(32);
  117184. 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) {
  117185. component = t1[i];
  117186. _this.visitCompoundSelector$1(component.selector);
  117187. t7 = component.combinators;
  117188. t8 = t7.length === 0;
  117189. if (!t8)
  117190. if (t6)
  117191. t4.writeCharCode$1(32);
  117192. t9 = t5 ? "" : " ";
  117193. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  117194. if (i !== t3)
  117195. t7 = !t5 || t8;
  117196. else
  117197. t7 = false;
  117198. if (t7)
  117199. t4.writeCharCode$1(32);
  117200. }
  117201. },
  117202. _serialize0$_writeCombinators$1(combinators) {
  117203. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  117204. t2 = this._serialize0$_buffer;
  117205. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  117206. },
  117207. visitCompoundSelector$1(compound) {
  117208. var t2, t3, _i,
  117209. t1 = this._serialize0$_buffer,
  117210. start = t1.get$length(t1);
  117211. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  117212. t2[_i].accept$1(this);
  117213. if (t1.get$length(t1) === start)
  117214. t1.writeCharCode$1(42);
  117215. },
  117216. visitIDSelector$1(id) {
  117217. var t1 = this._serialize0$_buffer;
  117218. t1.writeCharCode$1(35);
  117219. t1.write$1(0, id.name);
  117220. },
  117221. visitSelectorList$1(list) {
  117222. var t1, t2, t3, t4, first, t5, _this = this,
  117223. complexes = list.components;
  117224. 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();) {
  117225. t5 = t1.get$current(t1);
  117226. if (first)
  117227. first = false;
  117228. else {
  117229. t3.writeCharCode$1(44);
  117230. if (t5.lineBreak) {
  117231. if (t2)
  117232. t3.write$1(0, t4);
  117233. _this._serialize0$_writeIndentation$0();
  117234. } else if (t2)
  117235. t3.writeCharCode$1(32);
  117236. }
  117237. _this.visitComplexSelector$1(t5);
  117238. }
  117239. },
  117240. visitParentSelector$1($parent) {
  117241. var t1 = this._serialize0$_buffer;
  117242. t1.writeCharCode$1(38);
  117243. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  117244. },
  117245. visitPlaceholderSelector$1(placeholder) {
  117246. var t1 = this._serialize0$_buffer;
  117247. t1.writeCharCode$1(37);
  117248. t1.write$1(0, placeholder.name);
  117249. },
  117250. visitPseudoSelector$1(pseudo) {
  117251. var _0_4, t3,
  117252. t1 = pseudo.name,
  117253. t2 = false;
  117254. if ("not" === t1) {
  117255. _0_4 = pseudo.selector;
  117256. if (_0_4 instanceof A.SelectorList0)
  117257. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  117258. }
  117259. if (t2)
  117260. return;
  117261. t2 = this._serialize0$_buffer;
  117262. t2.writeCharCode$1(58);
  117263. if (!pseudo.isSyntacticClass)
  117264. t2.writeCharCode$1(58);
  117265. t2.write$1(0, t1);
  117266. t1 = pseudo.argument;
  117267. t3 = t1 == null;
  117268. if (t3 && pseudo.selector == null)
  117269. return;
  117270. t2.writeCharCode$1(40);
  117271. if (!t3) {
  117272. t2.write$1(0, t1);
  117273. if (pseudo.selector != null)
  117274. t2.writeCharCode$1(32);
  117275. }
  117276. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  117277. t2.writeCharCode$1(41);
  117278. },
  117279. visitTypeSelector$1(type) {
  117280. this._serialize0$_buffer.write$1(0, type.name);
  117281. },
  117282. visitUniversalSelector$1(universal) {
  117283. var t2,
  117284. t1 = universal.namespace;
  117285. if (t1 != null) {
  117286. t2 = this._serialize0$_buffer;
  117287. t2.write$1(0, t1);
  117288. t2.writeCharCode$1(124);
  117289. }
  117290. this._serialize0$_buffer.writeCharCode$1(42);
  117291. },
  117292. _serialize0$_write$1(value) {
  117293. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  117294. },
  117295. _serialize0$_visitChildren$1($parent) {
  117296. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  117297. t1 = _this._serialize0$_buffer;
  117298. t1.writeCharCode$1(123);
  117299. 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();) {
  117300. t9 = t2.__internal$_current;
  117301. previous0 = t9 == null ? t3._as(t9) : t9;
  117302. if (t7)
  117303. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  117304. else
  117305. t9 = false;
  117306. if (t9)
  117307. continue;
  117308. t9 = previous == null;
  117309. t10 = t9 ? null : t6.call$1(previous);
  117310. if (t10 == null ? false : t10)
  117311. t1.writeCharCode$1(59);
  117312. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  117313. if (t5)
  117314. t1.writeCharCode$1(32);
  117315. savedIndentation = _this._serialize0$_indentation;
  117316. _this._serialize0$_indentation = 0;
  117317. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  117318. _this._serialize0$_indentation = savedIndentation;
  117319. } else {
  117320. if (t5)
  117321. t1.write$1(0, t8);
  117322. ++_this._serialize0$_indentation;
  117323. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  117324. --_this._serialize0$_indentation;
  117325. }
  117326. prePrevious = previous;
  117327. previous = previous0;
  117328. }
  117329. if (previous != null) {
  117330. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  117331. t1.writeCharCode$1(59);
  117332. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  117333. if (t5)
  117334. t1.writeCharCode$1(32);
  117335. } else {
  117336. _this._serialize0$_writeLineFeed$0();
  117337. _this._serialize0$_writeIndentation$0();
  117338. }
  117339. }
  117340. t1.writeCharCode$1(125);
  117341. },
  117342. _serialize0$_requiresSemicolon$1(node) {
  117343. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  117344. },
  117345. _serialize0$_isTrailingComment$2(node, previous) {
  117346. var t1, t2, t3, searchFrom, endOffset, t4, span;
  117347. if (this._serialize0$_style === B.OutputStyle_10)
  117348. return false;
  117349. if (!(node instanceof A.ModifiableCssComment0))
  117350. return false;
  117351. t1 = node.span;
  117352. t2 = t1.get$sourceUrl(t1);
  117353. t3 = previous.get$span(previous);
  117354. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  117355. return false;
  117356. t2 = previous.get$span(previous);
  117357. 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)) {
  117358. t1 = t1.get$start(t1);
  117359. t1 = t1.file.getLine$1(t1.offset);
  117360. t2 = previous.get$span(previous);
  117361. t2 = t2.get$end(t2);
  117362. return t1 === t2.file.getLine$1(t2.offset);
  117363. }
  117364. t2 = t1.get$start(t1);
  117365. t3 = previous.get$span(previous);
  117366. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  117367. if (searchFrom < 0)
  117368. return false;
  117369. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  117370. t2 = previous.get$span(previous);
  117371. t2 = t2.get$file(t2);
  117372. t3 = previous.get$span(previous);
  117373. t3 = t3.get$start(t3);
  117374. t4 = previous.get$span(previous);
  117375. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  117376. t1 = t1.get$start(t1);
  117377. t1 = t1.file.getLine$1(t1.offset);
  117378. t4 = A.FileLocation$_(span.file, span._end);
  117379. return t1 === t4.file.getLine$1(t4.offset);
  117380. },
  117381. _serialize0$_writeLineFeed$0() {
  117382. if (this._serialize0$_style !== B.OutputStyle_10)
  117383. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  117384. },
  117385. _serialize0$_writeIndentation$0() {
  117386. var _this = this;
  117387. if (_this._serialize0$_style === B.OutputStyle_10)
  117388. return;
  117389. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  117390. },
  117391. _serialize0$_writeTimes$2(char, times) {
  117392. var t1, i;
  117393. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  117394. t1.writeCharCode$1(char);
  117395. },
  117396. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  117397. var t1, t2, first, value;
  117398. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  117399. value = t1.get$current(t1);
  117400. if (first)
  117401. first = false;
  117402. else
  117403. t2.write$1(0, text);
  117404. callback.call$1(value);
  117405. }
  117406. },
  117407. _serialize0$_writeBetween$3(iterable, text, callback) {
  117408. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  117409. }
  117410. };
  117411. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  117412. call$0() {
  117413. var t2, t3, _0_0, minimumIndentation,
  117414. t1 = this.$this;
  117415. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  117416. return;
  117417. t2 = this.node;
  117418. t3 = t2.text;
  117419. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  117420. return;
  117421. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  117422. if (_0_0 != null) {
  117423. t2 = t2.span;
  117424. t2 = t2.get$start(t2);
  117425. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  117426. t1._serialize0$_writeIndentation$0();
  117427. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  117428. } else {
  117429. t1._serialize0$_writeIndentation$0();
  117430. t1._serialize0$_buffer.write$1(0, t3);
  117431. }
  117432. },
  117433. $signature: 1
  117434. };
  117435. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  117436. call$0() {
  117437. var t3, _0_0,
  117438. t1 = this.$this,
  117439. t2 = t1._serialize0$_buffer;
  117440. t2.writeCharCode$1(64);
  117441. t3 = this.node;
  117442. t1._serialize0$_write$1(t3.name);
  117443. _0_0 = t3.value;
  117444. if (_0_0 != null) {
  117445. t2.writeCharCode$1(32);
  117446. t1._serialize0$_write$1(_0_0);
  117447. }
  117448. },
  117449. $signature: 1
  117450. };
  117451. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  117452. call$0() {
  117453. var t3, firstQuery, t4, t5,
  117454. t1 = this.$this,
  117455. t2 = t1._serialize0$_buffer;
  117456. t2.write$1(0, "@media");
  117457. t3 = this.node.queries;
  117458. firstQuery = B.JSArray_methods.get$first(t3);
  117459. t4 = t1._serialize0$_style === B.OutputStyle_10;
  117460. t5 = true;
  117461. if (t4)
  117462. if (firstQuery.modifier == null)
  117463. if (firstQuery.type == null) {
  117464. t5 = firstQuery.conditions;
  117465. t5 = t5.length === 1 && B.JSString_methods.startsWith$1(B.JSArray_methods.get$first(t5), "(not ");
  117466. }
  117467. if (t5)
  117468. t2.writeCharCode$1(32);
  117469. t2 = t4 ? "," : ", ";
  117470. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  117471. },
  117472. $signature: 1
  117473. };
  117474. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  117475. call$0() {
  117476. var t3, t4, _0_0,
  117477. t1 = this.$this,
  117478. t2 = t1._serialize0$_buffer;
  117479. t2.write$1(0, "@import");
  117480. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  117481. if (t3)
  117482. t2.writeCharCode$1(32);
  117483. t4 = this.node;
  117484. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  117485. _0_0 = t4.modifiers;
  117486. if (_0_0 != null) {
  117487. if (t3)
  117488. t2.writeCharCode$1(32);
  117489. t2.write$1(0, _0_0);
  117490. }
  117491. },
  117492. $signature: 1
  117493. };
  117494. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  117495. call$0() {
  117496. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  117497. },
  117498. $signature: 0
  117499. };
  117500. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  117501. call$0() {
  117502. var t1 = this.$this,
  117503. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  117504. t3 = t1._serialize0$_buffer;
  117505. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  117506. },
  117507. $signature: 0
  117508. };
  117509. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  117510. call$0() {
  117511. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  117512. },
  117513. $signature: 0
  117514. };
  117515. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  117516. call$0() {
  117517. var t1 = this.$this,
  117518. t2 = t1._serialize0$_buffer;
  117519. t2.write$1(0, "@supports");
  117520. if (!(t1._serialize0$_style === B.OutputStyle_10 && this.node.condition.value.charCodeAt(0) === 40))
  117521. t2.writeCharCode$1(32);
  117522. t1._serialize0$_write$1(this.node.condition);
  117523. },
  117524. $signature: 1
  117525. };
  117526. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  117527. call$0() {
  117528. var t1 = this.$this,
  117529. t2 = this.node;
  117530. if (t1._serialize0$_style === B.OutputStyle_10)
  117531. t1._serialize0$_writeFoldedValue$1(t2);
  117532. else
  117533. t1._serialize0$_writeReindentedValue$1(t2);
  117534. },
  117535. $signature: 1
  117536. };
  117537. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  117538. call$0() {
  117539. return this.node.value.value.accept$1(this.$this);
  117540. },
  117541. $signature: 0
  117542. };
  117543. A._SerializeVisitor_visitList_closure2.prototype = {
  117544. call$1(element) {
  117545. return !element.get$isBlank();
  117546. },
  117547. $signature: 55
  117548. };
  117549. A._SerializeVisitor_visitList_closure3.prototype = {
  117550. call$1(element) {
  117551. var t1 = this.$this,
  117552. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  117553. if (needsParens)
  117554. t1._serialize0$_buffer.writeCharCode$1(40);
  117555. element.accept$1(t1);
  117556. if (needsParens)
  117557. t1._serialize0$_buffer.writeCharCode$1(41);
  117558. },
  117559. $signature: 66
  117560. };
  117561. A._SerializeVisitor_visitList_closure4.prototype = {
  117562. call$1(element) {
  117563. element.accept$1(this.$this);
  117564. },
  117565. $signature: 66
  117566. };
  117567. A._SerializeVisitor_visitMap_closure0.prototype = {
  117568. call$1(entry) {
  117569. var t1 = this.$this;
  117570. t1._serialize0$_writeMapElement$1(entry.key);
  117571. t1._serialize0$_buffer.write$1(0, ": ");
  117572. t1._serialize0$_writeMapElement$1(entry.value);
  117573. },
  117574. $signature: 577
  117575. };
  117576. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  117577. call$1(complex) {
  117578. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  117579. },
  117580. $signature: 21
  117581. };
  117582. A._SerializeVisitor__write_closure0.prototype = {
  117583. call$0() {
  117584. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  117585. },
  117586. $signature: 0
  117587. };
  117588. A._SerializeVisitor__visitChildren_closure1.prototype = {
  117589. call$0() {
  117590. return this.child.accept$1(this.$this);
  117591. },
  117592. $signature: 0
  117593. };
  117594. A._SerializeVisitor__visitChildren_closure2.prototype = {
  117595. call$0() {
  117596. this.child.accept$1(this.$this);
  117597. },
  117598. $signature: 0
  117599. };
  117600. A.OutputStyle0.prototype = {
  117601. _enumToString$0() {
  117602. return "OutputStyle." + this._name;
  117603. }
  117604. };
  117605. A.LineFeed0.prototype = {
  117606. _enumToString$0() {
  117607. return "LineFeed." + this._name;
  117608. },
  117609. toString$0(_) {
  117610. return this.name;
  117611. }
  117612. };
  117613. A.JSSet.prototype = {};
  117614. A.ShadowedModuleView0.prototype = {
  117615. get$url(_) {
  117616. var t1 = this._shadowed_view0$_inner;
  117617. return t1.get$url(t1);
  117618. },
  117619. get$upstream() {
  117620. return this._shadowed_view0$_inner.get$upstream();
  117621. },
  117622. get$extensionStore() {
  117623. return this._shadowed_view0$_inner.get$extensionStore();
  117624. },
  117625. get$css(_) {
  117626. var t1 = this._shadowed_view0$_inner;
  117627. return t1.get$css(t1);
  117628. },
  117629. get$preModuleComments() {
  117630. return this._shadowed_view0$_inner.get$preModuleComments();
  117631. },
  117632. get$transitivelyContainsCss() {
  117633. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  117634. },
  117635. get$transitivelyContainsExtensions() {
  117636. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  117637. },
  117638. setVariable$3($name, value, nodeWithSpan) {
  117639. if (!this.variables.containsKey$1($name))
  117640. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  117641. else
  117642. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  117643. },
  117644. variableIdentity$1($name) {
  117645. return this._shadowed_view0$_inner.variableIdentity$1($name);
  117646. },
  117647. couldHaveBeenConfigured$1(variables) {
  117648. var t3, t4,
  117649. t1 = this.variables,
  117650. t2 = this._shadowed_view0$_inner;
  117651. if (t1 === t2.get$variables())
  117652. t1 = t2.couldHaveBeenConfigured$1(variables);
  117653. else {
  117654. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  117655. for (t1 = t1.get$keys(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117656. t4 = t1.get$current(t1);
  117657. if (variables.contains$1(0, t4))
  117658. t3.add$1(0, t4);
  117659. }
  117660. t1 = t2.couldHaveBeenConfigured$1(t3);
  117661. }
  117662. return t1;
  117663. },
  117664. $eq(_, other) {
  117665. var t1, t2, t3, _this = this;
  117666. if (other == null)
  117667. return false;
  117668. t1 = false;
  117669. if (other instanceof A.ShadowedModuleView0)
  117670. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  117671. t2 = _this.variables;
  117672. t2 = t2.get$keys(t2);
  117673. t3 = other.variables;
  117674. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117675. t2 = _this.functions;
  117676. t2 = t2.get$keys(t2);
  117677. t3 = other.functions;
  117678. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117679. t1 = _this.mixins;
  117680. t1 = t1.get$keys(t1);
  117681. t2 = other.mixins;
  117682. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  117683. t1 = t2;
  117684. }
  117685. }
  117686. }
  117687. return t1;
  117688. },
  117689. get$hashCode(_) {
  117690. var t1 = this._shadowed_view0$_inner;
  117691. return t1.get$hashCode(t1);
  117692. },
  117693. cloneCss$0() {
  117694. var _this = this;
  117695. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  117696. },
  117697. toString$0(_) {
  117698. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  117699. },
  117700. $isModule1: 1,
  117701. get$variables() {
  117702. return this.variables;
  117703. },
  117704. get$variableNodes() {
  117705. return this.variableNodes;
  117706. },
  117707. get$functions(receiver) {
  117708. return this.functions;
  117709. },
  117710. get$mixins() {
  117711. return this.mixins;
  117712. }
  117713. };
  117714. A.SilentComment0.prototype = {
  117715. accept$1$1(visitor) {
  117716. return visitor.visitSilentComment$1(0, this);
  117717. },
  117718. accept$1(visitor) {
  117719. return this.accept$1$1(visitor, type$.dynamic);
  117720. },
  117721. toString$0(_) {
  117722. return this.text;
  117723. },
  117724. get$span(receiver) {
  117725. return this.span;
  117726. }
  117727. };
  117728. A.SimpleSelector0.prototype = {
  117729. get$specificity() {
  117730. return 1000;
  117731. },
  117732. get$hasComplicatedSuperselectorSemantics() {
  117733. return false;
  117734. },
  117735. addSuffix$1(suffix) {
  117736. 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));
  117737. },
  117738. unify$1(compound) {
  117739. var other, result, addedThis, _i, simple, _this = this,
  117740. t1 = false;
  117741. if (compound.length === 1) {
  117742. other = compound[0];
  117743. if (!(other instanceof A.UniversalSelector0)) {
  117744. if (other instanceof A.PseudoSelector0)
  117745. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  117746. } else
  117747. t1 = true;
  117748. } else
  117749. other = null;
  117750. if (t1)
  117751. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  117752. if (B.JSArray_methods.contains$1(compound, _this))
  117753. return compound;
  117754. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  117755. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  117756. simple = compound[_i];
  117757. if (!addedThis && simple instanceof A.PseudoSelector0) {
  117758. result.push(_this);
  117759. addedThis = true;
  117760. }
  117761. result.push(simple);
  117762. }
  117763. if (!addedThis)
  117764. result.push(_this);
  117765. return result;
  117766. },
  117767. isSuperselector$1(other) {
  117768. var list;
  117769. if (this.$eq(0, other))
  117770. return true;
  117771. if (other instanceof A.PseudoSelector0 && other.isClass) {
  117772. list = other.selector;
  117773. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  117774. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  117775. }
  117776. return false;
  117777. }
  117778. };
  117779. A.SimpleSelector_isSuperselector_closure0.prototype = {
  117780. call$1(complex) {
  117781. var t1 = complex.components;
  117782. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  117783. },
  117784. $signature: 21
  117785. };
  117786. A.SimpleSelector_isSuperselector__closure0.prototype = {
  117787. call$1(simple) {
  117788. return this.$this.isSuperselector$1(simple);
  117789. },
  117790. $signature: 13
  117791. };
  117792. A.SingleUnitSassNumber0.prototype = {
  117793. get$numeratorUnits(_) {
  117794. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  117795. },
  117796. get$denominatorUnits(_) {
  117797. return B.List_empty;
  117798. },
  117799. get$hasUnits() {
  117800. return true;
  117801. },
  117802. get$hasComplexUnits() {
  117803. return false;
  117804. },
  117805. withValue$1(value) {
  117806. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  117807. },
  117808. withSlash$2(numerator, denominator) {
  117809. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  117810. },
  117811. hasUnit$1(unit) {
  117812. return unit === this._single_unit$_unit;
  117813. },
  117814. hasCompatibleUnits$1(other) {
  117815. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  117816. },
  117817. hasPossiblyCompatibleUnits$1(other) {
  117818. var t1, knownCompatibilities, otherUnit;
  117819. if (!(other instanceof A.SingleUnitSassNumber0))
  117820. return false;
  117821. t1 = $.$get$_knownCompatibilitiesByUnit0();
  117822. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  117823. if (knownCompatibilities == null)
  117824. return true;
  117825. otherUnit = other._single_unit$_unit.toLowerCase();
  117826. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  117827. },
  117828. compatibleWithUnit$1(unit) {
  117829. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  117830. },
  117831. coerceToMatch$3(other, $name, otherName) {
  117832. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117833. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  117834. },
  117835. coerceToMatch$1(other) {
  117836. return this.coerceToMatch$3(other, null, null);
  117837. },
  117838. coerceValueToMatch$3(other, $name, otherName) {
  117839. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117840. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  117841. },
  117842. coerceValueToMatch$1(other) {
  117843. return this.coerceValueToMatch$3(other, null, null);
  117844. },
  117845. convertToMatch$3(other, $name, otherName) {
  117846. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117847. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  117848. },
  117849. convertValueToMatch$3(other, $name, otherName) {
  117850. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  117851. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  117852. },
  117853. convertValueToMatch$1(other) {
  117854. return this.convertValueToMatch$3(other, null, null);
  117855. },
  117856. coerce$3(newNumerators, newDenominators, $name) {
  117857. var t1 = J.getInterceptor$asx(newNumerators);
  117858. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  117859. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  117860. },
  117861. coerce$2(newNumerators, newDenominators) {
  117862. return this.coerce$3(newNumerators, newDenominators, null);
  117863. },
  117864. coerceValue$3(newNumerators, newDenominators, $name) {
  117865. var t1 = J.getInterceptor$asx(newNumerators);
  117866. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  117867. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  117868. },
  117869. coerceValueToUnit$2(unit, $name) {
  117870. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  117871. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  117872. },
  117873. coerceValueToUnit$1(unit) {
  117874. return this.coerceValueToUnit$2(unit, null);
  117875. },
  117876. _single_unit$_coerceToUnit$1(unit) {
  117877. var t1 = this._single_unit$_unit;
  117878. if (t1 === unit)
  117879. return this;
  117880. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  117881. },
  117882. _single_unit$_coerceValueToUnit$1(unit) {
  117883. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  117884. },
  117885. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  117886. var mutableOtherDenominators, t1 = {};
  117887. t1.value = value;
  117888. t1.newNumerators = otherNumerators;
  117889. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  117890. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  117891. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  117892. },
  117893. unaryMinus$0() {
  117894. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  117895. },
  117896. $eq(_, other) {
  117897. var factor;
  117898. if (other == null)
  117899. return false;
  117900. if (other instanceof A.SingleUnitSassNumber0) {
  117901. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  117902. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  117903. } else
  117904. return false;
  117905. },
  117906. get$hashCode(_) {
  117907. var _this = this,
  117908. t1 = _this.hashCache;
  117909. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  117910. }
  117911. };
  117912. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  117913. call$1(factor) {
  117914. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  117915. },
  117916. $signature: 578
  117917. };
  117918. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  117919. call$1(factor) {
  117920. return this.$this._number1$_value * factor;
  117921. },
  117922. $signature: 16
  117923. };
  117924. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  117925. call$1(denominator) {
  117926. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  117927. if (factor == null)
  117928. return false;
  117929. this._box_0.value *= factor;
  117930. return true;
  117931. },
  117932. $signature: 5
  117933. };
  117934. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  117935. call$0() {
  117936. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  117937. t2 = this._box_0;
  117938. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  117939. t2.newNumerators = t1;
  117940. },
  117941. $signature: 0
  117942. };
  117943. A.SourceInterpolationVisitor.prototype = {
  117944. visitBinaryOperationExpression$1(_, node) {
  117945. return this.buffer = null;
  117946. },
  117947. visitBooleanExpression$1(_, node) {
  117948. return this.buffer = null;
  117949. },
  117950. visitColorExpression$1(_, node) {
  117951. var t2,
  117952. t1 = this.buffer;
  117953. if (t1 != null) {
  117954. t2 = node.span.get$text();
  117955. t1 = t1._interpolation_buffer0$_text;
  117956. t1._contents += t2;
  117957. }
  117958. return null;
  117959. },
  117960. visitFunctionExpression$1(_, node) {
  117961. return this.buffer = null;
  117962. },
  117963. visitInterpolatedFunctionExpression$1(_, node) {
  117964. var t1 = this.buffer;
  117965. if (t1 != null)
  117966. t1.addInterpolation$1(node.name);
  117967. this._visitArguments$1(node.$arguments);
  117968. },
  117969. _visitArguments$1($arguments) {
  117970. var t2, t3, _this = this,
  117971. t1 = $arguments.named;
  117972. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  117973. return;
  117974. t1 = $arguments.positional;
  117975. if (t1.length === 0) {
  117976. t1 = _this.buffer;
  117977. if (t1 != null) {
  117978. t2 = $arguments.span.get$text();
  117979. t1 = t1._interpolation_buffer0$_text;
  117980. t1._contents += t2;
  117981. }
  117982. return;
  117983. }
  117984. t2 = _this.buffer;
  117985. if (t2 != null) {
  117986. t3 = B.JSArray_methods.get$first(t1);
  117987. t3 = A.SpanExtensions_before($arguments.span, t3.get$span(t3));
  117988. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  117989. t2 = t2._interpolation_buffer0$_text;
  117990. t2._contents += t3;
  117991. }
  117992. _this._writeListAndBetween$2(t1, null);
  117993. t2 = _this.buffer;
  117994. if (t2 != null) {
  117995. t1 = B.JSArray_methods.get$last(t1);
  117996. t1 = A.SpanExtensions_after($arguments.span, t1.get$span(t1));
  117997. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  117998. t2 = t2._interpolation_buffer0$_text;
  117999. t2._contents += t1;
  118000. }
  118001. },
  118002. visitIfExpression$1(_, node) {
  118003. return this.buffer = null;
  118004. },
  118005. visitListExpression$1(_, node) {
  118006. var t3, t4, _this = this,
  118007. t1 = node.contents,
  118008. t2 = t1.length;
  118009. if (t2 <= 1 && !node.hasBrackets) {
  118010. _this.buffer = null;
  118011. return;
  118012. }
  118013. t3 = node.hasBrackets;
  118014. if (t3 && t2 === 0) {
  118015. t1 = _this.buffer;
  118016. if (t1 != null) {
  118017. t2 = node.span.get$text();
  118018. t1 = t1._interpolation_buffer0$_text;
  118019. t1._contents += t2;
  118020. }
  118021. return;
  118022. }
  118023. if (t3) {
  118024. t2 = _this.buffer;
  118025. if (t2 != null) {
  118026. t4 = B.JSArray_methods.get$first(t1);
  118027. t4 = A.SpanExtensions_before(node.span, t4.get$span(t4));
  118028. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  118029. t2 = t2._interpolation_buffer0$_text;
  118030. t2._contents += t4;
  118031. }
  118032. }
  118033. _this._writeListAndBetween$1(t1);
  118034. if (t3) {
  118035. t2 = _this.buffer;
  118036. if (t2 != null) {
  118037. t1 = B.JSArray_methods.get$last(t1);
  118038. t1 = A.SpanExtensions_after(node.span, t1.get$span(t1));
  118039. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  118040. t2 = t2._interpolation_buffer0$_text;
  118041. t2._contents += t1;
  118042. }
  118043. }
  118044. },
  118045. visitMapExpression$1(_, node) {
  118046. return this.buffer = null;
  118047. },
  118048. visitNullExpression$1(_, node) {
  118049. return this.buffer = null;
  118050. },
  118051. visitNumberExpression$1(_, node) {
  118052. var t2,
  118053. t1 = this.buffer;
  118054. if (t1 != null) {
  118055. t2 = node.span.get$text();
  118056. t1 = t1._interpolation_buffer0$_text;
  118057. t1._contents += t2;
  118058. }
  118059. return null;
  118060. },
  118061. visitParenthesizedExpression$1(_, node) {
  118062. return this.buffer = null;
  118063. },
  118064. visitSelectorExpression$1(_, node) {
  118065. return this.buffer = null;
  118066. },
  118067. visitStringExpression$1(_, node) {
  118068. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  118069. t1 = node.text;
  118070. if (t1.get$asPlain() != null) {
  118071. t2 = _this.buffer;
  118072. if (t2 != null) {
  118073. t1 = t1.span.get$text();
  118074. t2 = t2._interpolation_buffer0$_text;
  118075. t2._contents += t1;
  118076. }
  118077. return;
  118078. }
  118079. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  118080. span = t1.spanForElement$1(i);
  118081. _0_0 = t2[i];
  118082. t6 = _0_0 instanceof A.Expression0;
  118083. expression = t6 ? _0_0 : null;
  118084. if (t6) {
  118085. if (i === 0) {
  118086. t6 = _this.buffer;
  118087. if (t6 != null) {
  118088. t7 = A.SpanExtensions_before(t5, span);
  118089. t8 = t7._file$_start;
  118090. t9 = t7.file._decodedChars;
  118091. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118092. t6 = t6._interpolation_buffer0$_text;
  118093. t6._contents += t9;
  118094. }
  118095. }
  118096. t6 = _this.buffer;
  118097. if (t6 != null) {
  118098. t6._interpolation_buffer0$_flushText$0();
  118099. t6._interpolation_buffer0$_contents.push(expression);
  118100. t6._interpolation_buffer0$_spans.push(span);
  118101. }
  118102. if (i === t4) {
  118103. t6 = _this.buffer;
  118104. if (t6 != null) {
  118105. t7 = A.SpanExtensions_after(t5, span);
  118106. t8 = t7._file$_start;
  118107. t9 = t7.file._decodedChars;
  118108. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118109. t6 = t6._interpolation_buffer0$_text;
  118110. t6._contents += t9;
  118111. }
  118112. }
  118113. continue;
  118114. }
  118115. t6 = _this.buffer;
  118116. if (t6 != null) {
  118117. t6 = t6._interpolation_buffer0$_text;
  118118. t7 = span.toString$0(0);
  118119. t6._contents += t7;
  118120. }
  118121. }
  118122. },
  118123. visitSupportsExpression$1(_, node) {
  118124. return this.buffer = null;
  118125. },
  118126. visitUnaryOperationExpression$1(_, node) {
  118127. return this.buffer = null;
  118128. },
  118129. visitValueExpression$1(_, node) {
  118130. return this.buffer = null;
  118131. },
  118132. visitVariableExpression$1(_, node) {
  118133. return this.buffer = null;
  118134. },
  118135. _writeListAndBetween$2(expressions, visitor) {
  118136. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  118137. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  118138. expression = expressions[_i];
  118139. if (lastExpression != null) {
  118140. t2 = this.buffer;
  118141. if (t2 != null) {
  118142. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  118143. t4 = t3._file$_start;
  118144. t5 = t3.file._decodedChars;
  118145. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  118146. t2 = t2._interpolation_buffer0$_text;
  118147. t2._contents += t5;
  118148. }
  118149. }
  118150. expression.accept$1(this);
  118151. if (this.buffer == null)
  118152. return;
  118153. }
  118154. },
  118155. _writeListAndBetween$1(expressions) {
  118156. return this._writeListAndBetween$2(expressions, null);
  118157. },
  118158. $isExpressionVisitor: 1
  118159. };
  118160. A.SourceMapBuffer0.prototype = {
  118161. get$_source_map_buffer0$_targetLocation() {
  118162. var t1 = this._source_map_buffer0$_buffer._contents,
  118163. t2 = this._source_map_buffer0$_line;
  118164. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  118165. },
  118166. get$length(_) {
  118167. return this._source_map_buffer0$_buffer._contents.length;
  118168. },
  118169. forSpan$1$2(span, callback) {
  118170. var t1, _this = this,
  118171. wasInSpan = _this._source_map_buffer0$_inSpan;
  118172. _this._source_map_buffer0$_inSpan = true;
  118173. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  118174. try {
  118175. t1 = callback.call$0();
  118176. return t1;
  118177. } finally {
  118178. _this._source_map_buffer0$_inSpan = wasInSpan;
  118179. }
  118180. },
  118181. forSpan$2(span, callback) {
  118182. return this.forSpan$1$2(span, callback, type$.dynamic);
  118183. },
  118184. _source_map_buffer0$_addEntry$2(source, target) {
  118185. var entry, t2,
  118186. t1 = this._source_map_buffer0$_entries;
  118187. if (t1.length !== 0) {
  118188. entry = B.JSArray_methods.get$last(t1);
  118189. t2 = entry.source;
  118190. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  118191. return;
  118192. if (entry.target.offset === target.offset)
  118193. return;
  118194. }
  118195. t1.push(new A.Entry(source, target, null));
  118196. },
  118197. write$1(_, object) {
  118198. var t1, i,
  118199. string = J.toString$0$(object);
  118200. this._source_map_buffer0$_buffer._contents += string;
  118201. for (t1 = string.length, i = 0; i < t1; ++i)
  118202. if (string.charCodeAt(i) === 10)
  118203. this._source_map_buffer0$_writeLine$0();
  118204. else
  118205. ++this._source_map_buffer0$_column;
  118206. },
  118207. writeCharCode$1(charCode) {
  118208. var t1 = this._source_map_buffer0$_buffer,
  118209. t2 = A.Primitives_stringFromCharCode(charCode);
  118210. t1._contents += t2;
  118211. if (charCode === 10)
  118212. this._source_map_buffer0$_writeLine$0();
  118213. else
  118214. ++this._source_map_buffer0$_column;
  118215. },
  118216. _source_map_buffer0$_writeLine$0() {
  118217. var _this = this,
  118218. t1 = _this._source_map_buffer0$_entries;
  118219. 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)
  118220. t1.pop();
  118221. ++_this._source_map_buffer0$_line;
  118222. _this._source_map_buffer0$_column = 0;
  118223. if (_this._source_map_buffer0$_inSpan)
  118224. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  118225. },
  118226. toString$0(_) {
  118227. var t1 = this._source_map_buffer0$_buffer._contents;
  118228. return t1.charCodeAt(0) == 0 ? t1 : t1;
  118229. },
  118230. buildSourceMap$1$prefix(prefix) {
  118231. var i, t2, prefixColumn, _box_0 = {},
  118232. t1 = prefix.length;
  118233. if (t1 === 0)
  118234. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  118235. _box_0.prefixColumn = _box_0.prefixLines = 0;
  118236. for (i = 0, t2 = 0; i < t1; ++i)
  118237. if (prefix.charCodeAt(i) === 10) {
  118238. ++_box_0.prefixLines;
  118239. _box_0.prefixColumn = 0;
  118240. t2 = 0;
  118241. } else {
  118242. prefixColumn = t2 + 1;
  118243. _box_0.prefixColumn = prefixColumn;
  118244. t2 = prefixColumn;
  118245. }
  118246. t2 = this._source_map_buffer0$_entries;
  118247. 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>")));
  118248. }
  118249. };
  118250. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  118251. call$1(entry) {
  118252. var t1 = entry.target,
  118253. t2 = t1.line,
  118254. t3 = this._box_0,
  118255. t4 = t3.prefixLines;
  118256. t3 = t2 === 0 ? t3.prefixColumn : 0;
  118257. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  118258. },
  118259. $signature: 164
  118260. };
  118261. A.updateSourceSpanPrototype_closure.prototype = {
  118262. call$0() {
  118263. return this.span;
  118264. },
  118265. $signature: 28
  118266. };
  118267. A.updateSourceSpanPrototype_closure0.prototype = {
  118268. call$1(span) {
  118269. return span.get$start(span);
  118270. },
  118271. $signature: 263
  118272. };
  118273. A.updateSourceSpanPrototype_closure1.prototype = {
  118274. call$1(span) {
  118275. return span.get$end(span);
  118276. },
  118277. $signature: 263
  118278. };
  118279. A.updateSourceSpanPrototype_closure2.prototype = {
  118280. call$1(span) {
  118281. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  118282. },
  118283. $signature: 580
  118284. };
  118285. A.updateSourceSpanPrototype__closure.prototype = {
  118286. call$1(url) {
  118287. var t1, _null = null;
  118288. if (url.get$scheme() === "") {
  118289. t1 = $.$get$context();
  118290. 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));
  118291. } else
  118292. t1 = url;
  118293. return new self.URL(t1.toString$0(0));
  118294. },
  118295. $signature: 264
  118296. };
  118297. A.updateSourceSpanPrototype_closure3.prototype = {
  118298. call$1(span) {
  118299. return span.get$text();
  118300. },
  118301. $signature: 265
  118302. };
  118303. A.updateSourceSpanPrototype_closure4.prototype = {
  118304. call$1(span) {
  118305. return span.get$context(span);
  118306. },
  118307. $signature: 265
  118308. };
  118309. A.updateSourceSpanPrototype_closure5.prototype = {
  118310. call$1($location) {
  118311. return $location.get$line();
  118312. },
  118313. $signature: 266
  118314. };
  118315. A.updateSourceSpanPrototype_closure6.prototype = {
  118316. call$1($location) {
  118317. return $location.get$column();
  118318. },
  118319. $signature: 266
  118320. };
  118321. A.ColorSpace0.prototype = {
  118322. get$isLegacyInternal() {
  118323. return false;
  118324. },
  118325. get$isPolarInternal() {
  118326. return false;
  118327. },
  118328. convert$5(dest, channel0, channel1, channel2, alpha) {
  118329. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  118330. },
  118331. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  118332. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  118333. $label0$0: {
  118334. t1 = B.HslColorSpace_JQ20 !== dest;
  118335. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118336. t2 = B.SrgbColorSpace_thf0;
  118337. break $label0$0;
  118338. }
  118339. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118340. t2 = B.XyzD50ColorSpace_2OB0;
  118341. break $label0$0;
  118342. }
  118343. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118344. t2 = B.LmsColorSpace_Os30;
  118345. break $label0$0;
  118346. }
  118347. t2 = dest;
  118348. break $label0$0;
  118349. }
  118350. if (t2 === _this) {
  118351. transformedBlue = blue;
  118352. transformedGreen = green;
  118353. transformedRed = red;
  118354. } else {
  118355. linearRed = _this.toLinear$1(red == null ? 0 : red);
  118356. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  118357. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  118358. matrix = _this.transformationMatrix$1(t2);
  118359. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  118360. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  118361. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  118362. }
  118363. $label1$1: {
  118364. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118365. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  118366. break $label1$1;
  118367. }
  118368. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118369. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118370. break $label1$1;
  118371. }
  118372. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118373. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118374. break $label1$1;
  118375. }
  118376. t1 = red == null ? null : transformedRed;
  118377. t2 = green == null ? null : transformedGreen;
  118378. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  118379. break $label1$1;
  118380. }
  118381. return t1;
  118382. },
  118383. convertLinear$5(dest, red, green, blue, alpha) {
  118384. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  118385. },
  118386. toLinear$1(channel) {
  118387. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118388. },
  118389. fromLinear$1(channel) {
  118390. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118391. },
  118392. transformationMatrix$1(dest) {
  118393. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  118394. },
  118395. toString$0(_) {
  118396. return this.name;
  118397. }
  118398. };
  118399. A.SrgbColorSpace0.prototype = {
  118400. get$isBoundedInternal() {
  118401. return true;
  118402. },
  118403. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  118404. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  118405. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  118406. if (red == null)
  118407. red = 0;
  118408. if (green == null)
  118409. green = 0;
  118410. if (blue == null)
  118411. blue = 0;
  118412. max = Math.max(Math.max(red, green), blue);
  118413. min = Math.min(Math.min(red, green), blue);
  118414. delta = max - min;
  118415. if (max === min)
  118416. hue = 0;
  118417. else if (max === red)
  118418. hue = 60 * (green - blue) / delta + 360;
  118419. else
  118420. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  118421. if (dest === B.HslColorSpace_JQ20) {
  118422. lightness = (min + max) / 2;
  118423. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  118424. if (saturation < 0) {
  118425. hue += 180;
  118426. saturation = Math.abs(saturation);
  118427. }
  118428. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  118429. t2 = missingChroma ? _null : saturation;
  118430. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  118431. } else {
  118432. whiteness = min * 100;
  118433. blackness = 100 - max * 100;
  118434. if (!missingHue) {
  118435. t1 = whiteness + blackness;
  118436. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  118437. } else
  118438. t1 = true;
  118439. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  118440. }
  118441. }
  118442. if (B.RgbColorSpace_i0P0 === dest) {
  118443. t1 = red == null ? _null : red * 255;
  118444. t2 = green == null ? _null : green * 255;
  118445. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  118446. }
  118447. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  118448. t1 = this.get$toLinear();
  118449. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  118450. }
  118451. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  118452. },
  118453. convert$5(dest, red, green, blue, alpha) {
  118454. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  118455. },
  118456. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  118457. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  118458. },
  118459. toLinear$1(channel) {
  118460. return A.srgbAndDisplayP3ToLinear0(channel);
  118461. },
  118462. fromLinear$1(channel) {
  118463. return A.srgbAndDisplayP3FromLinear0(channel);
  118464. },
  118465. transformationMatrix$1(dest) {
  118466. var t1;
  118467. $label0$0: {
  118468. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118469. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118470. break $label0$0;
  118471. }
  118472. if (B.A98RgbColorSpace_lf20 === dest) {
  118473. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118474. break $label0$0;
  118475. }
  118476. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118477. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118478. break $label0$0;
  118479. }
  118480. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118481. t1 = $.$get$linearSrgbToLinearRec20200();
  118482. break $label0$0;
  118483. }
  118484. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118485. t1 = $.$get$linearSrgbToXyzD650();
  118486. break $label0$0;
  118487. }
  118488. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118489. t1 = $.$get$linearSrgbToXyzD500();
  118490. break $label0$0;
  118491. }
  118492. if (B.LmsColorSpace_Os30 === dest) {
  118493. t1 = $.$get$linearSrgbToLms0();
  118494. break $label0$0;
  118495. }
  118496. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118497. break $label0$0;
  118498. }
  118499. return t1;
  118500. }
  118501. };
  118502. A.SrgbLinearColorSpace0.prototype = {
  118503. get$isBoundedInternal() {
  118504. return true;
  118505. },
  118506. convert$5(dest, red, green, blue, alpha) {
  118507. var t1;
  118508. $label0$0: {
  118509. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  118510. 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);
  118511. break $label0$0;
  118512. }
  118513. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  118514. break $label0$0;
  118515. }
  118516. return t1;
  118517. },
  118518. toLinear$1(channel) {
  118519. return channel;
  118520. },
  118521. fromLinear$1(channel) {
  118522. return channel;
  118523. },
  118524. transformationMatrix$1(dest) {
  118525. var t1;
  118526. $label0$0: {
  118527. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118528. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118529. break $label0$0;
  118530. }
  118531. if (B.A98RgbColorSpace_lf20 === dest) {
  118532. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118533. break $label0$0;
  118534. }
  118535. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118536. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118537. break $label0$0;
  118538. }
  118539. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118540. t1 = $.$get$linearSrgbToLinearRec20200();
  118541. break $label0$0;
  118542. }
  118543. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118544. t1 = $.$get$linearSrgbToXyzD650();
  118545. break $label0$0;
  118546. }
  118547. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118548. t1 = $.$get$linearSrgbToXyzD500();
  118549. break $label0$0;
  118550. }
  118551. if (B.LmsColorSpace_Os30 === dest) {
  118552. t1 = $.$get$linearSrgbToLms0();
  118553. break $label0$0;
  118554. }
  118555. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118556. break $label0$0;
  118557. }
  118558. return t1;
  118559. }
  118560. };
  118561. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  118562. A.JSStatementVisitor.prototype = {
  118563. visitAtRootRule$1(_, node) {
  118564. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  118565. },
  118566. visitAtRule$1(_, node) {
  118567. return J.visitAtRule$1$x(this._statement$_inner, node);
  118568. },
  118569. visitContentBlock$1(_, node) {
  118570. return J.visitContentBlock$1$x(this._statement$_inner, node);
  118571. },
  118572. visitContentRule$1(_, node) {
  118573. return J.visitContentRule$1$x(this._statement$_inner, node);
  118574. },
  118575. visitDebugRule$1(_, node) {
  118576. return J.visitDebugRule$1$x(this._statement$_inner, node);
  118577. },
  118578. visitDeclaration$1(_, node) {
  118579. return J.visitDeclaration$1$x(this._statement$_inner, node);
  118580. },
  118581. visitEachRule$1(_, node) {
  118582. return J.visitEachRule$1$x(this._statement$_inner, node);
  118583. },
  118584. visitErrorRule$1(_, node) {
  118585. return J.visitErrorRule$1$x(this._statement$_inner, node);
  118586. },
  118587. visitExtendRule$1(_, node) {
  118588. return J.visitExtendRule$1$x(this._statement$_inner, node);
  118589. },
  118590. visitForRule$1(_, node) {
  118591. return J.visitForRule$1$x(this._statement$_inner, node);
  118592. },
  118593. visitForwardRule$1(_, node) {
  118594. return J.visitForwardRule$1$x(this._statement$_inner, node);
  118595. },
  118596. visitFunctionRule$1(_, node) {
  118597. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  118598. },
  118599. visitIfRule$1(_, node) {
  118600. return J.visitIfRule$1$x(this._statement$_inner, node);
  118601. },
  118602. visitImportRule$1(_, node) {
  118603. return J.visitImportRule$1$x(this._statement$_inner, node);
  118604. },
  118605. visitIncludeRule$1(_, node) {
  118606. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  118607. },
  118608. visitLoudComment$1(_, node) {
  118609. return J.visitLoudComment$1$x(this._statement$_inner, node);
  118610. },
  118611. visitMediaRule$1(_, node) {
  118612. return J.visitMediaRule$1$x(this._statement$_inner, node);
  118613. },
  118614. visitMixinRule$1(_, node) {
  118615. return J.visitMixinRule$1$x(this._statement$_inner, node);
  118616. },
  118617. visitReturnRule$1(_, node) {
  118618. return J.visitReturnRule$1$x(this._statement$_inner, node);
  118619. },
  118620. visitSilentComment$1(_, node) {
  118621. return J.visitSilentComment$1$x(this._statement$_inner, node);
  118622. },
  118623. visitStyleRule$1(_, node) {
  118624. return J.visitStyleRule$1$x(this._statement$_inner, node);
  118625. },
  118626. visitStylesheet$1(_, node) {
  118627. return J.visitStylesheet$1$x(this._statement$_inner, node);
  118628. },
  118629. visitSupportsRule$1(_, node) {
  118630. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  118631. },
  118632. visitUseRule$1(_, node) {
  118633. return J.visitUseRule$1$x(this._statement$_inner, node);
  118634. },
  118635. visitVariableDeclaration$1(_, node) {
  118636. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  118637. },
  118638. visitWarnRule$1(_, node) {
  118639. return J.visitWarnRule$1$x(this._statement$_inner, node);
  118640. },
  118641. visitWhileRule$1(_, node) {
  118642. return J.visitWhileRule$1$x(this._statement$_inner, node);
  118643. },
  118644. $isStatementVisitor: 1
  118645. };
  118646. A.JSStatementVisitorObject.prototype = {};
  118647. A.StatementSearchVisitor0.prototype = {
  118648. visitAtRootRule$1(_, node) {
  118649. return this.visitChildren$1(node.children);
  118650. },
  118651. visitAtRule$1(_, node) {
  118652. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118653. },
  118654. visitContentBlock$1(_, node) {
  118655. return this.visitChildren$1(node.children);
  118656. },
  118657. visitContentRule$1(_, node) {
  118658. return null;
  118659. },
  118660. visitDebugRule$1(_, node) {
  118661. return null;
  118662. },
  118663. visitDeclaration$1(_, node) {
  118664. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118665. },
  118666. visitEachRule$1(_, node) {
  118667. return this.visitChildren$1(node.children);
  118668. },
  118669. visitErrorRule$1(_, node) {
  118670. return null;
  118671. },
  118672. visitExtendRule$1(_, node) {
  118673. return null;
  118674. },
  118675. visitForRule$1(_, node) {
  118676. return this.visitChildren$1(node.children);
  118677. },
  118678. visitForwardRule$1(_, node) {
  118679. return null;
  118680. },
  118681. visitFunctionRule$1(_, node) {
  118682. return this.visitChildren$1(node.children);
  118683. },
  118684. visitIfRule$1(_, node) {
  118685. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  118686. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  118687. },
  118688. visitImportRule$1(_, node) {
  118689. return null;
  118690. },
  118691. visitIncludeRule$1(_, node) {
  118692. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  118693. },
  118694. visitLoudComment$1(_, node) {
  118695. return null;
  118696. },
  118697. visitMediaRule$1(_, node) {
  118698. return this.visitChildren$1(node.children);
  118699. },
  118700. visitMixinRule$1(_, node) {
  118701. return this.visitChildren$1(node.children);
  118702. },
  118703. visitReturnRule$1(_, node) {
  118704. return null;
  118705. },
  118706. visitSilentComment$1(_, node) {
  118707. return null;
  118708. },
  118709. visitStyleRule$1(_, node) {
  118710. return this.visitChildren$1(node.children);
  118711. },
  118712. visitStylesheet$1(_, node) {
  118713. return this.visitChildren$1(node.children);
  118714. },
  118715. visitSupportsRule$1(_, node) {
  118716. return this.visitChildren$1(node.children);
  118717. },
  118718. visitUseRule$1(_, node) {
  118719. return null;
  118720. },
  118721. visitVariableDeclaration$1(_, node) {
  118722. return null;
  118723. },
  118724. visitWarnRule$1(_, node) {
  118725. return null;
  118726. },
  118727. visitWhileRule$1(_, node) {
  118728. return this.visitChildren$1(node.children);
  118729. },
  118730. visitChildren$1(children) {
  118731. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  118732. }
  118733. };
  118734. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  118735. call$1(clause) {
  118736. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  118737. },
  118738. $signature() {
  118739. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  118740. }
  118741. };
  118742. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  118743. call$1(child) {
  118744. return child.accept$1(this.$this);
  118745. },
  118746. $signature() {
  118747. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118748. }
  118749. };
  118750. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  118751. call$1(lastClause) {
  118752. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  118753. },
  118754. $signature() {
  118755. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  118756. }
  118757. };
  118758. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  118759. call$1(child) {
  118760. return child.accept$1(this.$this);
  118761. },
  118762. $signature() {
  118763. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118764. }
  118765. };
  118766. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  118767. call$1(child) {
  118768. return child.accept$1(this.$this);
  118769. },
  118770. $signature() {
  118771. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118772. }
  118773. };
  118774. A.StaticImport0.prototype = {
  118775. toString$0(_) {
  118776. var t1 = this.url.toString$0(0),
  118777. t2 = this.modifiers;
  118778. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  118779. },
  118780. $isImport0: 1,
  118781. $isAstNode0: 1,
  118782. $isSassNode: 1,
  118783. get$span(receiver) {
  118784. return this.span;
  118785. }
  118786. };
  118787. A.StderrLogger0.prototype = {
  118788. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  118789. var t3,
  118790. result = new A.StringBuffer(""),
  118791. t1 = deprecation != null,
  118792. showDeprecation = t1 && deprecation !== B.Deprecation_ZVM,
  118793. t2 = this.color;
  118794. if (t2) {
  118795. t3 = result._contents = "\x1b[33m\x1b[1m";
  118796. t3 = result._contents = (t1 ? result._contents = "\x1b[33m\x1b[1mDeprecation " : t3) + "Warning\x1b[0m";
  118797. if (showDeprecation) {
  118798. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  118799. result._contents = t1;
  118800. } else
  118801. t1 = t3;
  118802. } else {
  118803. t3 = result._contents = (t1 ? result._contents = "DEPRECATION " : "") + "WARNING";
  118804. if (showDeprecation) {
  118805. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  118806. result._contents = t1;
  118807. } else
  118808. t1 = t3;
  118809. }
  118810. if (span == null)
  118811. t1 = result._contents = t1 + (": " + message + "\n");
  118812. else if (trace != null) {
  118813. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  118814. result._contents = t1;
  118815. } else {
  118816. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  118817. result._contents = t1;
  118818. }
  118819. if (trace != null)
  118820. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  118821. A.printError0(result);
  118822. },
  118823. debug$2(_, message, span) {
  118824. var url, t3, t4,
  118825. t1 = span.file,
  118826. t2 = span._file$_start;
  118827. if (A.FileLocation$_(t1, t2).file.url == null)
  118828. url = "-";
  118829. else {
  118830. t3 = A.FileLocation$_(t1, t2).file.url;
  118831. t4 = $.$get$context();
  118832. t3.toString;
  118833. url = t4.prettyUri$1(t3);
  118834. }
  118835. t1 = A.FileLocation$_(t1, t2);
  118836. t1 = t1.file.getLine$1(t1.offset);
  118837. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  118838. t2 = url + ":" + (t1 + 1) + " " + t2 + (": " + message);
  118839. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  118840. }
  118841. };
  118842. A.StringExpression0.prototype = {
  118843. get$span(_) {
  118844. return this.text.span;
  118845. },
  118846. accept$1$1(visitor) {
  118847. return visitor.visitStringExpression$1(0, this);
  118848. },
  118849. accept$1(visitor) {
  118850. return this.accept$1$1(visitor, type$.dynamic);
  118851. },
  118852. asInterpolation$1$static($static) {
  118853. var t1, t2, quote, t3, t4, t5, buffer, t6, t7, i, value, t8;
  118854. if (!this.hasQuotes)
  118855. return this.text;
  118856. t1 = this.text;
  118857. t2 = t1.contents;
  118858. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  118859. t3 = new A.StringBuffer("");
  118860. t4 = A._setArrayType([], type$.JSArray_Object);
  118861. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  118862. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  118863. t6 = A.Primitives_stringFromCharCode(quote);
  118864. t3._contents += t6;
  118865. for (t7 = t2.length, i = 0; i < t7; ++i) {
  118866. value = t2[i];
  118867. if (value instanceof A.Expression0) {
  118868. t8 = t1.spanForElement$1(i);
  118869. buffer._interpolation_buffer0$_flushText$0();
  118870. t4.push(value);
  118871. t5.push(t8);
  118872. continue;
  118873. }
  118874. if (typeof value == "string")
  118875. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  118876. }
  118877. t3._contents += t6;
  118878. return buffer.interpolation$1(t1.span);
  118879. },
  118880. asInterpolation$0() {
  118881. return this.asInterpolation$1$static(false);
  118882. },
  118883. toString$0(_) {
  118884. return this.asInterpolation$0().toString$0(0);
  118885. }
  118886. };
  118887. A.module_closure25.prototype = {
  118888. call$1($arguments) {
  118889. var limit, t2, chunks, i, lastEnd, match, t3,
  118890. t1 = J.getInterceptor$asx($arguments),
  118891. string = t1.$index($arguments, 0).assertString$1("string"),
  118892. separator = t1.$index($arguments, 1).assertString$1("separator");
  118893. t1 = t1.$index($arguments, 2).get$realNull();
  118894. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  118895. if (limit != null && limit < 1)
  118896. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  118897. t1 = string._string0$_text;
  118898. if (t1.length === 0)
  118899. return B.SassList_qAD0;
  118900. else {
  118901. t2 = separator._string0$_text;
  118902. if (t2.length === 0)
  118903. 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);
  118904. }
  118905. chunks = A._setArrayType([], type$.JSArray_String);
  118906. 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();) {
  118907. match = t2.__js_helper$_current;
  118908. t3 = match.start;
  118909. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  118910. lastEnd = t3 + match.pattern.length;
  118911. ++i;
  118912. if (i === limit)
  118913. break;
  118914. }
  118915. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  118916. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_qVN0, true);
  118917. },
  118918. $signature: 29
  118919. };
  118920. A.module__closure3.prototype = {
  118921. call$1(rune) {
  118922. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  118923. },
  118924. $signature: 584
  118925. };
  118926. A.module__closure4.prototype = {
  118927. call$1(chunk) {
  118928. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  118929. },
  118930. $signature: 585
  118931. };
  118932. A._unquote_closure0.prototype = {
  118933. call$1($arguments) {
  118934. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118935. if (!string._string0$_hasQuotes)
  118936. return string;
  118937. return new A.SassString0(string._string0$_text, false);
  118938. },
  118939. $signature: 18
  118940. };
  118941. A._quote_closure0.prototype = {
  118942. call$1($arguments) {
  118943. var string = J.$index$asx($arguments, 0).assertString$1("string");
  118944. if (string._string0$_hasQuotes)
  118945. return string;
  118946. return new A.SassString0(string._string0$_text, true);
  118947. },
  118948. $signature: 18
  118949. };
  118950. A._length_closure1.prototype = {
  118951. call$1($arguments) {
  118952. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  118953. },
  118954. $signature: 23
  118955. };
  118956. A._insert_closure0.prototype = {
  118957. call$1($arguments) {
  118958. var indexInt, codeUnitIndex, _s5_ = "index",
  118959. t1 = J.getInterceptor$asx($arguments),
  118960. string = t1.$index($arguments, 0).assertString$1("string"),
  118961. insert = t1.$index($arguments, 1).assertString$1("insert"),
  118962. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  118963. index.assertNoUnits$1(_s5_);
  118964. indexInt = index.assertInt$1(_s5_);
  118965. if (indexInt < 0)
  118966. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  118967. t1 = string._string0$_text;
  118968. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  118969. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  118970. },
  118971. $signature: 18
  118972. };
  118973. A._index_closure1.prototype = {
  118974. call$1($arguments) {
  118975. var t1 = J.getInterceptor$asx($arguments),
  118976. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  118977. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  118978. if (codeUnitIndex === -1)
  118979. return B.C__SassNull0;
  118980. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  118981. },
  118982. $signature: 3
  118983. };
  118984. A._slice_closure0.prototype = {
  118985. call$1($arguments) {
  118986. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  118987. _s8_ = "start-at",
  118988. t1 = J.getInterceptor$asx($arguments),
  118989. string = t1.$index($arguments, 0).assertString$1("string"),
  118990. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  118991. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  118992. start.assertNoUnits$1(_s8_);
  118993. end.assertNoUnits$1("end-at");
  118994. lengthInCodepoints = string.get$_string0$_sassLength();
  118995. endInt = end.assertInt$0();
  118996. if (endInt === 0)
  118997. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  118998. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  118999. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  119000. if (endCodepoint === lengthInCodepoints)
  119001. --endCodepoint;
  119002. if (endCodepoint < startCodepoint)
  119003. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119004. t1 = string._string0$_text;
  119005. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  119006. },
  119007. $signature: 18
  119008. };
  119009. A._toUpperCase_closure0.prototype = {
  119010. call$1($arguments) {
  119011. var t1, t2, i, t3, t4,
  119012. string = J.$index$asx($arguments, 0).assertString$1("string");
  119013. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119014. t4 = t1.charCodeAt(i);
  119015. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  119016. }
  119017. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119018. },
  119019. $signature: 18
  119020. };
  119021. A._toLowerCase_closure0.prototype = {
  119022. call$1($arguments) {
  119023. var t1, t2, i, t3, t4,
  119024. string = J.$index$asx($arguments, 0).assertString$1("string");
  119025. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119026. t4 = t1.charCodeAt(i);
  119027. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  119028. }
  119029. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119030. },
  119031. $signature: 18
  119032. };
  119033. A._uniqueId_closure0.prototype = {
  119034. call$1($arguments) {
  119035. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  119036. $._previousUniqueId0 = t1;
  119037. if (t1 > Math.pow(36, 6))
  119038. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  119039. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  119040. },
  119041. $signature: 18
  119042. };
  119043. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  119044. call$1(character) {
  119045. var _0_0,
  119046. t1 = this.buffer,
  119047. t2 = A.Primitives_stringFromCharCode(92);
  119048. t1._contents += t2;
  119049. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  119050. t1._contents += t2;
  119051. _0_0 = this.scanner.peekChar$0();
  119052. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  119053. t2 = A.Primitives_stringFromCharCode(32);
  119054. t1._contents += t2;
  119055. }
  119056. },
  119057. $signature: 174
  119058. };
  119059. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  119060. call$1(character) {
  119061. var t2, t3,
  119062. t1 = this.scanner,
  119063. _1_0 = t1.peekChar$1(1);
  119064. if (_1_0 == null || _1_0 >>> 10 !== 55)
  119065. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  119066. else if (character >>> 7 === 439)
  119067. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  119068. else {
  119069. t2 = this.buffer;
  119070. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119071. t2._contents += t3;
  119072. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119073. t2._contents += t1;
  119074. }
  119075. },
  119076. $signature: 174
  119077. };
  119078. A.stringClass_closure.prototype = {
  119079. call$0() {
  119080. var t2,
  119081. t1 = type$.JSClass,
  119082. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  119083. 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));
  119084. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  119085. t2 = $.$get$_emptyQuoted0();
  119086. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  119087. return jsClass;
  119088. },
  119089. $signature: 15
  119090. };
  119091. A.stringClass__closure.prototype = {
  119092. call$3($self, textOrOptions, options) {
  119093. var t1;
  119094. if (typeof textOrOptions == "string") {
  119095. t1 = options == null ? null : J.get$quotes$x(options);
  119096. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  119097. } else {
  119098. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  119099. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  119100. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119101. }
  119102. return t1;
  119103. },
  119104. call$1($self) {
  119105. return this.call$3($self, null, null);
  119106. },
  119107. call$2($self, textOrOptions) {
  119108. return this.call$3($self, textOrOptions, null);
  119109. },
  119110. "call*": "call$3",
  119111. $requiredArgCount: 1,
  119112. $defaultValues() {
  119113. return [null, null];
  119114. },
  119115. $signature: 587
  119116. };
  119117. A.stringClass__closure0.prototype = {
  119118. call$1($self) {
  119119. return $self._string0$_text;
  119120. },
  119121. $signature: 588
  119122. };
  119123. A.stringClass__closure1.prototype = {
  119124. call$1($self) {
  119125. return $self._string0$_hasQuotes;
  119126. },
  119127. $signature: 589
  119128. };
  119129. A.stringClass__closure2.prototype = {
  119130. call$1($self) {
  119131. return $self.get$_string0$_sassLength();
  119132. },
  119133. $signature: 590
  119134. };
  119135. A.stringClass__closure3.prototype = {
  119136. call$3($self, sassIndex, $name) {
  119137. var t1,
  119138. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  119139. if (index === 0)
  119140. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  119141. else {
  119142. t1 = $self.get$_string0$_sassLength();
  119143. if (Math.abs(index) > t1)
  119144. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + t1 + " characters.", $name));
  119145. }
  119146. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  119147. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  119148. },
  119149. call$2($self, sassIndex) {
  119150. return this.call$3($self, sassIndex, null);
  119151. },
  119152. "call*": "call$3",
  119153. $requiredArgCount: 2,
  119154. $defaultValues() {
  119155. return [null];
  119156. },
  119157. $signature: 591
  119158. };
  119159. A._ConstructorOptions1.prototype = {};
  119160. A._NodeSassString.prototype = {};
  119161. A.legacyStringClass_closure.prototype = {
  119162. call$3(thisArg, value, dartValue) {
  119163. var t1;
  119164. if (dartValue == null) {
  119165. value.toString;
  119166. t1 = new A.SassString0(value, false);
  119167. } else
  119168. t1 = dartValue;
  119169. J.set$dartValue$x(thisArg, t1);
  119170. },
  119171. call$2(thisArg, value) {
  119172. return this.call$3(thisArg, value, null);
  119173. },
  119174. "call*": "call$3",
  119175. $requiredArgCount: 2,
  119176. $defaultValues() {
  119177. return [null];
  119178. },
  119179. $signature: 592
  119180. };
  119181. A.legacyStringClass_closure0.prototype = {
  119182. call$1(thisArg) {
  119183. return J.get$dartValue$x(thisArg)._string0$_text;
  119184. },
  119185. $signature: 593
  119186. };
  119187. A.legacyStringClass_closure1.prototype = {
  119188. call$2(thisArg, value) {
  119189. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  119190. },
  119191. $signature: 594
  119192. };
  119193. A.SassString0.prototype = {
  119194. get$_string0$_sassLength() {
  119195. var result, _this = this,
  119196. value = _this._string0$__SassString__sassLength_FI;
  119197. if (value === $) {
  119198. result = new A.Runes(_this._string0$_text).get$length(0);
  119199. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  119200. _this._string0$__SassString__sassLength_FI = result;
  119201. value = result;
  119202. }
  119203. return value;
  119204. },
  119205. get$isSpecialNumber() {
  119206. var t1, _2_0, t2, _0_0, _1_0;
  119207. if (this._string0$_hasQuotes)
  119208. return false;
  119209. t1 = this._string0$_text;
  119210. if (t1.length < 6)
  119211. return false;
  119212. _2_0 = t1.charCodeAt(0);
  119213. $label0$0: {
  119214. t2 = false;
  119215. if (97 === _2_0 || 65 === _2_0) {
  119216. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  119217. break $label0$0;
  119218. }
  119219. if (99 === _2_0 || 67 === _2_0) {
  119220. _0_0 = t1.charCodeAt(1);
  119221. $label1$1: {
  119222. if (108 === _0_0 || 76 === _0_0) {
  119223. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  119224. break $label1$1;
  119225. }
  119226. if (97 === _0_0 || 65 === _0_0) {
  119227. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  119228. break $label1$1;
  119229. }
  119230. t1 = t2;
  119231. break $label1$1;
  119232. }
  119233. break $label0$0;
  119234. }
  119235. if (118 === _2_0 || 86 === _2_0) {
  119236. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119237. break $label0$0;
  119238. }
  119239. if (101 === _2_0 || 69 === _2_0) {
  119240. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  119241. break $label0$0;
  119242. }
  119243. if (109 === _2_0 || 77 === _2_0) {
  119244. _1_0 = t1.charCodeAt(1);
  119245. $label2$2: {
  119246. if (97 === _1_0 || 65 === _1_0) {
  119247. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  119248. break $label2$2;
  119249. }
  119250. if (105 === _1_0 || 73 === _1_0) {
  119251. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  119252. break $label2$2;
  119253. }
  119254. t1 = t2;
  119255. break $label2$2;
  119256. }
  119257. break $label0$0;
  119258. }
  119259. t1 = t2;
  119260. break $label0$0;
  119261. }
  119262. return t1;
  119263. },
  119264. get$isVar() {
  119265. if (this._string0$_hasQuotes)
  119266. return false;
  119267. var t1 = this._string0$_text;
  119268. if (t1.length < 8)
  119269. return false;
  119270. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119271. },
  119272. get$isBlank() {
  119273. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  119274. },
  119275. assertQuoted$1($name) {
  119276. if (this._string0$_hasQuotes)
  119277. return;
  119278. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  119279. },
  119280. assertUnquoted$1($name) {
  119281. if (!this._string0$_hasQuotes)
  119282. return;
  119283. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  119284. },
  119285. assertUnquoted$0() {
  119286. return this.assertUnquoted$1(null);
  119287. },
  119288. accept$1$1(visitor) {
  119289. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  119290. t2 = this._string0$_text;
  119291. if (t1)
  119292. visitor._serialize0$_visitQuotedString$1(t2);
  119293. else
  119294. visitor._serialize0$_visitUnquotedString$1(t2);
  119295. return null;
  119296. },
  119297. accept$1(visitor) {
  119298. return this.accept$1$1(visitor, type$.dynamic);
  119299. },
  119300. assertString$1($name) {
  119301. return this;
  119302. },
  119303. plus$1(other) {
  119304. var t1 = this._string0$_text,
  119305. t2 = this._string0$_hasQuotes;
  119306. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  119307. },
  119308. $eq(_, other) {
  119309. if (other == null)
  119310. return false;
  119311. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  119312. },
  119313. get$hashCode(_) {
  119314. var t1 = this._string0$_hashCache;
  119315. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  119316. }
  119317. };
  119318. A.ModifiableCssStyleRule0.prototype = {
  119319. accept$1$1(visitor) {
  119320. return visitor.visitCssStyleRule$1(this);
  119321. },
  119322. accept$1(visitor) {
  119323. return this.accept$1$1(visitor, type$.dynamic);
  119324. },
  119325. equalsIgnoringChildren$1(other) {
  119326. var t1;
  119327. if (other instanceof A.ModifiableCssStyleRule0)
  119328. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  119329. else
  119330. t1 = false;
  119331. return t1;
  119332. },
  119333. copyWithoutChildren$0() {
  119334. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  119335. },
  119336. $isCssStyleRule0: 1,
  119337. get$span(receiver) {
  119338. return this.span;
  119339. }
  119340. };
  119341. A.StyleRule0.prototype = {
  119342. accept$1$1(visitor) {
  119343. return visitor.visitStyleRule$1(0, this);
  119344. },
  119345. accept$1(visitor) {
  119346. return this.accept$1$1(visitor, type$.dynamic);
  119347. },
  119348. toString$0(_) {
  119349. return this.selector.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  119350. },
  119351. get$span(receiver) {
  119352. return this.span;
  119353. }
  119354. };
  119355. A.CssStylesheet0.prototype = {
  119356. get$parent(_) {
  119357. return null;
  119358. },
  119359. get$isGroupEnd() {
  119360. return false;
  119361. },
  119362. get$isChildless() {
  119363. return false;
  119364. },
  119365. accept$1$1(visitor) {
  119366. return visitor.visitCssStylesheet$1(this);
  119367. },
  119368. accept$1(visitor) {
  119369. return this.accept$1$1(visitor, type$.dynamic);
  119370. },
  119371. get$children(receiver) {
  119372. return this.children;
  119373. },
  119374. get$span(receiver) {
  119375. return this.span;
  119376. }
  119377. };
  119378. A.ModifiableCssStylesheet0.prototype = {
  119379. accept$1$1(visitor) {
  119380. return visitor.visitCssStylesheet$1(this);
  119381. },
  119382. accept$1(visitor) {
  119383. return this.accept$1$1(visitor, type$.dynamic);
  119384. },
  119385. equalsIgnoringChildren$1(other) {
  119386. return other instanceof A.ModifiableCssStylesheet0;
  119387. },
  119388. copyWithoutChildren$0() {
  119389. return A.ModifiableCssStylesheet$0(this.span);
  119390. },
  119391. $isCssStylesheet0: 1,
  119392. get$span(receiver) {
  119393. return this.span;
  119394. }
  119395. };
  119396. A.StylesheetParser0.prototype = {
  119397. parse$0(_) {
  119398. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  119399. },
  119400. parseParameterList$0() {
  119401. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  119402. },
  119403. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  119404. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  119405. },
  119406. parseSignature$1$requireParens(requireParens) {
  119407. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  119408. },
  119409. _stylesheet0$_statement$1$root(root) {
  119410. var t2, _this = this,
  119411. t1 = _this.scanner,
  119412. _0_0 = t1.peekChar$0();
  119413. if (64 === _0_0)
  119414. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  119415. if (43 === _0_0) {
  119416. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  119417. return _this._stylesheet0$_styleRule$0();
  119418. _this._stylesheet0$_isUseAllowed = false;
  119419. t2 = t1._string_scanner$_position;
  119420. t1.readChar$0();
  119421. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  119422. }
  119423. if (61 === _0_0) {
  119424. if (!_this.get$indented())
  119425. return _this._stylesheet0$_styleRule$0();
  119426. _this._stylesheet0$_isUseAllowed = false;
  119427. t2 = t1._string_scanner$_position;
  119428. t1.readChar$0();
  119429. _this.whitespace$1$consumeNewlines(true);
  119430. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  119431. }
  119432. if (125 === _0_0)
  119433. t1.error$2$length(0, 'unmatched "}".', 1);
  119434. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  119435. },
  119436. _stylesheet0$_statement$0() {
  119437. return this._stylesheet0$_statement$1$root(false);
  119438. },
  119439. variableDeclarationWithoutNamespace$2(namespace, start_) {
  119440. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  119441. precedingComment = _this.lastSilentComment;
  119442. _this.lastSilentComment = null;
  119443. if (start_ == null) {
  119444. t1 = _this.scanner;
  119445. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119446. } else
  119447. start = start_;
  119448. $name = _this.variableName$0();
  119449. t1 = namespace != null;
  119450. if (t1)
  119451. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  119452. if (_this.get$plainCss())
  119453. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  119454. _this.whitespace$1$consumeNewlines(true);
  119455. t2 = _this.scanner;
  119456. t2.expectChar$1(58);
  119457. _this.whitespace$1$consumeNewlines(true);
  119458. value = _this._stylesheet0$_expression$0();
  119459. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119460. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  119461. $label0$0: {
  119462. _0_0 = _this.identifier$0();
  119463. if ("default" === _0_0) {
  119464. if (guarded) {
  119465. endPosition = t2._string_scanner$_position;
  119466. t4 = t2._sourceFile;
  119467. t5 = flagStart.position;
  119468. t6 = new A._FileSpan(t4, t5, endPosition);
  119469. t6._FileSpan$3(t4, t5, endPosition);
  119470. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21defau, t6));
  119471. }
  119472. guarded = true;
  119473. break $label0$0;
  119474. }
  119475. if ("global" === _0_0) {
  119476. if (t1) {
  119477. endPosition = t2._string_scanner$_position;
  119478. t4 = t2._sourceFile;
  119479. t5 = flagStart.position;
  119480. t6 = new A._FileSpan(t4, t5, endPosition);
  119481. t6._FileSpan$3(t4, t5, endPosition);
  119482. _this.error$2(0, string$.x21globai, t6);
  119483. } else if (global) {
  119484. endPosition = t2._string_scanner$_position;
  119485. t4 = t2._sourceFile;
  119486. t5 = flagStart.position;
  119487. t6 = new A._FileSpan(t4, t5, endPosition);
  119488. t6._FileSpan$3(t4, t5, endPosition);
  119489. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21globas, t6));
  119490. }
  119491. global = true;
  119492. break $label0$0;
  119493. }
  119494. endPosition = t2._string_scanner$_position;
  119495. t4 = t2._sourceFile;
  119496. t5 = flagStart.position;
  119497. t6 = new A._FileSpan(t4, t5, endPosition);
  119498. t6._FileSpan$3(t4, t5, endPosition);
  119499. _this.error$2(0, "Invalid flag name.", t6);
  119500. }
  119501. _this.whitespace$1$consumeNewlines(false);
  119502. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119503. }
  119504. _this.expectStatementSeparator$1("variable declaration");
  119505. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  119506. if (global)
  119507. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  119508. return declaration;
  119509. },
  119510. variableDeclarationWithoutNamespace$0() {
  119511. return this.variableDeclarationWithoutNamespace$2(null, null);
  119512. },
  119513. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  119514. var t1, t2, variableOrInterpolation, t3, _this = this;
  119515. if (_this.get$plainCss())
  119516. return _this._stylesheet0$_styleRule$0();
  119517. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119518. return _this._stylesheet0$_styleRule$0();
  119519. if (!_this.lookingAtIdentifier$0())
  119520. return _this._stylesheet0$_styleRule$0();
  119521. t1 = _this.scanner;
  119522. t2 = t1._string_scanner$_position;
  119523. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119524. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119525. t1 = variableOrInterpolation;
  119526. else {
  119527. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119528. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119529. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  119530. t1 = t2;
  119531. }
  119532. return t1;
  119533. },
  119534. _stylesheet0$_declarationOrStyleRule$0() {
  119535. var t1, t2, declarationOrBuffer, _this = this;
  119536. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119537. return _this._stylesheet0$_styleRule$0();
  119538. t1 = _this.scanner;
  119539. t2 = t1._string_scanner$_position;
  119540. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  119541. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  119542. },
  119543. _stylesheet0$_declarationOrBuffer$0() {
  119544. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, $name, t4, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  119545. t1 = _this.scanner,
  119546. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119547. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  119548. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  119549. if (startsWithPunctuation) {
  119550. t2 = t1.readChar$0();
  119551. t3 = nameBuffer._interpolation_buffer0$_text;
  119552. t2 = A.Primitives_stringFromCharCode(t2);
  119553. t3._contents += t2;
  119554. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  119555. t3 = nameBuffer._interpolation_buffer0$_text;
  119556. t3._contents += t2;
  119557. }
  119558. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119559. return nameBuffer;
  119560. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119561. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119562. return variableOrInterpolation;
  119563. else
  119564. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119565. _this._stylesheet0$_isUseAllowed = false;
  119566. if (t1.matches$1("/*")) {
  119567. t2 = _this.rawText$1(_this.get$loudComment());
  119568. t3 = nameBuffer._interpolation_buffer0$_text;
  119569. t3._contents += t2;
  119570. }
  119571. midBuffer = new A.StringBuffer("");
  119572. t2 = midBuffer;
  119573. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  119574. t2._contents += t3;
  119575. t3 = t1._string_scanner$_position;
  119576. if (!t1.scanChar$1(58)) {
  119577. if (midBuffer._contents.length !== 0) {
  119578. t1 = nameBuffer._interpolation_buffer0$_text;
  119579. t2 = A.Primitives_stringFromCharCode(32);
  119580. t1._contents += t2;
  119581. }
  119582. return nameBuffer;
  119583. }
  119584. t2 = A.Primitives_stringFromCharCode(58);
  119585. midBuffer._contents += t2;
  119586. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  119587. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  119588. if (_this.atEndOfStatement$0()) {
  119589. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119590. t3 = t2.offset;
  119591. t3 = A.Interpolation$0(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  119592. t2 = t3;
  119593. } else
  119594. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  119595. _this.expectStatementSeparator$1("custom property");
  119596. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  119597. }
  119598. if (t1.scanChar$1(58)) {
  119599. t1 = nameBuffer;
  119600. t3 = t1._interpolation_buffer0$_text;
  119601. t4 = A.S(midBuffer);
  119602. t3._contents = (t3._contents += t4) + t2;
  119603. return t1;
  119604. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119605. t1 = nameBuffer;
  119606. t2 = t1._interpolation_buffer0$_text;
  119607. t3 = A.S(midBuffer);
  119608. t2._contents += t3;
  119609. return t1;
  119610. }
  119611. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  119612. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119613. if (_0_0 != null)
  119614. return _0_0;
  119615. midBuffer._contents += postColonWhitespace;
  119616. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  119617. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119618. value = null;
  119619. try {
  119620. value = _this._stylesheet0$_expression$0();
  119621. if (_this.lookingAtChildren$0()) {
  119622. if (couldBeSelector)
  119623. _this.expectStatementSeparator$0();
  119624. } else if (!_this.atEndOfStatement$0())
  119625. _this.expectStatementSeparator$0();
  119626. } catch (exception) {
  119627. if (type$.FormatException._is(A.unwrapException(exception))) {
  119628. if (!couldBeSelector)
  119629. throw exception;
  119630. t1.set$state(beforeDeclaration);
  119631. additional = _this.almostAnyValue$0();
  119632. if (!_this.get$indented() && t1.peekChar$0() === 59)
  119633. throw exception;
  119634. t1 = nameBuffer._interpolation_buffer0$_text;
  119635. t2 = A.S(midBuffer);
  119636. t1._contents += t2;
  119637. nameBuffer.addInterpolation$1(additional);
  119638. return nameBuffer;
  119639. } else
  119640. throw exception;
  119641. }
  119642. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119643. if (_1_0 != null)
  119644. return _1_0;
  119645. else {
  119646. _this.expectStatementSeparator$0();
  119647. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119648. }
  119649. },
  119650. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  119651. var t1, start, identifier, t2, buffer, _this = this;
  119652. if (!_this.lookingAtIdentifier$0())
  119653. return _this.interpolatedIdentifier$0();
  119654. t1 = _this.scanner;
  119655. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119656. identifier = _this.identifier$0();
  119657. if (t1.matches$1(".$")) {
  119658. t1.readChar$0();
  119659. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  119660. } else {
  119661. t2 = new A.StringBuffer("");
  119662. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119663. t2._contents = identifier;
  119664. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  119665. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119666. return buffer.interpolation$1(t1.spanFrom$1(start));
  119667. }
  119668. },
  119669. _stylesheet0$_styleRule$2(buffer, start_) {
  119670. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  119671. _this._stylesheet0$_isUseAllowed = false;
  119672. if (start_ == null) {
  119673. t2 = _this.scanner;
  119674. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119675. } else
  119676. start = start_;
  119677. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  119678. if (buffer != null) {
  119679. buffer.addInterpolation$1(interpolation);
  119680. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  119681. } else
  119682. t2 = interpolation;
  119683. if (t2.contents.length === 0)
  119684. _this.scanner.error$1(0, 'expected "}".');
  119685. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  119686. _this._stylesheet0$_inStyleRule = true;
  119687. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  119688. },
  119689. _stylesheet0$_styleRule$0() {
  119690. return this._stylesheet0$_styleRule$2(null, null);
  119691. },
  119692. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  119693. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  119694. t1 = _this.scanner,
  119695. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119696. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  119697. t2 = new A.StringBuffer("");
  119698. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119699. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119700. t2._contents += t3;
  119701. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  119702. t2._contents += t3;
  119703. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119704. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  119705. } else if (!_this.get$plainCss()) {
  119706. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119707. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119708. return variableOrInterpolation;
  119709. else
  119710. type$.Interpolation_2._as(variableOrInterpolation);
  119711. $name = variableOrInterpolation;
  119712. } else
  119713. $name = _this.interpolatedIdentifier$0();
  119714. _this.whitespace$1$consumeNewlines(false);
  119715. t1.expectChar$1(58);
  119716. _this.whitespace$1$consumeNewlines(false);
  119717. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119718. if (_0_0 != null)
  119719. return _0_0;
  119720. value = _this._stylesheet0$_expression$0();
  119721. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119722. if (_1_0 != null)
  119723. return _1_0;
  119724. else {
  119725. _this.expectStatementSeparator$0();
  119726. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119727. }
  119728. },
  119729. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  119730. var _this = this;
  119731. if (!_this.lookingAtChildren$0())
  119732. return null;
  119733. if (_this.get$plainCss())
  119734. _this.scanner.error$1(0, string$.Nested);
  119735. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  119736. },
  119737. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  119738. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  119739. },
  119740. _stylesheet0$_declarationChild$0() {
  119741. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  119742. },
  119743. atRule$2$root(child, root) {
  119744. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  119745. t1 = _this.scanner,
  119746. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119747. t1.expectChar$2$name(64, "@-rule");
  119748. $name = _this.interpolatedIdentifier$0();
  119749. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  119750. _this._stylesheet0$_isUseAllowed = false;
  119751. switch ($name.get$asPlain()) {
  119752. case "at-root":
  119753. return _this._stylesheet0$_atRootRule$1(start);
  119754. case "content":
  119755. return _this._stylesheet0$_contentRule$1(start);
  119756. case "debug":
  119757. return _this._stylesheet0$_debugRule$1(start);
  119758. case "each":
  119759. return _this._stylesheet0$_eachRule$2(start, child);
  119760. case "else":
  119761. return _this._stylesheet0$_disallowedAtRule$1(start);
  119762. case "error":
  119763. return _this._stylesheet0$_errorRule$1(start);
  119764. case "extend":
  119765. _this.whitespace$1$consumeNewlines(true);
  119766. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  119767. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  119768. value = _this.almostAnyValue$0();
  119769. optional = t1.scanChar$1(33);
  119770. if (optional) {
  119771. _this.expectIdentifier$1("optional");
  119772. _this.whitespace$1$consumeNewlines(false);
  119773. }
  119774. _this.expectStatementSeparator$1("@extend rule");
  119775. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  119776. case "for":
  119777. return _this._stylesheet0$_forRule$2(start, child);
  119778. case "forward":
  119779. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119780. if (!root)
  119781. _this._stylesheet0$_disallowedAtRule$1(start);
  119782. return _this._stylesheet0$_forwardRule$1(start);
  119783. case "function":
  119784. return _this._stylesheet0$_functionRule$1(start);
  119785. case "if":
  119786. return _this._stylesheet0$_ifRule$2(start, child);
  119787. case "import":
  119788. return _this._stylesheet0$_importRule$1(start);
  119789. case "include":
  119790. return _this._stylesheet0$_includeRule$1(start);
  119791. case "media":
  119792. return _this.mediaRule$1(start);
  119793. case "mixin":
  119794. return _this._stylesheet0$_mixinRule$1(start);
  119795. case "-moz-document":
  119796. return _this.mozDocumentRule$2(start, $name);
  119797. case "return":
  119798. return _this._stylesheet0$_disallowedAtRule$1(start);
  119799. case "supports":
  119800. return _this.supportsRule$1(start);
  119801. case "use":
  119802. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119803. if (!root)
  119804. _this._stylesheet0$_disallowedAtRule$1(start);
  119805. _this.whitespace$1$consumeNewlines(true);
  119806. url = _this._stylesheet0$_urlString$0();
  119807. _this.whitespace$1$consumeNewlines(false);
  119808. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  119809. _this.whitespace$1$consumeNewlines(false);
  119810. configuration = _this._stylesheet0$_configuration$0();
  119811. _this.whitespace$1$consumeNewlines(false);
  119812. span = t1.spanFrom$1(start);
  119813. if (!_this._stylesheet0$_isUseAllowed)
  119814. _this.error$2(0, string$.x40use_r, span);
  119815. _this.expectStatementSeparator$1("@use rule");
  119816. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119817. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  119818. return t1;
  119819. case "warn":
  119820. return _this._stylesheet0$_warnRule$1(start);
  119821. case "while":
  119822. return _this._stylesheet0$_whileRule$2(start, child);
  119823. default:
  119824. return _this.unknownAtRule$2(start, $name);
  119825. }
  119826. },
  119827. _stylesheet0$_declarationAtRule$0() {
  119828. var _this = this,
  119829. t1 = _this.scanner,
  119830. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119831. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119832. $label0$0: {
  119833. if ("content" === _0_0) {
  119834. t1 = _this._stylesheet0$_contentRule$1(start);
  119835. break $label0$0;
  119836. }
  119837. if ("debug" === _0_0) {
  119838. t1 = _this._stylesheet0$_debugRule$1(start);
  119839. break $label0$0;
  119840. }
  119841. if ("each" === _0_0) {
  119842. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119843. break $label0$0;
  119844. }
  119845. if ("else" === _0_0)
  119846. _this._stylesheet0$_disallowedAtRule$1(start);
  119847. if ("error" === _0_0) {
  119848. t1 = _this._stylesheet0$_errorRule$1(start);
  119849. break $label0$0;
  119850. }
  119851. if ("for" === _0_0) {
  119852. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119853. break $label0$0;
  119854. }
  119855. if ("if" === _0_0) {
  119856. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119857. break $label0$0;
  119858. }
  119859. if ("include" === _0_0) {
  119860. t1 = _this._stylesheet0$_includeRule$1(start);
  119861. break $label0$0;
  119862. }
  119863. if ("warn" === _0_0) {
  119864. t1 = _this._stylesheet0$_warnRule$1(start);
  119865. break $label0$0;
  119866. }
  119867. if ("while" === _0_0) {
  119868. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  119869. break $label0$0;
  119870. }
  119871. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119872. }
  119873. return t1;
  119874. },
  119875. _stylesheet0$_functionChild$0() {
  119876. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  119877. t1 = _this.scanner;
  119878. if (t1.peekChar$0() !== 64) {
  119879. t2 = t1._string_scanner$_position;
  119880. state = new A._SpanScannerState(t1, t2);
  119881. try {
  119882. namespace = _this.identifier$0();
  119883. t1.expectChar$1(46);
  119884. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  119885. return t2;
  119886. } catch (exception) {
  119887. t2 = A.unwrapException(exception);
  119888. t3 = type$.SourceSpanFormatException;
  119889. if (t3._is(t2)) {
  119890. variableDeclarationError = t2;
  119891. stackTrace = A.getTraceFromException(exception);
  119892. t1.set$state(state);
  119893. statement = null;
  119894. try {
  119895. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  119896. } catch (exception) {
  119897. if (t3._is(A.unwrapException(exception)))
  119898. throw A.wrapException(variableDeclarationError);
  119899. else
  119900. throw exception;
  119901. }
  119902. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  119903. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  119904. } else
  119905. throw exception;
  119906. }
  119907. }
  119908. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119909. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119910. $label0$0: {
  119911. if ("debug" === _0_0) {
  119912. t1 = _this._stylesheet0$_debugRule$1(start);
  119913. break $label0$0;
  119914. }
  119915. if ("each" === _0_0) {
  119916. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  119917. break $label0$0;
  119918. }
  119919. if ("else" === _0_0)
  119920. _this._stylesheet0$_disallowedAtRule$1(start);
  119921. if ("error" === _0_0) {
  119922. t1 = _this._stylesheet0$_errorRule$1(start);
  119923. break $label0$0;
  119924. }
  119925. if ("for" === _0_0) {
  119926. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  119927. break $label0$0;
  119928. }
  119929. if ("if" === _0_0) {
  119930. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  119931. break $label0$0;
  119932. }
  119933. if ("return" === _0_0) {
  119934. _this.whitespace$1$consumeNewlines(true);
  119935. value = _this._stylesheet0$_expression$0();
  119936. _this.expectStatementSeparator$1("@return rule");
  119937. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  119938. break $label0$0;
  119939. }
  119940. if ("warn" === _0_0) {
  119941. t1 = _this._stylesheet0$_warnRule$1(start);
  119942. break $label0$0;
  119943. }
  119944. if ("while" === _0_0) {
  119945. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  119946. break $label0$0;
  119947. }
  119948. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  119949. }
  119950. return t1;
  119951. },
  119952. _stylesheet0$_plainAtRuleName$0() {
  119953. this.scanner.expectChar$2$name(64, "@-rule");
  119954. return this.identifier$0();
  119955. },
  119956. _stylesheet0$_atRootRule$1(start) {
  119957. var t1, t2, t3, buffer, t4, _this = this;
  119958. _this.whitespace$1$consumeNewlines(false);
  119959. t1 = _this.scanner;
  119960. if (t1.peekChar$0() === 40) {
  119961. t2 = t1._string_scanner$_position;
  119962. t3 = new A.StringBuffer("");
  119963. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119964. t1.expectChar$1(40);
  119965. t4 = A.Primitives_stringFromCharCode(40);
  119966. t3._contents += t4;
  119967. _this.whitespace$1$consumeNewlines(true);
  119968. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119969. if (t1.scanChar$1(58)) {
  119970. _this.whitespace$1$consumeNewlines(true);
  119971. t4 = A.Primitives_stringFromCharCode(58);
  119972. t3._contents += t4;
  119973. t4 = A.Primitives_stringFromCharCode(32);
  119974. t3._contents += t4;
  119975. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  119976. }
  119977. t1.expectChar$1(41);
  119978. _this.whitespace$1$consumeNewlines(false);
  119979. t4 = A.Primitives_stringFromCharCode(41);
  119980. t3._contents += t4;
  119981. 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)))));
  119982. } else {
  119983. if (!_this.lookingAtChildren$0())
  119984. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  119985. else
  119986. t2 = true;
  119987. if (t2)
  119988. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  119989. else
  119990. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  119991. }
  119992. },
  119993. _stylesheet0$_contentRule$1(start) {
  119994. var t1, beforeWhitespace, $arguments, t2, _this = this;
  119995. if (!_this._stylesheet0$_inMixin)
  119996. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  119997. t1 = _this.scanner;
  119998. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119999. _this.whitespace$1$consumeNewlines(false);
  120000. if (t1.peekChar$0() === 40) {
  120001. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120002. _this.whitespace$1$consumeNewlines(false);
  120003. } else {
  120004. t2 = beforeWhitespace.offset;
  120005. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  120006. }
  120007. _this.expectStatementSeparator$1("@content rule");
  120008. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  120009. },
  120010. _stylesheet0$_debugRule$1(start) {
  120011. var value, t1, t2, _this = this;
  120012. _this.whitespace$1$consumeNewlines(true);
  120013. value = _this._stylesheet0$_expression$0();
  120014. t1 = _this.scanner;
  120015. t2 = t1._string_scanner$_position;
  120016. _this.expectStatementSeparator$1("@debug rule");
  120017. return new A.DebugRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120018. },
  120019. _stylesheet0$_eachRule$2(start, child) {
  120020. var wasInControlDirective, variables, t1, _this = this;
  120021. _this.whitespace$1$consumeNewlines(true);
  120022. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120023. _this._stylesheet0$_inControlDirective = true;
  120024. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  120025. _this.whitespace$1$consumeNewlines(true);
  120026. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  120027. _this.whitespace$1$consumeNewlines(true);
  120028. t1.expectChar$1(36);
  120029. variables.push(_this.identifier$1$normalize(true));
  120030. _this.whitespace$1$consumeNewlines(true);
  120031. }
  120032. _this.whitespace$1$consumeNewlines(true);
  120033. _this.expectIdentifier$1("in");
  120034. _this.whitespace$1$consumeNewlines(true);
  120035. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  120036. },
  120037. _stylesheet0$_errorRule$1(start) {
  120038. var value, t1, t2, _this = this;
  120039. _this.whitespace$1$consumeNewlines(true);
  120040. value = _this._stylesheet0$_expression$0();
  120041. t1 = _this.scanner;
  120042. t2 = t1._string_scanner$_position;
  120043. _this.expectStatementSeparator$1("@error rule");
  120044. return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120045. },
  120046. _stylesheet0$_functionRule$1(start) {
  120047. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  120048. _this.whitespace$1$consumeNewlines(true);
  120049. precedingComment = _this.lastSilentComment;
  120050. _this.lastSilentComment = null;
  120051. t1 = _this.scanner;
  120052. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120053. $name = _this.identifier$0();
  120054. if (B.JSString_methods.startsWith$1($name, "--"))
  120055. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  120056. else if (A.equalsIgnoreCase0($name, "type"))
  120057. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_vQt, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  120058. _this.whitespace$1$consumeNewlines(true);
  120059. parameters = _this._stylesheet0$_parameterList$0();
  120060. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120061. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  120062. else if (_this._stylesheet0$_inControlDirective)
  120063. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  120064. _0_0 = A.unvendor0($name);
  120065. 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)
  120066. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  120067. _this.whitespace$1$consumeNewlines(false);
  120068. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  120069. },
  120070. _stylesheet0$_forRule$2(start, child) {
  120071. var wasInControlDirective, variable, from, _this = this, t1 = {};
  120072. _this.whitespace$1$consumeNewlines(true);
  120073. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120074. _this._stylesheet0$_inControlDirective = true;
  120075. variable = _this.variableName$0();
  120076. _this.whitespace$1$consumeNewlines(true);
  120077. _this.expectIdentifier$1("from");
  120078. _this.whitespace$1$consumeNewlines(true);
  120079. t1.exclusive = null;
  120080. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  120081. if (t1.exclusive == null)
  120082. _this.scanner.error$1(0, 'Expected "to" or "through".');
  120083. _this.whitespace$1$consumeNewlines(true);
  120084. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  120085. },
  120086. _stylesheet0$_forwardRule$1(start) {
  120087. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  120088. _this.whitespace$1$consumeNewlines(true);
  120089. url = _this._stylesheet0$_urlString$0();
  120090. _this.whitespace$1$consumeNewlines(false);
  120091. if (_this.scanIdentifier$1("as")) {
  120092. _this.whitespace$1$consumeNewlines(true);
  120093. prefix = _this.identifier$1$normalize(true);
  120094. _this.scanner.expectChar$1(42);
  120095. _this.whitespace$1$consumeNewlines(false);
  120096. } else
  120097. prefix = _null;
  120098. hiddenMixinsAndFunctions = _null;
  120099. hiddenVariables = _null;
  120100. if (_this.scanIdentifier$1("show")) {
  120101. _this.whitespace$1$consumeNewlines(true);
  120102. _0_0 = _this._stylesheet0$_memberList$0();
  120103. shownMixinsAndFunctions = _0_0._0;
  120104. shownVariables = _0_0._1;
  120105. } else {
  120106. if (_this.scanIdentifier$1("hide")) {
  120107. _this.whitespace$1$consumeNewlines(true);
  120108. _1_0 = _this._stylesheet0$_memberList$0();
  120109. hiddenMixinsAndFunctions = _1_0._0;
  120110. hiddenVariables = _1_0._1;
  120111. }
  120112. shownVariables = _null;
  120113. shownMixinsAndFunctions = shownVariables;
  120114. }
  120115. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  120116. _this.whitespace$1$consumeNewlines(false);
  120117. _this.expectStatementSeparator$1("@forward rule");
  120118. span = _this.scanner.spanFrom$1(start);
  120119. if (!_this._stylesheet0$_isUseAllowed)
  120120. _this.error$2(0, string$.x40forwa, span);
  120121. if (shownMixinsAndFunctions != null) {
  120122. shownVariables.toString;
  120123. t1 = type$.String;
  120124. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  120125. t3 = type$.UnmodifiableSetView_String;
  120126. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  120127. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  120128. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  120129. } else if (hiddenMixinsAndFunctions != null) {
  120130. hiddenVariables.toString;
  120131. t1 = type$.String;
  120132. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  120133. t3 = type$.UnmodifiableSetView_String;
  120134. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  120135. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  120136. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  120137. } else
  120138. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  120139. },
  120140. _stylesheet0$_memberList$0() {
  120141. var _this = this,
  120142. t1 = type$.String,
  120143. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  120144. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  120145. t1 = _this.scanner;
  120146. do {
  120147. _this.whitespace$1$consumeNewlines(true);
  120148. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  120149. _this.whitespace$1$consumeNewlines(false);
  120150. } while (t1.scanChar$1(44));
  120151. return new A._Record_2(identifiers, variables);
  120152. },
  120153. _stylesheet0$_ifRule$2(start, child) {
  120154. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  120155. _this.whitespace$1$consumeNewlines(true);
  120156. ifIndentation = _this.get$currentIndentation();
  120157. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120158. _this._stylesheet0$_inControlDirective = true;
  120159. condition = _this._stylesheet0$_expression$0();
  120160. children = _this.children$1(0, child);
  120161. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120162. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  120163. while (true) {
  120164. if (!_this.scanElse$1(ifIndentation)) {
  120165. lastClause = null;
  120166. break;
  120167. }
  120168. _this.whitespace$1$consumeNewlines(false);
  120169. if (_this.scanIdentifier$1("if")) {
  120170. _this.whitespace$1$consumeNewlines(true);
  120171. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  120172. } else {
  120173. lastClause = A.ElseClause$0(_this.children$1(0, child));
  120174. break;
  120175. }
  120176. }
  120177. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  120178. span = _this.scanner.spanFrom$1(start);
  120179. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120180. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  120181. },
  120182. _stylesheet0$_importRule$1(start) {
  120183. var argument, t3, _this = this,
  120184. imports = A._setArrayType([], type$.JSArray_Import_2),
  120185. t1 = _this.scanner,
  120186. t2 = _this.warnings;
  120187. do {
  120188. _this.whitespace$1$consumeNewlines(false);
  120189. argument = _this.importArgument$0();
  120190. t3 = argument instanceof A.DynamicImport0;
  120191. if (t3)
  120192. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_OHJ, string$.Sassx20_i, argument.span));
  120193. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  120194. _this._stylesheet0$_disallowedAtRule$1(start);
  120195. imports.push(argument);
  120196. _this.whitespace$1$consumeNewlines(false);
  120197. } while (t1.scanChar$1(44));
  120198. _this.expectStatementSeparator$1("@import rule");
  120199. t1 = t1.spanFrom$1(start);
  120200. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  120201. },
  120202. importArgument$0() {
  120203. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  120204. t1 = _this.scanner,
  120205. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  120206. _0_0 = t1.peekChar$0();
  120207. if (117 === _0_0 || 85 === _0_0) {
  120208. url = _this.dynamicUrl$0();
  120209. _this.whitespace$1$consumeNewlines(false);
  120210. modifiers = _this.tryImportModifiers$0();
  120211. 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));
  120212. return new A.StaticImport0(t2, modifiers, t1.spanFrom$1(start));
  120213. }
  120214. url = _this.string$0();
  120215. urlSpan = t1.spanFrom$1(start);
  120216. _this.whitespace$1$consumeNewlines(false);
  120217. modifiers = _this.tryImportModifiers$0();
  120218. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  120219. t2 = urlSpan;
  120220. 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));
  120221. } else
  120222. try {
  120223. t1 = _this.parseImportUrl$1(url);
  120224. return new A.DynamicImport0(t1, urlSpan);
  120225. } catch (exception) {
  120226. t1 = A.unwrapException(exception);
  120227. if (type$.FormatException._is(t1)) {
  120228. innerError = t1;
  120229. stackTrace = A.getTraceFromException(exception);
  120230. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  120231. } else
  120232. throw exception;
  120233. }
  120234. },
  120235. parseImportUrl$1(url) {
  120236. var t1 = $.$get$windows();
  120237. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  120238. return t1.toUri$1(url).toString$0(0);
  120239. A.Uri_parse(url);
  120240. return url;
  120241. },
  120242. isPlainImportUrl$1(url) {
  120243. var _0_0, t1;
  120244. if (url.length < 5)
  120245. return false;
  120246. if (B.JSString_methods.endsWith$1(url, ".css"))
  120247. return true;
  120248. _0_0 = url.charCodeAt(0);
  120249. $label0$0: {
  120250. if (47 === _0_0) {
  120251. t1 = url.charCodeAt(1) === 47;
  120252. break $label0$0;
  120253. }
  120254. if (104 === _0_0) {
  120255. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  120256. break $label0$0;
  120257. }
  120258. t1 = false;
  120259. break $label0$0;
  120260. }
  120261. return t1;
  120262. },
  120263. tryImportModifiers$0() {
  120264. var t1, t2, t3, t4, t5, buffer, t6, identifier, $name, query, t7, endPosition, _this = this;
  120265. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  120266. return null;
  120267. t1 = _this.scanner;
  120268. t2 = t1._string_scanner$_position;
  120269. t3 = new A.StringBuffer("");
  120270. t4 = A._setArrayType([], type$.JSArray_Object);
  120271. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120272. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120273. for (; true;)
  120274. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  120275. if (!(t4.length === 0 && t3._contents.length === 0)) {
  120276. t6 = A.Primitives_stringFromCharCode(32);
  120277. t3._contents += t6;
  120278. }
  120279. identifier = _this.interpolatedIdentifier$0();
  120280. buffer.addInterpolation$1(identifier);
  120281. t6 = identifier.get$asPlain();
  120282. $name = t6 == null ? null : t6.toLowerCase();
  120283. if ($name !== "and" && t1.scanChar$1(40)) {
  120284. if ($name === "supports") {
  120285. query = _this._stylesheet0$_importSupportsQuery$0();
  120286. t6 = !(query instanceof A.SupportsDeclaration0);
  120287. if (t6) {
  120288. t7 = A.Primitives_stringFromCharCode(40);
  120289. t3._contents += t7;
  120290. }
  120291. t7 = query.get$span(query);
  120292. buffer._interpolation_buffer0$_flushText$0();
  120293. t4.push(new A.SupportsExpression0(query));
  120294. t5.push(t7);
  120295. if (t6) {
  120296. t6 = A.Primitives_stringFromCharCode(41);
  120297. t3._contents += t6;
  120298. }
  120299. } else {
  120300. t6 = A.Primitives_stringFromCharCode(40);
  120301. t3._contents += t6;
  120302. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  120303. t6 = A.Primitives_stringFromCharCode(41);
  120304. t3._contents += t6;
  120305. }
  120306. t1.expectChar$1(41);
  120307. _this.whitespace$1$consumeNewlines(false);
  120308. } else {
  120309. _this.whitespace$1$consumeNewlines(false);
  120310. if (t1.scanChar$1(44)) {
  120311. t3._contents += ", ";
  120312. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120313. endPosition = t1._string_scanner$_position;
  120314. t3 = t1._sourceFile;
  120315. t1 = new A._FileSpan(t3, t2, endPosition);
  120316. t1._FileSpan$3(t3, t2, endPosition);
  120317. return buffer.interpolation$1(t1);
  120318. }
  120319. }
  120320. } else if (t1.peekChar$0() === 40) {
  120321. if (!(t4.length === 0 && t3._contents.length === 0)) {
  120322. t4 = A.Primitives_stringFromCharCode(32);
  120323. t3._contents += t4;
  120324. }
  120325. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120326. endPosition = t1._string_scanner$_position;
  120327. t1 = t1._sourceFile;
  120328. t3 = new A._FileSpan(t1, t2, endPosition);
  120329. t3._FileSpan$3(t1, t2, endPosition);
  120330. return buffer.interpolation$1(t3);
  120331. } else {
  120332. endPosition = t1._string_scanner$_position;
  120333. t1 = t1._sourceFile;
  120334. t3 = new A._FileSpan(t1, t2, endPosition);
  120335. t3._FileSpan$3(t1, t2, endPosition);
  120336. return buffer.interpolation$1(t3);
  120337. }
  120338. },
  120339. _stylesheet0$_importSupportsQuery$0() {
  120340. var t1, t2, _0_0, $name, _this = this;
  120341. _this.whitespace$1$consumeNewlines(true);
  120342. if (_this.scanIdentifier$1("not")) {
  120343. _this.whitespace$1$consumeNewlines(true);
  120344. t1 = _this.scanner;
  120345. t2 = t1._string_scanner$_position;
  120346. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120347. } else {
  120348. t1 = _this.scanner;
  120349. if (t1.peekChar$0() === 40)
  120350. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  120351. else {
  120352. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  120353. if (_0_0 != null)
  120354. return _0_0;
  120355. t2 = t1._string_scanner$_position;
  120356. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  120357. t1.expectChar$1(58);
  120358. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120359. }
  120360. }
  120361. },
  120362. _stylesheet0$_tryImportSupportsFunction$0() {
  120363. var t1, start, $name, value, _this = this;
  120364. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120365. return null;
  120366. t1 = _this.scanner;
  120367. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120368. $name = _this.interpolatedIdentifier$0();
  120369. if (!t1.scanChar$1(40)) {
  120370. t1.set$state(start);
  120371. return null;
  120372. }
  120373. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  120374. t1.expectChar$1(41);
  120375. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  120376. },
  120377. _stylesheet0$_includeRule$1(start) {
  120378. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  120379. _this.whitespace$1$consumeNewlines(true);
  120380. $name = _this.identifier$0();
  120381. t1 = _this.scanner;
  120382. if (t1.scanChar$1(46)) {
  120383. name0 = _this._stylesheet0$_publicIdentifier$0();
  120384. namespace = $name;
  120385. $name = name0;
  120386. } else
  120387. namespace = _null;
  120388. _this.whitespace$1$consumeNewlines(false);
  120389. if (t1.peekChar$0() === 40)
  120390. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120391. else {
  120392. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120393. t3 = t2.offset;
  120394. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  120395. }
  120396. _this.whitespace$1$consumeNewlines(false);
  120397. if (_this.scanIdentifier$1("using")) {
  120398. _this.whitespace$1$consumeNewlines(true);
  120399. contentParameters = _this._stylesheet0$_parameterList$0();
  120400. _this.whitespace$1$consumeNewlines(false);
  120401. } else
  120402. contentParameters = _null;
  120403. t2 = contentParameters == null;
  120404. if (!t2 || _this.lookingAtChildren$0()) {
  120405. if (t2) {
  120406. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120407. t3 = t2.offset;
  120408. contentParameters_ = new A.ParameterList0(B.List_empty26, _null, A._FileSpan$(t2.file, t3, t3));
  120409. } else
  120410. contentParameters_ = contentParameters;
  120411. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  120412. _this._stylesheet0$_inContentBlock = true;
  120413. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  120414. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  120415. } else {
  120416. _this.expectStatementSeparator$0();
  120417. $content = _null;
  120418. }
  120419. t1 = t1.spanFrom$2(start, start);
  120420. t2 = $content == null ? $arguments : $content;
  120421. span = t1.expand$1(0, t2.get$span(t2));
  120422. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  120423. },
  120424. mediaRule$1(start) {
  120425. var _this = this;
  120426. _this.whitespace$1$consumeNewlines(false);
  120427. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  120428. },
  120429. _stylesheet0$_mixinRule$1(start) {
  120430. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  120431. _this.whitespace$1$consumeNewlines(true);
  120432. precedingComment = _this.lastSilentComment;
  120433. _this.lastSilentComment = null;
  120434. t1 = _this.scanner;
  120435. t2 = t1._string_scanner$_position;
  120436. $name = _this.identifier$0();
  120437. if (B.JSString_methods.startsWith$1($name, "--"))
  120438. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  120439. _this.whitespace$1$consumeNewlines(false);
  120440. if (t1.peekChar$0() === 40)
  120441. parameters = _this._stylesheet0$_parameterList$0();
  120442. else {
  120443. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120444. t3 = t2.offset;
  120445. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  120446. }
  120447. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120448. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  120449. else if (_this._stylesheet0$_inControlDirective)
  120450. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  120451. _this.whitespace$1$consumeNewlines(false);
  120452. _this._stylesheet0$_inMixin = true;
  120453. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  120454. },
  120455. mozDocumentRule$2(start, $name) {
  120456. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  120457. _this.whitespace$1$consumeNewlines(false);
  120458. t1 = _this.scanner;
  120459. t2 = t1._string_scanner$_position;
  120460. t3 = new A.StringBuffer("");
  120461. t4 = A._setArrayType([], type$.JSArray_Object);
  120462. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120463. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120464. _box_0.needsDeprecationWarning = false;
  120465. for (; true;) {
  120466. if (t1.peekChar$0() === 35) {
  120467. _0_0 = _this.singleInterpolation$0();
  120468. buffer._interpolation_buffer0$_flushText$0();
  120469. t4.push(_0_0._0);
  120470. t5.push(_0_0._1);
  120471. _box_0.needsDeprecationWarning = true;
  120472. } else {
  120473. t6 = t1._string_scanner$_position;
  120474. identifier = _this.identifier$0();
  120475. $label0$0: {
  120476. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  120477. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  120478. if (_1_0 != null)
  120479. buffer.addInterpolation$1(_1_0);
  120480. else {
  120481. t1.expectChar$1(40);
  120482. _this.whitespace$1$consumeNewlines(false);
  120483. argument = _this.interpolatedString$0();
  120484. t1.expectChar$1(41);
  120485. t3._contents += identifier;
  120486. t6 = A.Primitives_stringFromCharCode(40);
  120487. t3._contents += t6;
  120488. buffer.addInterpolation$1(argument.asInterpolation$0());
  120489. t6 = A.Primitives_stringFromCharCode(41);
  120490. t3._contents += t6;
  120491. }
  120492. t6 = t3._contents;
  120493. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  120494. 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("")'))
  120495. _box_0.needsDeprecationWarning = true;
  120496. break $label0$0;
  120497. }
  120498. if ("regexp" === identifier) {
  120499. t3._contents += "regexp(";
  120500. t1.expectChar$1(40);
  120501. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  120502. t1.expectChar$1(41);
  120503. t6 = A.Primitives_stringFromCharCode(41);
  120504. t3._contents += t6;
  120505. _box_0.needsDeprecationWarning = true;
  120506. break $label0$0;
  120507. }
  120508. endPosition = t1._string_scanner$_position;
  120509. t7 = t1._sourceFile;
  120510. t8 = new A._FileSpan(t7, t6, endPosition);
  120511. t8._FileSpan$3(t7, t6, endPosition);
  120512. _this.error$2(0, "Invalid function name.", t8);
  120513. }
  120514. }
  120515. _this.whitespace$1$consumeNewlines(false);
  120516. if (!t1.scanChar$1(44))
  120517. break;
  120518. t6 = A.Primitives_stringFromCharCode(44);
  120519. t3._contents += t6;
  120520. start0 = t1._string_scanner$_position;
  120521. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  120522. end = t1._string_scanner$_position;
  120523. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  120524. }
  120525. 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)))));
  120526. },
  120527. supportsRule$1(start) {
  120528. var condition, _this = this;
  120529. _this.whitespace$1$consumeNewlines(false);
  120530. condition = _this._stylesheet0$_supportsCondition$0();
  120531. _this.whitespace$1$consumeNewlines(false);
  120532. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  120533. },
  120534. _stylesheet0$_useNamespace$2(url, start) {
  120535. var namespace, basename, dot, t1, exception, _this = this;
  120536. if (_this.scanIdentifier$1("as")) {
  120537. _this.whitespace$1$consumeNewlines(true);
  120538. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  120539. }
  120540. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  120541. dot = B.JSString_methods.indexOf$1(basename, ".");
  120542. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  120543. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  120544. try {
  120545. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  120546. return t1;
  120547. } catch (exception) {
  120548. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  120549. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  120550. else
  120551. throw exception;
  120552. }
  120553. },
  120554. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  120555. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  120556. if (!_this.scanIdentifier$1("with"))
  120557. return null;
  120558. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120559. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  120560. _this.whitespace$1$consumeNewlines(true);
  120561. t1 = _this.scanner;
  120562. t1.expectChar$1(40);
  120563. for (; true;) {
  120564. _this.whitespace$1$consumeNewlines(true);
  120565. t2 = t1._string_scanner$_position;
  120566. t1.expectChar$1(36);
  120567. $name = _this.identifier$1$normalize(true);
  120568. _this.whitespace$1$consumeNewlines(true);
  120569. t1.expectChar$1(58);
  120570. _this.whitespace$1$consumeNewlines(true);
  120571. expression = _this.expressionUntilComma$0();
  120572. t3 = t1._string_scanner$_position;
  120573. if (allowGuarded && t1.scanChar$1(33)) {
  120574. guarded = _this.identifier$0() === "default";
  120575. if (guarded)
  120576. _this.whitespace$1$consumeNewlines(true);
  120577. else {
  120578. endPosition = t1._string_scanner$_position;
  120579. t4 = t1._sourceFile;
  120580. t5 = new A._FileSpan(t4, t3, endPosition);
  120581. t5._FileSpan$3(t4, t3, endPosition);
  120582. _this.error$2(0, "Invalid flag name.", t5);
  120583. }
  120584. } else
  120585. guarded = false;
  120586. endPosition = t1._string_scanner$_position;
  120587. t3 = t1._sourceFile;
  120588. span = new A._FileSpan(t3, t2, endPosition);
  120589. span._FileSpan$3(t3, t2, endPosition);
  120590. if (variableNames.contains$1(0, $name))
  120591. _this.error$2(0, string$.The_sa, span);
  120592. variableNames.add$1(0, $name);
  120593. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  120594. if (!t1.scanChar$1(44))
  120595. break;
  120596. _this.whitespace$1$consumeNewlines(true);
  120597. if (!_this._stylesheet0$_lookingAtExpression$0())
  120598. break;
  120599. }
  120600. t1.expectChar$1(41);
  120601. return configuration;
  120602. },
  120603. _stylesheet0$_configuration$0() {
  120604. return this._stylesheet0$_configuration$1$allowGuarded(false);
  120605. },
  120606. _stylesheet0$_warnRule$1(start) {
  120607. var value, t1, t2, _this = this;
  120608. _this.whitespace$1$consumeNewlines(true);
  120609. value = _this._stylesheet0$_expression$0();
  120610. t1 = _this.scanner;
  120611. t2 = t1._string_scanner$_position;
  120612. _this.expectStatementSeparator$1("@warn rule");
  120613. return new A.WarnRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120614. },
  120615. _stylesheet0$_whileRule$2(start, child) {
  120616. var wasInControlDirective, _this = this;
  120617. _this.whitespace$1$consumeNewlines(true);
  120618. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120619. _this._stylesheet0$_inControlDirective = true;
  120620. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  120621. },
  120622. unknownAtRule$2(start, $name) {
  120623. var t2, t3, rule, _this = this, t1 = {},
  120624. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  120625. _this._stylesheet0$_inUnknownAtRule = true;
  120626. _this.whitespace$1$consumeNewlines(false);
  120627. t1.value = null;
  120628. t2 = _this.scanner;
  120629. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  120630. if (_this.lookingAtChildren$0())
  120631. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  120632. else {
  120633. _this.expectStatementSeparator$0();
  120634. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  120635. }
  120636. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  120637. return rule;
  120638. },
  120639. _stylesheet0$_disallowedAtRule$1(start) {
  120640. var _this = this;
  120641. _this.whitespace$1$consumeNewlines(false);
  120642. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  120643. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  120644. },
  120645. _stylesheet0$_parameterList$0() {
  120646. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  120647. t1 = _this.scanner,
  120648. t2 = t1._string_scanner$_position;
  120649. t1.expectChar$1(40);
  120650. _this.whitespace$1$consumeNewlines(true);
  120651. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  120652. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120653. for (; restParameter = null, t1.peekChar$0() === 36;) {
  120654. t3 = t1._string_scanner$_position;
  120655. t1.expectChar$1(36);
  120656. $name = _this.identifier$1$normalize(true);
  120657. _this.whitespace$1$consumeNewlines(true);
  120658. if (t1.scanChar$1(58)) {
  120659. _this.whitespace$1$consumeNewlines(true);
  120660. defaultValue = _this.expressionUntilComma$0();
  120661. } else {
  120662. if (t1.scanChar$1(46)) {
  120663. t1.expectChar$1(46);
  120664. t1.expectChar$1(46);
  120665. _this.whitespace$1$consumeNewlines(true);
  120666. if (t1.scanChar$1(44))
  120667. _this.whitespace$1$consumeNewlines(true);
  120668. restParameter = $name;
  120669. break;
  120670. }
  120671. defaultValue = null;
  120672. }
  120673. endPosition = t1._string_scanner$_position;
  120674. t4 = t1._sourceFile;
  120675. t5 = new A._FileSpan(t4, t3, endPosition);
  120676. t5._FileSpan$3(t4, t3, endPosition);
  120677. parameters.push(new A.Parameter0($name, defaultValue, t5));
  120678. if (!named.add$1(0, $name))
  120679. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  120680. if (!t1.scanChar$1(44))
  120681. break;
  120682. _this.whitespace$1$consumeNewlines(true);
  120683. }
  120684. t1.expectChar$1(41);
  120685. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120686. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  120687. },
  120688. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  120689. var positional, t3, t4, named, t5, t6, t7, t8, end, rest, emittedRestDeprecation, keywordRest, expression, emittedRestDeprecation0, t9, t10, end0, result, _this = this,
  120690. t1 = _this.scanner,
  120691. t2 = t1._string_scanner$_position;
  120692. t1.expectChar$1(40);
  120693. _this.whitespace$1$consumeNewlines(true);
  120694. positional = A._setArrayType([], type$.JSArray_Expression_2);
  120695. t3 = type$.String;
  120696. t4 = type$.Expression_2;
  120697. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  120698. for (t5 = !mixin, t6 = _this.warnings, t7 = type$.SourceSpan, t8 = t1._sourceFile, end = t8._decodedChars.length, rest = null, emittedRestDeprecation = false; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  120699. expression = _this.expressionUntilComma$1$singleEquals(t5);
  120700. _this.whitespace$1$consumeNewlines(true);
  120701. emittedRestDeprecation0 = true;
  120702. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  120703. _this.whitespace$1$consumeNewlines(true);
  120704. t9 = expression.name;
  120705. if (named.containsKey$1(t9))
  120706. _this.error$2(0, "Duplicate argument.", expression.span);
  120707. named.$indexSet(0, t9, _this.expressionUntilComma$1$singleEquals(t5));
  120708. if (rest != null && !emittedRestDeprecation) {
  120709. t9 = expression.span;
  120710. t10 = t9.file;
  120711. t9 = t9._file$_start;
  120712. new A.FileLocation(t10, t9).FileLocation$_$2(t10, t9);
  120713. end0 = t1._string_scanner$_position;
  120714. t10 = new A._FileSpan(t8, t9, end0);
  120715. t10._FileSpan$3(t8, t9, end0);
  120716. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_jEF, string$.Named_, new A.MultiSpan0(t10, "named argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  120717. emittedRestDeprecation = emittedRestDeprecation0;
  120718. }
  120719. } else if (t1.scanChar$1(46)) {
  120720. t1.expectChar$1(46);
  120721. t1.expectChar$1(46);
  120722. if (rest != null) {
  120723. _this.whitespace$1$consumeNewlines(true);
  120724. if (t1.scanChar$1(44))
  120725. _this.whitespace$1$consumeNewlines(true);
  120726. keywordRest = expression;
  120727. break;
  120728. }
  120729. rest = expression;
  120730. } else if (named.__js_helper$_length !== 0)
  120731. _this.error$2(0, string$.Positik, expression.get$span(expression));
  120732. else {
  120733. positional.push(expression);
  120734. if (rest != null && !emittedRestDeprecation) {
  120735. t6.push(new A._Record_3_deprecation_message_span(B.Deprecation_jEF, string$.Positir, new A.MultiSpan0(expression.get$span(expression), "positional argument", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([rest.get$span(rest), "rest argument"], t7, t3), t7, t3))));
  120736. emittedRestDeprecation = emittedRestDeprecation0;
  120737. }
  120738. }
  120739. _this.whitespace$1$consumeNewlines(true);
  120740. if (!t1.scanChar$1(44))
  120741. break;
  120742. _this.whitespace$1$consumeNewlines(true);
  120743. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  120744. t5 = t1._string_scanner$_position;
  120745. new A.FileLocation(t8, t5).FileLocation$_$2(t8, t5);
  120746. t6 = new A._FileSpan(t8, t5, t5);
  120747. t6._FileSpan$3(t8, t5, t5);
  120748. result = A.List_List$from([""], false, type$.Object);
  120749. result.$flags = 3;
  120750. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t6), false));
  120751. break;
  120752. }
  120753. }
  120754. t1.expectChar$1(41);
  120755. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120756. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  120757. },
  120758. _stylesheet0$_argumentInvocation$0() {
  120759. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  120760. },
  120761. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  120762. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  120763. },
  120764. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  120765. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  120766. },
  120767. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  120768. 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,
  120769. _s20_ = "Expected expression.",
  120770. _box_0 = {},
  120771. t1 = until != null;
  120772. if (t1 && until.call$0())
  120773. _this.scanner.error$1(0, _s20_);
  120774. if (bracketList) {
  120775. t2 = _this.scanner;
  120776. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120777. t2.expectChar$1(91);
  120778. _this.whitespace$1$consumeNewlines(true);
  120779. if (t2.scanChar$1(93)) {
  120780. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  120781. t2 = t2.spanFrom$1(beforeBracket);
  120782. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120783. }
  120784. } else
  120785. beforeBracket = null;
  120786. t2 = _this.scanner;
  120787. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120788. wasInExpression = _this._stylesheet0$_inExpression;
  120789. wasInParentheses = _this._stylesheet0$_inParentheses;
  120790. _this._stylesheet0$_inExpression = true;
  120791. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  120792. _box_0.allowSlash = true;
  120793. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  120794. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  120795. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  120796. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  120797. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  120798. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation, addSingleExpression);
  120799. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  120800. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
  120801. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  120802. if (t1 && until.call$0())
  120803. break;
  120804. _3_0 = t2.peekChar$0();
  120805. if (_3_0 == null)
  120806. break;
  120807. if (40 === _3_0) {
  120808. addSingleExpression.call$1(_this.parentheses$0());
  120809. continue;
  120810. }
  120811. if (91 === _3_0) {
  120812. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  120813. continue;
  120814. }
  120815. if (36 === _3_0) {
  120816. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  120817. continue;
  120818. }
  120819. if (38 === _3_0) {
  120820. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  120821. continue;
  120822. }
  120823. if (39 === _3_0 || 34 === _3_0) {
  120824. addSingleExpression.call$1(_this.interpolatedString$0());
  120825. continue;
  120826. }
  120827. if (35 === _3_0) {
  120828. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  120829. continue;
  120830. }
  120831. if (61 === _3_0) {
  120832. t2.readChar$0();
  120833. if (singleEquals && t2.peekChar$0() !== 61)
  120834. addOperator.call$1(B.BinaryOperator_Kyq0);
  120835. else {
  120836. t2.expectChar$1(61);
  120837. addOperator.call$1(B.BinaryOperator_r840);
  120838. }
  120839. continue;
  120840. }
  120841. if (33 === _3_0) {
  120842. $label0$1: {
  120843. _1_0 = t2.peekChar$1(1);
  120844. if (61 === _1_0) {
  120845. t2.readChar$0();
  120846. t2.readChar$0();
  120847. addOperator.call$1(B.BinaryOperator_qGq0);
  120848. break $label0$1;
  120849. }
  120850. t5 = true;
  120851. if (_1_0 != null)
  120852. if (105 !== _1_0)
  120853. if (73 !== _1_0)
  120854. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  120855. if (t5) {
  120856. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  120857. break $label0$1;
  120858. }
  120859. break;
  120860. }
  120861. continue;
  120862. }
  120863. if (60 === _3_0) {
  120864. t2.readChar$0();
  120865. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG0 : B.BinaryOperator_qHy0);
  120866. continue;
  120867. }
  120868. if (62 === _3_0) {
  120869. t2.readChar$0();
  120870. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR0 : B.BinaryOperator_o8O0);
  120871. continue;
  120872. }
  120873. if (42 === _3_0) {
  120874. t2.readChar$0();
  120875. addOperator.call$1(B.BinaryOperator_tht0);
  120876. continue;
  120877. }
  120878. _3_28 = 43 === _3_0;
  120879. if (_3_28 && _box_0.singleExpression_ == null) {
  120880. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120881. continue;
  120882. }
  120883. if (_3_28) {
  120884. t2.readChar$0();
  120885. addOperator.call$1(B.BinaryOperator_Swh0);
  120886. continue;
  120887. }
  120888. if (45 === _3_0) {
  120889. _2_0 = t2.peekChar$1(1);
  120890. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  120891. if (_box_0.singleExpression_ != null) {
  120892. t5 = t2.peekChar$1(-1);
  120893. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  120894. } else
  120895. t5 = true;
  120896. else
  120897. t5 = false;
  120898. if (t5)
  120899. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120900. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120901. addSingleExpression.call$1(_this.identifierLike$0());
  120902. else if (_box_0.singleExpression_ == null)
  120903. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120904. else {
  120905. t2.readChar$0();
  120906. addOperator.call$1(B.BinaryOperator_QG10);
  120907. }
  120908. continue;
  120909. }
  120910. _3_32 = 47 === _3_0;
  120911. if (_3_32 && _box_0.singleExpression_ == null) {
  120912. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  120913. continue;
  120914. }
  120915. if (_3_32) {
  120916. t2.readChar$0();
  120917. addOperator.call$1(B.BinaryOperator_Mh50);
  120918. continue;
  120919. }
  120920. if (37 === _3_0) {
  120921. t2.readChar$0();
  120922. addOperator.call$1(B.BinaryOperator_s7T0);
  120923. continue;
  120924. }
  120925. if (_3_0 >= 48 && _3_0 <= 57) {
  120926. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120927. continue;
  120928. }
  120929. _3_40 = 46 === _3_0;
  120930. if (_3_40 && t2.peekChar$1(1) === 46)
  120931. break;
  120932. if (_3_40) {
  120933. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  120934. continue;
  120935. }
  120936. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  120937. addOperator.call$1(B.BinaryOperator_uke0);
  120938. continue;
  120939. }
  120940. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  120941. addOperator.call$1(B.BinaryOperator_tKu0);
  120942. continue;
  120943. }
  120944. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  120945. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  120946. continue;
  120947. }
  120948. if (!(_3_0 >= 97 && _3_0 <= 122))
  120949. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  120950. else
  120951. t5 = true;
  120952. if (t5) {
  120953. addSingleExpression.call$1(_this.identifierLike$0());
  120954. continue;
  120955. }
  120956. if (44 === _3_0) {
  120957. if (_this._stylesheet0$_inParentheses) {
  120958. _this._stylesheet0$_inParentheses = false;
  120959. if (_box_0.allowSlash) {
  120960. resetState.call$0();
  120961. continue;
  120962. }
  120963. }
  120964. commaExpressions = _box_0.commaExpressions_;
  120965. if (commaExpressions == null)
  120966. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  120967. if (_box_0.singleExpression_ == null)
  120968. t2.error$1(0, _s20_);
  120969. resolveSpaceExpressions.call$0();
  120970. t5 = _box_0.singleExpression_;
  120971. t5.toString;
  120972. commaExpressions.push(t5);
  120973. t2.readChar$0();
  120974. _box_0.allowSlash = true;
  120975. _box_0.singleExpression_ = null;
  120976. continue;
  120977. }
  120978. break;
  120979. }
  120980. if (bracketList)
  120981. t2.expectChar$1(93);
  120982. commaExpressions = _box_0.commaExpressions_;
  120983. spaceExpressions = _box_0.spaceExpressions_;
  120984. if (commaExpressions != null) {
  120985. resolveSpaceExpressions.call$0();
  120986. _this._stylesheet0$_inParentheses = wasInParentheses;
  120987. singleExpression = _box_0.singleExpression_;
  120988. if (singleExpression != null)
  120989. commaExpressions.push(singleExpression);
  120990. _this._stylesheet0$_inExpression = wasInExpression;
  120991. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  120992. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_qVN0, bracketList, t1);
  120993. } else if (bracketList && spaceExpressions != null) {
  120994. resolveOperations.call$0();
  120995. _this._stylesheet0$_inExpression = wasInExpression;
  120996. t1 = _box_0.singleExpression_;
  120997. t1.toString;
  120998. spaceExpressions.push(t1);
  120999. beforeBracket.toString;
  121000. t2 = t2.spanFrom$1(beforeBracket);
  121001. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, true, t2);
  121002. } else {
  121003. resolveSpaceExpressions.call$0();
  121004. if (bracketList) {
  121005. t1 = _box_0.singleExpression_;
  121006. t1.toString;
  121007. t4 = A._setArrayType([t1], t4);
  121008. beforeBracket.toString;
  121009. t2 = t2.spanFrom$1(beforeBracket);
  121010. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  121011. }
  121012. _this._stylesheet0$_inExpression = wasInExpression;
  121013. t1 = _box_0.singleExpression_;
  121014. t1.toString;
  121015. return t1;
  121016. }
  121017. },
  121018. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  121019. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  121020. },
  121021. _stylesheet0$_expression$1$bracketList(bracketList) {
  121022. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  121023. },
  121024. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  121025. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  121026. },
  121027. _stylesheet0$_expression$0() {
  121028. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  121029. },
  121030. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  121031. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  121032. },
  121033. expressionUntilComma$1$singleEquals(singleEquals) {
  121034. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  121035. },
  121036. expressionUntilComma$0() {
  121037. return this.expressionUntilComma$1$singleEquals(false);
  121038. },
  121039. _stylesheet0$_isSlashOperand$1(expression) {
  121040. var t1 = true;
  121041. if (!(expression instanceof A.NumberExpression0))
  121042. if (!(expression instanceof A.FunctionExpression0))
  121043. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  121044. return t1;
  121045. },
  121046. _stylesheet0$_singleExpression$0() {
  121047. var next, t2, _this = this,
  121048. _s20_ = "Expected expression.",
  121049. t1 = _this.scanner,
  121050. _0_0 = t1.peekChar$0();
  121051. $label0$0: {
  121052. if (_0_0 == null)
  121053. t1.error$1(0, _s20_);
  121054. if (40 === _0_0) {
  121055. t1 = _this.parentheses$0();
  121056. break $label0$0;
  121057. }
  121058. if (47 === _0_0) {
  121059. t1 = _this._stylesheet0$_unaryOperation$0();
  121060. break $label0$0;
  121061. }
  121062. if (46 === _0_0) {
  121063. t1 = _this._stylesheet0$_number$0();
  121064. break $label0$0;
  121065. }
  121066. if (91 === _0_0) {
  121067. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  121068. break $label0$0;
  121069. }
  121070. if (36 === _0_0) {
  121071. t1 = _this._stylesheet0$_variable$0();
  121072. break $label0$0;
  121073. }
  121074. if (38 === _0_0) {
  121075. t1 = _this._stylesheet0$_selector$0();
  121076. break $label0$0;
  121077. }
  121078. if (39 === _0_0 || 34 === _0_0) {
  121079. t1 = _this.interpolatedString$0();
  121080. break $label0$0;
  121081. }
  121082. if (35 === _0_0) {
  121083. t1 = _this._stylesheet0$_hashExpression$0();
  121084. break $label0$0;
  121085. }
  121086. if (43 === _0_0) {
  121087. next = t1.peekChar$1(1);
  121088. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  121089. break $label0$0;
  121090. }
  121091. if (45 === _0_0) {
  121092. t1 = _this._stylesheet0$_minusExpression$0();
  121093. break $label0$0;
  121094. }
  121095. if (33 === _0_0) {
  121096. t1 = _this._stylesheet0$_importantExpression$0();
  121097. break $label0$0;
  121098. }
  121099. if (37 === _0_0) {
  121100. t2 = t1._string_scanner$_position;
  121101. t1.readChar$0();
  121102. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121103. t2 = new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  121104. t1 = t2;
  121105. break $label0$0;
  121106. }
  121107. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  121108. t1 = _this._stylesheet0$_unicodeRange$0();
  121109. break $label0$0;
  121110. }
  121111. if (_0_0 >= 48 && _0_0 <= 57) {
  121112. t1 = _this._stylesheet0$_number$0();
  121113. break $label0$0;
  121114. }
  121115. if (!(_0_0 >= 97 && _0_0 <= 122))
  121116. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  121117. else
  121118. t2 = true;
  121119. if (t2) {
  121120. t1 = _this.identifierLike$0();
  121121. break $label0$0;
  121122. }
  121123. t1 = t1.error$1(0, _s20_);
  121124. }
  121125. return t1;
  121126. },
  121127. parentheses$0() {
  121128. var start, inside, first, expressions, list, t1, t2, _this = this,
  121129. wasInParentheses = _this._stylesheet0$_inParentheses;
  121130. _this._stylesheet0$_inParentheses = true;
  121131. try {
  121132. t1 = _this.scanner;
  121133. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121134. t1.expectChar$1(40);
  121135. _this.whitespace$1$consumeNewlines(true);
  121136. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121137. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  121138. t1.expectChar$1(41);
  121139. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  121140. t1 = t1.spanFrom$1(start);
  121141. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  121142. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  121143. }
  121144. first = _this.expressionUntilComma$0();
  121145. if (t1.scanChar$1(58)) {
  121146. _this.whitespace$1$consumeNewlines(true);
  121147. t1 = _this._stylesheet0$_map$2(first, start);
  121148. return t1;
  121149. }
  121150. if (!t1.scanChar$1(44)) {
  121151. t1.expectChar$1(41);
  121152. t1 = t1.spanFrom$1(start);
  121153. return new A.ParenthesizedExpression0(first, t1);
  121154. }
  121155. _this.whitespace$1$consumeNewlines(true);
  121156. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  121157. for (; true;) {
  121158. if (!_this._stylesheet0$_lookingAtExpression$0())
  121159. break;
  121160. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  121161. if (!t1.scanChar$1(44))
  121162. break;
  121163. _this.whitespace$1$consumeNewlines(true);
  121164. }
  121165. t2 = t1.spanFrom$1(inside);
  121166. list = new A.ListExpression0(A.List_List$unmodifiable(expressions, type$.Expression_2), B.ListSeparator_qVN0, false, t2);
  121167. t1.expectChar$1(41);
  121168. t1 = t1.spanFrom$1(start);
  121169. return new A.ParenthesizedExpression0(list, t1);
  121170. } finally {
  121171. _this._stylesheet0$_inParentheses = wasInParentheses;
  121172. }
  121173. },
  121174. _stylesheet0$_map$2(first, start) {
  121175. var t1, key, _this = this,
  121176. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  121177. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  121178. _this.whitespace$1$consumeNewlines(true);
  121179. if (!_this._stylesheet0$_lookingAtExpression$0())
  121180. break;
  121181. key = _this.expressionUntilComma$0();
  121182. t1.expectChar$1(58);
  121183. _this.whitespace$1$consumeNewlines(true);
  121184. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  121185. }
  121186. t1.expectChar$1(41);
  121187. t1 = t1.spanFrom$1(start);
  121188. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  121189. },
  121190. _stylesheet0$_hashExpression$0() {
  121191. var start, t2, identifier, buffer, t3, _this = this,
  121192. t1 = _this.scanner;
  121193. if (t1.peekChar$1(1) === 123)
  121194. return _this.identifierLike$0();
  121195. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121196. t1.expectChar$1(35);
  121197. t2 = t1.peekChar$0();
  121198. if (t2 == null)
  121199. t2 = null;
  121200. else
  121201. t2 = t2 >= 48 && t2 <= 57;
  121202. if (t2 === true)
  121203. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121204. t2 = t1._string_scanner$_position;
  121205. identifier = _this.interpolatedIdentifier$0();
  121206. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  121207. t1.set$state(new A._SpanScannerState(t1, t2));
  121208. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121209. }
  121210. t2 = new A.StringBuffer("");
  121211. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121212. t3 = A.Primitives_stringFromCharCode(35);
  121213. t2._contents += t3;
  121214. buffer.addInterpolation$1(identifier);
  121215. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121216. },
  121217. _stylesheet0$_hexColorContents$1(start) {
  121218. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  121219. digit1 = _this._stylesheet0$_hexDigit$0(),
  121220. digit2 = _this._stylesheet0$_hexDigit$0(),
  121221. digit3 = _this._stylesheet0$_hexDigit$0(),
  121222. t1 = _this.scanner,
  121223. $self = t1.peekChar$0();
  121224. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  121225. red = (digit1 << 4 >>> 0) + digit1;
  121226. green = (digit2 << 4 >>> 0) + digit2;
  121227. blue = (digit3 << 4 >>> 0) + digit3;
  121228. alpha = null;
  121229. } else {
  121230. digit4 = _this._stylesheet0$_hexDigit$0();
  121231. $self = t1.peekChar$0();
  121232. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  121233. t3 = digit1 << 4 >>> 0;
  121234. t4 = digit3 << 4 >>> 0;
  121235. if (!t2) {
  121236. red = t3 + digit1;
  121237. green = (digit2 << 4 >>> 0) + digit2;
  121238. blue = t4 + digit3;
  121239. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  121240. } else {
  121241. red = t3 + digit2;
  121242. green = t4 + digit4;
  121243. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  121244. $self = t1.peekChar$0();
  121245. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  121246. }
  121247. }
  121248. t2 = alpha == null;
  121249. t3 = t2 ? 1 : alpha;
  121250. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  121251. },
  121252. _stylesheet0$_isHexColor$1(interpolation) {
  121253. var _0_2, t1,
  121254. plain = interpolation.get$asPlain();
  121255. if (typeof plain == "string") {
  121256. _0_2 = plain.length;
  121257. t1 = true;
  121258. if (3 !== _0_2)
  121259. if (4 !== _0_2)
  121260. if (6 !== _0_2)
  121261. t1 = 8 === _0_2;
  121262. } else
  121263. t1 = false;
  121264. if (t1) {
  121265. t1 = new A.CodeUnits(plain);
  121266. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  121267. } else
  121268. return false;
  121269. },
  121270. _stylesheet0$_hexDigit$0() {
  121271. var t1 = this.scanner,
  121272. t2 = t1.peekChar$0();
  121273. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  121274. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  121275. },
  121276. _stylesheet0$_minusExpression$0() {
  121277. var _this = this,
  121278. _0_0 = _this.scanner.peekChar$1(1);
  121279. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  121280. return _this._stylesheet0$_number$0();
  121281. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121282. return _this.identifierLike$0();
  121283. return _this._stylesheet0$_unaryOperation$0();
  121284. },
  121285. _stylesheet0$_importantExpression$0() {
  121286. var t1 = this.scanner,
  121287. t2 = t1._string_scanner$_position;
  121288. t1.readChar$0();
  121289. this.whitespace$1$consumeNewlines(true);
  121290. this.expectIdentifier$1("important");
  121291. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121292. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  121293. },
  121294. _stylesheet0$_unaryOperation$0() {
  121295. var _this = this,
  121296. t1 = _this.scanner,
  121297. t2 = t1._string_scanner$_position,
  121298. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  121299. if (operator == null)
  121300. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  121301. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV0)
  121302. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  121303. _this.whitespace$1$consumeNewlines(true);
  121304. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121305. },
  121306. _stylesheet0$_unaryOperatorFor$1(character) {
  121307. var t1;
  121308. $label0$0: {
  121309. if (43 === character) {
  121310. t1 = B.UnaryOperator_Rbl0;
  121311. break $label0$0;
  121312. }
  121313. if (45 === character) {
  121314. t1 = B.UnaryOperator_UCP0;
  121315. break $label0$0;
  121316. }
  121317. if (47 === character) {
  121318. t1 = B.UnaryOperator_lZV0;
  121319. break $label0$0;
  121320. }
  121321. t1 = null;
  121322. break $label0$0;
  121323. }
  121324. return t1;
  121325. },
  121326. _stylesheet0$_number$0() {
  121327. var number, unit, _this = this,
  121328. t1 = _this.scanner,
  121329. t2 = t1._string_scanner$_position,
  121330. first = t1.peekChar$0(),
  121331. t3 = first !== 43;
  121332. if (!t3 || first === 45)
  121333. t1.readChar$0();
  121334. if (t1.peekChar$0() !== 46)
  121335. _this._stylesheet0$_consumeNaturalNumber$0();
  121336. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  121337. _this._stylesheet0$_tryExponent$0();
  121338. number = A.double_parse(t1.substring$1(0, t2));
  121339. if (t1.scanChar$1(37))
  121340. unit = "%";
  121341. else {
  121342. if (_this.lookingAtIdentifier$0())
  121343. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  121344. else
  121345. t3 = false;
  121346. unit = t3 ? _this.identifier$1$unit(true) : null;
  121347. }
  121348. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121349. },
  121350. _stylesheet0$_consumeNaturalNumber$0() {
  121351. var $self,
  121352. t1 = this.scanner,
  121353. t2 = t1.readChar$0();
  121354. if (!(t2 >= 48 && t2 <= 57))
  121355. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  121356. while (true) {
  121357. $self = t1.peekChar$0();
  121358. if (!($self != null && $self >= 48 && $self <= 57))
  121359. break;
  121360. t1.readChar$0();
  121361. }
  121362. },
  121363. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  121364. var $self,
  121365. t1 = this.scanner;
  121366. if (t1.peekChar$0() !== 46)
  121367. return;
  121368. $self = t1.peekChar$1(1);
  121369. if (!($self != null && $self >= 48 && $self <= 57)) {
  121370. if (allowTrailingDot)
  121371. return;
  121372. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  121373. }
  121374. t1.readChar$0();
  121375. while (true) {
  121376. $self = t1.peekChar$0();
  121377. if (!($self != null && $self >= 48 && $self <= 57))
  121378. break;
  121379. t1.readChar$0();
  121380. }
  121381. },
  121382. _stylesheet0$_tryExponent$0() {
  121383. var next, $self,
  121384. t1 = this.scanner,
  121385. first = t1.peekChar$0();
  121386. if (first !== 101 && first !== 69)
  121387. return;
  121388. next = t1.peekChar$1(1);
  121389. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  121390. return;
  121391. t1.readChar$0();
  121392. if (43 === next || 45 === next)
  121393. t1.readChar$0();
  121394. $self = t1.peekChar$0();
  121395. if (!($self != null && $self >= 48 && $self <= 57))
  121396. t1.error$1(0, "Expected digit.");
  121397. while (true) {
  121398. $self = t1.peekChar$0();
  121399. if (!($self != null && $self >= 48 && $self <= 57))
  121400. break;
  121401. t1.readChar$0();
  121402. }
  121403. },
  121404. _stylesheet0$_unicodeRange$0() {
  121405. var firstRangeLength, hasQuestionMark, t3, secondRangeLength, _this = this,
  121406. _s26_ = "Expected at most 6 digits.",
  121407. t1 = _this.scanner,
  121408. t2 = t1._string_scanner$_position,
  121409. start = new A._SpanScannerState(t1, t2);
  121410. _this.expectIdentChar$1(117);
  121411. t1.expectChar$1(43);
  121412. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  121413. ++firstRangeLength;
  121414. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  121415. ++firstRangeLength;
  121416. if (firstRangeLength === 0)
  121417. t1.error$1(0, 'Expected hex digit or "?".');
  121418. else if (firstRangeLength > 6)
  121419. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  121420. else if (hasQuestionMark) {
  121421. t2 = t1.substring$1(0, t2);
  121422. t1 = t1.spanFrom$1(start);
  121423. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121424. }
  121425. if (t1.scanChar$1(45)) {
  121426. t3 = t1._string_scanner$_position;
  121427. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  121428. ++secondRangeLength;
  121429. if (secondRangeLength === 0)
  121430. t1.error$1(0, "Expected hex digit.");
  121431. else if (secondRangeLength > 6)
  121432. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t3)));
  121433. }
  121434. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  121435. t1.error$1(0, "Expected end of identifier.");
  121436. t2 = t1.substring$1(0, t2);
  121437. t1 = t1.spanFrom$1(start);
  121438. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121439. },
  121440. _stylesheet0$_variable$0() {
  121441. var _this = this,
  121442. t1 = _this.scanner,
  121443. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121444. $name = _this.variableName$0();
  121445. if (_this.get$plainCss())
  121446. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  121447. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  121448. },
  121449. _stylesheet0$_selector$0() {
  121450. var t1, start, _this = this;
  121451. if (_this.get$plainCss())
  121452. _this.scanner.error$2$length(0, string$.The_pa, 1);
  121453. t1 = _this.scanner;
  121454. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121455. t1.expectChar$1(38);
  121456. if (t1.scanChar$1(38)) {
  121457. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  121458. t1.set$position(t1._string_scanner$_position - 1);
  121459. }
  121460. return new A.SelectorExpression0(t1.spanFrom$1(start));
  121461. },
  121462. interpolatedString$0() {
  121463. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  121464. t1 = this.scanner,
  121465. t2 = t1._string_scanner$_position,
  121466. quote = t1.readChar$0();
  121467. if (quote !== 39 && quote !== 34)
  121468. t1.error$2$position(0, "Expected string.", t2);
  121469. t3 = new A.StringBuffer("");
  121470. t4 = A._setArrayType([], type$.JSArray_Object);
  121471. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121472. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121473. for (; true;) {
  121474. _1_0 = t1.peekChar$0();
  121475. if (_1_0 === quote) {
  121476. t1.readChar$0();
  121477. break;
  121478. }
  121479. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  121480. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  121481. if (92 === _1_0) {
  121482. second = t1.peekChar$1(1);
  121483. if (second === 10 || second === 13 || second === 12) {
  121484. t1.readChar$0();
  121485. t1.readChar$0();
  121486. if (second === 13)
  121487. t1.scanChar$1(10);
  121488. } else {
  121489. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  121490. t3._contents += t6;
  121491. }
  121492. continue;
  121493. }
  121494. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121495. _0_0 = this.singleInterpolation$0();
  121496. buffer._interpolation_buffer0$_flushText$0();
  121497. t4.push(_0_0._0);
  121498. t5.push(_0_0._1);
  121499. continue;
  121500. }
  121501. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121502. t3._contents += t6;
  121503. }
  121504. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  121505. },
  121506. identifierLike$0() {
  121507. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  121508. t1 = _this.scanner,
  121509. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121510. identifier = _this.interpolatedIdentifier$0(),
  121511. plain = identifier.get$asPlain(),
  121512. lower = A._Cell$(),
  121513. t2 = plain != null;
  121514. if (t2) {
  121515. if (plain === "if" && t1.peekChar$0() === 40) {
  121516. invocation = _this._stylesheet0$_argumentInvocation$0();
  121517. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  121518. } else if (plain === "not") {
  121519. _this.whitespace$1$consumeNewlines(true);
  121520. expression = _this._stylesheet0$_singleExpression$0();
  121521. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  121522. }
  121523. lower.__late_helper$_value = plain.toLowerCase();
  121524. if (t1.peekChar$0() !== 40) {
  121525. switch (plain) {
  121526. case "false":
  121527. return new A.BooleanExpression0(false, identifier.span);
  121528. case "null":
  121529. return new A.NullExpression0(identifier.span);
  121530. case "true":
  121531. return new A.BooleanExpression0(true, identifier.span);
  121532. }
  121533. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  121534. if (_0_0 != null) {
  121535. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  121536. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  121537. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  121538. t4 = _0_0.alphaOrNull;
  121539. if (t4 == null)
  121540. t4 = 0;
  121541. t5 = identifier.span;
  121542. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  121543. }
  121544. }
  121545. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  121546. if (_1_0 != null)
  121547. return _1_0;
  121548. }
  121549. _2_0 = t1.peekChar$0();
  121550. _2_2 = 46 === _2_0;
  121551. if (_2_2 && t1.peekChar$1(1) === 46)
  121552. return new A.StringExpression0(identifier, false);
  121553. if (_2_2) {
  121554. t1.readChar$0();
  121555. if (t2)
  121556. return _this.namespacedExpression$2(plain, start);
  121557. _this.error$2(0, string$.Interpn, identifier.span);
  121558. }
  121559. _2_4 = 40 === _2_0;
  121560. if (_2_4 && t2) {
  121561. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  121562. t1 = t1.spanFrom$1(start);
  121563. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  121564. }
  121565. if (_2_4)
  121566. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121567. return new A.StringExpression0(identifier, false);
  121568. },
  121569. namespacedExpression$2(namespace, start) {
  121570. var $name, t2, t3, _this = this,
  121571. t1 = _this.scanner;
  121572. if (t1.peekChar$0() === 36) {
  121573. $name = _this.variableName$0();
  121574. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  121575. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  121576. }
  121577. t2 = _this._stylesheet0$_publicIdentifier$0();
  121578. t3 = _this._stylesheet0$_argumentInvocation$0();
  121579. t1 = t1.spanFrom$1(start);
  121580. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  121581. },
  121582. trySpecialFunction$2($name, start) {
  121583. var t1, buffer, t2, next, t3, _this = this,
  121584. normalized = A.unvendor0($name);
  121585. $label0$0: {
  121586. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  121587. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  121588. else
  121589. t1 = true;
  121590. if (t1) {
  121591. t1 = new A.StringBuffer("");
  121592. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121593. t1._contents = $name;
  121594. t2 = A.Primitives_stringFromCharCode(40);
  121595. t1._contents += t2;
  121596. break $label0$0;
  121597. }
  121598. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  121599. t1 = new A.StringBuffer("");
  121600. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121601. t1._contents = $name;
  121602. t2 = A.Primitives_stringFromCharCode(58);
  121603. t1._contents += t2;
  121604. t2 = _this.scanner;
  121605. next = t2.peekChar$0();
  121606. while (true) {
  121607. if (next != null) {
  121608. if (!(next >= 97 && next <= 122))
  121609. t3 = next >= 65 && next <= 90;
  121610. else
  121611. t3 = true;
  121612. t3 = t3 || next === 46;
  121613. } else
  121614. t3 = false;
  121615. if (!t3)
  121616. break;
  121617. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  121618. t1._contents += t3;
  121619. next = t2.peekChar$0();
  121620. }
  121621. t2.expectChar$1(40);
  121622. t2 = A.Primitives_stringFromCharCode(40);
  121623. t1._contents += t2;
  121624. break $label0$0;
  121625. }
  121626. if ("url" === normalized)
  121627. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  121628. return null;
  121629. }
  121630. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  121631. t1 = _this.scanner;
  121632. t1.expectChar$1(41);
  121633. t2 = buffer._interpolation_buffer0$_text;
  121634. t3 = A.Primitives_stringFromCharCode(41);
  121635. t2._contents += t3;
  121636. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121637. },
  121638. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  121639. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  121640. t1 = _this.scanner,
  121641. t2 = t1._string_scanner$_position;
  121642. if (!t1.scanChar$1(40))
  121643. return null;
  121644. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121645. t3 = new A.StringBuffer("");
  121646. t4 = A._setArrayType([], type$.JSArray_Object);
  121647. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121648. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121649. t3._contents = $name == null ? "url" : $name;
  121650. t6 = A.Primitives_stringFromCharCode(40);
  121651. t3._contents += t6;
  121652. for (; true;) {
  121653. _1_0 = t1.peekChar$0();
  121654. if (_1_0 == null)
  121655. break;
  121656. if (92 === _1_0) {
  121657. t6 = _this.escape$0();
  121658. t3._contents += t6;
  121659. continue;
  121660. }
  121661. _1_6 = 35 === _1_0;
  121662. if (_1_6 && t1.peekChar$1(1) === 123) {
  121663. _0_0 = _this.singleInterpolation$0();
  121664. buffer._interpolation_buffer0$_flushText$0();
  121665. t4.push(_0_0._0);
  121666. t5.push(_0_0._1);
  121667. continue;
  121668. }
  121669. t6 = true;
  121670. if (33 !== _1_0)
  121671. if (37 !== _1_0)
  121672. if (38 !== _1_0)
  121673. if (!_1_6)
  121674. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  121675. if (t6) {
  121676. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121677. t3._contents += t6;
  121678. continue;
  121679. }
  121680. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  121681. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121682. if (t1.peekChar$0() !== 41)
  121683. break;
  121684. continue;
  121685. }
  121686. if (41 === _1_0) {
  121687. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121688. t3._contents += t2;
  121689. endPosition = t1._string_scanner$_position;
  121690. t2 = t1._sourceFile;
  121691. t3 = start.position;
  121692. t1 = new A._FileSpan(t2, t3, endPosition);
  121693. t1._FileSpan$3(t2, t3, endPosition);
  121694. return buffer.interpolation$1(t1);
  121695. }
  121696. break;
  121697. }
  121698. t1.set$state(new A._SpanScannerState(t1, t2));
  121699. return null;
  121700. },
  121701. _stylesheet0$_tryUrlContents$1(start) {
  121702. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  121703. },
  121704. dynamicUrl$0() {
  121705. var _0_0, t2, _this = this,
  121706. t1 = _this.scanner,
  121707. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121708. _this.expectIdentifier$1("url");
  121709. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  121710. if (_0_0 != null)
  121711. return new A.StringExpression0(_0_0, false);
  121712. t2 = t1.spanFrom$1(start);
  121713. 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));
  121714. },
  121715. almostAnyValue$1$omitComments(omitComments) {
  121716. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  121717. t1 = _this.scanner,
  121718. t2 = t1._string_scanner$_position,
  121719. t3 = new A.StringBuffer(""),
  121720. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121721. brackets = A._setArrayType([], type$.JSArray_int);
  121722. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  121723. $label0$0: {
  121724. _2_0 = t1.peekChar$0();
  121725. if (92 === _2_0) {
  121726. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121727. t3._contents += t8;
  121728. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121729. t3._contents += t8;
  121730. break $label0$0;
  121731. }
  121732. if (34 === _2_0 || 39 === _2_0) {
  121733. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121734. break $label0$0;
  121735. }
  121736. if (47 === _2_0) {
  121737. $label1$1: {
  121738. _0_0 = t1.peekChar$1(1);
  121739. _0_2 = 42 === _0_0;
  121740. if (_0_2 && t6) {
  121741. start = t1._string_scanner$_position;
  121742. t7.call$0();
  121743. end = t1._string_scanner$_position;
  121744. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121745. break $label1$1;
  121746. }
  121747. if (_0_2) {
  121748. _this.loudComment$0();
  121749. break $label1$1;
  121750. }
  121751. _0_4 = 47 === _0_0;
  121752. if (_0_4 && t6) {
  121753. t8 = _this.get$silentComment();
  121754. start = t1._string_scanner$_position;
  121755. t8.call$0();
  121756. end = t1._string_scanner$_position;
  121757. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121758. break $label1$1;
  121759. }
  121760. if (_0_4) {
  121761. _this.silentComment$0();
  121762. break $label1$1;
  121763. }
  121764. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121765. t3._contents += t8;
  121766. }
  121767. break $label0$0;
  121768. }
  121769. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121770. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121771. break $label0$0;
  121772. }
  121773. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  121774. if (_this.get$indented() && brackets.length === 0)
  121775. break;
  121776. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121777. t3._contents += t8;
  121778. break $label0$0;
  121779. }
  121780. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  121781. break;
  121782. if (117 === _2_0 || 85 === _2_0) {
  121783. t8 = t1._string_scanner$_position;
  121784. identifier = _this.identifier$0();
  121785. if (identifier !== "url" && identifier !== "url-prefix") {
  121786. t3._contents += identifier;
  121787. continue;
  121788. }
  121789. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  121790. if (_1_0 != null)
  121791. buffer.addInterpolation$1(_1_0);
  121792. else {
  121793. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  121794. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  121795. t1._string_scanner$_position = t8;
  121796. t1._lastMatch = null;
  121797. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121798. t3._contents += t8;
  121799. }
  121800. break $label0$0;
  121801. }
  121802. if (40 === _2_0 || 91 === _2_0) {
  121803. bracket = t1.readChar$0();
  121804. t8 = A.Primitives_stringFromCharCode(bracket);
  121805. t3._contents += t8;
  121806. brackets.push(A.opposite0(bracket));
  121807. break $label0$0;
  121808. }
  121809. if (41 === _2_0 || 93 === _2_0) {
  121810. t8 = _2_0 != null;
  121811. char = t8 ? _2_0 : null;
  121812. } else {
  121813. char = null;
  121814. t8 = false;
  121815. }
  121816. if (t8) {
  121817. if (brackets.length === 0)
  121818. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  121819. bracket = brackets.pop();
  121820. t1.expectChar$1(bracket);
  121821. t8 = A.Primitives_stringFromCharCode(bracket);
  121822. t3._contents += t8;
  121823. break $label0$0;
  121824. }
  121825. if (_2_0 == null)
  121826. break;
  121827. t8 = _this.lookingAtIdentifier$0();
  121828. if (t8) {
  121829. t8 = _this.identifier$0();
  121830. t3._contents += t8;
  121831. break $label0$0;
  121832. }
  121833. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121834. t3._contents += t8;
  121835. }
  121836. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121837. },
  121838. almostAnyValue$0() {
  121839. return this.almostAnyValue$1$omitComments(false);
  121840. },
  121841. _stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  121842. var t5, t6, t7, t8, t9, t10, t11, wroteNewline, _2_0, wroteNewline0, t12, _0_0, start, end, _2_12, _2_14_isSet, _2_14, t13, _2_16, _2_18_isSet, _2_20, _2_18, _2_20_isSet, _2_22, bracket, identifier, _1_0, _this = this, _null = null,
  121843. t1 = _this.scanner,
  121844. t2 = t1._string_scanner$_position,
  121845. t3 = new A.StringBuffer(""),
  121846. t4 = A._setArrayType([], type$.JSArray_Object),
  121847. buffer = new A.InterpolationBuffer0(t3, t4, A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121848. brackets = A._setArrayType([], type$.JSArray_int);
  121849. for (t5 = !consumeNewlines, t6 = !allowOpenBrace, t7 = t1.string, t8 = t7.length, t9 = !allowColon, t10 = !allowSemicolon, t11 = _this.get$loudComment(), wroteNewline = false; true;)
  121850. $label0$0: {
  121851. _2_0 = t1.peekChar$0();
  121852. wroteNewline0 = false;
  121853. if (92 === _2_0) {
  121854. t12 = _this.escape$1$identifierStart(true);
  121855. t3._contents += t12;
  121856. wroteNewline = wroteNewline0;
  121857. break $label0$0;
  121858. }
  121859. if (34 === _2_0 || 39 === _2_0) {
  121860. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121861. wroteNewline = wroteNewline0;
  121862. break $label0$0;
  121863. }
  121864. if (47 === _2_0) {
  121865. $label1$1: {
  121866. _0_0 = t1.peekChar$1(1);
  121867. if (42 === _0_0) {
  121868. start = t1._string_scanner$_position;
  121869. t11.call$0();
  121870. end = t1._string_scanner$_position;
  121871. t3._contents += B.JSString_methods.substring$2(t7, start, end);
  121872. break $label1$1;
  121873. }
  121874. if (47 === _0_0 && silentComments) {
  121875. _this.silentComment$0();
  121876. break $label1$1;
  121877. }
  121878. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121879. t3._contents += t12;
  121880. }
  121881. wroteNewline = wroteNewline0;
  121882. break $label0$0;
  121883. }
  121884. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121885. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121886. wroteNewline = wroteNewline0;
  121887. break $label0$0;
  121888. }
  121889. _2_12 = 32 === _2_0;
  121890. _2_14_isSet = !_2_12;
  121891. if (_2_14_isSet) {
  121892. _2_14 = 9 === _2_0;
  121893. t12 = _2_14;
  121894. } else {
  121895. _2_14 = _null;
  121896. t12 = true;
  121897. }
  121898. t13 = false;
  121899. if (t12)
  121900. if (!wroteNewline) {
  121901. t12 = t1.peekChar$1(1);
  121902. t12 = t12 === 32 || t12 === 9 || t12 === 10 || t12 === 13 || t12 === 12;
  121903. } else
  121904. t12 = t13;
  121905. else
  121906. t12 = t13;
  121907. if (t12) {
  121908. t1.readChar$0();
  121909. break $label0$0;
  121910. }
  121911. if (!_2_12)
  121912. t12 = _2_14_isSet ? _2_14 : 9 === _2_0;
  121913. else
  121914. t12 = true;
  121915. if (t12) {
  121916. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121917. t3._contents += t12;
  121918. break $label0$0;
  121919. }
  121920. _2_16 = 10 === _2_0;
  121921. _2_18_isSet = !_2_16;
  121922. _2_20 = _null;
  121923. t12 = true;
  121924. if (_2_18_isSet) {
  121925. _2_18 = 13 === _2_0;
  121926. _2_20_isSet = !_2_18;
  121927. if (_2_20_isSet) {
  121928. _2_20 = 12 === _2_0;
  121929. t12 = _2_20;
  121930. }
  121931. } else {
  121932. _2_18 = _null;
  121933. _2_20_isSet = false;
  121934. }
  121935. if (t12 && _this.get$indented() && t5 && brackets.length === 0)
  121936. break;
  121937. t12 = true;
  121938. if (!_2_16)
  121939. if (!(_2_18_isSet ? _2_18 : 13 === _2_0))
  121940. t12 = _2_20_isSet ? _2_20 : 12 === _2_0;
  121941. if (t12) {
  121942. t12 = t1.peekChar$1(-1);
  121943. if (!(t12 === 10 || t12 === 13 || t12 === 12))
  121944. t3._contents += "\n";
  121945. t1.readChar$0();
  121946. wroteNewline = true;
  121947. break $label0$0;
  121948. }
  121949. _2_22 = 123 === _2_0;
  121950. if (_2_22 && t6)
  121951. break;
  121952. if (40 !== _2_0)
  121953. t12 = _2_22 || 91 === _2_0;
  121954. else
  121955. t12 = true;
  121956. if (t12) {
  121957. bracket = t1.readChar$0();
  121958. t12 = A.Primitives_stringFromCharCode(bracket);
  121959. t3._contents += t12;
  121960. brackets.push(A.opposite0(bracket));
  121961. wroteNewline = wroteNewline0;
  121962. break $label0$0;
  121963. }
  121964. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  121965. if (brackets.length === 0)
  121966. break;
  121967. bracket = brackets.pop();
  121968. t1.expectChar$1(bracket);
  121969. t12 = A.Primitives_stringFromCharCode(bracket);
  121970. t3._contents += t12;
  121971. wroteNewline = wroteNewline0;
  121972. break $label0$0;
  121973. }
  121974. if (59 === _2_0) {
  121975. if (t10 && brackets.length === 0)
  121976. break;
  121977. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121978. t3._contents += t12;
  121979. wroteNewline = wroteNewline0;
  121980. break $label0$0;
  121981. }
  121982. if (58 === _2_0) {
  121983. if (t9 && brackets.length === 0)
  121984. break;
  121985. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121986. t3._contents += t12;
  121987. wroteNewline = wroteNewline0;
  121988. break $label0$0;
  121989. }
  121990. if (117 === _2_0 || 85 === _2_0) {
  121991. t12 = t1._string_scanner$_position;
  121992. identifier = _this.identifier$0();
  121993. if (identifier !== "url" && identifier !== "url-prefix") {
  121994. t3._contents += identifier;
  121995. wroteNewline = wroteNewline0;
  121996. continue;
  121997. }
  121998. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t12), identifier);
  121999. if (_1_0 != null)
  122000. buffer.addInterpolation$1(_1_0);
  122001. else {
  122002. if ((t12 === 0 ? 1 / t12 < 0 : t12 < 0) || t12 > t8)
  122003. A.throwExpression(A.ArgumentError$("Invalid position " + t12, _null));
  122004. t1._string_scanner$_position = t12;
  122005. t1._lastMatch = null;
  122006. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122007. t3._contents += t12;
  122008. }
  122009. wroteNewline = wroteNewline0;
  122010. break $label0$0;
  122011. }
  122012. if (_2_0 == null)
  122013. break;
  122014. t12 = _this.lookingAtIdentifier$0();
  122015. if (t12) {
  122016. t12 = _this.identifier$0();
  122017. t3._contents += t12;
  122018. wroteNewline = wroteNewline0;
  122019. break $label0$0;
  122020. }
  122021. t12 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122022. t3._contents += t12;
  122023. wroteNewline = wroteNewline0;
  122024. }
  122025. if (brackets.length !== 0)
  122026. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  122027. if (!allowEmpty && t4.length === 0 && t3._contents.length === 0)
  122028. t1.error$1(0, "Expected token.");
  122029. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122030. },
  122031. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  122032. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  122033. },
  122034. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  122035. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  122036. },
  122037. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  122038. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  122039. },
  122040. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  122041. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  122042. },
  122043. _stylesheet0$_interpolatedDeclarationValue$0() {
  122044. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  122045. },
  122046. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  122047. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  122048. },
  122049. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  122050. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  122051. },
  122052. interpolatedIdentifier$0() {
  122053. var t3, _1_0, _0_0, _this = this,
  122054. _s20_ = "Expected identifier.",
  122055. t1 = _this.scanner,
  122056. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122057. t2 = new A.StringBuffer(""),
  122058. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122059. if (t1.scanChar$1(45)) {
  122060. t3 = A.Primitives_stringFromCharCode(45);
  122061. t2._contents += t3;
  122062. if (t1.scanChar$1(45)) {
  122063. t2._contents += t3;
  122064. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  122065. return buffer.interpolation$1(t1.spanFrom$1(start));
  122066. }
  122067. }
  122068. $label0$0: {
  122069. _1_0 = t1.peekChar$0();
  122070. if (_1_0 == null)
  122071. t1.error$1(0, _s20_);
  122072. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  122073. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122074. t2._contents += t3;
  122075. break $label0$0;
  122076. }
  122077. if (92 === _1_0) {
  122078. t3 = _this.escape$1$identifierStart(true);
  122079. t2._contents += t3;
  122080. break $label0$0;
  122081. }
  122082. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  122083. _0_0 = _this.singleInterpolation$0();
  122084. buffer.add$2(0, _0_0._0, _0_0._1);
  122085. break $label0$0;
  122086. }
  122087. t1.error$1(0, _s20_);
  122088. }
  122089. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  122090. return buffer.interpolation$1(t1.spanFrom$1(start));
  122091. },
  122092. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  122093. var t1, t2, t3, t4, _1_0, t5, _0_0;
  122094. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text; true;) {
  122095. _1_0 = t3.peekChar$0();
  122096. if (_1_0 == null)
  122097. break;
  122098. t5 = true;
  122099. if (95 !== _1_0)
  122100. if (45 !== _1_0) {
  122101. if (!(_1_0 >= 97 && _1_0 <= 122))
  122102. t5 = _1_0 >= 65 && _1_0 <= 90;
  122103. else
  122104. t5 = true;
  122105. if (!t5)
  122106. t5 = _1_0 >= 48 && _1_0 <= 57;
  122107. else
  122108. t5 = true;
  122109. t5 = t5 || _1_0 >= 128;
  122110. }
  122111. if (t5) {
  122112. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  122113. t4._contents += t5;
  122114. continue;
  122115. }
  122116. if (92 === _1_0) {
  122117. t5 = this.escape$0();
  122118. t4._contents += t5;
  122119. continue;
  122120. }
  122121. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  122122. _0_0 = this.singleInterpolation$0();
  122123. buffer._interpolation_buffer0$_flushText$0();
  122124. t1.push(_0_0._0);
  122125. t2.push(_0_0._1);
  122126. continue;
  122127. }
  122128. break;
  122129. }
  122130. },
  122131. singleInterpolation$0() {
  122132. var contents, span, _this = this,
  122133. t1 = _this.scanner,
  122134. t2 = t1._string_scanner$_position;
  122135. t1.expect$1("#{");
  122136. _this.whitespace$1$consumeNewlines(true);
  122137. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122138. t1.expectChar$1(125);
  122139. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  122140. if (_this.get$plainCss())
  122141. _this.error$2(0, string$.Interpp, span);
  122142. return new A._Record_2(contents, span);
  122143. },
  122144. _stylesheet0$_mediaQueryList$0() {
  122145. var t4, _this = this,
  122146. t1 = _this.scanner,
  122147. t2 = t1._string_scanner$_position,
  122148. t3 = new A.StringBuffer(""),
  122149. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122150. for (; true;) {
  122151. _this.whitespace$1$consumeNewlines(false);
  122152. _this._stylesheet0$_mediaQuery$1(buffer);
  122153. _this.whitespace$1$consumeNewlines(false);
  122154. if (!t1.scanChar$1(44))
  122155. break;
  122156. t4 = A.Primitives_stringFromCharCode(44);
  122157. t3._contents += t4;
  122158. t4 = A.Primitives_stringFromCharCode(32);
  122159. t3._contents += t4;
  122160. }
  122161. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122162. },
  122163. _stylesheet0$_mediaQuery$1(buffer) {
  122164. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  122165. if (_this.scanner.peekChar$0() === 40) {
  122166. _this._stylesheet0$_mediaInParens$1(buffer);
  122167. _this.whitespace$1$consumeNewlines(false);
  122168. if (_this.scanIdentifier$1(_s3_)) {
  122169. buffer._interpolation_buffer0$_text._contents += " and ";
  122170. _this.expectWhitespace$0();
  122171. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122172. } else if (_this.scanIdentifier$1("or")) {
  122173. buffer._interpolation_buffer0$_text._contents += " or ";
  122174. _this.expectWhitespace$0();
  122175. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122176. }
  122177. return;
  122178. }
  122179. identifier1 = _this.interpolatedIdentifier$0();
  122180. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  122181. _this.expectWhitespace$0();
  122182. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122183. buffer._interpolation_buffer0$_text._contents += "not ";
  122184. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122185. return;
  122186. }
  122187. }
  122188. _this.whitespace$1$consumeNewlines(false);
  122189. buffer.addInterpolation$1(identifier1);
  122190. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  122191. return;
  122192. t1 = buffer._interpolation_buffer0$_text;
  122193. t2 = A.Primitives_stringFromCharCode(32);
  122194. t1._contents += t2;
  122195. identifier2 = _this.interpolatedIdentifier$0();
  122196. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  122197. _this.expectWhitespace$0();
  122198. t1._contents += " and ";
  122199. } else {
  122200. _this.whitespace$1$consumeNewlines(false);
  122201. buffer.addInterpolation$1(identifier2);
  122202. if (_this.scanIdentifier$1(_s3_)) {
  122203. _this.expectWhitespace$0();
  122204. t1._contents += " and ";
  122205. } else
  122206. return;
  122207. }
  122208. if (_this.scanIdentifier$1("not")) {
  122209. _this.expectWhitespace$0();
  122210. t1._contents += "not ";
  122211. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122212. return;
  122213. }
  122214. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122215. return;
  122216. },
  122217. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  122218. var t1, t2, t3, _this = this;
  122219. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  122220. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122221. _this.whitespace$1$consumeNewlines(false);
  122222. if (!_this.scanIdentifier$1(operator))
  122223. return;
  122224. _this.expectWhitespace$1$consumeNewlines(false);
  122225. t2 = A.Primitives_stringFromCharCode(32);
  122226. t3 = (t1._contents += t2) + operator;
  122227. t1._contents = t3;
  122228. t1._contents = t3 + t2;
  122229. }
  122230. },
  122231. _stylesheet0$_mediaOrInterp$1(buffer) {
  122232. var _0_0;
  122233. if (this.scanner.peekChar$0() === 35) {
  122234. _0_0 = this.singleInterpolation$0();
  122235. buffer.add$2(0, _0_0._0, _0_0._1);
  122236. } else
  122237. this._stylesheet0$_mediaInParens$1(buffer);
  122238. },
  122239. _stylesheet0$_mediaInParens$1(buffer) {
  122240. var t2, t3, expressionBefore, expressionAfter, next, t4, t5, expressionMiddle, _this = this,
  122241. t1 = _this.scanner;
  122242. t1.expectChar$2$name(40, "media condition in parentheses");
  122243. t2 = buffer._interpolation_buffer0$_text;
  122244. t3 = A.Primitives_stringFromCharCode(40);
  122245. t2._contents += t3;
  122246. _this.whitespace$1$consumeNewlines(true);
  122247. if (t1.peekChar$0() === 40) {
  122248. _this._stylesheet0$_mediaInParens$1(buffer);
  122249. _this.whitespace$1$consumeNewlines(true);
  122250. if (_this.scanIdentifier$1("and")) {
  122251. t2._contents += " and ";
  122252. _this.expectWhitespace$1$consumeNewlines(true);
  122253. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  122254. } else if (_this.scanIdentifier$1("or")) {
  122255. t2._contents += " or ";
  122256. _this.expectWhitespace$1$consumeNewlines(true);
  122257. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122258. }
  122259. } else if (_this.scanIdentifier$1("not")) {
  122260. t2._contents += "not ";
  122261. _this.expectWhitespace$1$consumeNewlines(true);
  122262. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122263. } else {
  122264. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  122265. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  122266. if (t1.scanChar$1(58)) {
  122267. _this.whitespace$1$consumeNewlines(true);
  122268. t3 = A.Primitives_stringFromCharCode(58);
  122269. t2._contents += t3;
  122270. t3 = A.Primitives_stringFromCharCode(32);
  122271. t2._contents += t3;
  122272. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122273. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122274. } else {
  122275. next = t1.peekChar$0();
  122276. t3 = 60 !== next;
  122277. if (!t3 || 62 === next || 61 === next) {
  122278. t4 = A.Primitives_stringFromCharCode(32);
  122279. t2._contents += t4;
  122280. t5 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122281. t2._contents += t5;
  122282. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  122283. t5 = A.Primitives_stringFromCharCode(61);
  122284. t2._contents += t5;
  122285. }
  122286. t2._contents += t4;
  122287. _this.whitespace$1$consumeNewlines(true);
  122288. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  122289. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  122290. if (!t3 || 62 === next) {
  122291. next.toString;
  122292. t3 = t1.scanChar$1(next);
  122293. } else
  122294. t3 = false;
  122295. if (t3) {
  122296. t2._contents += t4;
  122297. t3 = A.Primitives_stringFromCharCode(next);
  122298. t2._contents += t3;
  122299. if (t1.scanChar$1(61)) {
  122300. t3 = A.Primitives_stringFromCharCode(61);
  122301. t2._contents += t3;
  122302. }
  122303. t2._contents += t4;
  122304. _this.whitespace$1$consumeNewlines(true);
  122305. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  122306. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122307. }
  122308. }
  122309. }
  122310. }
  122311. t1.expectChar$1(41);
  122312. _this.whitespace$1$consumeNewlines(false);
  122313. t1 = A.Primitives_stringFromCharCode(41);
  122314. t2._contents += t1;
  122315. },
  122316. _stylesheet0$_expressionUntilComparison$0() {
  122317. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  122318. },
  122319. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  122320. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  122321. t1 = _this.scanner,
  122322. t2 = t1._string_scanner$_position;
  122323. if (_this.scanIdentifier$1("not")) {
  122324. _this.whitespace$1$consumeNewlines(inParentheses);
  122325. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122326. }
  122327. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122328. _this.whitespace$1$consumeNewlines(inParentheses);
  122329. for (operator = null; _this.lookingAtIdentifier$0();) {
  122330. if (operator != null)
  122331. _this.expectIdentifier$1(operator);
  122332. else if (_this.scanIdentifier$1("or"))
  122333. operator = "or";
  122334. else {
  122335. _this.expectIdentifier$1("and");
  122336. operator = "and";
  122337. }
  122338. _this.whitespace$1$consumeNewlines(inParentheses);
  122339. right = _this._stylesheet0$_supportsConditionInParens$0();
  122340. endPosition = t1._string_scanner$_position;
  122341. t3 = t1._sourceFile;
  122342. t4 = new A._FileSpan(t3, t2, endPosition);
  122343. t4._FileSpan$3(t3, t2, endPosition);
  122344. condition = new A.SupportsOperation0(condition, right, operator, t4);
  122345. lowerOperator = operator.toLowerCase();
  122346. if (lowerOperator !== "and" && lowerOperator !== "or")
  122347. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122348. _this.whitespace$1$consumeNewlines(inParentheses);
  122349. }
  122350. return condition;
  122351. },
  122352. _stylesheet0$_supportsCondition$0() {
  122353. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  122354. },
  122355. _stylesheet0$_supportsConditionInParens$0() {
  122356. var $name, nameStart, wasInParentheses, identifier, _1_0, operation, contents, identifier0, t2, $arguments, _0_0, _0_4_isSet, _0_4, condition, exception, value, _this = this,
  122357. t1 = _this.scanner,
  122358. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122359. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122360. identifier0 = _this.interpolatedIdentifier$0();
  122361. t2 = identifier0.get$asPlain();
  122362. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  122363. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  122364. if (t1.scanChar$1(40)) {
  122365. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  122366. t1.expectChar$1(41);
  122367. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  122368. } else {
  122369. _0_0 = identifier0.contents;
  122370. _0_4_isSet = _0_0.length === 1;
  122371. if (_0_4_isSet) {
  122372. _0_4 = _0_0[0];
  122373. t2 = _0_4 instanceof A.Expression0;
  122374. } else {
  122375. _0_4 = null;
  122376. t2 = false;
  122377. }
  122378. if (t2) {
  122379. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  122380. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  122381. } else
  122382. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  122383. }
  122384. }
  122385. t1.expectChar$1(40);
  122386. _this.whitespace$1$consumeNewlines(true);
  122387. if (_this.scanIdentifier$1("not")) {
  122388. _this.whitespace$1$consumeNewlines(true);
  122389. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122390. t1.expectChar$1(41);
  122391. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  122392. } else if (t1.peekChar$0() === 40) {
  122393. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  122394. t1.expectChar$1(41);
  122395. return condition.withSpan$1(t1.spanFrom$1(start));
  122396. }
  122397. $name = null;
  122398. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122399. wasInParentheses = _this._stylesheet0$_inParentheses;
  122400. try {
  122401. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122402. t1.expectChar$1(58);
  122403. } catch (exception) {
  122404. if (type$.FormatException._is(A.unwrapException(exception))) {
  122405. t1.set$state(nameStart);
  122406. _this._stylesheet0$_inParentheses = wasInParentheses;
  122407. identifier = _this.interpolatedIdentifier$0();
  122408. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  122409. operation = null;
  122410. if (_1_0 != null) {
  122411. operation = _1_0;
  122412. t1.expectChar$1(41);
  122413. t2 = operation;
  122414. t1 = t1.spanFrom$1(start);
  122415. return A.SupportsOperation$0(t2.left, t2.right, t2.operator, t1);
  122416. }
  122417. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122418. t2.addInterpolation$1(identifier);
  122419. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  122420. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  122421. if (t1.peekChar$0() === 58)
  122422. throw exception;
  122423. t1.expectChar$1(41);
  122424. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  122425. } else
  122426. throw exception;
  122427. }
  122428. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  122429. t1.expectChar$1(41);
  122430. return new A.SupportsDeclaration0($name, value, t1.spanFrom$1(start));
  122431. },
  122432. _stylesheet0$_supportsDeclarationValue$1($name) {
  122433. var t1 = false;
  122434. if ($name instanceof A.StringExpression0)
  122435. if (!$name.hasQuotes)
  122436. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  122437. if (t1)
  122438. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  122439. else {
  122440. this.whitespace$1$consumeNewlines(true);
  122441. return this._stylesheet0$_expression$1$consumeNewlines(true);
  122442. }
  122443. },
  122444. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  122445. var expression, t2, t3, t4, operator, operation, right, t5, endPosition, t6, t7, lowerOperator, _this = this, _null = null,
  122446. t1 = interpolation.contents;
  122447. if (t1.length !== 1)
  122448. return _null;
  122449. expression = B.JSArray_methods.get$first(t1);
  122450. if (!(expression instanceof A.Expression0))
  122451. return _null;
  122452. t1 = _this.scanner;
  122453. t2 = t1._string_scanner$_position;
  122454. _this.whitespace$1$consumeNewlines(true);
  122455. for (t3 = start.position, t4 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  122456. if (operator != null)
  122457. _this.expectIdentifier$1(operator);
  122458. else if (_this.scanIdentifier$1("and"))
  122459. operator = "and";
  122460. else {
  122461. if (!_this.scanIdentifier$1("or")) {
  122462. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  122463. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  122464. t1._string_scanner$_position = t2;
  122465. return t1._lastMatch = null;
  122466. }
  122467. operator = "or";
  122468. }
  122469. _this.whitespace$1$consumeNewlines(true);
  122470. right = _this._stylesheet0$_supportsConditionInParens$0();
  122471. t5 = operation == null ? new A.SupportsInterpolation0(expression, t4) : operation;
  122472. endPosition = t1._string_scanner$_position;
  122473. t6 = t1._sourceFile;
  122474. t7 = new A._FileSpan(t6, t3, endPosition);
  122475. t7._FileSpan$3(t6, t3, endPosition);
  122476. operation = new A.SupportsOperation0(t5, right, operator, t7);
  122477. lowerOperator = operator.toLowerCase();
  122478. if (lowerOperator !== "and" && lowerOperator !== "or")
  122479. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122480. _this.whitespace$1$consumeNewlines(true);
  122481. }
  122482. return operation;
  122483. },
  122484. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  122485. var t2, _0_0,
  122486. t1 = this.scanner,
  122487. _1_0 = t1.peekChar$0();
  122488. $label0$0: {
  122489. t2 = false;
  122490. if (_1_0 == null) {
  122491. t1 = t2;
  122492. break $label0$0;
  122493. }
  122494. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  122495. t1 = true;
  122496. break $label0$0;
  122497. }
  122498. if (35 === _1_0) {
  122499. t1 = t1.peekChar$1(1) === 123;
  122500. break $label0$0;
  122501. }
  122502. if (45 === _1_0) {
  122503. _0_0 = t1.peekChar$1(1);
  122504. $label1$1: {
  122505. if (_0_0 == null) {
  122506. t1 = t2;
  122507. break $label1$1;
  122508. }
  122509. if (35 === _0_0) {
  122510. t1 = t1.peekChar$1(2) === 123;
  122511. break $label1$1;
  122512. }
  122513. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  122514. t1 = true;
  122515. break $label1$1;
  122516. }
  122517. t1 = t2;
  122518. break $label1$1;
  122519. }
  122520. break $label0$0;
  122521. }
  122522. t1 = t2;
  122523. break $label0$0;
  122524. }
  122525. return t1;
  122526. },
  122527. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  122528. var t1 = this.scanner,
  122529. _0_0 = t1.peekChar$0();
  122530. $label0$0: {
  122531. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  122532. t1 = true;
  122533. break $label0$0;
  122534. }
  122535. if (35 === _0_0) {
  122536. t1 = t1.peekChar$1(1) !== 123;
  122537. break $label0$0;
  122538. }
  122539. t1 = false;
  122540. break $label0$0;
  122541. }
  122542. return t1;
  122543. },
  122544. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  122545. var t2, t3,
  122546. t1 = this.scanner,
  122547. _0_0 = t1.peekChar$0();
  122548. $label0$0: {
  122549. t2 = false;
  122550. if (_0_0 == null) {
  122551. t1 = t2;
  122552. break $label0$0;
  122553. }
  122554. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  122555. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  122556. else
  122557. t3 = true;
  122558. if (t3 || 92 === _0_0) {
  122559. t1 = true;
  122560. break $label0$0;
  122561. }
  122562. if (35 === _0_0) {
  122563. t1 = t1.peekChar$1(1) === 123;
  122564. break $label0$0;
  122565. }
  122566. t1 = t2;
  122567. break $label0$0;
  122568. }
  122569. return t1;
  122570. },
  122571. _stylesheet0$_lookingAtExpression$0() {
  122572. var t2, _0_0,
  122573. t1 = this.scanner,
  122574. _1_0 = t1.peekChar$0();
  122575. $label0$0: {
  122576. t2 = true;
  122577. if (_1_0 == null) {
  122578. t1 = false;
  122579. break $label0$0;
  122580. }
  122581. if (46 === _1_0) {
  122582. t1 = t1.peekChar$1(1) !== 46;
  122583. break $label0$0;
  122584. }
  122585. if (33 === _1_0) {
  122586. _0_0 = t1.peekChar$1(1);
  122587. $label1$1: {
  122588. if (_0_0 != null)
  122589. if (105 !== _0_0)
  122590. if (73 !== _0_0)
  122591. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  122592. else
  122593. t1 = t2;
  122594. else
  122595. t1 = t2;
  122596. else
  122597. t1 = t2;
  122598. break $label1$1;
  122599. }
  122600. break $label0$0;
  122601. }
  122602. t1 = true;
  122603. if (40 !== _1_0)
  122604. if (47 !== _1_0)
  122605. if (91 !== _1_0)
  122606. if (39 !== _1_0)
  122607. if (34 !== _1_0)
  122608. if (35 !== _1_0)
  122609. if (43 !== _1_0)
  122610. if (45 !== _1_0)
  122611. if (92 !== _1_0)
  122612. if (36 !== _1_0)
  122613. if (38 !== _1_0)
  122614. if (37 !== _1_0)
  122615. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  122616. t1 = _1_0 >= 48 && _1_0 <= 57;
  122617. if (t1) {
  122618. t1 = t2;
  122619. break $label0$0;
  122620. }
  122621. t1 = false;
  122622. break $label0$0;
  122623. }
  122624. return t1;
  122625. },
  122626. _stylesheet0$_withChildren$1$3(child, start, create) {
  122627. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  122628. this.whitespaceWithoutComments$1$consumeNewlines(false);
  122629. return result;
  122630. },
  122631. _stylesheet0$_withChildren$3(child, start, create) {
  122632. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  122633. },
  122634. _stylesheet0$_urlString$0() {
  122635. var innerError, stackTrace, t2, exception,
  122636. t1 = this.scanner,
  122637. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122638. url = this.string$0();
  122639. try {
  122640. t2 = A.Uri_parse(url);
  122641. return t2;
  122642. } catch (exception) {
  122643. t2 = A.unwrapException(exception);
  122644. if (type$.FormatException._is(t2)) {
  122645. innerError = t2;
  122646. stackTrace = A.getTraceFromException(exception);
  122647. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  122648. } else
  122649. throw exception;
  122650. }
  122651. },
  122652. _stylesheet0$_publicIdentifier$0() {
  122653. var _this = this,
  122654. t1 = _this.scanner,
  122655. t2 = t1._string_scanner$_position,
  122656. result = _this.identifier$0();
  122657. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  122658. return result;
  122659. },
  122660. _stylesheet0$_assertPublic$2(identifier, span) {
  122661. var first = identifier.charCodeAt(0);
  122662. if (!(first === 45 || first === 95))
  122663. return;
  122664. this.error$2(0, string$.Privat, span.call$0());
  122665. },
  122666. _stylesheet0$_addOrInject$2(buffer, expression) {
  122667. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  122668. buffer.addInterpolation$1(expression.text);
  122669. else
  122670. buffer.add$2(0, expression, expression.get$span(expression));
  122671. },
  122672. get$plainCss() {
  122673. return false;
  122674. }
  122675. };
  122676. A.StylesheetParser_parse_closure0.prototype = {
  122677. call$0() {
  122678. var statements,
  122679. t1 = this.$this,
  122680. t2 = t1.scanner,
  122681. t3 = t2._string_scanner$_position;
  122682. t2.scanChar$1(65279);
  122683. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  122684. t2.expectDone$0();
  122685. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  122686. },
  122687. $signature: 598
  122688. };
  122689. A.StylesheetParser_parse__closure0.prototype = {
  122690. call$0() {
  122691. var t1 = this.$this;
  122692. if (t1.scanner.scan$1("@charset")) {
  122693. t1.whitespace$1$consumeNewlines(false);
  122694. t1.string$0();
  122695. return null;
  122696. }
  122697. return t1._stylesheet0$_statement$1$root(true);
  122698. },
  122699. $signature: 599
  122700. };
  122701. A.StylesheetParser_parseParameterList_closure0.prototype = {
  122702. call$0() {
  122703. var parameters,
  122704. t1 = this.$this,
  122705. t2 = t1.scanner;
  122706. t2.expectChar$2$name(64, "@-rule");
  122707. t1.identifier$0();
  122708. t1.whitespace$1$consumeNewlines(true);
  122709. t1.identifier$0();
  122710. parameters = t1._stylesheet0$_parameterList$0();
  122711. t1.whitespace$1$consumeNewlines(true);
  122712. t2.expectChar$1(123);
  122713. return parameters;
  122714. },
  122715. $signature: 600
  122716. };
  122717. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  122718. call$0() {
  122719. var result = this.production.call$0();
  122720. this.$this.scanner.expectDone$0();
  122721. return result;
  122722. },
  122723. $signature() {
  122724. return this.T._eval$1("0()");
  122725. }
  122726. };
  122727. A.StylesheetParser_parseSignature_closure.prototype = {
  122728. call$0() {
  122729. var parameters, t2, t3,
  122730. t1 = this.$this,
  122731. $name = t1.identifier$0();
  122732. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  122733. parameters = t1._stylesheet0$_parameterList$0();
  122734. else {
  122735. t2 = t1.scanner;
  122736. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  122737. t3 = t2.offset;
  122738. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  122739. }
  122740. t1.scanner.expectDone$0();
  122741. return new A._Record_2($name, parameters);
  122742. },
  122743. $signature: 601
  122744. };
  122745. A.StylesheetParser__statement_closure0.prototype = {
  122746. call$0() {
  122747. return this.$this._stylesheet0$_statement$0();
  122748. },
  122749. $signature: 136
  122750. };
  122751. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  122752. call$0() {
  122753. return this.$this.scanner.spanFrom$1(this.start);
  122754. },
  122755. $signature: 28
  122756. };
  122757. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  122758. call$0() {
  122759. return this.declaration.span;
  122760. },
  122761. $signature: 28
  122762. };
  122763. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  122764. call$0() {
  122765. return this.$this.whitespace$1$consumeNewlines(false);
  122766. },
  122767. $signature: 0
  122768. };
  122769. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  122770. call$0() {
  122771. return this.$this.whitespace$1$consumeNewlines(false);
  122772. },
  122773. $signature: 0
  122774. };
  122775. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  122776. call$0() {
  122777. return this.$this.whitespace$1$consumeNewlines(false);
  122778. },
  122779. $signature: 0
  122780. };
  122781. A.StylesheetParser__styleRule_closure0.prototype = {
  122782. call$2(children, span) {
  122783. var _this = this,
  122784. t1 = _this.$this;
  122785. if (t1.get$indented() && children.length === 0)
  122786. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  122787. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  122788. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  122789. },
  122790. $signature: 602
  122791. };
  122792. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  122793. call$0() {
  122794. return this.$this.whitespace$1$consumeNewlines(false);
  122795. },
  122796. $signature: 0
  122797. };
  122798. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  122799. call$2(children, span) {
  122800. return A.Declaration$nested0(this.name, children, span, this.value);
  122801. },
  122802. $signature: 603
  122803. };
  122804. A.StylesheetParser__atRootRule_closure1.prototype = {
  122805. call$2(children, span) {
  122806. return A.AtRootRule$0(children, span, this.query);
  122807. },
  122808. $signature: 267
  122809. };
  122810. A.StylesheetParser__atRootRule_closure2.prototype = {
  122811. call$2(children, span) {
  122812. return A.AtRootRule$0(children, span, null);
  122813. },
  122814. $signature: 267
  122815. };
  122816. A.StylesheetParser__eachRule_closure0.prototype = {
  122817. call$2(children, span) {
  122818. var _this = this;
  122819. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122820. return A.EachRule$0(_this.variables, _this.list, children, span);
  122821. },
  122822. $signature: 605
  122823. };
  122824. A.StylesheetParser__functionRule_closure0.prototype = {
  122825. call$2(children, span) {
  122826. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  122827. },
  122828. $signature: 606
  122829. };
  122830. A.StylesheetParser__forRule_closure1.prototype = {
  122831. call$0() {
  122832. var t1 = this.$this;
  122833. if (!t1.lookingAtIdentifier$0())
  122834. return false;
  122835. if (t1.scanIdentifier$1("to"))
  122836. return this._box_0.exclusive = true;
  122837. else if (t1.scanIdentifier$1("through")) {
  122838. this._box_0.exclusive = false;
  122839. return true;
  122840. } else
  122841. return false;
  122842. },
  122843. $signature: 20
  122844. };
  122845. A.StylesheetParser__forRule_closure2.prototype = {
  122846. call$2(children, span) {
  122847. var t1, _this = this;
  122848. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122849. t1 = _this._box_0.exclusive;
  122850. t1.toString;
  122851. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  122852. },
  122853. $signature: 607
  122854. };
  122855. A.StylesheetParser__memberList_closure0.prototype = {
  122856. call$0() {
  122857. var t1 = this.$this;
  122858. if (t1.scanner.peekChar$0() === 36)
  122859. this.variables.add$1(0, t1.variableName$0());
  122860. else
  122861. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  122862. },
  122863. $signature: 1
  122864. };
  122865. A.StylesheetParser__includeRule_closure0.prototype = {
  122866. call$2(children, span) {
  122867. return A.ContentBlock$0(this.contentParameters_, children, span);
  122868. },
  122869. $signature: 608
  122870. };
  122871. A.StylesheetParser_mediaRule_closure0.prototype = {
  122872. call$2(children, span) {
  122873. return A.MediaRule$0(this.query, children, span);
  122874. },
  122875. $signature: 609
  122876. };
  122877. A.StylesheetParser__mixinRule_closure0.prototype = {
  122878. call$2(children, span) {
  122879. var _this = this;
  122880. _this.$this._stylesheet0$_inMixin = false;
  122881. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  122882. },
  122883. $signature: 610
  122884. };
  122885. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  122886. call$0() {
  122887. return this.$this.whitespace$1$consumeNewlines(false);
  122888. },
  122889. $signature: 0
  122890. };
  122891. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  122892. call$2(children, span) {
  122893. var _this = this;
  122894. if (_this._box_0.needsDeprecationWarning)
  122895. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_L0R, string$.x40_moz_, span));
  122896. return A.AtRule$0(_this.name, span, children, _this.value);
  122897. },
  122898. $signature: 268
  122899. };
  122900. A.StylesheetParser_supportsRule_closure0.prototype = {
  122901. call$2(children, span) {
  122902. return A.SupportsRule$0(this.condition, children, span);
  122903. },
  122904. $signature: 612
  122905. };
  122906. A.StylesheetParser__whileRule_closure0.prototype = {
  122907. call$2(children, span) {
  122908. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  122909. return A.WhileRule$0(this.condition, children, span);
  122910. },
  122911. $signature: 613
  122912. };
  122913. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  122914. call$2(children, span) {
  122915. return A.AtRule$0(this.name, span, children, this._box_0.value);
  122916. },
  122917. $signature: 268
  122918. };
  122919. A.StylesheetParser__expression_resetState0.prototype = {
  122920. call$0() {
  122921. var t2,
  122922. t1 = this._box_0;
  122923. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  122924. t2 = this.$this;
  122925. t2.scanner.set$state(this.start);
  122926. t1.allowSlash = true;
  122927. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  122928. },
  122929. $signature: 0
  122930. };
  122931. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  122932. call$0() {
  122933. var t2, t3, t4, t5, t6, t7, _this = this,
  122934. t1 = _this._box_0,
  122935. operator = t1.operators_.pop(),
  122936. left = t1.operands_.pop(),
  122937. right = t1.singleExpression_;
  122938. if (right == null) {
  122939. t2 = _this.$this.scanner;
  122940. t3 = operator.operator.length;
  122941. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  122942. }
  122943. if (t1.allowSlash) {
  122944. t2 = _this.$this;
  122945. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_Mh50 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  122946. } else
  122947. t2 = false;
  122948. if (t2)
  122949. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_Mh50, left, right, true);
  122950. else {
  122951. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  122952. t2 = t1.allowSlash = false;
  122953. if (B.BinaryOperator_Swh0 === operator || B.BinaryOperator_QG10 === operator) {
  122954. t3 = _this.$this;
  122955. t4 = t3.scanner.string;
  122956. t5 = right.get$span(right);
  122957. t5 = t5.get$start(t5);
  122958. t6 = right.get$span(right);
  122959. t7 = operator.operator;
  122960. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  122961. t2 = left.get$span(left);
  122962. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  122963. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  122964. }
  122965. if (t2) {
  122966. t2 = left.toString$0(0);
  122967. t4 = right.toString$0(0);
  122968. t5 = left.toString$0(0);
  122969. t6 = right.toString$0(0);
  122970. t1 = t1.singleExpression_;
  122971. 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)));
  122972. }
  122973. }
  122974. }
  122975. },
  122976. $signature: 0
  122977. };
  122978. A.StylesheetParser__expression_resolveOperations0.prototype = {
  122979. call$0() {
  122980. var t1,
  122981. operators = this._box_0.operators_;
  122982. if (operators == null)
  122983. return;
  122984. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  122985. t1.call$0();
  122986. },
  122987. $signature: 0
  122988. };
  122989. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  122990. call$1(expression) {
  122991. var t2, spaceExpressions, _this = this,
  122992. t1 = _this._box_0;
  122993. if (t1.singleExpression_ != null) {
  122994. t2 = _this.$this;
  122995. if (t2._stylesheet0$_inParentheses) {
  122996. t2._stylesheet0$_inParentheses = false;
  122997. if (t1.allowSlash) {
  122998. _this.resetState.call$0();
  122999. return;
  123000. }
  123001. }
  123002. spaceExpressions = t1.spaceExpressions_;
  123003. if (spaceExpressions == null)
  123004. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  123005. _this.resolveOperations.call$0();
  123006. t2 = t1.singleExpression_;
  123007. t2.toString;
  123008. spaceExpressions.push(t2);
  123009. t1.allowSlash = true;
  123010. }
  123011. t1.singleExpression_ = expression;
  123012. },
  123013. $signature: 614
  123014. };
  123015. A.StylesheetParser__expression_addOperator0.prototype = {
  123016. call$1(operator) {
  123017. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  123018. t1 = _this.$this;
  123019. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
  123020. t2 = t1.scanner;
  123021. t3 = operator.operator.length;
  123022. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  123023. }
  123024. t2 = _this._box_0;
  123025. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
  123026. operators = t2.operators_;
  123027. if (operators == null)
  123028. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  123029. operands = t2.operands_;
  123030. if (operands == null)
  123031. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  123032. t3 = _this.resolveOneOperation;
  123033. t4 = operator.precedence;
  123034. while (true) {
  123035. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  123036. break;
  123037. t3.call$0();
  123038. }
  123039. singleExpression = t2.singleExpression_;
  123040. if (singleExpression == null) {
  123041. t3 = t1.scanner;
  123042. t4 = operator.operator.length;
  123043. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  123044. }
  123045. t1.whitespace$1$consumeNewlines(true);
  123046. if (operator === B.BinaryOperator_s7T0 && !t1._stylesheet0$_lookingAtExpression$0()) {
  123047. t1 = t1.scanner;
  123048. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  123049. _this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  123050. } else {
  123051. operators.push(operator);
  123052. operands.push(singleExpression);
  123053. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  123054. }
  123055. },
  123056. $signature: 615
  123057. };
  123058. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  123059. call$0() {
  123060. var t1, spaceExpressions, singleExpression, t2;
  123061. this.resolveOperations.call$0();
  123062. t1 = this._box_0;
  123063. spaceExpressions = t1.spaceExpressions_;
  123064. if (spaceExpressions == null)
  123065. return;
  123066. singleExpression = t1.singleExpression_;
  123067. if (singleExpression == null)
  123068. this.$this.scanner.error$1(0, "Expected expression.");
  123069. spaceExpressions.push(singleExpression);
  123070. t2 = B.JSArray_methods.get$first(spaceExpressions);
  123071. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  123072. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, false, t2);
  123073. t1.spaceExpressions_ = null;
  123074. },
  123075. $signature: 0
  123076. };
  123077. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  123078. call$0() {
  123079. return this.$this.scanner.peekChar$0() === 44;
  123080. },
  123081. $signature: 20
  123082. };
  123083. A.StylesheetParser__isHexColor_closure0.prototype = {
  123084. call$1(char) {
  123085. return A.CharacterExtension_get_isHex0(char);
  123086. },
  123087. $signature: 47
  123088. };
  123089. A.StylesheetParser__unicodeRange_closure1.prototype = {
  123090. call$1(char) {
  123091. return char != null && A.CharacterExtension_get_isHex0(char);
  123092. },
  123093. $signature: 30
  123094. };
  123095. A.StylesheetParser__unicodeRange_closure2.prototype = {
  123096. call$1(char) {
  123097. return char != null && A.CharacterExtension_get_isHex0(char);
  123098. },
  123099. $signature: 30
  123100. };
  123101. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  123102. call$0() {
  123103. return this.$this.scanner.spanFrom$1(this.start);
  123104. },
  123105. $signature: 28
  123106. };
  123107. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  123108. call$1(contents) {
  123109. return new A.StringExpression0(contents, false);
  123110. },
  123111. $signature: 616
  123112. };
  123113. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  123114. call$0() {
  123115. var t1 = this.$this.scanner,
  123116. _0_0 = t1.peekChar$0();
  123117. $label0$0: {
  123118. if (61 === _0_0) {
  123119. t1 = t1.peekChar$1(1) !== 61;
  123120. break $label0$0;
  123121. }
  123122. if (60 === _0_0 || 62 === _0_0) {
  123123. t1 = true;
  123124. break $label0$0;
  123125. }
  123126. t1 = false;
  123127. break $label0$0;
  123128. }
  123129. return t1;
  123130. },
  123131. $signature: 20
  123132. };
  123133. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  123134. call$0() {
  123135. return this.$this.scanner.spanFrom$1(this.start);
  123136. },
  123137. $signature: 28
  123138. };
  123139. A.Stylesheet0.prototype = {
  123140. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  123141. var t1, t2, t3, t4, _i, child;
  123142. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  123143. child = t1[_i];
  123144. if (child instanceof A.UseRule0) {
  123145. t4.push(child);
  123146. continue;
  123147. }
  123148. if (child instanceof A.ForwardRule0) {
  123149. t3.push(child);
  123150. continue;
  123151. }
  123152. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  123153. continue;
  123154. break;
  123155. }
  123156. },
  123157. accept$1$1(visitor) {
  123158. return visitor.visitStylesheet$1(0, this);
  123159. },
  123160. accept$1(visitor) {
  123161. return this.accept$1$1(visitor, type$.dynamic);
  123162. },
  123163. toString$0(_) {
  123164. return B.JSArray_methods.join$1(this.children, " ");
  123165. },
  123166. get$span(receiver) {
  123167. return this.span;
  123168. }
  123169. };
  123170. A.SupportsExpression0.prototype = {
  123171. get$span(_) {
  123172. var t1 = this.condition;
  123173. return t1.get$span(t1);
  123174. },
  123175. accept$1$1(visitor) {
  123176. return visitor.visitSupportsExpression$1(0, this);
  123177. },
  123178. accept$1(visitor) {
  123179. return this.accept$1$1(visitor, type$.dynamic);
  123180. },
  123181. toString$0(_) {
  123182. return this.condition.toString$0(0);
  123183. }
  123184. };
  123185. A.ModifiableCssSupportsRule0.prototype = {
  123186. accept$1$1(visitor) {
  123187. return visitor.visitCssSupportsRule$1(this);
  123188. },
  123189. accept$1(visitor) {
  123190. return this.accept$1$1(visitor, type$.dynamic);
  123191. },
  123192. equalsIgnoringChildren$1(other) {
  123193. var t1, t2;
  123194. if (other instanceof A.ModifiableCssSupportsRule0) {
  123195. t1 = this.condition;
  123196. t2 = other.condition;
  123197. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  123198. } else
  123199. t1 = false;
  123200. return t1;
  123201. },
  123202. copyWithoutChildren$0() {
  123203. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  123204. },
  123205. get$span(receiver) {
  123206. return this.span;
  123207. }
  123208. };
  123209. A.SupportsRule0.prototype = {
  123210. accept$1$1(visitor) {
  123211. return visitor.visitSupportsRule$1(0, this);
  123212. },
  123213. accept$1(visitor) {
  123214. return this.accept$1$1(visitor, type$.dynamic);
  123215. },
  123216. toString$0(_) {
  123217. return "@supports " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  123218. },
  123219. get$span(receiver) {
  123220. return this.span;
  123221. }
  123222. };
  123223. A.JSToDartImporter.prototype = {
  123224. canonicalize$1(_, url) {
  123225. var t1,
  123226. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  123227. if (result == null)
  123228. return null;
  123229. t1 = self.URL;
  123230. if (result instanceof t1)
  123231. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  123232. t1 = self.Promise;
  123233. if (result instanceof t1)
  123234. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  123235. else
  123236. A.jsThrow(new self.Error(string$.The_ca));
  123237. },
  123238. load$1(_, url) {
  123239. var t1, contents, syntax, t2,
  123240. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  123241. if (result == null)
  123242. return null;
  123243. t1 = self.Promise;
  123244. if (result instanceof t1)
  123245. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  123246. type$.JSImporterResult._as(result);
  123247. t1 = J.getInterceptor$x(result);
  123248. contents = t1.get$contents(result);
  123249. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  123250. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  123251. syntax = t1.get$syntax(result);
  123252. if (contents == null || syntax == null)
  123253. A.jsThrow(new self.Error(string$.The_lo));
  123254. t2 = A.parseSyntax(syntax);
  123255. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  123256. },
  123257. isNonCanonicalScheme$1(scheme) {
  123258. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  123259. }
  123260. };
  123261. A.JSToDartImporter_canonicalize_closure.prototype = {
  123262. call$0() {
  123263. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  123264. },
  123265. $signature: 36
  123266. };
  123267. A.JSToDartImporter_load_closure.prototype = {
  123268. call$0() {
  123269. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  123270. },
  123271. $signature: 36
  123272. };
  123273. A.Syntax0.prototype = {
  123274. _enumToString$0() {
  123275. return "Syntax." + this._name;
  123276. },
  123277. toString$0(_) {
  123278. return this._syntax0$_name;
  123279. }
  123280. };
  123281. A.TypeSelector0.prototype = {
  123282. get$specificity() {
  123283. return 1;
  123284. },
  123285. accept$1$1(visitor) {
  123286. return visitor.visitTypeSelector$1(this);
  123287. },
  123288. accept$1(visitor) {
  123289. return this.accept$1$1(visitor, type$.dynamic);
  123290. },
  123291. addSuffix$1(suffix) {
  123292. var t1 = this.name;
  123293. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  123294. },
  123295. unify$1(compound) {
  123296. var unified, t1,
  123297. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  123298. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  123299. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  123300. if (unified == null)
  123301. return null;
  123302. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123303. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  123304. return t1;
  123305. } else {
  123306. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  123307. B.JSArray_methods.addAll$1(t1, compound);
  123308. return t1;
  123309. }
  123310. },
  123311. isSuperselector$1(other) {
  123312. var t1, t2, t3;
  123313. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  123314. t1 = false;
  123315. if (other instanceof A.TypeSelector0) {
  123316. t2 = this.name;
  123317. t3 = other.name;
  123318. if (t2.name === t3.name) {
  123319. t1 = t2.namespace;
  123320. t1 = t1 === "*" || t1 == t3.namespace;
  123321. }
  123322. }
  123323. } else
  123324. t1 = true;
  123325. return t1;
  123326. },
  123327. $eq(_, other) {
  123328. if (other == null)
  123329. return false;
  123330. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  123331. },
  123332. get$hashCode(_) {
  123333. var t1 = this.name;
  123334. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  123335. }
  123336. };
  123337. A.Types.prototype = {};
  123338. A.UnaryOperationExpression0.prototype = {
  123339. accept$1$1(visitor) {
  123340. return visitor.visitUnaryOperationExpression$1(0, this);
  123341. },
  123342. accept$1(visitor) {
  123343. return this.accept$1$1(visitor, type$.dynamic);
  123344. },
  123345. toString$0(_) {
  123346. var operand,
  123347. t1 = this.operator,
  123348. t2 = t1.operator;
  123349. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  123350. operand = this.operand;
  123351. $label0$0: {
  123352. t2 = true;
  123353. if (!(operand instanceof A.BinaryOperationExpression0))
  123354. if (!(operand instanceof A.UnaryOperationExpression0))
  123355. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  123356. break $label0$0;
  123357. }
  123358. if (t2)
  123359. t1 += "40";
  123360. t1 += operand.toString$0(0);
  123361. if (t2)
  123362. t1 += "41";
  123363. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123364. },
  123365. get$span(receiver) {
  123366. return this.span;
  123367. }
  123368. };
  123369. A.UnaryOperator0.prototype = {
  123370. _enumToString$0() {
  123371. return "UnaryOperator." + this._name;
  123372. },
  123373. toString$0(_) {
  123374. return this.name;
  123375. }
  123376. };
  123377. A.UnitlessSassNumber0.prototype = {
  123378. get$numeratorUnits(_) {
  123379. return B.List_empty;
  123380. },
  123381. get$denominatorUnits(_) {
  123382. return B.List_empty;
  123383. },
  123384. get$hasUnits() {
  123385. return false;
  123386. },
  123387. get$hasComplexUnits() {
  123388. return false;
  123389. },
  123390. withValue$1(value) {
  123391. return new A.UnitlessSassNumber0(value, null);
  123392. },
  123393. withSlash$2(numerator, denominator) {
  123394. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  123395. },
  123396. hasUnit$1(unit) {
  123397. return false;
  123398. },
  123399. hasCompatibleUnits$1(other) {
  123400. return other instanceof A.UnitlessSassNumber0;
  123401. },
  123402. hasPossiblyCompatibleUnits$1(other) {
  123403. return other instanceof A.UnitlessSassNumber0;
  123404. },
  123405. compatibleWithUnit$1(unit) {
  123406. return true;
  123407. },
  123408. coerceToMatch$3(other, $name, otherName) {
  123409. return other.withValue$1(this._number1$_value);
  123410. },
  123411. coerceToMatch$1(other) {
  123412. return this.coerceToMatch$3(other, null, null);
  123413. },
  123414. coerceValueToMatch$3(other, $name, otherName) {
  123415. return this._number1$_value;
  123416. },
  123417. coerceValueToMatch$1(other) {
  123418. return this.coerceValueToMatch$3(other, null, null);
  123419. },
  123420. convertToMatch$3(other, $name, otherName) {
  123421. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  123422. },
  123423. convertValueToMatch$3(other, $name, otherName) {
  123424. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  123425. },
  123426. convertValueToMatch$1(other) {
  123427. return this.convertValueToMatch$3(other, null, null);
  123428. },
  123429. coerce$3(newNumerators, newDenominators, $name) {
  123430. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  123431. },
  123432. coerce$2(newNumerators, newDenominators) {
  123433. return this.coerce$3(newNumerators, newDenominators, null);
  123434. },
  123435. coerceValue$3(newNumerators, newDenominators, $name) {
  123436. return this._number1$_value;
  123437. },
  123438. coerceValueToUnit$2(unit, $name) {
  123439. return this._number1$_value;
  123440. },
  123441. coerceValueToUnit$1(unit) {
  123442. return this.coerceValueToUnit$2(unit, null);
  123443. },
  123444. greaterThan$1(other) {
  123445. var t1, t2;
  123446. if (other instanceof A.SassNumber0) {
  123447. t1 = this._number1$_value;
  123448. t2 = other._number1$_value;
  123449. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123450. }
  123451. return this.super$SassNumber$greaterThan0(other);
  123452. },
  123453. greaterThanOrEquals$1(other) {
  123454. var t1, t2;
  123455. if (other instanceof A.SassNumber0) {
  123456. t1 = this._number1$_value;
  123457. t2 = other._number1$_value;
  123458. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123459. }
  123460. return this.super$SassNumber$greaterThanOrEquals0(other);
  123461. },
  123462. lessThan$1(other) {
  123463. var t1, t2;
  123464. if (other instanceof A.SassNumber0) {
  123465. t1 = this._number1$_value;
  123466. t2 = other._number1$_value;
  123467. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123468. }
  123469. return this.super$SassNumber$lessThan0(other);
  123470. },
  123471. lessThanOrEquals$1(other) {
  123472. var t1, t2;
  123473. if (other instanceof A.SassNumber0) {
  123474. t1 = this._number1$_value;
  123475. t2 = other._number1$_value;
  123476. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123477. }
  123478. return this.super$SassNumber$lessThanOrEquals0(other);
  123479. },
  123480. modulo$1(other) {
  123481. if (other instanceof A.SassNumber0)
  123482. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  123483. return this.super$SassNumber$modulo0(other);
  123484. },
  123485. plus$1(other) {
  123486. if (other instanceof A.SassNumber0)
  123487. return other.withValue$1(this._number1$_value + other._number1$_value);
  123488. return this.super$SassNumber$plus0(other);
  123489. },
  123490. minus$1(other) {
  123491. if (other instanceof A.SassNumber0)
  123492. return other.withValue$1(this._number1$_value - other._number1$_value);
  123493. return this.super$SassNumber$minus0(other);
  123494. },
  123495. times$1(other) {
  123496. if (other instanceof A.SassNumber0)
  123497. return other.withValue$1(this._number1$_value * other._number1$_value);
  123498. return this.super$SassNumber$times0(other);
  123499. },
  123500. dividedBy$1(other) {
  123501. var t1, t2;
  123502. if (other instanceof A.SassNumber0) {
  123503. t1 = this._number1$_value / other._number1$_value;
  123504. if (other.get$hasUnits()) {
  123505. t2 = other.get$denominatorUnits(other);
  123506. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  123507. t1 = t2;
  123508. } else
  123509. t1 = new A.UnitlessSassNumber0(t1, null);
  123510. return t1;
  123511. }
  123512. return this.super$SassNumber$dividedBy0(other);
  123513. },
  123514. unaryMinus$0() {
  123515. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  123516. },
  123517. $eq(_, other) {
  123518. if (other == null)
  123519. return false;
  123520. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  123521. },
  123522. get$hashCode(_) {
  123523. var t1 = this.hashCache;
  123524. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  123525. }
  123526. };
  123527. A.UniversalSelector0.prototype = {
  123528. get$specificity() {
  123529. return 0;
  123530. },
  123531. accept$1$1(visitor) {
  123532. return visitor.visitUniversalSelector$1(this);
  123533. },
  123534. accept$1(visitor) {
  123535. return this.accept$1$1(visitor, type$.dynamic);
  123536. },
  123537. unify$1(compound) {
  123538. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  123539. _0_1 = compound.length,
  123540. _0_4_isSet = _0_1 >= 1;
  123541. if (_0_4_isSet) {
  123542. _0_4 = compound[0];
  123543. if (!(_0_4 instanceof A.UniversalSelector0))
  123544. t1 = _0_4 instanceof A.TypeSelector0;
  123545. else
  123546. t1 = true;
  123547. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  123548. } else {
  123549. rest = _null;
  123550. _0_4 = rest;
  123551. t1 = false;
  123552. }
  123553. if (t1) {
  123554. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  123555. if (unified == null)
  123556. return _null;
  123557. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123558. B.JSArray_methods.addAll$1(t1, rest);
  123559. return t1;
  123560. }
  123561. t1 = false;
  123562. if (_0_1 === 1) {
  123563. if (_0_4_isSet)
  123564. t2 = _0_4;
  123565. else {
  123566. _0_4 = compound[0];
  123567. t2 = _0_4;
  123568. _0_4_isSet = true;
  123569. }
  123570. if (t2 instanceof A.PseudoSelector0) {
  123571. t2 = _0_4_isSet ? _0_4 : compound[0];
  123572. type$.PseudoSelector_2._as(t2);
  123573. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  123574. }
  123575. }
  123576. if (t1)
  123577. return _null;
  123578. if (_0_1 <= 0)
  123579. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123580. t1 = _this.namespace;
  123581. if (t1 == null || t1 === "*")
  123582. t1 = compound;
  123583. else {
  123584. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123585. B.JSArray_methods.addAll$1(t1, compound);
  123586. }
  123587. return t1;
  123588. },
  123589. isSuperselector$1(other) {
  123590. var t1 = this.namespace;
  123591. if (t1 === "*")
  123592. return true;
  123593. if (other instanceof A.TypeSelector0)
  123594. return t1 == other.name.namespace;
  123595. if (other instanceof A.UniversalSelector0)
  123596. return t1 == other.namespace;
  123597. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  123598. },
  123599. $eq(_, other) {
  123600. if (other == null)
  123601. return false;
  123602. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  123603. },
  123604. get$hashCode(_) {
  123605. return J.get$hashCode$(this.namespace);
  123606. }
  123607. };
  123608. A.UnprefixedMapView0.prototype = {
  123609. get$keys(_) {
  123610. return new A._UnprefixedKeys0(this);
  123611. },
  123612. $index(_, key) {
  123613. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  123614. },
  123615. containsKey$1(key) {
  123616. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  123617. },
  123618. remove$1(_, key) {
  123619. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  123620. return t1;
  123621. }
  123622. };
  123623. A._UnprefixedKeys0.prototype = {
  123624. get$iterator(_) {
  123625. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  123626. t1 = t1.get$keys(t1);
  123627. t1 = t1.where$1(t1, new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0, new A._UnprefixedKeys_iterator_closure2(this), type$.String);
  123628. return t1.get$iterator(t1);
  123629. },
  123630. contains$1(_, key) {
  123631. return this._unprefixed_map_view0$_view.containsKey$1(key);
  123632. }
  123633. };
  123634. A._UnprefixedKeys_iterator_closure1.prototype = {
  123635. call$1(key) {
  123636. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  123637. },
  123638. $signature: 5
  123639. };
  123640. A._UnprefixedKeys_iterator_closure2.prototype = {
  123641. call$1(key) {
  123642. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  123643. },
  123644. $signature: 6
  123645. };
  123646. A.JSUrl0.prototype = {};
  123647. A.UseRule0.prototype = {
  123648. UseRule$4$configuration0(url, namespace, span, configuration) {
  123649. var t1, t2, _i, variable;
  123650. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  123651. variable = t1[_i];
  123652. if (variable.isGuarded)
  123653. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  123654. }
  123655. },
  123656. accept$1$1(visitor) {
  123657. return visitor.visitUseRule$1(0, this);
  123658. },
  123659. accept$1(visitor) {
  123660. return this.accept$1$1(visitor, type$.dynamic);
  123661. },
  123662. toString$0(_) {
  123663. var t1 = this.url,
  123664. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  123665. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  123666. dot = B.JSString_methods.indexOf$1(basename, ".");
  123667. t1 = this.namespace;
  123668. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  123669. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  123670. else
  123671. t1 = t2;
  123672. t2 = this.configuration;
  123673. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  123674. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123675. },
  123676. get$span(receiver) {
  123677. return this.span;
  123678. }
  123679. };
  123680. A.UserDefinedCallable0.prototype = {
  123681. get$name(_) {
  123682. return this.declaration.name;
  123683. },
  123684. $isAsyncCallable0: 1,
  123685. $isCallable: 1
  123686. };
  123687. A.resolveImportPath_closure1.prototype = {
  123688. call$0() {
  123689. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  123690. },
  123691. $signature: 45
  123692. };
  123693. A.resolveImportPath_closure2.prototype = {
  123694. call$0() {
  123695. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  123696. },
  123697. $signature: 45
  123698. };
  123699. A._tryPathAsDirectory_closure0.prototype = {
  123700. call$0() {
  123701. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  123702. },
  123703. $signature: 45
  123704. };
  123705. A._exactlyOne_closure0.prototype = {
  123706. call$1(path) {
  123707. var t1 = $.$get$context();
  123708. return " " + t1.prettyUri$1(t1.toUri$1(path));
  123709. },
  123710. $signature: 6
  123711. };
  123712. A._PropertyDescriptor0.prototype = {};
  123713. A.futureToPromise_closure0.prototype = {
  123714. call$2(resolve, reject) {
  123715. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  123716. },
  123717. $signature: 617
  123718. };
  123719. A.futureToPromise__closure0.prototype = {
  123720. call$1(result) {
  123721. return this.resolve.call$1(result);
  123722. },
  123723. $signature: 35
  123724. };
  123725. A.futureToPromise__closure1.prototype = {
  123726. call$2(error, stackTrace) {
  123727. A.attachTrace0(error, stackTrace);
  123728. this.reject.call$1(error);
  123729. },
  123730. $signature: 51
  123731. };
  123732. A.objectToMap_closure.prototype = {
  123733. call$2(key, value) {
  123734. this.map.$indexSet(0, key, value);
  123735. return value;
  123736. },
  123737. $signature: 126
  123738. };
  123739. A._RequireMain0.prototype = {};
  123740. A.indent_closure0.prototype = {
  123741. call$1(line) {
  123742. return B.JSString_methods.$mul(" ", this.indentation) + line;
  123743. },
  123744. $signature: 6
  123745. };
  123746. A.flattenVertically_closure1.prototype = {
  123747. call$1(inner) {
  123748. return A.QueueList_QueueList$from(inner, this.T);
  123749. },
  123750. $signature() {
  123751. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  123752. }
  123753. };
  123754. A.flattenVertically_closure2.prototype = {
  123755. call$1(queue) {
  123756. this.result.push(queue.removeFirst$0());
  123757. return queue.get$length(0) === 0;
  123758. },
  123759. $signature() {
  123760. return this.T._eval$1("bool(QueueList<0>)");
  123761. }
  123762. };
  123763. A.longestCommonSubsequence_backtrack0.prototype = {
  123764. call$2(i, j) {
  123765. var selection, t1, _this = this;
  123766. if (i === -1 || j === -1)
  123767. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  123768. selection = _this.selections[i][j];
  123769. if (selection != null) {
  123770. t1 = _this.call$2(i - 1, j - 1);
  123771. J.add$1$ax(t1, selection);
  123772. return t1;
  123773. }
  123774. t1 = _this.lengths;
  123775. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  123776. },
  123777. $signature() {
  123778. return this.T._eval$1("List<0>(int,int)");
  123779. }
  123780. };
  123781. A.mapAddAll2_closure0.prototype = {
  123782. call$2(key, inner) {
  123783. var t1 = this.destination,
  123784. _0_0 = t1.$index(0, key);
  123785. if (_0_0 != null)
  123786. _0_0.addAll$1(0, inner);
  123787. else
  123788. t1.$indexSet(0, key, inner);
  123789. },
  123790. $signature() {
  123791. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  123792. }
  123793. };
  123794. A.CssValue0.prototype = {
  123795. $eq(_, other) {
  123796. if (other == null)
  123797. return false;
  123798. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  123799. },
  123800. get$hashCode(_) {
  123801. return J.get$hashCode$(this.value);
  123802. },
  123803. toString$0(_) {
  123804. return J.toString$0$(this.value);
  123805. },
  123806. $isAstNode0: 1,
  123807. get$span(receiver) {
  123808. return this.span;
  123809. }
  123810. };
  123811. A.ValueExpression0.prototype = {
  123812. accept$1$1(visitor) {
  123813. return visitor.visitValueExpression$1(0, this);
  123814. },
  123815. accept$1(visitor) {
  123816. return this.accept$1$1(visitor, type$.dynamic);
  123817. },
  123818. toString$0(_) {
  123819. return this.value.toString$0(0);
  123820. },
  123821. get$span(receiver) {
  123822. return this.span;
  123823. }
  123824. };
  123825. A.valueClass_closure.prototype = {
  123826. call$0() {
  123827. var t2,
  123828. t1 = type$.JSClass,
  123829. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  123830. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  123831. t1 = type$.String;
  123832. t2 = type$.Function;
  123833. 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));
  123834. 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));
  123835. return jsClass;
  123836. },
  123837. $signature: 15
  123838. };
  123839. A.valueClass__closure.prototype = {
  123840. call$1($self) {
  123841. return J.toString$0$($self);
  123842. },
  123843. $signature: 132
  123844. };
  123845. A.valueClass__closure0.prototype = {
  123846. call$1($self) {
  123847. return new self.immutable.List($self.get$asList());
  123848. },
  123849. $signature: 618
  123850. };
  123851. A.valueClass__closure1.prototype = {
  123852. call$1($self) {
  123853. return $self.get$hasBrackets();
  123854. },
  123855. $signature: 55
  123856. };
  123857. A.valueClass__closure2.prototype = {
  123858. call$1($self) {
  123859. return $self.get$isTruthy();
  123860. },
  123861. $signature: 55
  123862. };
  123863. A.valueClass__closure3.prototype = {
  123864. call$1($self) {
  123865. return $self.get$realNull();
  123866. },
  123867. $signature: 240
  123868. };
  123869. A.valueClass__closure4.prototype = {
  123870. call$1($self) {
  123871. return $self.get$separator($self).separator;
  123872. },
  123873. $signature: 619
  123874. };
  123875. A.valueClass__closure5.prototype = {
  123876. call$3($self, sassIndex, $name) {
  123877. return $self.sassIndexToListIndex$2(sassIndex, $name);
  123878. },
  123879. call$2($self, sassIndex) {
  123880. return this.call$3($self, sassIndex, null);
  123881. },
  123882. "call*": "call$3",
  123883. $requiredArgCount: 2,
  123884. $defaultValues() {
  123885. return [null];
  123886. },
  123887. $signature: 620
  123888. };
  123889. A.valueClass__closure6.prototype = {
  123890. call$2($self, index) {
  123891. return index < 1 && index >= -1 ? $self : self.undefined;
  123892. },
  123893. $signature: 248
  123894. };
  123895. A.valueClass__closure7.prototype = {
  123896. call$2($self, $name) {
  123897. return $self.assertBoolean$1($name);
  123898. },
  123899. call$1($self) {
  123900. return this.call$2($self, null);
  123901. },
  123902. "call*": "call$2",
  123903. $requiredArgCount: 1,
  123904. $defaultValues() {
  123905. return [null];
  123906. },
  123907. $signature: 621
  123908. };
  123909. A.valueClass__closure8.prototype = {
  123910. call$2($self, $name) {
  123911. return $self.assertCalculation$1($name);
  123912. },
  123913. call$1($self) {
  123914. return this.call$2($self, null);
  123915. },
  123916. "call*": "call$2",
  123917. $requiredArgCount: 1,
  123918. $defaultValues() {
  123919. return [null];
  123920. },
  123921. $signature: 622
  123922. };
  123923. A.valueClass__closure9.prototype = {
  123924. call$2($self, $name) {
  123925. return $self.assertColor$1($name);
  123926. },
  123927. call$1($self) {
  123928. return this.call$2($self, null);
  123929. },
  123930. "call*": "call$2",
  123931. $requiredArgCount: 1,
  123932. $defaultValues() {
  123933. return [null];
  123934. },
  123935. $signature: 623
  123936. };
  123937. A.valueClass__closure10.prototype = {
  123938. call$2($self, $name) {
  123939. return $self.assertFunction$1($name);
  123940. },
  123941. call$1($self) {
  123942. return this.call$2($self, null);
  123943. },
  123944. "call*": "call$2",
  123945. $requiredArgCount: 1,
  123946. $defaultValues() {
  123947. return [null];
  123948. },
  123949. $signature: 624
  123950. };
  123951. A.valueClass__closure11.prototype = {
  123952. call$2($self, $name) {
  123953. return $self.assertMap$1($name);
  123954. },
  123955. call$1($self) {
  123956. return this.call$2($self, null);
  123957. },
  123958. "call*": "call$2",
  123959. $requiredArgCount: 1,
  123960. $defaultValues() {
  123961. return [null];
  123962. },
  123963. $signature: 625
  123964. };
  123965. A.valueClass__closure12.prototype = {
  123966. call$2($self, $name) {
  123967. return $self.assertMixin$1($name);
  123968. },
  123969. call$1($self) {
  123970. return this.call$2($self, null);
  123971. },
  123972. "call*": "call$2",
  123973. $requiredArgCount: 1,
  123974. $defaultValues() {
  123975. return [null];
  123976. },
  123977. $signature: 626
  123978. };
  123979. A.valueClass__closure13.prototype = {
  123980. call$2($self, $name) {
  123981. return $self.assertNumber$1($name);
  123982. },
  123983. call$1($self) {
  123984. return this.call$2($self, null);
  123985. },
  123986. "call*": "call$2",
  123987. $requiredArgCount: 1,
  123988. $defaultValues() {
  123989. return [null];
  123990. },
  123991. $signature: 627
  123992. };
  123993. A.valueClass__closure14.prototype = {
  123994. call$2($self, $name) {
  123995. return $self.assertString$1($name);
  123996. },
  123997. call$1($self) {
  123998. return this.call$2($self, null);
  123999. },
  124000. "call*": "call$2",
  124001. $requiredArgCount: 1,
  124002. $defaultValues() {
  124003. return [null];
  124004. },
  124005. $signature: 628
  124006. };
  124007. A.valueClass__closure15.prototype = {
  124008. call$1($self) {
  124009. return $self.tryMap$0();
  124010. },
  124011. $signature: 629
  124012. };
  124013. A.valueClass__closure16.prototype = {
  124014. call$2($self, other) {
  124015. return $self.$eq(0, other);
  124016. },
  124017. $signature: 630
  124018. };
  124019. A.valueClass__closure17.prototype = {
  124020. call$2($self, _) {
  124021. return $self.get$hashCode($self);
  124022. },
  124023. call$1($self) {
  124024. return this.call$2($self, null);
  124025. },
  124026. "call*": "call$2",
  124027. $requiredArgCount: 1,
  124028. $defaultValues() {
  124029. return [null];
  124030. },
  124031. $signature: 631
  124032. };
  124033. A.valueClass__closure18.prototype = {
  124034. call$1($self) {
  124035. return $self.toString$0(0);
  124036. },
  124037. $signature: 225
  124038. };
  124039. A.Value0.prototype = {
  124040. get$isTruthy() {
  124041. return true;
  124042. },
  124043. get$separator(_) {
  124044. return B.ListSeparator_undecided_null_undecided0;
  124045. },
  124046. get$hasBrackets() {
  124047. return false;
  124048. },
  124049. get$asList() {
  124050. return A._setArrayType([this], type$.JSArray_Value_2);
  124051. },
  124052. get$lengthAsList() {
  124053. return 1;
  124054. },
  124055. get$isBlank() {
  124056. return false;
  124057. },
  124058. get$isSpecialNumber() {
  124059. return false;
  124060. },
  124061. get$isVar() {
  124062. return false;
  124063. },
  124064. get$realNull() {
  124065. return this;
  124066. },
  124067. sassIndexToListIndex$2(sassIndex, $name) {
  124068. var t1, index,
  124069. indexValue = sassIndex.assertNumber$1($name);
  124070. if (indexValue.get$hasUnits()) {
  124071. t1 = indexValue.get$unitString();
  124072. 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);
  124073. }
  124074. index = indexValue.assertInt$1($name);
  124075. if (index === 0)
  124076. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  124077. if (Math.abs(index) > this.get$lengthAsList())
  124078. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  124079. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  124080. },
  124081. assertBoolean$1($name) {
  124082. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  124083. },
  124084. assertCalculation$1($name) {
  124085. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  124086. },
  124087. assertColor$1($name) {
  124088. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  124089. },
  124090. assertFunction$1($name) {
  124091. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  124092. },
  124093. assertMixin$1($name) {
  124094. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  124095. },
  124096. assertMap$1($name) {
  124097. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  124098. },
  124099. tryMap$0() {
  124100. return null;
  124101. },
  124102. assertNumber$1($name) {
  124103. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  124104. },
  124105. assertNumber$0() {
  124106. return this.assertNumber$1(null);
  124107. },
  124108. assertString$1($name) {
  124109. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  124110. },
  124111. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  124112. var invalidSeparator, buffer, t1, _this = this,
  124113. _s8_ = "Expected",
  124114. _s23_ = "Expected an unbracketed";
  124115. if (_this.get$separator(_this) !== B.ListSeparator_qVN0)
  124116. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz0;
  124117. else
  124118. invalidSeparator = true;
  124119. if (!invalidSeparator && !_this.get$hasBrackets())
  124120. return _this.get$asList();
  124121. buffer = new A.StringBuffer(_s8_);
  124122. if (_this.get$hasBrackets()) {
  124123. buffer._contents = _s23_;
  124124. t1 = _s23_;
  124125. } else
  124126. t1 = _s8_;
  124127. if (invalidSeparator) {
  124128. t1 += _this.get$hasBrackets() ? "," : " a";
  124129. buffer._contents = t1;
  124130. t1 = buffer._contents = t1 + " space-";
  124131. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  124132. }
  124133. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  124134. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  124135. },
  124136. _value$_selectorString$1($name) {
  124137. var _0_0 = this._value$_selectorStringOrNull$0();
  124138. if (_0_0 != null)
  124139. return _0_0;
  124140. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  124141. },
  124142. _value$_selectorStringOrNull$0() {
  124143. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  124144. if (_this instanceof A.SassString0)
  124145. return _this._string0$_text;
  124146. if (!(_this instanceof A.SassList0))
  124147. return _null;
  124148. t1 = _this._list1$_contents;
  124149. t2 = t1.length;
  124150. if (t2 === 0)
  124151. return _null;
  124152. result = A._setArrayType([], type$.JSArray_String);
  124153. $label0$1: {
  124154. _1_0 = _this._list1$_separator;
  124155. if (B.ListSeparator_qVN0 === _1_0) {
  124156. for (_i = 0; _i < t2; ++_i) {
  124157. complex = t1[_i];
  124158. if (complex instanceof A.SassString0) {
  124159. result.push(complex._string0$_text);
  124160. continue;
  124161. }
  124162. if (complex instanceof A.SassList0 && B.ListSeparator_qSL0 === complex._list1$_separator) {
  124163. string = complex._value$_selectorStringOrNull$0();
  124164. if (string == null)
  124165. return _null;
  124166. result.push(string);
  124167. continue;
  124168. }
  124169. return _null;
  124170. }
  124171. break $label0$1;
  124172. }
  124173. if (B.ListSeparator_bRz0 === _1_0)
  124174. return _null;
  124175. for (_i = 0; _i < t2; ++_i) {
  124176. compound = t1[_i];
  124177. if (!(compound instanceof A.SassString0))
  124178. return _null;
  124179. result.push(compound._string0$_text);
  124180. }
  124181. }
  124182. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN0 ? ", " : " ");
  124183. },
  124184. withListContents$2$separator(contents, separator) {
  124185. var t1 = separator == null ? this.get$separator(this) : separator,
  124186. t2 = this.get$hasBrackets();
  124187. return A.SassList$0(contents, t1, t2);
  124188. },
  124189. withListContents$1(contents) {
  124190. return this.withListContents$2$separator(contents, null);
  124191. },
  124192. greaterThan$1(other) {
  124193. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  124194. },
  124195. greaterThanOrEquals$1(other) {
  124196. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  124197. },
  124198. lessThan$1(other) {
  124199. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  124200. },
  124201. lessThanOrEquals$1(other) {
  124202. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  124203. },
  124204. times$1(other) {
  124205. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  124206. },
  124207. modulo$1(other) {
  124208. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  124209. },
  124210. plus$1(other) {
  124211. var t1;
  124212. $label0$0: {
  124213. if (other instanceof A.SassString0) {
  124214. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  124215. break $label0$0;
  124216. }
  124217. if (other instanceof A.SassCalculation0)
  124218. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  124219. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  124220. break $label0$0;
  124221. }
  124222. return t1;
  124223. },
  124224. minus$1(other) {
  124225. 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);
  124226. },
  124227. dividedBy$1(other) {
  124228. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  124229. },
  124230. unaryPlus$0() {
  124231. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  124232. },
  124233. unaryMinus$0() {
  124234. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  124235. },
  124236. unaryNot$0() {
  124237. return B.SassBoolean_false0;
  124238. },
  124239. withoutSlash$0() {
  124240. return this;
  124241. },
  124242. toCssString$1$quote(quote) {
  124243. return A.serializeValue0(this, false, quote);
  124244. },
  124245. toCssString$0() {
  124246. return this.toCssString$1$quote(true);
  124247. },
  124248. toString$0(_) {
  124249. return A.serializeValue0(this, true, true);
  124250. }
  124251. };
  124252. A.VariableExpression0.prototype = {
  124253. accept$1$1(visitor) {
  124254. return visitor.visitVariableExpression$1(0, this);
  124255. },
  124256. accept$1(visitor) {
  124257. return this.accept$1$1(visitor, type$.dynamic);
  124258. },
  124259. toString$0(_) {
  124260. var t1 = this.span;
  124261. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  124262. },
  124263. get$span(receiver) {
  124264. return this.span;
  124265. }
  124266. };
  124267. A.VariableDeclaration0.prototype = {
  124268. accept$1$1(visitor) {
  124269. return visitor.visitVariableDeclaration$1(0, this);
  124270. },
  124271. accept$1(visitor) {
  124272. return this.accept$1$1(visitor, type$.dynamic);
  124273. },
  124274. toString$0(_) {
  124275. var t1 = this.namespace;
  124276. t1 = t1 != null ? t1 + "." : "";
  124277. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  124278. return t1.charCodeAt(0) == 0 ? t1 : t1;
  124279. },
  124280. get$span(receiver) {
  124281. return this.span;
  124282. }
  124283. };
  124284. A.WarnRule0.prototype = {
  124285. accept$1$1(visitor) {
  124286. return visitor.visitWarnRule$1(0, this);
  124287. },
  124288. accept$1(visitor) {
  124289. return this.accept$1$1(visitor, type$.dynamic);
  124290. },
  124291. toString$0(_) {
  124292. return "@warn " + this.expression.toString$0(0) + ";";
  124293. },
  124294. get$span(receiver) {
  124295. return this.span;
  124296. }
  124297. };
  124298. A.WhileRule0.prototype = {
  124299. accept$1$1(visitor) {
  124300. return visitor.visitWhileRule$1(0, this);
  124301. },
  124302. accept$1(visitor) {
  124303. return this.accept$1$1(visitor, type$.dynamic);
  124304. },
  124305. toString$0(_) {
  124306. return "@while " + this.condition.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  124307. },
  124308. get$span(receiver) {
  124309. return this.span;
  124310. }
  124311. };
  124312. A.XyzD50ColorSpace0.prototype = {
  124313. get$isBoundedInternal() {
  124314. return false;
  124315. },
  124316. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  124317. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  124318. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  124319. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  124320. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  124321. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  124322. lightness = missingLightness ? _null : 116 * f1 - 16;
  124323. a = 500 * (f0 - f1);
  124324. b = 200 * (f1 - f2);
  124325. if (dest === B.LabColorSpace_2nT0) {
  124326. t1 = missingA ? _null : a;
  124327. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  124328. } else
  124329. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  124330. return t1;
  124331. }
  124332. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  124333. },
  124334. convert$5(dest, x, y, z, alpha) {
  124335. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  124336. },
  124337. _xyz_d50$_convertComponentToLabF$1(component) {
  124338. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  124339. },
  124340. toLinear$1(channel) {
  124341. return channel;
  124342. },
  124343. fromLinear$1(channel) {
  124344. return channel;
  124345. },
  124346. transformationMatrix$1(dest) {
  124347. var t1;
  124348. $label0$0: {
  124349. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124350. t1 = $.$get$xyzD50ToLinearSrgb0();
  124351. break $label0$0;
  124352. }
  124353. if (B.A98RgbColorSpace_lf20 === dest) {
  124354. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  124355. break $label0$0;
  124356. }
  124357. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124358. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  124359. break $label0$0;
  124360. }
  124361. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124362. t1 = $.$get$xyzD50ToLinearDisplayP30();
  124363. break $label0$0;
  124364. }
  124365. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124366. t1 = $.$get$xyzD50ToLinearRec20200();
  124367. break $label0$0;
  124368. }
  124369. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  124370. t1 = $.$get$xyzD50ToXyzD650();
  124371. break $label0$0;
  124372. }
  124373. if (B.LmsColorSpace_Os30 === dest) {
  124374. t1 = $.$get$xyzD50ToLms0();
  124375. break $label0$0;
  124376. }
  124377. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124378. break $label0$0;
  124379. }
  124380. return t1;
  124381. }
  124382. };
  124383. A.XyzD65ColorSpace0.prototype = {
  124384. get$isBoundedInternal() {
  124385. return false;
  124386. },
  124387. toLinear$1(channel) {
  124388. return channel;
  124389. },
  124390. fromLinear$1(channel) {
  124391. return channel;
  124392. },
  124393. transformationMatrix$1(dest) {
  124394. var t1;
  124395. $label0$0: {
  124396. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124397. t1 = $.$get$xyzD65ToLinearSrgb0();
  124398. break $label0$0;
  124399. }
  124400. if (B.A98RgbColorSpace_lf20 === dest) {
  124401. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  124402. break $label0$0;
  124403. }
  124404. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124405. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  124406. break $label0$0;
  124407. }
  124408. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124409. t1 = $.$get$xyzD65ToLinearDisplayP30();
  124410. break $label0$0;
  124411. }
  124412. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124413. t1 = $.$get$xyzD65ToLinearRec20200();
  124414. break $label0$0;
  124415. }
  124416. if (B.XyzD50ColorSpace_2OB0 === dest) {
  124417. t1 = $.$get$xyzD65ToXyzD500();
  124418. break $label0$0;
  124419. }
  124420. if (B.LmsColorSpace_Os30 === dest) {
  124421. t1 = $.$get$xyzD65ToLms0();
  124422. break $label0$0;
  124423. }
  124424. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124425. break $label0$0;
  124426. }
  124427. return t1;
  124428. }
  124429. };
  124430. (function aliases() {
  124431. var _ = J.LegacyJavaScriptObject.prototype;
  124432. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  124433. _ = A.JsLinkedHashMap.prototype;
  124434. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  124435. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  124436. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  124437. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  124438. _ = A._BufferingStreamSubscription.prototype;
  124439. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  124440. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  124441. _ = A.ListBase.prototype;
  124442. _.super$ListBase$setRange = _.setRange$4;
  124443. _ = A.Iterable.prototype;
  124444. _.super$Iterable$where = _.where$1;
  124445. _.super$Iterable$skipWhile = _.skipWhile$1;
  124446. _ = A.ModifiableCssParentNode.prototype;
  124447. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  124448. _ = A.SimpleSelector.prototype;
  124449. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  124450. _.super$SimpleSelector$unify = _.unify$1;
  124451. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  124452. _ = A.Parser.prototype;
  124453. _.super$Parser$silentComment = _.silentComment$0;
  124454. _ = A.StylesheetParser.prototype;
  124455. _.super$StylesheetParser$importArgument = _.importArgument$0;
  124456. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  124457. _ = A.Value.prototype;
  124458. _.super$Value$assertMap = _.assertMap$1;
  124459. _.super$Value$plus = _.plus$1;
  124460. _.super$Value$minus = _.minus$1;
  124461. _.super$Value$dividedBy = _.dividedBy$1;
  124462. _.super$Value$toString = _.toString$0;
  124463. _ = A.ColorSpace.prototype;
  124464. _.super$ColorSpace$convert = _.convert$5;
  124465. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124466. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  124467. _ = A.SassNumber.prototype;
  124468. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  124469. _.super$SassNumber$coerce = _.coerce$3;
  124470. _.super$SassNumber$coerceValue = _.coerceValue$3;
  124471. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  124472. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  124473. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  124474. _.super$SassNumber$greaterThan = _.greaterThan$1;
  124475. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  124476. _.super$SassNumber$lessThan = _.lessThan$1;
  124477. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  124478. _.super$SassNumber$modulo = _.modulo$1;
  124479. _.super$SassNumber$plus = _.plus$1;
  124480. _.super$SassNumber$minus = _.minus$1;
  124481. _.super$SassNumber$times = _.times$1;
  124482. _.super$SassNumber$dividedBy = _.dividedBy$1;
  124483. _ = A.AnySelectorVisitor.prototype;
  124484. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  124485. _ = A.EveryCssVisitor.prototype;
  124486. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  124487. _ = A.ReplaceExpressionVisitor.prototype;
  124488. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  124489. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  124490. _ = A.SourceSpanMixin.prototype;
  124491. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  124492. _.super$SourceSpanMixin$$eq = _.$eq;
  124493. _ = A.StringScanner.prototype;
  124494. _.super$StringScanner$readChar = _.readChar$0;
  124495. _.super$StringScanner$scanChar = _.scanChar$1;
  124496. _.super$StringScanner$scan = _.scan$1;
  124497. _.super$StringScanner$matches = _.matches$1;
  124498. _ = A.AnySelectorVisitor0.prototype;
  124499. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  124500. _ = A.EveryCssVisitor0.prototype;
  124501. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  124502. _ = A.ModifiableCssParentNode0.prototype;
  124503. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  124504. _ = A.SassNumber0.prototype;
  124505. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  124506. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  124507. _.super$SassNumber$coerce0 = _.coerce$3;
  124508. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  124509. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  124510. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  124511. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  124512. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  124513. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  124514. _.super$SassNumber$lessThan0 = _.lessThan$1;
  124515. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  124516. _.super$SassNumber$modulo0 = _.modulo$1;
  124517. _.super$SassNumber$plus0 = _.plus$1;
  124518. _.super$SassNumber$minus0 = _.minus$1;
  124519. _.super$SassNumber$times0 = _.times$1;
  124520. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  124521. _ = A.Parser1.prototype;
  124522. _.super$Parser$silentComment0 = _.silentComment$0;
  124523. _ = A.ReplaceExpressionVisitor0.prototype;
  124524. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  124525. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  124526. _ = A.SimpleSelector0.prototype;
  124527. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  124528. _.super$SimpleSelector$unify0 = _.unify$1;
  124529. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  124530. _ = A.ColorSpace0.prototype;
  124531. _.super$ColorSpace$convert0 = _.convert$5;
  124532. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124533. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  124534. _ = A.StylesheetParser0.prototype;
  124535. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  124536. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  124537. _ = A.Value0.prototype;
  124538. _.super$Value$assertMap0 = _.assertMap$1;
  124539. _.super$Value$plus0 = _.plus$1;
  124540. _.super$Value$minus0 = _.minus$1;
  124541. _.super$Value$dividedBy0 = _.dividedBy$1;
  124542. _.super$Value$toString0 = _.toString$0;
  124543. })();
  124544. (function installTearOffs() {
  124545. var _static_2 = hunkHelpers._static_2,
  124546. _instance_1_i = hunkHelpers._instance_1i,
  124547. _instance_1_u = hunkHelpers._instance_1u,
  124548. _static_1 = hunkHelpers._static_1,
  124549. _static_0 = hunkHelpers._static_0,
  124550. _static = hunkHelpers.installStaticTearOff,
  124551. _instance = hunkHelpers.installInstanceTearOff,
  124552. _instance_2_u = hunkHelpers._instance_2u,
  124553. _instance_0_i = hunkHelpers._instance_0i,
  124554. _instance_0_u = hunkHelpers._instance_0u;
  124555. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 269);
  124556. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  124557. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  124558. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  124559. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  124560. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  124561. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  124562. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124563. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 137);
  124564. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 137);
  124565. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 137);
  124566. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  124567. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 75);
  124568. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 68);
  124569. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  124570. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 634, 0);
  124571. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  124572. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  124573. }], 635, 1);
  124574. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  124575. var t1 = type$.dynamic;
  124576. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  124577. }], 636, 1);
  124578. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  124579. var t1 = type$.dynamic;
  124580. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  124581. }], 637, 1);
  124582. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  124583. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  124584. }], 638, 0);
  124585. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  124586. var t1 = type$.dynamic;
  124587. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  124588. }], 639, 0);
  124589. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  124590. var t1 = type$.dynamic;
  124591. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  124592. }], 640, 0);
  124593. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 641, 0);
  124594. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 642, 0);
  124595. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 643, 0);
  124596. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 644, 0);
  124597. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 645, 0);
  124598. _static_1(A, "async___printToZone$closure", "_printToZone", 115);
  124599. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 646, 0);
  124600. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  124601. return [null];
  124602. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 217, 0, 0);
  124603. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 68);
  124604. var _;
  124605. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 35);
  124606. _instance(_, "get$addError", 0, 1, function() {
  124607. return [null];
  124608. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 145, 0, 0);
  124609. _instance_0_i(_, "get$close", "close$0", 322);
  124610. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 35);
  124611. _instance_2_u(_, "get$_addError", "_addError$2", 68);
  124612. _instance_0_u(_, "get$_close", "_close$0", 0);
  124613. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124614. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124615. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 304, 0, 0);
  124616. _instance_0_i(_, "get$resume", "resume$0", 0);
  124617. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  124618. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124619. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 35);
  124620. _instance_2_u(_, "get$_onError", "_onError$2", 68);
  124621. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  124622. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124623. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124624. _instance_1_u(_, "get$_handleData", "_handleData$1", 35);
  124625. _instance_2_u(_, "get$_handleError", "_handleError$2", 345);
  124626. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  124627. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 270);
  124628. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 227);
  124629. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 269);
  124630. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124631. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124632. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124633. _instance_1_i(_, "get$contains", "contains$1", 9);
  124634. _instance_1_i(_, "get$add", "add$1", 9);
  124635. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124636. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  124637. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  124638. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  124639. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 100);
  124640. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  124641. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 227);
  124642. _static_2(A, "core__identical$closure", "identical", 270);
  124643. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  124644. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  124645. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 35);
  124646. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  124647. return A.max(a, b, type$.num);
  124648. }], 649, 1);
  124649. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  124650. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 35);
  124651. _instance(_, "get$setError", 0, 1, function() {
  124652. return [null];
  124653. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 145, 0, 0);
  124654. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  124655. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  124656. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  124657. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
  124658. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  124659. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  124660. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  124661. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  124662. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  124663. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 233);
  124664. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 633);
  124665. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124666. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124667. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124668. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 69);
  124669. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124670. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124671. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124672. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124673. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124674. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124675. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  124676. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 146);
  124677. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 20);
  124678. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 20);
  124679. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124680. _instance_0_u(_, "get$string", "string$0", 27);
  124681. _instance(_, "get$error", 1, 2, function() {
  124682. return [null];
  124683. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124684. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 459, 0, 0);
  124685. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 125);
  124686. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 125);
  124687. _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);
  124688. _instance_0_u(_, "get$_number", "_number$0", 522);
  124689. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  124690. return {color: null};
  124691. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124692. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124693. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124694. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  124695. return {color: null};
  124696. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124697. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 35);
  124698. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124699. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124700. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 35);
  124701. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124702. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  124703. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 78);
  124704. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 108);
  124705. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  124706. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124707. _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);
  124708. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
  124709. _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);
  124710. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
  124711. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 651);
  124712. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 273);
  124713. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  124714. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  124715. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 276);
  124716. _instance_1_u(_, "get$_specificities", "_specificities$1", 277);
  124717. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 113);
  124718. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 191, 0, 0);
  124719. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 279);
  124720. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 7);
  124721. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  124722. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  124723. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  124724. return {color: null};
  124725. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124726. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 96);
  124727. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 96);
  124728. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 96);
  124729. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 96);
  124730. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 185);
  124731. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 185);
  124732. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  124733. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  124734. }], 652, 0);
  124735. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  124736. return A._collect($event, soFar, type$.dynamic);
  124737. }], 653, 0);
  124738. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124739. _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);
  124740. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 203);
  124741. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 113);
  124742. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  124743. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 78);
  124744. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 76);
  124745. _static(A, "compile__compile$closure", 1, function() {
  124746. return [null];
  124747. }, ["call$2", "call$1"], ["compile0", function(path) {
  124748. return A.compile0(path, null);
  124749. }], 654, 0);
  124750. _static(A, "compile__compileString$closure", 1, function() {
  124751. return [null];
  124752. }, ["call$2", "call$1"], ["compileString0", function(text) {
  124753. return A.compileString0(text, null);
  124754. }], 655, 0);
  124755. _static(A, "compile__compileAsync$closure", 1, function() {
  124756. return [null];
  124757. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  124758. return A.compileAsync1(path, null);
  124759. }], 656, 0);
  124760. _static(A, "compile__compileStringAsync$closure", 1, function() {
  124761. return [null];
  124762. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  124763. return A.compileStringAsync1(text, null);
  124764. }], 657, 0);
  124765. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 658);
  124766. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 78);
  124767. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 659);
  124768. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 660);
  124769. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 20);
  124770. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124771. _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);
  124772. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 203);
  124773. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124774. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 13);
  124775. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 661);
  124776. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  124777. return {color: null};
  124778. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124779. _static_2(A, "legacy__render$closure", "render", 662);
  124780. _static_1(A, "legacy__renderSync$closure", "renderSync", 663);
  124781. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124782. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 73);
  124783. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124784. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  124785. return {color: null};
  124786. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124787. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 35);
  124788. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 146);
  124789. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 664);
  124790. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 665, 0);
  124791. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 666);
  124792. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  124793. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 20);
  124794. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124795. _instance_0_u(_, "get$string", "string$0", 27);
  124796. _instance(_, "get$error", 1, 2, function() {
  124797. return [null];
  124798. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124799. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124800. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124801. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124802. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124803. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124804. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124805. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  124806. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  124807. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 574);
  124808. _instance_1_u(_, "get$_serialize0$_specificities", "_serialize0$_specificities$1", 575);
  124809. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 113);
  124810. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 191, 0, 0);
  124811. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 576);
  124812. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  124813. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124814. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 35);
  124815. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  124816. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  124817. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  124818. _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);
  124819. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  124820. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  124821. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 597);
  124822. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124823. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124824. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124825. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 667);
  124826. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 264);
  124827. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 668);
  124828. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  124829. _static(A, "path__absolute$closure", 1, function() {
  124830. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  124831. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  124832. var _null = null;
  124833. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124834. }, function(part1, part2) {
  124835. var _null = null;
  124836. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124837. }, function(part1, part2, part3) {
  124838. var _null = null;
  124839. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124840. }, function(part1, part2, part3, part4) {
  124841. var _null = null;
  124842. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124843. }, function(part1, part2, part3, part4, part5) {
  124844. var _null = null;
  124845. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124846. }, function(part1, part2, part3, part4, part5, part6) {
  124847. var _null = null;
  124848. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124849. }], 669, 0);
  124850. _static_1(A, "path__toUri$closure", "toUri", 127);
  124851. _static_1(A, "path__prettyUri$closure", "prettyUri", 670);
  124852. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 46);
  124853. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 46);
  124854. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 46);
  124855. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 46);
  124856. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 61);
  124857. _static_1(A, "number0__sqrt$closure", "sqrt", 56);
  124858. _static_1(A, "number0__sin$closure", "sin", 56);
  124859. _static_1(A, "number0__cos$closure", "cos", 56);
  124860. _static_1(A, "number0__tan$closure", "tan", 56);
  124861. _static_1(A, "number0__atan$closure", "atan", 56);
  124862. _static_1(A, "number0__asin$closure", "asin", 56);
  124863. _static_1(A, "number0__acos$closure", "acos", 56);
  124864. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  124865. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 46);
  124866. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 46);
  124867. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 46);
  124868. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 46);
  124869. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 61);
  124870. _static_1(A, "number2__sqrt$closure", "sqrt0", 53);
  124871. _static_1(A, "number2__sin$closure", "sin0", 53);
  124872. _static_1(A, "number2__cos$closure", "cos0", 53);
  124873. _static_1(A, "number2__tan$closure", "tan0", 53);
  124874. _static_1(A, "number2__atan$closure", "atan0", 53);
  124875. _static_1(A, "number2__asin$closure", "asin0", 53);
  124876. _static_1(A, "number2__acos$closure", "acos0", 53);
  124877. _static_1(A, "sass__main$closure", "main1", 496);
  124878. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 115);
  124879. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  124880. _static_1(A, "value0__wrapValue$closure", "wrapValue", 449);
  124881. })();
  124882. (function inheritance() {
  124883. var _mixin = hunkHelpers.mixin,
  124884. _inherit = hunkHelpers.inherit,
  124885. _inheritMany = hunkHelpers.inheritMany;
  124886. _inherit(A.Object, null);
  124887. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, A.SafeToStringHook, 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.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]);
  124888. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  124889. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  124890. _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]);
  124891. _inherit(J.JSArraySafeToStringHook, A.SafeToStringHook);
  124892. _inherit(J.JSUnmodifiableArray, J.JSArray);
  124893. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  124894. _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]);
  124895. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  124896. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  124897. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  124898. _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]);
  124899. _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]);
  124900. _inherit(A.CastList, A._CastListBase);
  124901. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  124902. _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]);
  124903. _inherit(A.UnmodifiableListBase, A.ListBase);
  124904. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  124905. _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]);
  124906. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  124907. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  124908. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  124909. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  124910. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  124911. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  124912. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  124913. _inherit(A._Record_1, A._Record1);
  124914. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  124915. _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]);
  124916. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  124917. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  124918. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  124919. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  124920. _inherit(A.ConstantStringMap, A.ConstantMap);
  124921. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  124922. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  124923. _inherit(A.Instantiation1, A.Instantiation);
  124924. _inherit(A.NullError, A.TypeError);
  124925. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  124926. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  124927. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  124928. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  124929. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  124930. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124931. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  124932. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  124933. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  124934. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  124935. _inherit(A._TypeError, A._Error);
  124936. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  124937. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  124938. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  124939. _inherit(A._ControllerStream, A._StreamImpl);
  124940. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  124941. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  124942. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  124943. _inherit(A._MapStream, A._ForwardingStream);
  124944. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  124945. _inherit(A._IdentityHashMap, A._HashMap);
  124946. _inherit(A._LinkedHashSet, A._SetBase);
  124947. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  124948. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  124949. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  124950. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  124951. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  124952. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  124953. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  124954. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  124955. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  124956. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  124957. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  124958. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  124959. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  124960. _inherit(A._DataUri, A._Uri);
  124961. _inherit(A.ArgParserException, A.FormatException);
  124962. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  124963. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  124964. _inherit(A._CastQueueList, A.QueueList);
  124965. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  124966. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  124967. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  124968. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  124969. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  124970. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  124971. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  124972. _inherit(A.InternalStyle, A.Style);
  124973. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  124974. _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]);
  124975. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  124976. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  124977. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  124978. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  124979. _inherit(A.CssStylesheet, A.CssParentNode);
  124980. _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]);
  124981. _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]);
  124982. _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]);
  124983. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  124984. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  124985. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  124986. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  124987. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  124988. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  124989. _inherit(A._ContainsParentSelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor);
  124990. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  124991. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  124992. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  124993. _inherit(A.ExplicitConfiguration, A.Configuration);
  124994. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  124995. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  124996. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  124997. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  124998. _inherit(A.MergedExtension, A.Extension);
  124999. _inherit(A.Importer, A.AsyncImporter);
  125000. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  125001. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  125002. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  125003. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  125004. _inherit(A.CssParser, A.ScssParser);
  125005. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  125006. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  125007. _inherit(A.SassArgumentList, A.SassList);
  125008. _inherit(A.LinearChannel, A.ColorChannel);
  125009. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  125010. _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]);
  125011. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  125012. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  125013. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  125014. _inherit(A.SingleMapping, A.Mapping);
  125015. _inherit(A.FileLocation, A.SourceLocationMixin);
  125016. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  125017. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  125018. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  125019. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  125020. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  125021. _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]);
  125022. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  125023. _inherit(A.SassArgumentList0, A.SassList0);
  125024. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  125025. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  125026. _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]);
  125027. _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]);
  125028. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  125029. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  125030. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  125031. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  125032. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  125033. _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]);
  125034. _inherit(A.LinearChannel0, A.ColorChannel0);
  125035. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  125036. _inherit(A._ConstructionOptions, A._Channels);
  125037. _inherit(A.CompileStringOptions, A.CompileOptions);
  125038. _inherit(A.AsyncCompiler, A.Compiler);
  125039. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  125040. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  125041. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  125042. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  125043. _inherit(A.CssParser0, A.ScssParser0);
  125044. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  125045. _inherit(A._NodeException, A.JsError);
  125046. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  125047. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  125048. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  125049. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  125050. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  125051. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  125052. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  125053. _inherit(A.MergedExtension0, A.Extension0);
  125054. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  125055. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  125056. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  125057. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  125058. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  125059. _inherit(A._ContainsParentSelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0);
  125060. _inherit(A.CssStylesheet0, A.CssParentNode0);
  125061. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  125062. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  125063. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  125064. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  125065. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  125066. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  125067. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  125068. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  125069. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  125070. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  125071. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  125072. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125073. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  125074. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125075. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125076. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125077. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  125078. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  125079. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125080. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125081. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125082. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125083. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  125084. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  125085. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  125086. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  125087. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  125088. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  125089. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  125090. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125091. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125092. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125093. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125094. })();
  125095. var init = {
  125096. G: typeof self != "undefined" ? self : globalThis,
  125097. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  125098. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map", JSObject: "JSObject"},
  125099. mangledNames: {},
  125100. 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})"],
  125101. interceptorsByTag: null,
  125102. leafTags: null,
  125103. arrayRti: Symbol("$ti"),
  125104. rttc: {
  125105. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  125106. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  125107. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  125108. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  125109. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  125110. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  125111. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125112. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125113. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125114. "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),
  125115. "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),
  125116. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  125117. }
  125118. };
  125119. 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","NativeArrayBuffer":"NativeByteBuffer","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":[]},"JSArraySafeToStringHook":{"SafeToStringHook":[]},"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":[]}}'));
  125120. 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}'));
  125121. var string$ = {
  125122. 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",
  125123. x0a_BUG_: "\n\nBUG: This should include a source span!",
  125124. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  125125. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  125126. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  125127. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  125128. x0a_This: "\n\nThis is only an error because you've set the ",
  125129. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  125130. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  125131. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  125132. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  125133. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  125134. x20It_wi: " It will be omitted from the generated CSS.",
  125135. 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",
  125136. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  125137. x20deprex20: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  125138. x20deprex2c: " deprecation, since it has also been made fatal.",
  125139. x20hue__: ' hue" may not be set for rectangular color space ',
  125140. x20in_in: " in interpolation here.\nIt may end up represented as ",
  125141. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125142. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  125143. x20is_av: " is available from multiple global modules.",
  125144. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  125145. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  125146. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  125147. 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",
  125148. x20must_b: " must be either nearest, up, down or to-zero.",
  125149. x20must_n: " must not be greater than the number of characters in the file, ",
  125150. x20repet: " repetitive deprecation warnings omitted.",
  125151. x20targe: " targetLocations if the interpolation has ",
  125152. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  125153. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  125154. 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",
  125155. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  125156. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  125157. x20was_n: " was not declared with !default in the @used module.",
  125158. x20was_p: " was passed both by position and by name.",
  125159. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125160. x21globai: "!global isn't allowed for variables in other modules.",
  125161. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125162. x22x20can_: "\" can't be used as a parent in a compound selector.",
  125163. 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',
  125164. 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',
  125165. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  125166. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  125167. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  125168. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  125169. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  125170. x22packa: '"package:" URLs aren\'t supported on this platform.',
  125171. x24color: "$color1, $color2, $weight: 50%, $method: null",
  125172. x24css_a: "$css and $module may not both be passed at once.",
  125173. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  125174. x24selec: "$selectors: At least one selector must be passed.",
  125175. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  125176. x27x20must: "' must be a path relative to the package root at '",
  125177. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  125178. 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.",
  125179. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  125180. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  125181. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125182. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  125183. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  125184. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  125185. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  125186. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  125187. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  125188. x29x20to_clg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  125189. x29x20to_cli: ") to color.invert() is deprecated.\n\nRecommendation: ",
  125190. x29x20to_cm: ") to compileString() or related functions is deprecated and will be an error in Dart Sass 2.0.0.",
  125191. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  125192. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  125193. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  125194. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  125195. x3d_____: "===== asynchronous gap ===========================\n",
  125196. 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.",
  125197. x40conte: "@content is only allowed within mixin declarations.",
  125198. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  125199. x40exten: "@extend may only be used within style rules.",
  125200. x40forwa: "@forward rules must be written before any other rules.",
  125201. x40funct: "@function if($condition, $if-true, $if-false) {",
  125202. x40use_r: "@use rules must be written before any other rules.",
  125203. A_list: "A list with more than one element must have an explicit separator.",
  125204. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  125205. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  125206. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  125207. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  125208. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  125209. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  125210. 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.",
  125211. At_rul: "At-rules may not be used within nested declarations.",
  125212. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  125213. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  125214. Cannotfq: "Cannot extract a file path from a URI with a query component",
  125215. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  125216. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  125217. Could_: 'Could not find an option with short name "-',
  125218. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  125219. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  125220. Declarm: "Declarations may only be used within style rules.",
  125221. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  125222. Either: "Either options.data or options.file must be set.",
  125223. Entrie: "Entries may not be removed from MergedMapView.",
  125224. 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",
  125225. Evalua: "Evaluation handles @include and its content block together.",
  125226. Expecta: "Expected a color interpolation method, got an empty list.",
  125227. Expectu: 'Expected unquoted string "hue" at the end of ',
  125228. Expectv: "Expected variable, mixin, or function name",
  125229. Functi: "Functions may not be declared in control directives.",
  125230. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  125231. 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",
  125232. 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",
  125233. 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",
  125234. 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",
  125235. 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",
  125236. 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",
  125237. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  125238. If_con: "If conditions is longer than one element, conjunction may not be null.",
  125239. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  125240. If_str: "If strategy is not null, step is required.",
  125241. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  125242. 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",
  125243. Indent: "Indenting at the beginning of the document is illegal.",
  125244. Interpn: "Interpolation isn't allowed in namespaces.",
  125245. Interpp: "Interpolation isn't allowed in plain CSS.",
  125246. Invali: 'Invalid return value for custom function "',
  125247. It_s_n: "It's not clear which file to import. Found:\n",
  125248. Keywor: "Keyword arguments can't be used with calculations.",
  125249. May_no: "May not have a value for string elements (at index ",
  125250. Media_: "Media rules may not be used within nested declarations.",
  125251. Mixinsb: "Mixins may not be declared in control directives.",
  125252. Mixinscf: "Mixins may not contain function declarations.",
  125253. Mixinscm: "Mixins may not contain mixin declarations.",
  125254. Modulel: "Module loop: this module is already being loaded.",
  125255. Modulen: "Module namespaces aren't allowed in plain CSS.",
  125256. Must_n: "Must not have a value for expression elements (at index ",
  125257. Named_: "Named arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",
  125258. Nested: "Nested declarations aren't allowed in plain CSS.",
  125259. New_en: "New entries may not be added to MergedMapView.",
  125260. No_Sasc: "No Sass callable is currently being evaluated.",
  125261. No_Sass: "No Sass stylesheet is currently being evaluated.",
  125262. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  125263. Number: "Number to round and step arguments are required.",
  125264. Only_2: "Only 2 slash-separated elements allowed, but ",
  125265. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  125266. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  125267. Other_: "Other modules' members can't be defined with !global.",
  125268. Parent: "Parent selectors can't have suffixes in plain CSS.",
  125269. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  125270. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  125271. 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(",
  125272. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  125273. Plain_: "Plain CSS functions don't support keyword arguments.",
  125274. Positik: "Positional arguments must come before keyword arguments.",
  125275. Positir: "Positional arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",
  125276. Privat: "Private members can't be accessed from outside their modules.",
  125277. Rest_a: "Rest arguments can't be used with calculations.",
  125278. 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",
  125279. 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',
  125280. 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",
  125281. 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",
  125282. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  125283. 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",
  125284. Silent: "Silent comments aren't allowed in plain CSS.",
  125285. Style_k: "Style rules may not be used within keyframe blocks.",
  125286. Style_n: "Style rules may not be used within nested declarations.",
  125287. Suppor: "Supports rules may not be used within nested declarations.",
  125288. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  125289. The_No: "The Node package importer cannot be used without a filesystem.",
  125290. The_ca: "The canonicalize() method must return a URL.",
  125291. The_co: "The color() function doesn't support the color space ",
  125292. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  125293. The_fie: "The findFileUrl() method must return a URL.",
  125294. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  125295. 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",
  125296. The_lo: "The load() function must return an object with contents and syntax fields.",
  125297. The_pa: "The parent selector isn't allowed in plain CSS.",
  125298. The_sa: "The same variable may only be configured once.",
  125299. The_ta: 'The target selector was not found.\nUse "@extend ',
  125300. There_: "There's already a module with namespace \"",
  125301. This_d: 'This declaration has no parameter named "$',
  125302. This_e: "This expression can't be used in a calculation.",
  125303. This_f: "This function isn't allowed in plain CSS.",
  125304. This_ma: 'This module and the new module both define a variable named "$',
  125305. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  125306. This_o: "This operation can't be used in a calculation.",
  125307. This_s: "This selector doesn't have any properties and won't be rendered.",
  125308. This_v: "This variable was not declared with !default in the @used module.",
  125309. To_usei: "To use color.invert() with non-legacy color ",
  125310. To_usem: "To use color.mix() with non-legacy color ",
  125311. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  125312. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  125313. Unable: "Unable to determine which of multiple potential resolutions found for ",
  125314. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  125315. User_a: "User-authored deprecations should not be silenced.",
  125316. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125317. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125318. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  125319. 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.",
  125320. Variab_: "Variable keyword argument map must have string keys.\n",
  125321. Variabs: "Variable keyword arguments must be a map (was ",
  125322. You_ma: "You may not @extend selectors across media queries.",
  125323. You_pr: "You probably don't mean to use the color value ",
  125324. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  125325. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  125326. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  125327. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125328. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125329. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  125330. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125331. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  125332. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  125333. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  125334. conten: "content-exists() may only be called within a mixin.",
  125335. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125336. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125337. fileEx: "fileExists() is only supported on Node.js",
  125338. leadin: "leadingCombinators and components may not both be empty.",
  125339. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125340. linkEx: "linkExists() is only supported on Node.js",
  125341. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  125342. math_r: "math.random() will no longer ignore $limit units (",
  125343. multip: "multiple statements on one line are not supported in the indented syntax.",
  125344. must_b: "must be a UniversalSelector or a TypeSelector",
  125345. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  125346. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125347. throug: "through() must return false for at least one parent of ",
  125348. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  125349. };
  125350. var type$ = (function rtii() {
  125351. var findType = A.findType;
  125352. return {
  125353. $env_1_1_String: findType("@<String>"),
  125354. ArgParser: findType("ArgParser"),
  125355. AstNode: findType("AstNode"),
  125356. AstNode_2: findType("AstNode0"),
  125357. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  125358. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  125359. AsyncCallable: findType("AsyncCallable"),
  125360. AsyncCallable_2: findType("AsyncCallable0"),
  125361. AsyncCompiler: findType("AsyncCompiler"),
  125362. AsyncImporter: findType("AsyncImporter0"),
  125363. Box_SelectorList: findType("Box<SelectorList>"),
  125364. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  125365. BuiltInCallable: findType("BuiltInCallable"),
  125366. BuiltInCallable_2: findType("BuiltInCallable0"),
  125367. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  125368. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  125369. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  125370. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  125371. ByteBuffer: findType("ByteBuffer"),
  125372. ByteData: findType("ByteData"),
  125373. Callable: findType("Callable0"),
  125374. Callable_2: findType("Callable"),
  125375. ChangeType: findType("ChangeType"),
  125376. CodeUnits: findType("CodeUnits"),
  125377. Combinator: findType("Combinator"),
  125378. Combinator_2: findType("Combinator0"),
  125379. Comparable_dynamic: findType("Comparable<@>"),
  125380. Comparable_nullable_Object: findType("Comparable<Object?>"),
  125381. CompileResult: findType("CompileResult"),
  125382. CompileResult_2: findType("CompileResult0"),
  125383. ComplexSelector: findType("ComplexSelector"),
  125384. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  125385. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  125386. ComplexSelector_2: findType("ComplexSelector0"),
  125387. Configuration: findType("Configuration"),
  125388. Configuration_2: findType("Configuration0"),
  125389. ConfiguredValue: findType("ConfiguredValue"),
  125390. ConfiguredValue_2: findType("ConfiguredValue0"),
  125391. ConfiguredVariable: findType("ConfiguredVariable"),
  125392. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  125393. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  125394. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  125395. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  125396. CssComment: findType("CssComment"),
  125397. CssComment_2: findType("CssComment0"),
  125398. CssMediaQuery: findType("CssMediaQuery"),
  125399. CssMediaQuery_2: findType("CssMediaQuery0"),
  125400. CssParentNode: findType("CssParentNode"),
  125401. CssParentNode_2: findType("CssParentNode0"),
  125402. CssStyleRule: findType("CssStyleRule"),
  125403. CssStyleRule_2: findType("CssStyleRule0"),
  125404. CssStylesheet: findType("CssStylesheet"),
  125405. CssStylesheet_2: findType("CssStylesheet0"),
  125406. CssValue_Combinator: findType("CssValue<Combinator>"),
  125407. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  125408. CssValue_List_String: findType("CssValue<List<String>>"),
  125409. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  125410. CssValue_String: findType("CssValue<String>"),
  125411. CssValue_String_2: findType("CssValue0<String>"),
  125412. CssValue_Value: findType("CssValue<Value>"),
  125413. CssValue_Value_2: findType("CssValue0<Value0>"),
  125414. DateTime: findType("DateTime"),
  125415. Deprecation: findType("Deprecation"),
  125416. Deprecation_2: findType("Deprecation1"),
  125417. Deprecation_3: findType("Deprecation0"),
  125418. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  125419. Error: findType("Error"),
  125420. EvaluationContext: findType("EvaluationContext"),
  125421. EvaluationContext_2: findType("EvaluationContext0"),
  125422. Exception: findType("Exception"),
  125423. Expression: findType("Expression"),
  125424. Expression_2: findType("Expression0"),
  125425. Extender: findType("Extender"),
  125426. Extender_2: findType("Extender0"),
  125427. Extension: findType("Extension"),
  125428. Extension_2: findType("Extension0"),
  125429. FileLocation: findType("FileLocation"),
  125430. FileSpan: findType("FileSpan"),
  125431. Float32List: findType("Float32List"),
  125432. Float64List: findType("Float64List"),
  125433. FormatException: findType("FormatException"),
  125434. Frame: findType("Frame"),
  125435. Function: findType("Function"),
  125436. FutureGroup_void: findType("FutureGroup<~>"),
  125437. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  125438. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  125439. FutureOr_nullable_Uri: findType("Uri?/"),
  125440. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  125441. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  125442. Future_Value: findType("Future<Value>"),
  125443. Future_Value_2: findType("Future<Value0>"),
  125444. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  125445. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  125446. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  125447. Future_nullable_Uri: findType("Future<Uri?>"),
  125448. Future_nullable_Value: findType("Future<Value?>"),
  125449. Future_nullable_Value_2: findType("Future<Value0?>"),
  125450. IfClause: findType("IfClause"),
  125451. IfClause_2: findType("IfClause0"),
  125452. ImmutableList: findType("ImmutableList0"),
  125453. ImmutableList_2: findType("ImmutableList"),
  125454. ImmutableMap: findType("ImmutableMap0"),
  125455. Import: findType("Import"),
  125456. Import_2: findType("Import0"),
  125457. Importer: findType("Importer0"),
  125458. ImporterResult: findType("ImporterResult"),
  125459. ImporterResult_2: findType("ImporterResult0"),
  125460. Importer_2: findType("Importer"),
  125461. Int16List: findType("Int16List"),
  125462. Int32List: findType("Int32List"),
  125463. Int8List: findType("Int8List"),
  125464. Interpolation: findType("Interpolation"),
  125465. InterpolationBuffer: findType("InterpolationBuffer"),
  125466. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  125467. InterpolationMap: findType("InterpolationMap"),
  125468. InterpolationMap_2: findType("InterpolationMap0"),
  125469. Interpolation_2: findType("Interpolation0"),
  125470. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  125471. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  125472. Iterable_dynamic: findType("Iterable<@>"),
  125473. JSArray_AstNode: findType("JSArray<AstNode>"),
  125474. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  125475. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  125476. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  125477. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  125478. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  125479. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  125480. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  125481. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  125482. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  125483. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  125484. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  125485. JSArray_Callable: findType("JSArray<Callable0>"),
  125486. JSArray_Callable_2: findType("JSArray<Callable>"),
  125487. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  125488. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  125489. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  125490. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  125491. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  125492. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  125493. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  125494. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  125495. JSArray_CssComment: findType("JSArray<CssComment>"),
  125496. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  125497. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  125498. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  125499. JSArray_CssNode: findType("JSArray<CssNode>"),
  125500. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  125501. JSArray_CssStyleRule: findType("JSArray<CssStyleRule>"),
  125502. JSArray_CssStyleRule_2: findType("JSArray<CssStyleRule0>"),
  125503. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  125504. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  125505. JSArray_Entry: findType("JSArray<Entry>"),
  125506. JSArray_Expression: findType("JSArray<Expression>"),
  125507. JSArray_Expression_2: findType("JSArray<Expression0>"),
  125508. JSArray_Extender: findType("JSArray<Extender>"),
  125509. JSArray_Extender_2: findType("JSArray<Extender0>"),
  125510. JSArray_Extension: findType("JSArray<Extension>"),
  125511. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  125512. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  125513. JSArray_Extension_2: findType("JSArray<Extension0>"),
  125514. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  125515. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  125516. JSArray_Frame: findType("JSArray<Frame>"),
  125517. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  125518. JSArray_IfClause: findType("JSArray<IfClause>"),
  125519. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  125520. JSArray_Import: findType("JSArray<Import>"),
  125521. JSArray_Import_2: findType("JSArray<Import0>"),
  125522. JSArray_Importer: findType("JSArray<Importer>"),
  125523. JSArray_Importer_2: findType("JSArray<Importer0>"),
  125524. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  125525. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  125526. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  125527. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  125528. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  125529. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  125530. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  125531. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  125532. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  125533. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  125534. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  125535. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  125536. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  125537. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  125538. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  125539. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  125540. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  125541. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  125542. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  125543. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  125544. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  125545. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  125546. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  125547. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  125548. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  125549. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  125550. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  125551. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  125552. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  125553. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  125554. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  125555. JSArray_Object: findType("JSArray<Object>"),
  125556. JSArray_Parameter: findType("JSArray<Parameter>"),
  125557. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  125558. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  125559. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  125560. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  125561. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  125562. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  125563. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  125564. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  125565. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  125566. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125567. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125568. JSArray_SassList: findType("JSArray<SassList>"),
  125569. JSArray_SassList_2: findType("JSArray<SassList0>"),
  125570. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  125571. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  125572. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  125573. JSArray_Statement: findType("JSArray<Statement>"),
  125574. JSArray_Statement_2: findType("JSArray<Statement0>"),
  125575. JSArray_String: findType("JSArray<String>"),
  125576. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  125577. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  125578. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  125579. JSArray_Trace: findType("JSArray<Trace>"),
  125580. JSArray_UseRule: findType("JSArray<UseRule>"),
  125581. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  125582. JSArray_Value: findType("JSArray<Value>"),
  125583. JSArray_Value_2: findType("JSArray<Value0>"),
  125584. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  125585. JSArray__Highlight: findType("JSArray<_Highlight>"),
  125586. JSArray__Line: findType("JSArray<_Line>"),
  125587. JSArray_double: findType("JSArray<double>"),
  125588. JSArray_dynamic: findType("JSArray<@>"),
  125589. JSArray_int: findType("JSArray<int>"),
  125590. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  125591. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  125592. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  125593. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  125594. JSArray_nullable_String: findType("JSArray<String?>"),
  125595. JSClass: findType("JSClass0"),
  125596. JSFunction: findType("JSFunction0"),
  125597. JSImporter: findType("JSImporter"),
  125598. JSImporterResult: findType("JSImporterResult"),
  125599. JSNull: findType("JSNull"),
  125600. JSObject: findType("JSObject"),
  125601. JSUrl: findType("JSUrl0"),
  125602. JavaScriptFunction: findType("JavaScriptFunction"),
  125603. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  125604. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  125605. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  125606. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  125607. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  125608. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  125609. JsSystemError: findType("JsSystemError"),
  125610. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  125611. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  125612. LinearChannel: findType("LinearChannel"),
  125613. LinearChannel_2: findType("LinearChannel0"),
  125614. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  125615. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  125616. List_CssComment: findType("List<CssComment>"),
  125617. List_CssComment_2: findType("List<CssComment0>"),
  125618. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  125619. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  125620. List_Extension: findType("List<Extension>"),
  125621. List_ExtensionStore: findType("List<ExtensionStore>"),
  125622. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  125623. List_Extension_2: findType("List<Extension0>"),
  125624. List_JSObject: findType("List<JSObject>"),
  125625. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  125626. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  125627. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  125628. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  125629. List_Module_Callable: findType("List<Module0<Callable0>>"),
  125630. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  125631. List_String: findType("List<String>"),
  125632. List_WatchEvent: findType("List<WatchEvent>"),
  125633. List_dynamic: findType("List<@>"),
  125634. List_int: findType("List<int>"),
  125635. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  125636. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  125637. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  125638. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  125639. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  125640. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  125641. MapKeySet_String: findType("MapKeySet<String>"),
  125642. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  125643. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  125644. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  125645. Map_String_AstNode: findType("Map<String,AstNode>"),
  125646. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  125647. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  125648. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  125649. Map_String_Callable: findType("Map<String,Callable0>"),
  125650. Map_String_Callable_2: findType("Map<String,Callable>"),
  125651. Map_String_Value: findType("Map<String,Value>"),
  125652. Map_String_Value_2: findType("Map<String,Value0>"),
  125653. Map_String_dynamic: findType("Map<String,@>"),
  125654. Map_dynamic_dynamic: findType("Map<@,@>"),
  125655. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  125656. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  125657. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  125658. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  125659. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  125660. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  125661. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  125662. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  125663. MixinRule: findType("MixinRule"),
  125664. MixinRule_2: findType("MixinRule0"),
  125665. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  125666. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  125667. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  125668. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  125669. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  125670. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  125671. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  125672. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  125673. ModifiableCssNode: findType("ModifiableCssNode"),
  125674. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  125675. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  125676. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  125677. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  125678. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  125679. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  125680. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  125681. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  125682. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  125683. Module_Callable: findType("Module0<Callable0>"),
  125684. Module_Callable_2: findType("Module1<Callable>"),
  125685. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  125686. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  125687. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  125688. NativeUint8List: findType("NativeUint8List"),
  125689. Never: findType("0&"),
  125690. NodeCompileResult: findType("NodeCompileResult"),
  125691. NodeImporterResult: findType("NodeImporterResult0"),
  125692. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  125693. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  125694. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  125695. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  125696. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  125697. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  125698. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  125699. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  125700. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  125701. Null: findType("Null"),
  125702. NumberExpression: findType("NumberExpression"),
  125703. NumberExpression_2: findType("NumberExpression0"),
  125704. Object: findType("Object"),
  125705. Option: findType("Option"),
  125706. Parameter: findType("Parameter"),
  125707. ParameterList: findType("ParameterList"),
  125708. ParameterList_2: findType("ParameterList0"),
  125709. Parameter_2: findType("Parameter0"),
  125710. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  125711. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  125712. PathMap_String: findType("PathMap<String>"),
  125713. PathMap_nullable_String: findType("PathMap<String?>"),
  125714. Promise: findType("Promise"),
  125715. PseudoSelector: findType("PseudoSelector"),
  125716. PseudoSelector_2: findType("PseudoSelector0"),
  125717. RangeError: findType("RangeError"),
  125718. Record: findType("Record"),
  125719. Record_0: findType("+()"),
  125720. Record_1_nullable_Object: findType("+(Object?)"),
  125721. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  125722. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  125723. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  125724. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  125725. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  125726. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  125727. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  125728. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  125729. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  125730. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  125731. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  125732. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  125733. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  125734. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  125735. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  125736. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  125737. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  125738. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  125739. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  125740. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  125741. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  125742. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  125743. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  125744. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  125745. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  125746. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  125747. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  125748. 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)"),
  125749. 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)"),
  125750. RegExpMatch: findType("RegExpMatch"),
  125751. RenderContextOptions: findType("RenderContextOptions0"),
  125752. RenderResult: findType("RenderResult"),
  125753. Result_String: findType("Result<String>"),
  125754. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  125755. Runes: findType("Runes"),
  125756. SassArgumentList: findType("SassArgumentList"),
  125757. SassArgumentList_2: findType("SassArgumentList0"),
  125758. SassBoolean: findType("SassBoolean"),
  125759. SassBoolean_2: findType("SassBoolean0"),
  125760. SassColor: findType("SassColor"),
  125761. SassColor_2: findType("SassColor0"),
  125762. SassFormatException: findType("SassFormatException"),
  125763. SassFormatException_2: findType("SassFormatException0"),
  125764. SassList: findType("SassList"),
  125765. SassList_2: findType("SassList0"),
  125766. SassMap: findType("SassMap"),
  125767. SassMap_2: findType("SassMap0"),
  125768. SassNumber: findType("SassNumber"),
  125769. SassNumber_2: findType("SassNumber0"),
  125770. SassRuntimeException: findType("SassRuntimeException"),
  125771. SassRuntimeException_2: findType("SassRuntimeException0"),
  125772. SassString: findType("SassString"),
  125773. SassString_2: findType("SassString0"),
  125774. SelectorList: findType("SelectorList"),
  125775. SelectorList_2: findType("SelectorList0"),
  125776. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  125777. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  125778. Set_Uri: findType("Set<Uri>"),
  125779. SimpleSelector: findType("SimpleSelector"),
  125780. SimpleSelector_2: findType("SimpleSelector0"),
  125781. SourceFile: findType("SourceFile"),
  125782. SourceLocation: findType("SourceLocation"),
  125783. SourceSpan: findType("SourceSpan"),
  125784. SourceSpanFormatException: findType("SourceSpanFormatException"),
  125785. SourceSpanWithContext: findType("SourceSpanWithContext"),
  125786. StackTrace: findType("StackTrace"),
  125787. Statement: findType("Statement"),
  125788. Statement_2: findType("Statement0"),
  125789. StaticImport: findType("StaticImport"),
  125790. StaticImport_2: findType("StaticImport0"),
  125791. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  125792. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  125793. StreamQueue_String: findType("StreamQueue<String>"),
  125794. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  125795. String: findType("String"),
  125796. StringExpression: findType("StringExpression"),
  125797. StringExpression_2: findType("StringExpression0"),
  125798. StylesheetNode: findType("StylesheetNode"),
  125799. Timer: findType("Timer"),
  125800. Trace: findType("Trace"),
  125801. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  125802. TypeError: findType("TypeError"),
  125803. TypeSelector: findType("TypeSelector"),
  125804. TypeSelector_2: findType("TypeSelector0"),
  125805. Uint16List: findType("Uint16List"),
  125806. Uint32List: findType("Uint32List"),
  125807. Uint8ClampedList: findType("Uint8ClampedList"),
  125808. Uint8List: findType("Uint8List"),
  125809. UnionSet_Uri: findType("UnionSet<Uri>"),
  125810. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  125811. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  125812. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  125813. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  125814. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  125815. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  125816. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  125817. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  125818. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  125819. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125820. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125821. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  125822. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  125823. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  125824. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  125825. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  125826. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  125827. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  125828. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  125829. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  125830. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  125831. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  125832. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  125833. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  125834. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  125835. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  125836. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  125837. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  125838. Uri: findType("Uri"),
  125839. UseRule: findType("UseRule"),
  125840. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  125841. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  125842. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  125843. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  125844. Value: findType("Value"),
  125845. Value_2: findType("Value0"),
  125846. Value_Function_List_Value: findType("Value(List<Value>)"),
  125847. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  125848. VariableDeclaration: findType("VariableDeclaration"),
  125849. VersionRange: findType("VersionRange"),
  125850. WatchEvent: findType("WatchEvent"),
  125851. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  125852. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  125853. WhereIterable_String: findType("WhereIterable<String>"),
  125854. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  125855. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  125856. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  125857. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  125858. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  125859. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  125860. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  125861. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  125862. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  125863. _EventRequest_dynamic: findType("_EventRequest<@>"),
  125864. _Future_List_void: findType("_Future<List<~>>"),
  125865. _Future_Object: findType("_Future<Object>"),
  125866. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  125867. _Future_String: findType("_Future<String>"),
  125868. _Future_Value: findType("_Future<Value>"),
  125869. _Future_Value_2: findType("_Future<Value0>"),
  125870. _Future_bool: findType("_Future<bool>"),
  125871. _Future_dynamic: findType("_Future<@>"),
  125872. _Future_int: findType("_Future<int>"),
  125873. _Future_nullable_Object: findType("_Future<Object?>"),
  125874. _Future_void: findType("_Future<~>"),
  125875. _Highlight: findType("_Highlight"),
  125876. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  125877. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  125878. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  125879. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  125880. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  125881. _MapEntry: findType("_MapEntry"),
  125882. _NodeException: findType("_NodeException"),
  125883. _PlatformUri: findType("_PlatformUri"),
  125884. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  125885. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  125886. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  125887. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  125888. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  125889. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  125890. bool: findType("bool"),
  125891. double: findType("double"),
  125892. dynamic: findType("@"),
  125893. dynamic_Function: findType("@()"),
  125894. dynamic_Function_Object: findType("@(Object)"),
  125895. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  125896. int: findType("int"),
  125897. nullable_AstNode: findType("AstNode?"),
  125898. nullable_AstNode_2: findType("AstNode0?"),
  125899. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  125900. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  125901. nullable_CssValue_String: findType("CssValue<String>?"),
  125902. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  125903. nullable_FileSpan: findType("FileSpan?"),
  125904. nullable_Future_Null: findType("Future<Null>?"),
  125905. nullable_Future_void: findType("Future<~>?"),
  125906. nullable_ImporterResult: findType("ImporterResult?"),
  125907. nullable_ImporterResult_2: findType("ImporterResult0?"),
  125908. nullable_JSObject: findType("JSObject?"),
  125909. nullable_Object: findType("Object?"),
  125910. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  125911. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  125912. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  125913. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  125914. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  125915. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  125916. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  125917. nullable_SourceFile: findType("SourceFile?"),
  125918. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  125919. nullable_String: findType("String?"),
  125920. nullable_Stylesheet: findType("Stylesheet?"),
  125921. nullable_StylesheetNode: findType("StylesheetNode?"),
  125922. nullable_Stylesheet_2: findType("Stylesheet0?"),
  125923. nullable_Uri: findType("Uri?"),
  125924. nullable_Value: findType("Value?"),
  125925. nullable_Value_2: findType("Value0?"),
  125926. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  125927. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  125928. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  125929. nullable__Highlight: findType("_Highlight?"),
  125930. nullable_bool: findType("bool?"),
  125931. nullable_double: findType("double?"),
  125932. nullable_int: findType("int?"),
  125933. nullable_num: findType("num?"),
  125934. num: findType("num"),
  125935. void: findType("~"),
  125936. void_Function_Object: findType("~(Object)"),
  125937. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  125938. };
  125939. })();
  125940. (function constants() {
  125941. var makeConstList = hunkHelpers.makeConstList;
  125942. B.Interceptor_methods = J.Interceptor.prototype;
  125943. B.JSArray_methods = J.JSArray.prototype;
  125944. B.JSBool_methods = J.JSBool.prototype;
  125945. B.JSInt_methods = J.JSInt.prototype;
  125946. B.JSNull_methods = J.JSNull.prototype;
  125947. B.JSNumber_methods = J.JSNumber.prototype;
  125948. B.JSString_methods = J.JSString.prototype;
  125949. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  125950. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  125951. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  125952. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  125953. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  125954. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  125955. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  125956. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  125957. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  125958. B.List_U47 = makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN], type$.JSArray_LinearChannel);
  125959. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  125960. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  125961. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  125962. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  125963. B.List_U470 = makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0], type$.JSArray_LinearChannel_2);
  125964. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  125965. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  125966. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  125967. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  125968. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  125969. B.AttributeOperator_GWq = new A.AttributeOperator("*=", "substring");
  125970. B.AttributeOperator_GWq0 = new A.AttributeOperator0("*=", "substring");
  125971. B.AttributeOperator_JzP = new A.AttributeOperator("^=", "prefix");
  125972. B.AttributeOperator_JzP0 = new A.AttributeOperator0("^=", "prefix");
  125973. B.AttributeOperator_Lvy = new A.AttributeOperator("=", "equal");
  125974. B.AttributeOperator_Lvy0 = new A.AttributeOperator0("=", "equal");
  125975. B.AttributeOperator_U1W = new A.AttributeOperator("$=", "suffix");
  125976. B.AttributeOperator_U1W0 = new A.AttributeOperator0("$=", "suffix");
  125977. B.AttributeOperator_fp2 = new A.AttributeOperator("~=", "include");
  125978. B.AttributeOperator_fp20 = new A.AttributeOperator0("~=", "include");
  125979. B.AttributeOperator_iyP = new A.AttributeOperator("|=", "dash");
  125980. B.AttributeOperator_iyP0 = new A.AttributeOperator0("|=", "dash");
  125981. B.BinaryOperator_FPG = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125982. B.BinaryOperator_FPG0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  125983. B.BinaryOperator_JiR = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125984. B.BinaryOperator_JiR0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  125985. B.BinaryOperator_Kyq = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  125986. B.BinaryOperator_Kyq0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  125987. B.BinaryOperator_Mh5 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  125988. B.BinaryOperator_Mh50 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  125989. B.BinaryOperator_QG1 = new A.BinaryOperator("minus", "-", 5, false, "minus");
  125990. B.BinaryOperator_QG10 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  125991. B.BinaryOperator_Swh = new A.BinaryOperator("plus", "+", 5, true, "plus");
  125992. B.BinaryOperator_Swh0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  125993. B.BinaryOperator_o8O = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  125994. B.BinaryOperator_o8O0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  125995. B.BinaryOperator_qGq = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  125996. B.BinaryOperator_qGq0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  125997. B.BinaryOperator_qHy = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  125998. B.BinaryOperator_qHy0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  125999. B.BinaryOperator_r84 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  126000. B.BinaryOperator_r840 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  126001. B.BinaryOperator_s7T = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  126002. B.BinaryOperator_s7T0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  126003. B.BinaryOperator_tKu = new A.BinaryOperator("or", "or", 1, true, "or");
  126004. B.BinaryOperator_tKu0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  126005. B.BinaryOperator_tht = new A.BinaryOperator("times", "*", 6, true, "times");
  126006. B.BinaryOperator_tht0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  126007. B.BinaryOperator_uke = new A.BinaryOperator("and", "and", 2, true, "and");
  126008. B.BinaryOperator_uke0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  126009. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  126010. B.C_AsciiCodec = new A.AsciiCodec();
  126011. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  126012. B.C_Base64Encoder = new A.Base64Encoder();
  126013. B.C_Base64Codec = new A.Base64Codec();
  126014. B.C_DefaultEquality = new A.DefaultEquality();
  126015. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  126016. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  126017. B.C_EmptyIterator = new A.EmptyIterator();
  126018. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  126019. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  126020. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  126021. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  126022. B.C_IterableEquality = new A.IterableEquality();
  126023. B.C_JS_CONST = function getTagFallback(o) {
  126024. var s = Object.prototype.toString.call(o);
  126025. return s.substring(8, s.length - 1);
  126026. };
  126027. B.C_JS_CONST0 = function() {
  126028. var toStringFunction = Object.prototype.toString;
  126029. function getTag(o) {
  126030. var s = toStringFunction.call(o);
  126031. return s.substring(8, s.length - 1);
  126032. }
  126033. function getUnknownTag(object, tag) {
  126034. if (/^HTML[A-Z].*Element$/.test(tag)) {
  126035. var name = toStringFunction.call(object);
  126036. if (name == "[object Object]") return null;
  126037. return "HTMLElement";
  126038. }
  126039. }
  126040. function getUnknownTagGenericBrowser(object, tag) {
  126041. if (object instanceof HTMLElement) return "HTMLElement";
  126042. return getUnknownTag(object, tag);
  126043. }
  126044. function prototypeForTag(tag) {
  126045. if (typeof window == "undefined") return null;
  126046. if (typeof window[tag] == "undefined") return null;
  126047. var constructor = window[tag];
  126048. if (typeof constructor != "function") return null;
  126049. return constructor.prototype;
  126050. }
  126051. function discriminator(tag) { return null; }
  126052. var isBrowser = typeof HTMLElement == "function";
  126053. return {
  126054. getTag: getTag,
  126055. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  126056. prototypeForTag: prototypeForTag,
  126057. discriminator: discriminator };
  126058. };
  126059. B.C_JS_CONST6 = function(getTagFallback) {
  126060. return function(hooks) {
  126061. if (typeof navigator != "object") return hooks;
  126062. var userAgent = navigator.userAgent;
  126063. if (typeof userAgent != "string") return hooks;
  126064. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  126065. if (userAgent.indexOf("Chrome") >= 0) {
  126066. function confirm(p) {
  126067. return typeof window == "object" && window[p] && window[p].name == p;
  126068. }
  126069. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  126070. }
  126071. hooks.getTag = getTagFallback;
  126072. };
  126073. };
  126074. B.C_JS_CONST1 = function(hooks) {
  126075. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  126076. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  126077. };
  126078. B.C_JS_CONST5 = function(hooks) {
  126079. if (typeof navigator != "object") return hooks;
  126080. var userAgent = navigator.userAgent;
  126081. if (typeof userAgent != "string") return hooks;
  126082. if (userAgent.indexOf("Firefox") == -1) return hooks;
  126083. var getTag = hooks.getTag;
  126084. var quickMap = {
  126085. "BeforeUnloadEvent": "Event",
  126086. "DataTransfer": "Clipboard",
  126087. "GeoGeolocation": "Geolocation",
  126088. "Location": "!Location",
  126089. "WorkerMessageEvent": "MessageEvent",
  126090. "XMLDocument": "!Document"};
  126091. function getTagFirefox(o) {
  126092. var tag = getTag(o);
  126093. return quickMap[tag] || tag;
  126094. }
  126095. hooks.getTag = getTagFirefox;
  126096. };
  126097. B.C_JS_CONST4 = function(hooks) {
  126098. if (typeof navigator != "object") return hooks;
  126099. var userAgent = navigator.userAgent;
  126100. if (typeof userAgent != "string") return hooks;
  126101. if (userAgent.indexOf("Trident/") == -1) return hooks;
  126102. var getTag = hooks.getTag;
  126103. var quickMap = {
  126104. "BeforeUnloadEvent": "Event",
  126105. "DataTransfer": "Clipboard",
  126106. "HTMLDDElement": "HTMLElement",
  126107. "HTMLDTElement": "HTMLElement",
  126108. "HTMLPhraseElement": "HTMLElement",
  126109. "Position": "Geoposition"
  126110. };
  126111. function getTagIE(o) {
  126112. var tag = getTag(o);
  126113. var newTag = quickMap[tag];
  126114. if (newTag) return newTag;
  126115. if (tag == "Object") {
  126116. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  126117. }
  126118. return tag;
  126119. }
  126120. function prototypeForTagIE(tag) {
  126121. var constructor = window[tag];
  126122. if (constructor == null) return null;
  126123. return constructor.prototype;
  126124. }
  126125. hooks.getTag = getTagIE;
  126126. hooks.prototypeForTag = prototypeForTagIE;
  126127. };
  126128. B.C_JS_CONST2 = function(hooks) {
  126129. var getTag = hooks.getTag;
  126130. var prototypeForTag = hooks.prototypeForTag;
  126131. function getTagFixed(o) {
  126132. var tag = getTag(o);
  126133. if (tag == "Document") {
  126134. if (!!o.xmlVersion) return "!Document";
  126135. return "!HTMLDocument";
  126136. }
  126137. return tag;
  126138. }
  126139. function prototypeForTagFixed(tag) {
  126140. if (tag == "Document") return null;
  126141. return prototypeForTag(tag);
  126142. }
  126143. hooks.getTag = getTagFixed;
  126144. hooks.prototypeForTag = prototypeForTagFixed;
  126145. };
  126146. B.C_JS_CONST3 = function(hooks) { return hooks; }
  126147. ;
  126148. B.C_JsonCodec = new A.JsonCodec();
  126149. B.C_ListEquality0 = new A.ListEquality();
  126150. B.C_ListEquality = new A.ListEquality();
  126151. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  126152. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  126153. B.C_SentinelValue = new A.SentinelValue();
  126154. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  126155. B.C_Utf8Codec = new A.Utf8Codec();
  126156. B.C_Utf8Encoder = new A.Utf8Encoder();
  126157. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  126158. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  126159. B.C__ContainsParentSelectorVisitor = new A._ContainsParentSelectorVisitor();
  126160. B.C__ContainsParentSelectorVisitor0 = new A._ContainsParentSelectorVisitor0();
  126161. B.C__DelayedDone = new A._DelayedDone();
  126162. B.C__HasContentVisitor = new A._HasContentVisitor();
  126163. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  126164. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  126165. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  126166. B.C__JSRandom = new A._JSRandom();
  126167. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  126168. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  126169. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  126170. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  126171. B.C__Required = new A._Required();
  126172. B.C__RootZone = new A._RootZone();
  126173. B.C__SassNull = new A._SassNull();
  126174. B.C__SassNull0 = new A._SassNull0();
  126175. B.CalculationOperator_F7i = new A.CalculationOperator("plus", "+", 1, "plus");
  126176. B.CalculationOperator_F7i0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  126177. B.CalculationOperator_bo5 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  126178. B.CalculationOperator_bo50 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  126179. B.CalculationOperator_kkN = new A.CalculationOperator("times", "*", 2, "times");
  126180. B.CalculationOperator_kkN0 = new A.CalculationOperator0("times", "*", 2, "times");
  126181. B.CalculationOperator_oum = new A.CalculationOperator("minus", "-", 1, "minus");
  126182. B.CalculationOperator_oum0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  126183. B.ChangeType_add = new A.ChangeType("add");
  126184. B.ChangeType_modify = new A.ChangeType("modify");
  126185. B.ChangeType_remove = new A.ChangeType("remove");
  126186. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  126187. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  126188. B.Combinator_0mp = new A.Combinator(">", "child");
  126189. B.Combinator_0mp0 = new A.Combinator0(">", "child");
  126190. B.Combinator_55N = new A.Combinator("~", "followingSibling");
  126191. B.Combinator_55N0 = new A.Combinator0("~", "followingSibling");
  126192. B.Combinator_bOP = new A.Combinator("+", "nextSibling");
  126193. B.Combinator_bOP0 = new A.Combinator0("+", "nextSibling");
  126194. B.Object_empty = {};
  126195. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  126196. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  126197. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  126198. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  126199. B.Deprecation_0NP = new A.Deprecation("duplicate-var-flags", "1.62.0", "duplicateVarFlags");
  126200. B.Deprecation_1AX = new A.Deprecation("global-builtin", "1.80.0", "globalBuiltin");
  126201. B.Deprecation_2g5 = new A.Deprecation("import", "1.80.0", "import");
  126202. B.Deprecation_39u = new A.Deprecation("mixed-decls", "1.77.7", "mixedDecls");
  126203. B.Deprecation_746 = new A.Deprecation("relative-canonical", "1.14.2", "relativeCanonical");
  126204. B.Deprecation_89v = new A.Deprecation("moz-document", "1.7.2", "mozDocument");
  126205. B.Deprecation_8ki = new A.Deprecation0("elseif", "1.3.2", "@elseif.", "elseif");
  126206. B.Deprecation_9hF = new A.Deprecation("bogus-combinators", "1.54.0", "bogusCombinators");
  126207. B.Deprecation_BvP = new A.Deprecation("slash-div", "1.33.0", "slashDiv");
  126208. B.Deprecation_BzI = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", "duplicateVarFlags");
  126209. B.Deprecation_CRw = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", "strictUnary");
  126210. B.Deprecation_Ds6 = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", "fsImporterCwd");
  126211. B.Deprecation_F8y = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", "legacyJsApi");
  126212. B.Deprecation_FD1 = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", "color4Api");
  126213. B.Deprecation_FyB = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", "slashDiv");
  126214. B.Deprecation_HIp = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", "featureExists");
  126215. B.Deprecation_Kg6 = new A.Deprecation("css-function-mixin", "1.76.0", "cssFunctionMixin");
  126216. B.Deprecation_Kry = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", "colorModuleCompat");
  126217. B.Deprecation_KtC = new A.Deprecation("user-authored", null, "userAuthored");
  126218. B.Deprecation_L0R = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", "mozDocument");
  126219. B.Deprecation_MSr = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "mixedDecls");
  126220. B.Deprecation_Np6 = new A.Deprecation("misplaced-rest", "1.91.0", "misplacedRest");
  126221. B.Deprecation_OHJ = new A.Deprecation0("import", "1.80.0", "@import rules.", "import");
  126222. B.Deprecation_Ord = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", "relativeCanonical");
  126223. B.Deprecation_Rg0 = new A.Deprecation("new-global", "1.17.2", "newGlobal");
  126224. B.Deprecation_SHb = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", "bogusCombinators");
  126225. B.Deprecation_UYp = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", "absPercent");
  126226. B.Deprecation_ZDV = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", "globalBuiltin");
  126227. B.Deprecation_ZVM = new A.Deprecation0("user-authored", null, null, "userAuthored");
  126228. B.Deprecation_aM0 = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", "callString");
  126229. B.Deprecation_cyE = new A.Deprecation("color-functions", "1.79.0", "colorFunctions");
  126230. B.Deprecation_d4j = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", "cssFunctionMixin");
  126231. B.Deprecation_dAn = new A.Deprecation("call-string", "0.0.0", "callString");
  126232. B.Deprecation_eJq = new A.Deprecation("compile-string-relative-url", "1.88.0", "compileStringRelativeUrl");
  126233. B.Deprecation_f5Y = new A.Deprecation0("calc-interp", null, null, "calcInterp");
  126234. B.Deprecation_fdF = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", "colorFunctions");
  126235. B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
  126236. B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
  126237. B.Deprecation_jEF = new A.Deprecation0("misplaced-rest", "1.91.0", "A rest parameter before a positional or named parameter.", "misplacedRest");
  126238. B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
  126239. B.Deprecation_kms = new A.Deprecation("type-function", "1.86.0", "typeFunction");
  126240. B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
  126241. B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
  126242. B.Deprecation_pIR = new A.Deprecation0("compile-string-relative-url", "1.88.0", "Passing a relative url to compileString().", "compileStringRelativeUrl");
  126243. B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
  126244. B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
  126245. B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
  126246. B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
  126247. B.Deprecation_vQt = new A.Deprecation0("type-function", "1.86.0", 'Functions named "type".', "typeFunction");
  126248. B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
  126249. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  126250. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  126251. B.Duration_0 = new A.Duration(0);
  126252. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  126253. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  126254. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  126255. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  126256. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  126257. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  126258. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  126259. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  126260. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  126261. B.List_oAL = makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m], type$.JSArray_ColorChannel);
  126262. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  126263. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  126264. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  126265. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  126266. B.List_oAL0 = makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0], type$.JSArray_ColorChannel_2);
  126267. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  126268. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod("shorter");
  126269. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0("shorter");
  126270. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod("longer");
  126271. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0("longer");
  126272. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod("increasing");
  126273. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0("increasing");
  126274. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod("decreasing");
  126275. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0("decreasing");
  126276. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  126277. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  126278. B.List_Ar1 = makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP], type$.JSArray_ColorChannel);
  126279. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  126280. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  126281. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  126282. B.List_Ar10 = makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0], type$.JSArray_ColorChannel_2);
  126283. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  126284. B.JsonDecoder_null = new A.JsonDecoder(null);
  126285. B.JsonEncoder_null = new A.JsonEncoder(null);
  126286. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  126287. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  126288. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  126289. B.List_KEo = makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83], type$.JSArray_ColorChannel);
  126290. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  126291. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  126292. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  126293. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  126294. B.List_KEo0 = makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830], type$.JSArray_ColorChannel_2);
  126295. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  126296. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  126297. B.List_grF = makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg], type$.JSArray_ColorChannel);
  126298. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  126299. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  126300. B.List_grF0 = makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0], type$.JSArray_ColorChannel_2);
  126301. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  126302. B.LineFeed_9HY = new A.LineFeed0("lf", "\n", "lf");
  126303. B.LineFeed_G7N = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  126304. B.LineFeed_Pcs = new A.LineFeed0("crlf", "\r\n", "crlf");
  126305. B.LineFeed_lf = new A.LineFeed("lf");
  126306. B.LineFeed_ybQ = new A.LineFeed0("cr", "\r", "cr");
  126307. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  126308. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  126309. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  126310. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  126311. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  126312. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  126313. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  126314. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  126315. B.ListSeparator_bRz = new A.ListSeparator("slash", "/", "slash");
  126316. B.ListSeparator_bRz0 = new A.ListSeparator0("slash", "/", "slash");
  126317. B.ListSeparator_qSL = new A.ListSeparator("space", " ", "space");
  126318. B.ListSeparator_qSL0 = new A.ListSeparator0("space", " ", "space");
  126319. B.ListSeparator_qVN = new A.ListSeparator("comma", ",", "comma");
  126320. B.ListSeparator_qVN0 = new A.ListSeparator0("comma", ",", "comma");
  126321. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  126322. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  126323. 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};
  126324. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  126325. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  126326. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  126327. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  126328. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  126329. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  126330. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  126331. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  126332. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  126333. B.List_BFg = makeConstList([B.Set_V30th, B.Set_5FBBb, B.Set_cXesm, B.Set_1Tayw, B.Set_w2NC6], A.findType("JSArray<Set<String>>"));
  126334. B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
  126335. B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
  126336. B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
  126337. B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
  126338. B.List_BuT = 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_Np6, B.Deprecation_KtC, B.Deprecation_ggp], A.findType("JSArray<Deprecation>"));
  126339. B.List_deK = 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_jEF, B.Deprecation_ZVM, B.Deprecation_f5Y], A.findType("JSArray<Deprecation0>"));
  126340. B.List_empty28 = makeConstList([], type$.JSArray_AsyncCallable_2);
  126341. B.List_empty29 = makeConstList([], type$.JSArray_AsyncImporter);
  126342. B.List_empty1 = makeConstList([], type$.JSArray_ComplexSelector);
  126343. B.List_empty17 = makeConstList([], type$.JSArray_ComplexSelector_2);
  126344. B.List_empty2 = makeConstList([], type$.JSArray_ComplexSelectorComponent);
  126345. B.List_empty18 = makeConstList([], type$.JSArray_ComplexSelectorComponent_2);
  126346. B.List_empty10 = makeConstList([], type$.JSArray_ConfiguredVariable);
  126347. B.List_empty24 = makeConstList([], type$.JSArray_ConfiguredVariable_2);
  126348. B.List_empty3 = makeConstList([], type$.JSArray_CssNode);
  126349. B.List_empty19 = makeConstList([], type$.JSArray_CssNode_2);
  126350. B.List_empty13 = makeConstList([], type$.JSArray_CssStyleRule);
  126351. B.List_empty25 = makeConstList([], type$.JSArray_CssStyleRule_2);
  126352. B.List_empty0 = makeConstList([], type$.JSArray_CssValue_Combinator);
  126353. B.List_empty16 = makeConstList([], type$.JSArray_CssValue_Combinator_2);
  126354. B.List_empty9 = makeConstList([], type$.JSArray_Expression);
  126355. B.List_empty23 = makeConstList([], type$.JSArray_Expression_2);
  126356. B.List_empty5 = makeConstList([], type$.JSArray_Extension);
  126357. B.List_empty20 = makeConstList([], type$.JSArray_Extension_2);
  126358. B.List_empty27 = makeConstList([], type$.JSArray_Importer_2);
  126359. B.List_empty7 = makeConstList([], A.findType("JSArray<Module0<0&>>"));
  126360. B.List_empty21 = makeConstList([], A.findType("JSArray<Module1<0&>>"));
  126361. B.List_empty11 = makeConstList([], type$.JSArray_Object);
  126362. B.List_empty14 = makeConstList([], type$.JSArray_Parameter);
  126363. B.List_empty26 = makeConstList([], type$.JSArray_Parameter_2);
  126364. B.List_empty15 = makeConstList([], type$.JSArray_Statement);
  126365. B.List_empty = makeConstList([], type$.JSArray_String);
  126366. B.List_empty8 = makeConstList([], type$.JSArray_Value);
  126367. B.List_empty22 = makeConstList([], type$.JSArray_Value_2);
  126368. B.List_empty4 = makeConstList([], type$.JSArray_int);
  126369. B.List_empty6 = makeConstList([], type$.JSArray_dynamic);
  126370. B.List_empty12 = makeConstList([], type$.JSArray_nullable_FileSpan);
  126371. B.List_g9w = makeConstList([B.CalculationOperator_F7i0, B.CalculationOperator_oum0, B.CalculationOperator_kkN0, B.CalculationOperator_bo50], A.findType("JSArray<CalculationOperator0>"));
  126372. B.List_nm2 = makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30], A.findType("JSArray<HueInterpolationMethod0>"));
  126373. B.List_null = makeConstList([null], type$.JSArray_nullable_FileSpan);
  126374. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  126375. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  126376. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  126377. B.List_wOx = makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH], type$.JSArray_ColorChannel);
  126378. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  126379. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  126380. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  126381. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  126382. B.List_wOx0 = makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0], type$.JSArray_ColorChannel_2);
  126383. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  126384. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  126385. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  126386. 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};
  126387. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  126388. 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);
  126389. 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);
  126390. 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);
  126391. 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);
  126392. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  126393. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  126394. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  126395. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  126396. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  126397. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  126398. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  126399. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  126400. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  126401. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  126402. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  126403. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  126404. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  126405. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  126406. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  126407. 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>>"));
  126408. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  126409. B.List_Ldp = makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"], type$.JSArray_String);
  126410. B.List_deg_grad_rad_turn = makeConstList(["deg", "grad", "rad", "turn"], type$.JSArray_String);
  126411. B.List_s_ms = makeConstList(["s", "ms"], type$.JSArray_String);
  126412. B.List_Hz_kHz = makeConstList(["Hz", "kHz"], type$.JSArray_String);
  126413. B.List_dpi_dpcm_dppx = makeConstList(["dpi", "dpcm", "dppx"], type$.JSArray_String);
  126414. 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>>"));
  126415. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  126416. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  126417. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  126418. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  126419. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  126420. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  126421. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  126422. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  126423. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  126424. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  126425. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  126426. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  126427. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  126428. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  126429. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  126430. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  126431. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  126432. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  126433. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  126434. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  126435. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  126436. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  126437. B.List_ZWr = makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D], type$.JSArray_ColorChannel);
  126438. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  126439. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  126440. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  126441. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  126442. B.List_ZWr0 = makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0], type$.JSArray_ColorChannel_2);
  126443. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  126444. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  126445. B.List_g5j = makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg], type$.JSArray_ColorChannel);
  126446. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  126447. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  126448. B.List_g5j0 = makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0], type$.JSArray_ColorChannel_2);
  126449. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  126450. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  126451. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  126452. B.OptionType_zZK = new A.OptionType("OptionType.single");
  126453. B.OutputStyle_0 = new A.OutputStyle("expanded");
  126454. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  126455. B.OutputStyle_1 = new A.OutputStyle("compressed");
  126456. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  126457. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  126458. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  126459. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  126460. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  126461. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  126462. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  126463. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  126464. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  126465. B.List_Ds2 = makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3], type$.JSArray_ColorChannel);
  126466. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  126467. B.List_Ds20 = makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30], type$.JSArray_ColorChannel_2);
  126468. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  126469. B.SassBoolean_false = new A.SassBoolean(false);
  126470. B.SassBoolean_false0 = new A.SassBoolean0(false);
  126471. B.SassBoolean_true = new A.SassBoolean(true);
  126472. B.SassBoolean_true0 = new A.SassBoolean0(true);
  126473. B.SassList_BlY = new A.SassList(B.List_empty8, B.ListSeparator_qVN, false);
  126474. B.SassList_BlY0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, false);
  126475. B.SassList_apG = new A.SassList0(B.List_empty22, B.ListSeparator_undecided_null_undecided0, false);
  126476. B.SassList_qAD = new A.SassList(B.List_empty8, B.ListSeparator_qVN, true);
  126477. B.SassList_qAD0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, true);
  126478. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  126479. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  126480. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  126481. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  126482. B.Object_Tro = {is: 0, matches: 1, where: 2};
  126483. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  126484. B.Object_ssn = {sass: 0, style: 1, default: 2};
  126485. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  126486. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  126487. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  126488. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  126489. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  126490. 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};
  126491. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  126492. B.Set_WDSXk = new A.GeneralConstantSet([0], A.findType("GeneralConstantSet<int>"));
  126493. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  126494. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  126495. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  126496. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  126497. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  126498. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  126499. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  126500. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  126501. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  126502. B.Set_oQTdo = new A.GeneralConstantSet([B.BinaryOperator_tht, B.BinaryOperator_Mh5, B.BinaryOperator_Swh, B.BinaryOperator_QG1], A.findType("GeneralConstantSet<BinaryOperator>"));
  126503. B.Set_oQTdo0 = new A.GeneralConstantSet([B.BinaryOperator_tht0, B.BinaryOperator_Mh50, B.BinaryOperator_Swh0, B.BinaryOperator_QG10], A.findType("GeneralConstantSet<BinaryOperator0>"));
  126504. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  126505. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  126506. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  126507. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  126508. B.StderrLogger_false = new A.StderrLogger(false);
  126509. B.StderrLogger_false0 = new A.StderrLogger0(false);
  126510. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  126511. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  126512. B.Symbol__extensions = new A.Symbol("_extensions");
  126513. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  126514. B.Symbol_call = new A.Symbol("call");
  126515. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  126516. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  126517. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  126518. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  126519. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  126520. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  126521. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  126522. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  126523. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  126524. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  126525. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  126526. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  126527. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  126528. B.Type_Object_A4p = A.typeLiteral("Object");
  126529. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  126530. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  126531. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  126532. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  126533. B.UnaryOperator_Rbl = new A.UnaryOperator("plus", "+", "plus");
  126534. B.UnaryOperator_Rbl0 = new A.UnaryOperator0("plus", "+", "plus");
  126535. B.UnaryOperator_UCP = new A.UnaryOperator("minus", "-", "minus");
  126536. B.UnaryOperator_UCP0 = new A.UnaryOperator0("minus", "-", "minus");
  126537. B.UnaryOperator_lZV = new A.UnaryOperator("divide", "/", "divide");
  126538. B.UnaryOperator_lZV0 = new A.UnaryOperator0("divide", "/", "divide");
  126539. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  126540. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  126541. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  126542. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  126543. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  126544. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  126545. B.List_QRs = makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl], type$.JSArray_LinearChannel);
  126546. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  126547. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  126548. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  126549. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  126550. B.List_QRs0 = makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0], type$.JSArray_LinearChannel_2);
  126551. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  126552. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  126553. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  126554. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  126555. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  126556. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  126557. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  126558. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  126559. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  126560. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  126561. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  126562. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  126563. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  126564. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  126565. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  126566. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  126567. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  126568. B._PathDirection_6kc = new A._PathDirection("reaches root");
  126569. B._PathDirection_Wme = new A._PathDirection("below root");
  126570. B._PathDirection_dMN = new A._PathDirection("at root");
  126571. B._PathDirection_vgO = new A._PathDirection("above root");
  126572. B._PathRelation_different = new A._PathRelation("different");
  126573. B._PathRelation_equal = new A._PathRelation("equal");
  126574. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  126575. B._PathRelation_within = new A._PathRelation("within");
  126576. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  126577. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  126578. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  126579. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  126580. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  126581. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  126582. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  126583. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  126584. B._StringStackTrace_OdL = new A._StringStackTrace("");
  126585. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  126586. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  126587. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  126588. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  126589. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  126590. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  126591. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  126592. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  126593. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  126594. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  126595. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  126596. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  126597. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  126598. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  126599. })();
  126600. (function staticFields() {
  126601. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  126602. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  126603. $.printToZone = null;
  126604. $.Primitives__identityHashCodeProperty = null;
  126605. $.BoundClosure__receiverFieldNameCache = null;
  126606. $.BoundClosure__interceptorFieldNameCache = null;
  126607. $.getTagFunction = null;
  126608. $.alternateTagFunction = null;
  126609. $.prototypeForTagFunction = null;
  126610. $.dispatchRecordsForInstanceTags = null;
  126611. $.interceptorsForUncacheableTags = null;
  126612. $.initNativeDispatchFlag = null;
  126613. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  126614. $._nextCallback = null;
  126615. $._lastCallback = null;
  126616. $._lastPriorityCallback = null;
  126617. $._isInCallbackLoop = false;
  126618. $.Zone__current = B.C__RootZone;
  126619. $._RootZone__rootDelegate = null;
  126620. $.Uri__cachedBaseString = "";
  126621. $.Uri__cachedBaseUri = null;
  126622. $._fs = null;
  126623. $._currentUriBase = null;
  126624. $._current = null;
  126625. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126626. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126627. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126628. $._realCaseCache = function() {
  126629. var t1 = type$.String;
  126630. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126631. }();
  126632. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126633. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126634. $._glyphs = B.C_UnicodeGlyphSet;
  126635. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126636. $._realCaseCache0 = function() {
  126637. var t1 = type$.String;
  126638. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126639. }();
  126640. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126641. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126642. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126643. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126644. })();
  126645. (function lazyInitializers() {
  126646. var _lazyFinal = hunkHelpers.lazyFinal,
  126647. _lazy = hunkHelpers.lazy;
  126648. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  126649. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  126650. _lazyFinal($, "_safeToStringHooks", "$get$_safeToStringHooks", () => A._setArrayType([new J.JSArraySafeToStringHook()], A.findType("JSArray<SafeToStringHook>")));
  126651. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  126652. toString: function() {
  126653. return "$receiver$";
  126654. }
  126655. })));
  126656. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  126657. toString: function() {
  126658. return "$receiver$";
  126659. }
  126660. })));
  126661. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  126662. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126663. var $argumentsExpr$ = "$arguments$";
  126664. try {
  126665. null.$method$($argumentsExpr$);
  126666. } catch (e) {
  126667. return e.message;
  126668. }
  126669. }()));
  126670. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  126671. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126672. var $argumentsExpr$ = "$arguments$";
  126673. try {
  126674. (void 0).$method$($argumentsExpr$);
  126675. } catch (e) {
  126676. return e.message;
  126677. }
  126678. }()));
  126679. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  126680. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126681. try {
  126682. null.$method$;
  126683. } catch (e) {
  126684. return e.message;
  126685. }
  126686. }()));
  126687. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  126688. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126689. try {
  126690. (void 0).$method$;
  126691. } catch (e) {
  126692. return e.message;
  126693. }
  126694. }()));
  126695. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  126696. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  126697. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  126698. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  126699. var t1 = type$.dynamic;
  126700. return A.HashMap_HashMap(t1, t1);
  126701. });
  126702. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  126703. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  126704. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  126705. _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))));
  126706. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  126707. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  126708. return t1;
  126709. });
  126710. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  126711. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  126712. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  126713. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  126714. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  126715. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  126716. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  126717. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  126718. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  126719. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  126720. _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)));
  126721. _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)));
  126722. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  126723. _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));
  126724. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  126725. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  126726. _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));
  126727. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  126728. var $name,
  126729. t1 = type$.SassColor,
  126730. t2 = type$.String,
  126731. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126732. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126733. t2 = t1.get$current(t1);
  126734. $name = t2._0;
  126735. t3.$indexSet(0, t2._1, $name);
  126736. }
  126737. return t3;
  126738. });
  126739. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  126740. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  126741. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  126742. var t1 = type$.BuiltInCallable,
  126743. t2 = A.List_List$of($.$get$global(), true, t1);
  126744. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  126745. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  126746. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  126747. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  126748. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  126749. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  126750. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  126751. return A.UnmodifiableListView$(t2, t1);
  126752. });
  126753. _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));
  126754. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126755. _lazyFinal($, "global", "$get$global", () => {
  126756. var _s5_ = "color",
  126757. _s27_ = "$red, $green, $blue, $alpha",
  126758. _s19_ = "$red, $green, $blue",
  126759. _s9_ = "$channels",
  126760. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126761. _s29_ = "$hue, $saturation, $lightness",
  126762. _s17_ = "$hue, $saturation",
  126763. _s6_ = "adjust",
  126764. _s15_ = "$color, $amount",
  126765. t1 = type$.String,
  126766. t2 = type$.Value_Function_List_Value;
  126767. 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);
  126768. });
  126769. _lazyFinal($, "module", "$get$module", () => {
  126770. var _null = null,
  126771. _s10_ = "saturation",
  126772. _s9_ = "lightness",
  126773. _s6_ = "$color", _s5_ = "alpha",
  126774. _s30_ = "$color, $channel, $space: null",
  126775. t1 = type$.String,
  126776. t2 = type$.Value_Function_List_Value;
  126777. 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);
  126778. });
  126779. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  126780. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  126781. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  126782. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  126783. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  126784. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  126785. _lazyFinal($, "global0", "$get$global0", () => {
  126786. var _s4_ = "list";
  126787. 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);
  126788. });
  126789. _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));
  126790. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  126791. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  126792. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  126793. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  126794. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  126795. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  126796. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  126797. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  126798. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  126799. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  126800. _lazyFinal($, "global1", "$get$global1", () => {
  126801. var _s3_ = "map";
  126802. 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);
  126803. });
  126804. _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));
  126805. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  126806. _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)));
  126807. _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)));
  126808. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  126809. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  126810. _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)));
  126811. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  126812. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  126813. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  126814. _lazyFinal($, "global2", "$get$global2", () => {
  126815. var _s4_ = "math";
  126816. 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);
  126817. });
  126818. _lazyFinal($, "module2", "$get$module2", () => {
  126819. var _null = null;
  126820. 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);
  126821. });
  126822. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  126823. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  126824. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  126825. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  126826. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  126827. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  126828. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  126829. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  126830. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  126831. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  126832. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  126833. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  126834. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  126835. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  126836. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  126837. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  126838. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  126839. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  126840. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  126841. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  126842. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  126843. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  126844. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  126845. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  126846. _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));
  126847. _lazyFinal($, "global3", "$get$global5", () => {
  126848. var t2,
  126849. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  126850. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  126851. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  126852. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  126853. });
  126854. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  126855. var t1 = type$.BuiltInCallable,
  126856. t2 = A.List_List$of($.$get$_shared(), true, t1);
  126857. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  126858. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  126859. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  126860. return A.UnmodifiableListView$(t2, t1);
  126861. });
  126862. _lazyFinal($, "global4", "$get$global3", () => {
  126863. var _s8_ = "selector";
  126864. 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);
  126865. });
  126866. _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));
  126867. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  126868. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  126869. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  126870. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  126871. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  126872. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  126873. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  126874. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  126875. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  126876. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  126877. _lazyFinal($, "global5", "$get$global4", () => {
  126878. var _s6_ = "string";
  126879. 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);
  126880. });
  126881. _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));
  126882. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  126883. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  126884. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  126885. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  126886. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  126887. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  126888. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  126889. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  126890. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  126891. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  126892. var _null = null;
  126893. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  126894. });
  126895. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  126896. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  126897. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  126898. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  126899. var t1 = $.$get$globalFunctions();
  126900. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  126901. t1.add$1(0, "if");
  126902. t1.remove$1(0, "abs");
  126903. t1.remove$1(0, "alpha");
  126904. t1.remove$1(0, "color");
  126905. t1.remove$1(0, "grayscale");
  126906. t1.remove$1(0, "hsl");
  126907. t1.remove$1(0, "hsla");
  126908. t1.remove$1(0, "hwb");
  126909. t1.remove$1(0, "invert");
  126910. t1.remove$1(0, "lab");
  126911. t1.remove$1(0, "lch");
  126912. t1.remove$1(0, "max");
  126913. t1.remove$1(0, "min");
  126914. t1.remove$1(0, "oklab");
  126915. t1.remove$1(0, "oklch");
  126916. t1.remove$1(0, "opacity");
  126917. t1.remove$1(0, "rgb");
  126918. t1.remove$1(0, "rgba");
  126919. t1.remove$1(0, "round");
  126920. t1.remove$1(0, "saturate");
  126921. return t1;
  126922. });
  126923. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  126924. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  126925. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  126926. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  126927. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  126928. _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)));
  126929. _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)));
  126930. _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)));
  126931. _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)));
  126932. _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)));
  126933. _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)));
  126934. _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)));
  126935. _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)));
  126936. _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)));
  126937. _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)));
  126938. _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)));
  126939. _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)));
  126940. _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)));
  126941. _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)));
  126942. _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)));
  126943. _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)));
  126944. _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)));
  126945. _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)));
  126946. _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)));
  126947. _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)));
  126948. _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)));
  126949. _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)));
  126950. _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)));
  126951. _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)));
  126952. _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)));
  126953. _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)));
  126954. _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)));
  126955. _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)));
  126956. _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)));
  126957. _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)));
  126958. _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)));
  126959. _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)));
  126960. _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)));
  126961. _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)));
  126962. _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)));
  126963. _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)));
  126964. _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)));
  126965. _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)));
  126966. _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)));
  126967. _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)));
  126968. _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)));
  126969. _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)));
  126970. _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)));
  126971. _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)));
  126972. _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)));
  126973. _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)));
  126974. _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)));
  126975. _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)));
  126976. _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)));
  126977. _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)));
  126978. _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)));
  126979. _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)));
  126980. _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)));
  126981. _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)));
  126982. _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)));
  126983. _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)));
  126984. _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)));
  126985. _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)));
  126986. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  126987. var t3, type,
  126988. t1 = type$.String,
  126989. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126990. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126991. t3 = t1.get$current(t1);
  126992. type = t3._0;
  126993. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  126994. t2.$indexSet(0, t3.get$current(t3), type);
  126995. }
  126996. return t2;
  126997. });
  126998. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  126999. var _i, set, t2,
  127000. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  127001. for (_i = 0; _i < 5; ++_i) {
  127002. set = B.List_BFg[_i];
  127003. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  127004. t1.$indexSet(0, t2.get$current(0), set);
  127005. }
  127006. return t1;
  127007. });
  127008. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  127009. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  127010. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  127011. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  127012. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  127013. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  127014. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  127015. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  127016. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  127017. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  127018. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  127019. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  127020. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  127021. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  127022. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  127023. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  127024. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  127025. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  127026. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  127027. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  127028. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  127029. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  127030. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  127031. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  127032. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  127033. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  127034. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  127035. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  127036. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  127037. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  127038. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  127039. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  127040. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  127041. _lazyFinal($, "global6", "$get$global6", () => {
  127042. var _s5_ = "color",
  127043. _s27_ = "$red, $green, $blue, $alpha",
  127044. _s19_ = "$red, $green, $blue",
  127045. _s9_ = "$channels",
  127046. _s37_ = "$hue, $saturation, $lightness, $alpha",
  127047. _s29_ = "$hue, $saturation, $lightness",
  127048. _s17_ = "$hue, $saturation",
  127049. _s6_ = "adjust",
  127050. _s15_ = "$color, $amount",
  127051. t1 = type$.String,
  127052. t2 = type$.Value_Function_List_Value_2;
  127053. 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);
  127054. });
  127055. _lazyFinal($, "module5", "$get$module5", () => {
  127056. var _null = null,
  127057. _s10_ = "saturation",
  127058. _s9_ = "lightness",
  127059. _s6_ = "$color", _s5_ = "alpha",
  127060. _s30_ = "$color, $channel, $space: null",
  127061. t1 = type$.String,
  127062. t2 = type$.Value_Function_List_Value_2;
  127063. 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);
  127064. });
  127065. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  127066. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  127067. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  127068. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  127069. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  127070. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  127071. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  127072. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  127073. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  127074. 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));
  127075. return t1;
  127076. });
  127077. _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));
  127078. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  127079. var $name,
  127080. t1 = type$.SassColor_2,
  127081. t2 = type$.String,
  127082. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  127083. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127084. t2 = t1.get$current(t1);
  127085. $name = t2._0;
  127086. t3.$indexSet(0, t2._1, $name);
  127087. }
  127088. return t3;
  127089. });
  127090. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  127091. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  127092. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  127093. _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)));
  127094. _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)));
  127095. _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)));
  127096. _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)));
  127097. _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)));
  127098. _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)));
  127099. _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)));
  127100. _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)));
  127101. _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)));
  127102. _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)));
  127103. _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)));
  127104. _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)));
  127105. _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)));
  127106. _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)));
  127107. _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)));
  127108. _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)));
  127109. _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)));
  127110. _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)));
  127111. _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)));
  127112. _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)));
  127113. _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)));
  127114. _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)));
  127115. _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)));
  127116. _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)));
  127117. _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)));
  127118. _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)));
  127119. _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)));
  127120. _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)));
  127121. _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)));
  127122. _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)));
  127123. _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)));
  127124. _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)));
  127125. _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)));
  127126. _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)));
  127127. _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)));
  127128. _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)));
  127129. _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)));
  127130. _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)));
  127131. _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)));
  127132. _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)));
  127133. _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)));
  127134. _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)));
  127135. _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)));
  127136. _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)));
  127137. _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)));
  127138. _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)));
  127139. _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)));
  127140. _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)));
  127141. _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)));
  127142. _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)));
  127143. _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)));
  127144. _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)));
  127145. _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)));
  127146. _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)));
  127147. _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)));
  127148. _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)));
  127149. _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)));
  127150. _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)));
  127151. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  127152. var t1 = $.$get$globalFunctions0();
  127153. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  127154. t1.add$1(0, "if");
  127155. t1.remove$1(0, "abs");
  127156. t1.remove$1(0, "alpha");
  127157. t1.remove$1(0, "color");
  127158. t1.remove$1(0, "grayscale");
  127159. t1.remove$1(0, "hsl");
  127160. t1.remove$1(0, "hsla");
  127161. t1.remove$1(0, "hwb");
  127162. t1.remove$1(0, "invert");
  127163. t1.remove$1(0, "lab");
  127164. t1.remove$1(0, "lch");
  127165. t1.remove$1(0, "max");
  127166. t1.remove$1(0, "min");
  127167. t1.remove$1(0, "oklab");
  127168. t1.remove$1(0, "oklch");
  127169. t1.remove$1(0, "opacity");
  127170. t1.remove$1(0, "rgb");
  127171. t1.remove$1(0, "rgba");
  127172. t1.remove$1(0, "round");
  127173. t1.remove$1(0, "saturate");
  127174. return t1;
  127175. });
  127176. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  127177. var _i, deprecation, t2,
  127178. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  127179. for (_i = 0; _i < 27; ++_i) {
  127180. deprecation = B.List_deK[_i];
  127181. if (deprecation !== B.Deprecation_f5Y) {
  127182. t2 = deprecation.id;
  127183. 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)});
  127184. }
  127185. }
  127186. return t1;
  127187. });
  127188. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  127189. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  127190. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  127191. var _null = null;
  127192. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  127193. });
  127194. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  127195. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  127196. var t1 = type$.BuiltInCallable_2,
  127197. t2 = A.List_List$of($.$get$global6(), true, t1);
  127198. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  127199. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  127200. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  127201. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  127202. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  127203. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  127204. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  127205. return A.UnmodifiableListView$(t2, t1);
  127206. });
  127207. _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));
  127208. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  127209. _lazyFinal($, "global7", "$get$global7", () => {
  127210. var _s4_ = "list";
  127211. 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);
  127212. });
  127213. _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));
  127214. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  127215. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  127216. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  127217. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  127218. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  127219. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  127220. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  127221. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  127222. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  127223. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  127224. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  127225. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  127226. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  127227. 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));
  127228. return t1;
  127229. });
  127230. _lazyFinal($, "global8", "$get$global8", () => {
  127231. var _s3_ = "map";
  127232. 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);
  127233. });
  127234. _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));
  127235. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  127236. _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)));
  127237. _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)));
  127238. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  127239. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  127240. _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)));
  127241. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  127242. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  127243. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  127244. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  127245. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  127246. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  127247. 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));
  127248. return t1;
  127249. });
  127250. _lazyFinal($, "global9", "$get$global9", () => {
  127251. var _s4_ = "math";
  127252. 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);
  127253. });
  127254. _lazyFinal($, "module8", "$get$module8", () => {
  127255. var _null = null;
  127256. 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);
  127257. });
  127258. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  127259. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  127260. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  127261. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  127262. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  127263. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  127264. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  127265. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  127266. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  127267. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  127268. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  127269. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  127270. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  127271. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  127272. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  127273. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  127274. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  127275. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  127276. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  127277. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  127278. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  127279. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  127280. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  127281. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  127282. _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));
  127283. _lazyFinal($, "global10", "$get$global12", () => {
  127284. var t2,
  127285. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  127286. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  127287. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  127288. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  127289. });
  127290. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  127291. var t1 = type$.BuiltInCallable_2,
  127292. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  127293. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  127294. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  127295. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  127296. return A.UnmodifiableListView$(t2, t1);
  127297. });
  127298. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  127299. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  127300. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  127301. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  127302. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  127303. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  127304. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  127305. 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));
  127306. return t1;
  127307. });
  127308. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  127309. var t3, type,
  127310. t1 = type$.String,
  127311. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127312. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127313. t3 = t1.get$current(t1);
  127314. type = t3._0;
  127315. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  127316. t2.$indexSet(0, t3.get$current(t3), type);
  127317. }
  127318. return t2;
  127319. });
  127320. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty11, B.List_empty12, $.$get$bogusSpan0()));
  127321. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  127322. _lazyFinal($, "global11", "$get$global10", () => {
  127323. var _s8_ = "selector";
  127324. 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);
  127325. });
  127326. _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));
  127327. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  127328. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  127329. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  127330. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  127331. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  127332. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  127333. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  127334. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  127335. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  127336. var _i, set, t2,
  127337. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  127338. for (_i = 0; _i < 5; ++_i) {
  127339. set = B.List_BFg[_i];
  127340. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  127341. t1.$indexSet(0, t2.get$current(0), set);
  127342. }
  127343. return t1;
  127344. });
  127345. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  127346. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  127347. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  127348. _lazyFinal($, "global12", "$get$global11", () => {
  127349. var _s6_ = "string";
  127350. 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);
  127351. });
  127352. _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));
  127353. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  127354. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  127355. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  127356. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  127357. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  127358. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  127359. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  127360. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  127361. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  127362. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  127363. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  127364. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  127365. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  127366. return t1;
  127367. });
  127368. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  127369. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  127370. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  127371. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  127372. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  127373. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  127374. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  127375. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  127376. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  127377. })();
  127378. (function nativeSupport() {
  127379. !function() {
  127380. var intern = function(s) {
  127381. var o = {};
  127382. o[s] = 1;
  127383. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  127384. };
  127385. init.getIsolateTag = function(name) {
  127386. return intern("___dart_" + name + init.isolateTag);
  127387. };
  127388. var tableProperty = "___dart_isolate_tags_";
  127389. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  127390. var rootProperty = "_ZxYxX";
  127391. for (var i = 0;; i++) {
  127392. var property = intern(rootProperty + "_" + i + "_");
  127393. if (!(property in usedProperties)) {
  127394. usedProperties[property] = 1;
  127395. init.isolateTag = property;
  127396. break;
  127397. }
  127398. }
  127399. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  127400. }();
  127401. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, SharedArrayBuffer: 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});
  127402. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, SharedArrayBuffer: 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});
  127403. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  127404. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127405. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127406. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  127407. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127408. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127409. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  127410. })();
  127411. Function.prototype.call$0 = function() {
  127412. return this();
  127413. };
  127414. Function.prototype.call$1 = function(a) {
  127415. return this(a);
  127416. };
  127417. Function.prototype.call$2 = function(a, b) {
  127418. return this(a, b);
  127419. };
  127420. Function.prototype.call$3$1 = function(a) {
  127421. return this(a);
  127422. };
  127423. Function.prototype.call$2$1 = function(a) {
  127424. return this(a);
  127425. };
  127426. Function.prototype.call$1$1 = function(a) {
  127427. return this(a);
  127428. };
  127429. Function.prototype.call$3 = function(a, b, c) {
  127430. return this(a, b, c);
  127431. };
  127432. Function.prototype.call$4 = function(a, b, c, d) {
  127433. return this(a, b, c, d);
  127434. };
  127435. Function.prototype.call$3$3 = function(a, b, c) {
  127436. return this(a, b, c);
  127437. };
  127438. Function.prototype.call$2$2 = function(a, b) {
  127439. return this(a, b);
  127440. };
  127441. Function.prototype.call$5 = function(a, b, c, d, e) {
  127442. return this(a, b, c, d, e);
  127443. };
  127444. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  127445. return this(a, b, c, d, e, f);
  127446. };
  127447. Function.prototype.call$2$0 = function() {
  127448. return this();
  127449. };
  127450. Function.prototype.call$1$0 = function() {
  127451. return this();
  127452. };
  127453. Function.prototype.call$1$2 = function(a, b) {
  127454. return this(a, b);
  127455. };
  127456. Function.prototype.call$2$3 = function(a, b, c) {
  127457. return this(a, b, c);
  127458. };
  127459. convertAllToFastObject(holders);
  127460. convertToFastObject($);
  127461. (function(callback) {
  127462. if (typeof document === "undefined") {
  127463. callback(null);
  127464. return;
  127465. }
  127466. if (typeof document.currentScript != "undefined") {
  127467. callback(document.currentScript);
  127468. return;
  127469. }
  127470. var scripts = document.scripts;
  127471. function onLoad(event) {
  127472. for (var i = 0; i < scripts.length; ++i) {
  127473. scripts[i].removeEventListener("load", onLoad, false);
  127474. }
  127475. callback(event.target);
  127476. }
  127477. for (var i = 0; i < scripts.length; ++i) {
  127478. scripts[i].addEventListener("load", onLoad, false);
  127479. }
  127480. })(function(currentScript) {
  127481. init.currentScript = currentScript;
  127482. var callMain = A.main2;
  127483. if (typeof dartMainRunner === "function") {
  127484. dartMainRunner(callMain, []);
  127485. } else {
  127486. callMain([]);
  127487. }
  127488. });
  127489. })();
  127490. }